@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
    --text-color: #1f1f1f;
    --grad-start: #e7b0c3; /* pink */
    --grad-end: #7d648d;   /* purple */
    --ver-mais-bg: #ffffff;
    --ver-mais-text: #121212;
    --nav-link-color: #1f1f1f;
    --nav-underline: #000000;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 28px 22px 40px;
    /* soft background glows top center and bottom corners */
    background:
      radial-gradient(60% 30% at 50% 6%, rgba(231,176,195,0.35) 0%, rgba(231,176,195,0.0) 70%),
      radial-gradient(35% 35% at 0% 100%, rgba(231,176,195,0.35) 0%, rgba(231,176,195,0.0) 70%),
      radial-gradient(35% 35% at 100% 100%, rgba(231,176,195,0.35) 0%, rgba(231,176,195,0.0) 70%),
      #ffffff;
    color: var(--text-color);
}

.container {
    max-width: 375px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

header {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.profile-pic-container {
    position: relative;
    width: 240px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinha ao topo */
    padding: 0;
    overflow: hidden;
}

.profile-pic-container::before {
    content: "";
    position: absolute;
    inset: -10% -15% 15% -15%;
    z-index: 1; /* Mantido em 1 para ficar atrás da imagem */
    border-radius: 50%;
    background: radial-gradient(55% 55% at 50% 55%, rgba(231,176,195,0.65) 0%, rgba(231,176,195,0.0) 70%);
}

  .profile-pic {
    width: 100%;
    position: relative;
    z-index: 2;
    display: block;
    margin: 0; /* Removido o margin-top */
    top: 0; /* Garante que não haja deslocamento */
  }
  
  h1 {
    background: linear-gradient(90deg, var(--grad-start) 0%, var(--grad-end) 100%);
    color: #ffffff;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 8px;
    min-width: 320px;
    max-width: 100%;
    padding: 12px 30px;
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 800;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    transition: all 0.3s ease;
  }

  /* Efeito de brilho que se move */
  h1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: 0.6s;
    animation: shine 3s infinite;
  }

  /* Animação do brilho */
  @keyframes shine {
    0% {
      left: -60%;
    }
    20% {
      left: 100%;
    }
    100% {
      left: 100%;
    }
  }

  /* Efeito hover */
  h1:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: 2.5px;
  }

  /* Efeito de pulso sutil */
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.02);
    }
    100% {
      transform: scale(1);
    }
  }

  h1 {
    animation: pulse 4s infinite ease-in-out;
  }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 34px;
    margin: 18px 0 12px;
}

.social-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

nav {
    display: flex;
    justify-content: space-between;
    margin: 20px auto 30px;
    max-width: 375px; /* Aumentado para caber as 4 abas */
    width: 100%;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding: 0 10px 15px; /* Reduzido o padding lateral */
    position: relative;
    box-sizing: border-box;
}

nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--grad-start), var(--grad-end), transparent);
    opacity: 0.7;
    transition: all 0.5s ease;
}

nav a {
    color: var(--nav-link-color);
    font-weight: 600;
    font-size: 12px; /* Reduzido para caber as 4 abas */
    text-decoration: none;
    position: relative;
    padding: 5px 4px; /* Reduzido o padding para caber melhor */
    white-space: nowrap; /* Impede quebra de linha */
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0; /* Impede que os itens encolham */
}

nav a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--grad-end);
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav a:hover::before {
    width: 100%;
}

nav a.active {
    font-weight: 700;
    color: var(--grad-end);
    text-shadow: 0 2px 4px rgba(125, 100, 141, 0.2);
}

nav a.active::before {
    width: 100%;
    background: linear-gradient(90deg, var(--grad-end), var(--grad-start));
}

/* Adicionando animação de pulso para o item ativo */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

nav a.active {
    animation: pulse 2s infinite;
}
 
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.item {
    background: linear-gradient(90deg, var(--grad-start) 0%, var(--grad-end) 100%);
    border-radius: 24px;
    padding: 22px 22px 22px 26px;
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 86px;
    max-width: 360px;
}
.item-content {
    flex-grow: 1;
    text-align: left;
}

.item-content h3 {
    color: white;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
}

.item-content p {
    color: white;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.9;
}

  .ver-mais {
    background-color: var(--ver-mais-bg);
    color: var(--ver-mais-text);
    padding: 10px 16px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  }

  /* Estilos para itens não disponíveis */
  .item.unavailable {
    background: linear-gradient(90deg, #e0e0e0 0%, #c0c0c0 100%);
    opacity: 0.7;
    position: relative;
  }

  .item.unavailable .item-content {
    color: #666;
  }

  .item.unavailable .item-content h3 {
    color: #555;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
  }

  .item.unavailable .item-content p {
    color: #777;
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .item.unavailable .price {
    color: #888;
    font-weight: 700;
    font-size: 16px;
    text-decoration: line-through;
  }

  .unavailable-badge {
    background-color: #ff6b6b;
    color: white;
    padding: 8px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    white-space: nowrap;
  }
