:root {
    --primary: #d4b192;
    --secondary: #2c3e50;
    --glow-color: #7a6048;
    --border-radius: 8px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Times New Roman', serif;
    padding: 20px;
    margin-top: 60px; /* Espaço para o header fixo */
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    min-height: 100vh;
  }
  h1 {
    text-align: center;
    margin: 15px 0;
    font-size: 1.4rem;
    color: #2c3e50;
  }
  h3 {
    text-align: center;
    margin: 35px 0;
    font-size: 1.0rem;
    color: #d4b192;
  }
  
  /* ========== NOVO HEADER ========== */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--primary);
  }
  
  .menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    transition: transform 0.3s;
  }
  
  .menu-icon:hover {
    transform: scale(1.1);
  }
  
  .menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: 0.3s;
  }
  
  .menu-icon.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-icon.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .menu {
    position: absolute;
    top: -1500px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 350px;
    background: rgba(44, 62, 80, 0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.98);
    padding: 15px 0;
    opacity: 0;
  }
  
  .menu.active {
    top: 65px;
    opacity: 1;
  }
  
  .menu ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 15px;
    list-style: none;
    max-height: 600px; /* Altura máxima */
    overflow-y: auto; /* Scroll apenas quando necessário */
    padding-right: 10px; /* Espaço para a barra de rolagem */
  }
  
  .menu-item {
    background: var(--secondary);
    border-radius: var(--border-radius);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.95em;
    padding: 0 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .menu-item:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
    border-color: var(--secondary);
    box-shadow: 0 3px 8px rgba(122, 96, 72, 0.4);
  }
  
  .menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background: radial-gradient(circle at center, 
               rgba(212, 177, 146, 0.2) 0%, 
               transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .menu-item:hover::before {
    opacity: 1;
  }
  
  /* Ajustes responsivos */
  @media (max-width: 768px) {
  .menu-item {
      height: 25px; /* Reduz altura */
      font-size: 0.8em; /* Fonte menor */
      padding: 0 6px; /* Padding reduzido */
  }
  }
  
  @media (max-width: 480px) {
  .menu-list {
      flex-direction: row; /* Empilha os itens */
      gap: 2px; /* Espaçamento menor */
  }
  
  .menu-item {
      height: 20px; /* Altura mais compacta */
      font-size: 0.55em; /* Fonte menor */
      padding: 0 3px; /* Padding ainda menor */
  }
  }

.tea-cup-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.tea-cup {
    width: 150px;
    height: 200px;
    background: #f0e6d6;
    border-radius: 0 0 150px 150px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 4px solid var(--secondary);
}

.tea-leaf {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 3s ease-out;
}

.controls {
    text-align: center;
    margin: 20px 0;
}

button {
    padding: 12px 25px;
    background: var(--primary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--secondary);
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 96, 72, 0.4);
}

.interpretation {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(212, 177, 146, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--primary);
    text-align: center;
    min-height: 100px;
    display: none;
}

@keyframes swirl {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.swirling {
    animation: swirl 3s ease-in-out;
}
.symbol-group {
    margin: 15px 0;
    padding: 10px;
    background: rgba(44, 62, 80, 0.1);
    border-radius: var(--border-radius);
}

.symbol-group strong {
    color: var(--glow-color);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}
.symbol-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.combo-warning {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
}

.meaning {
    color: var(--glow-color);
    font-size: 1.1em;
    margin: 8px 0;
}

.detail {
    color: #666;
    font-style: italic;
}
.positional-meanings {
    background: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.positional-meanings p {
    margin: 8px 0;
    color: #2c3e50;
}

.positional-meanings strong {
    color: var(--glow-color);
    min-width: 60px;
    display: inline-block;
}

.symbol-card h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.combo-warning h4 {
    color: #dc3545;
    margin-bottom: 10px;
}
.position-section {
  margin: 15px 0;
  padding: 10px;
  border-left: 3px solid var(--primary);
}

.poetic-line {
  color: var(--glow-color);
  font-style: italic;
  font-size: 1.1em;
}

.symbols-line {
  color: #7a6048;
  margin: 5px 0;
  font-weight: bold;
}

.interpretation-line {
  color: #2c3e50;
  font-size: 0.95em;
  line-height: 1.4;
}
