@font-face {
  font-family: 'RUMBLE BRAVE';
  src: url('fonts/Rumble Brave.otf') format('opentype'),
       url('fonts/Rumble%20Brave.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'RUMBLE BRAVE', 'Cinzel', 'MedievalSharp', serif !important;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'RUMBLE BRAVE', 'Cinzel', 'MedievalSharp', serif !important;
}

html {
  height: 100%;
}

body {
  height: auto;
  min-height: 100vh;
  background-image: url('imagens/fundo.png');
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: left top;
  position: relative;
  margin: 0;
  padding: 0;
  padding-bottom: 0;
}

/* Segundo fundo que continua após o primeiro - removido, usando repeat-y no body */
.background-second {
  display: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 10, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Logo */
.navbar-logo-link {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}

.navbar-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(243, 167, 56, 0.5));
  transition: filter 0.3s ease;
}

.navbar-logo:hover .logo-icon {
  filter: drop-shadow(0 0 12px rgba(243, 167, 56, 0.8));
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #f3a738, #f7c66b, #f3a738);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(243, 167, 56, 0.5);
  animation: logo-glow 3s ease-in-out infinite alternate;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes logo-glow {
  0% {
    filter: brightness(1);
    text-shadow: 
      0 0 8px rgba(243, 167, 56, 0.3),
      0 0 15px rgba(243, 167, 56, 0.2),
      0 0 25px rgba(247, 198, 107, 0.15),
      0 4px 20px rgba(0, 0, 0, 0.8);
  }
  100% {
    filter: brightness(1.1);
    text-shadow: 
      0 0 10px rgba(243, 167, 56, 0.4),
      0 0 18px rgba(243, 167, 56, 0.3),
      0 0 28px rgba(247, 198, 107, 0.2),
      0 4px 20px rgba(0, 0, 0, 0.8);
  }
}

@keyframes neon-glow {
  0% {
    text-shadow: 
      0 0 5px rgba(233, 158, 0, 0.345),
      0 0 10px rgba(233, 158, 0, 0.345),
      0 0 15px rgba(233, 158, 0, 0.345),
      0 0 20px rgba(233, 158, 0, 0.275),
      0 0 35px rgba(233, 158, 0, 0.225),
      0 0 50px rgba(233, 158, 0, 0.175),
      0 4px 20px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 8px rgba(233, 158, 0, 0.25));
  }
  100% {
    text-shadow: 
      0 0 8px rgba(233, 158, 0, 0.4),
      0 0 12px rgba(233, 158, 0, 0.4),
      0 0 18px rgba(233, 158, 0, 0.375),
      0 0 25px rgba(233, 158, 0, 0.325),
      0 0 40px rgba(233, 158, 0, 0.275),
      0 0 55px rgba(233, 158, 0, 0.225),
      0 4px 20px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 12px rgba(233, 158, 0, 0.35));
  }
}

/* Menu */
.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  position: relative;
  align-items: center;
}

.navbar-item {
  position: relative;
}

.navbar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
  display: block;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f3a738, #f7c66b);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(243, 167, 56, 0.6);
}

.navbar-link:hover {
  color: #f7c66b;
}

.navbar-link:hover::after {
  width: 100%;
}

/* Mobile Toggle Button */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1003;
  position: relative;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, #f3a738, #f7c66b);
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(243, 167, 56, 0.5);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 1.5rem;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 6, 10, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1002;
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar-link {
    padding: 1.2rem 0;
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }

  .navbar-link::after {
    display: none;
  }

  .navbar-link:hover {
    padding-left: 1rem;
    background: linear-gradient(90deg, rgba(243, 167, 56, 0.1), transparent);
  }

  /* Página atual no menu hamburger – a amarelo */
  body.page-home .navbar-link[href="index.html"],
  body.page-o-que-e .navbar-link[href="o-que-e.html"],
  body.page-equipa-projeto .navbar-link[href="equipa-projeto.html"],
  body.page-merch .navbar-link[href="merch.html"],
  body.page-forum .navbar-link[href="forum.html"] {
    color: #f7c66b;
    background: linear-gradient(90deg, rgba(243, 167, 56, 0.15), transparent);
    padding-left: 1rem;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
  }

  .logo-subtitle {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0 1rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }
}

/* ===== ANIMAÇÃO BRAVE ===== */
#brave-animation-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 999 !important;
  will-change: opacity, visibility;
  padding-top: 90px !important; /* Espaço para a navbar evitar sobreposição visual */
  box-sizing: border-box !important;
}

#brave-animation-img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  image-rendering: auto;
}

/* Ajuste para mobile - garantir espaço para navbar */
@media (max-width: 768px) {
  #brave-animation-container {
    padding-top: 80px !important; /* Altura aproximada da navbar no mobile */
  }
}

/* Ajuste para ecrãs muito pequenos */
@media (max-width: 480px) {
  #brave-animation-container {
    padding-top: 75px !important; /* Altura menor da navbar em ecrãs pequenos */
  }
}

/* Diminuir animação apenas no desktop */
@media (min-width: 769px) {
  #brave-animation-container {
    align-items: center !important;
    padding-top: calc(90px + 4vh) !important; /* Navbar + espaço original */
    justify-content: center !important;
  }
  
  #brave-animation-img {
    max-width: 60% !important;
    max-height: 50vh !important;
  }
}

/* ===== TEXTOS WELCOME E HINT (MOBILE E DESKTOP) ===== */
.mobile-welcome {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
  transition: opacity 0.3s linear;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
  visibility: visible;
}

/* Ajustar posicionamento no desktop para ficar acima da animação */
@media (min-width: 769px) {
  .mobile-welcome {
    top: 10%;
    max-width: 800px;
  }
}

.welcome-text {
  color: #f7c66b;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 30px rgba(243, 167, 56, 0.5);
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* Tamanho maior no desktop */
@media (min-width: 769px) {
  .welcome-text {
    font-size: 3rem;
  }
}

.mobile-scroll-hint {
  position: fixed;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
  transition: opacity 0.3s linear;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
  visibility: visible;
}

/* Ajustar posicionamento no desktop para ficar abaixo da animação */
@media (min-width: 769px) {
  .mobile-scroll-hint {
    bottom: 5%;
    max-width: 800px;
  }
}

.hint-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Tamanho maior no desktop */
@media (min-width: 769px) {
  .hint-text {
    font-size: 1.8rem;
  }
}

.scroll-arrow {
  color: #f7c66b;
  font-size: 3.5rem;
  animation: bounce 2s infinite;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
  filter: drop-shadow(0 0 15px rgba(243, 167, 56, 0.6));
}

/* Tamanho maior no desktop */
@media (min-width: 769px) {
  .scroll-arrow {
    font-size: 4rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Removido - usar apenas opacity para desvanecimento suave */

/* Os textos agora aparecem também no desktop */

/* ===== SECÇÃO OLA (APÓS ANIMAÇÃO) ===== */
.ola-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  z-index: 1;
  margin-top: 2500px; /* Espaço para a animação + mais espaço */
  overflow: visible;
}

/* No mobile, espaço médio */
@media (max-width: 768px) {
  .ola-section {
    margin-top: 2200px; /* Um pouco mais de espaço no mobile */
    padding-bottom: 2rem;
    padding-top: 1rem;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
  }
  
  .ola-container {
    padding: 2rem 1rem;
    overflow: visible;
    width: 100%;
  }
  
  .ola-image {
    width: 100%;
    max-width: 90%;
    margin: 0 0 2rem 0;
  }
}

.ola-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  overflow: visible;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

.ola-zoom-hint {
  display: none; /* Escondido no desktop */
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.zoom-hint-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.zoom-icon {
  animation: zoomGesture 2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(243, 167, 56, 0.6));
}

.zoom-icon svg {
  width: 40px;
  height: 40px;
}

@keyframes zoomGesture {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.2) translateY(-5px);
  }
}

/* Mostrar apenas no mobile */
@media (max-width: 768px) {
  .ola-zoom-hint {
    display: flex;
  }
}

.ola-image {
  width: 100%;
  max-width: 90%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
  animation: fadeInUp 1s ease;
  display: block;
  position: relative;
  margin-bottom: 2rem;
}

/* Reduzir tamanho da imagem no desktop para metade */
@media (min-width: 769px) {
  .ola-image {
    max-width: 50%;
  }
}

/* Ajustes para mobile pequeno */
@media (max-width: 480px) {
  .welcome-text {
    font-size: 1.8rem;
  }
  
  .hint-text {
    font-size: 1.2rem;
  }
  
  .scroll-arrow {
    font-size: 2.5rem;
  }
}

/* ===== MENSAGEM DE BOAS-VINDAS ===== */
.welcome-message-section {
  position: relative;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 1;
  margin-top: 0.5rem;
  text-align: center;
}

.welcome-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #f7c66b;
  line-height: 1.4;
  padding: 0.5rem 0;
  text-shadow: 
    0 0 10px rgba(243, 167, 56, 0.6),
    0 0 20px rgba(243, 167, 56, 0.4),
    0 0 30px rgba(243, 167, 56, 0.3),
    0 2px 10px rgba(243, 167, 56, 0.5);
}

@media (max-width: 768px) {
  .welcome-message-section {
    padding: 0 1rem;
    margin-top: -8rem;
    margin-bottom: 1rem;
  }
  
  .welcome-title {
    font-size: 2.5rem;
    padding: 0;
    margin: 0;
    text-shadow: 
      0 0 5px rgba(243, 167, 56, 0.3),
      0 0 10px rgba(243, 167, 56, 0.2),
      0 0 15px rgba(243, 167, 56, 0.15),
      0 2px 5px rgba(243, 167, 56, 0.25);
  }
}

/* ===== SECÇÃO CICLOS ANTERIORES ===== */
.ciclos-section {
  position: relative;
  width: 100%;
  padding: 0.5rem 2rem;
  z-index: 1;
  margin-top: -1rem;
  overflow: visible;
}

.ciclos-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: visible;
  padding: 1rem 0;
}

.ciclos-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #f7c66b;
  line-height: 1.4;
  padding: 0.25rem 0;
  text-shadow: 
    0 0 10px rgba(243, 167, 56, 0.6),
    0 0 20px rgba(243, 167, 56, 0.4),
    0 0 30px rgba(243, 167, 56, 0.3),
    0 2px 10px rgba(243, 167, 56, 0.5);
  position: relative;
  z-index: 1;
}

.title-text {
  background: linear-gradient(135deg, #f3a738, #f7c66b, #f3a738);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ciclos-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .ciclos-section {
    padding: 0 1rem;
    margin-top: 0rem;
  }
  
  .ciclos-title {
    font-size: 2rem;
    padding: 0;
    margin-bottom: 0;
    margin-top: 0;
    text-shadow: 
      0 0 5px rgba(243, 167, 56, 0.3),
      0 0 10px rgba(243, 167, 56, 0.2),
      0 0 15px rgba(243, 167, 56, 0.15),
      0 2px 5px rgba(243, 167, 56, 0.25);
  }
  
  .ciclos-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
    margin-top: 0;
  }
  
  .timeline {
    padding: 0;
    margin-top: 0;
  }
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, 
    rgba(243, 167, 56, 0.3) 0%,
    rgba(243, 167, 56, 0.8) 50%,
    rgba(243, 167, 56, 0.3) 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(243, 167, 56, 0.5);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
  }
}

.timeline-items {
  position: relative;
  width: 100%;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  padding-right: 55%;
}

.timeline-item:nth-child(even) {
  padding-left: 55%;
}

@media (max-width: 768px) {
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 80px;
    padding-right: 0;
  }
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #f3a738;
  border: 4px solid rgba(5, 6, 10, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(243, 167, 56, 0.8), 0 0 40px rgba(243, 167, 56, 0.4);
  z-index: 2;
}

@media (max-width: 768px) {
  .timeline-dot {
    left: 30px;
  }
}

.timeline-content {
  background: rgba(5, 6, 10, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 2px solid rgba(243, 167, 56, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(243, 167, 56, 0.2);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 167, 56, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(243, 167, 56, 0.4);
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
}

@media (max-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    text-align: left;
  }
  
  /* 23º ciclo - imagem ajustada no mobile */
  .timeline-item[data-ciclo="23"] .timeline-image {
    object-position: 40% center;
  }
}

.timeline-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.timeline-content:hover .timeline-image {
  transform: scale(1.05);
}

.timeline-number {
  font-size: 1.8rem;
  color: #f7c66b;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(243, 167, 56, 0.5);
  letter-spacing: 0.05em;
}

.timeline-year {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 2px solid rgba(243, 167, 56, 0.5);
  border-radius: 50px;
  padding: 1rem 1.5rem;
  color: #f7c66b;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  z-index: 998;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(243, 167, 56, 0.3);
  font-family: 'RUMBLE BRAVE', 'Cinzel', 'MedievalSharp', serif;
  letter-spacing: 0.05em;
}

.back-to-top-btn:hover {
  background: rgba(5, 6, 10, 0.95);
  border-color: rgba(243, 167, 56, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(243, 167, 56, 0.5);
}

.back-to-top-btn span:first-child {
  font-size: 1.5rem;
  line-height: 1;
}

.back-to-top-btn {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.back-to-top-btn.visible {
  display: flex;
  opacity: 1;
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .back-to-top-btn span:first-child {
    font-size: 1.3rem;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  width: 100%;
  padding: 3rem 2rem 3rem;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 2px solid rgba(243, 167, 56, 0.3);
  margin-top: 4rem;
  margin-bottom: 0;
  z-index: 1;
}

/* Garantir que o footer é o último elemento - fim da página */
.site-footer::after {
  content: '';
  display: block;
  height: 0;
  clear: both;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(243, 167, 56, 0.5));
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-title {
  font-size: 1.5rem;
  color: #f7c66b;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(243, 167, 56, 0.5);
  margin: 0;
}

.footer-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(243, 167, 56, 0.1);
  border: 2px solid rgba(243, 167, 56, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(243, 167, 56, 0.2);
  border-color: rgba(243, 167, 56, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(243, 167, 56, 0.4);
}

.social-link svg {
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
  letter-spacing: 0.05em;
}

.footer-end-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
}

.decoration-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(243, 167, 56, 0.2),
    rgba(243, 167, 56, 0.4),
    rgba(243, 167, 56, 0.2),
    transparent
  );
  max-width: 150px;
}

.decoration-ornament {
  font-size: 1.5rem;
  color: #f7c66b;
  text-shadow: 
    0 0 10px rgba(243, 167, 56, 0.6),
    0 0 20px rgba(243, 167, 56, 0.4),
    0 0 30px rgba(243, 167, 56, 0.3);
  animation: ornamentGlow 3s ease-in-out infinite;
}

@keyframes ornamentGlow {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem 1.5rem;
    margin-top: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-logo {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-title {
    font-size: 1.3rem;
  }
  
  .footer-social {
    gap: 1rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link svg {
    width: 25px;
    height: 25px;
  }
  
  .footer-copyright {
    font-size: 0.75rem;
  }
  
  .footer-end-decoration {
    margin-top: 1.5rem;
    gap: 1rem;
  }
  
  .decoration-line {
    max-width: 80px;
  }
  
  .decoration-ornament {
    font-size: 1.2rem;
  }
}

/* ===== PÁGINAS EM CONSTRUÇÃO ===== */
.construction-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  z-index: 1;
  margin-top: 90px; /* Espaço para a navbar */
}

.construction-container {
  text-align: center;
  max-width: 800px;
  padding: 3rem 2rem;
}

.construction-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #f7c66b;
  line-height: 1.4;
  margin-bottom: 2rem;
  text-shadow: 
    0 0 10px rgba(243, 167, 56, 0.6),
    0 0 20px rgba(243, 167, 56, 0.4),
    0 0 30px rgba(243, 167, 56, 0.3),
    0 2px 10px rgba(243, 167, 56, 0.5);
}

.construction-text {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .construction-section {
    margin-top: 80px;
    padding: 2rem 1rem;
  }
  
  .construction-container {
    padding: 2rem 1rem;
  }
  
  .construction-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 
      0 0 5px rgba(243, 167, 56, 0.3),
      0 0 10px rgba(243, 167, 56, 0.2),
      0 0 15px rgba(243, 167, 56, 0.15),
      0 2px 5px rgba(243, 167, 56, 0.25);
  }
  
  .construction-text {
    font-size: 1.5rem;
  }
}

/* ===== PÁGINA MERCH ===== */
.merch-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
  z-index: 1;
  margin-top: 90px;
}

.merch-container {
  max-width: 1000px;
  margin: 0 auto;
}

.merch-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f7c66b;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(243, 167, 56, 0.5);
}

.merch-page-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.merch-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(247, 198, 107, 0.35);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.merch-card:hover {
  border-color: rgba(247, 198, 107, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.merch-card-image {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.merch-card-title {
  font-size: 1.35rem;
  color: #f7c66b;
  text-align: center;
  padding: 1rem;
  margin: 0;
  letter-spacing: 0.05em;
}

.merch-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .merch-section {
    margin-top: 80px;
    padding: 1.5rem 0.75rem 3rem;
  }

  .merch-page-title {
    font-size: 1.75rem;
  }

  .merch-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .merch-card-title {
    font-size: 1.2rem;
  }
}

/* ===== PÁGINA FÓRUM - CARTÕES COM FLIP ===== */
.forum-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
  z-index: 1;
  margin-top: 90px;
}

.forum-container {
  max-width: 1100px;
  margin: 0 auto;
}

.forum-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f7c66b;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(243, 167, 56, 0.5);
}

.forum-page-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.forum-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.forum-card {
  perspective: 900px;
  cursor: pointer;
  min-height: 230px;
}

.forum-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 230px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.forum-card-flipped .forum-card-inner {
  transform: rotateY(180deg);
}

/* No mobile, a frente por vezes continua visível por cima do verso; escondê-la só após a rotação acabar */
.forum-card-front {
  transition: visibility 0s linear;
}
.forum-card-flipped .forum-card-front {
  visibility: hidden;
  transition-delay: 0.6s;
  pointer-events: none;
}

.forum-card-front,
.forum-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  padding: 1.25rem;
  border: 2px solid rgba(247, 198, 107, 0.35);
}

.forum-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  overflow: hidden;
}

.forum-card-front-has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.forum-card-front-has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  pointer-events: none;
}

/* Bola do orador encaixada no canto, com um bocado de fora */
.forum-card-front-orador {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  z-index: 2;
}

.forum-card-front-orador-visible {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(247, 198, 107, 0.5);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.forum-card-front-orador-visible img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forum-card-front-has-image .forum-zone-name-line1,
.forum-card-front-has-image .forum-zone-name-line2 {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.forum-card-front:hover {
  border-color: rgba(247, 198, 107, 0.65);
  background-color: rgba(247, 198, 107, 0.08);
}

.forum-card-front-has-image:hover::before {
  background: rgba(0, 0, 0, 0.35);
}

.forum-zone-name-line1,
.forum-zone-name-line2 {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  line-height: 1.25;
}

.forum-zone-name-line2 {
  font-size: 0.95rem;
  opacity: 0.95;
}

.forum-card-back {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(247, 198, 107, 0.5);
  transform: rotateY(180deg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Linha do título + categoria alinhados */
.forum-card-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  min-height: 2rem;
}

.forum-card-back .forum-panel-title {
  font-size: 1.1rem;
  color: #f7c66b;
  margin: 0;
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}

.forum-card-back .forum-tags-corner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  flex-shrink: 0;
}

.forum-card-back-content {
  flex: 1;
  min-width: 0;
}

.forum-card-back .forum-panel-subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  max-width: 100%;
  display: block;
}

.forum-card-back .forum-panel-orador {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.forum-orador-photo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(247, 198, 107, 0.5);
  flex-shrink: 0;
}

.forum-orador-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forum-orador-name {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.forum-card-back .forum-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.forum-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: rgba(247, 198, 107, 0.2);
  color: #f7c66b;
  font-size: 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(247, 198, 107, 0.4);
}

@media (max-width: 768px) {
  .forum-section {
    margin-top: 80px;
    padding: 1.5rem 0.75rem 3rem;
  }

  .forum-page-title {
    font-size: 1.75rem;
  }

  .forum-map {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .forum-card,
  .forum-card-inner {
    min-height: 195px;
  }

  .forum-zone-name-line1,
  .forum-zone-name-line2 {
    font-size: 0.9rem;
  }

  .forum-zone-name-line2 {
    font-size: 0.85rem;
  }

  .forum-card-back .forum-panel-title {
    font-size: 1rem;
  }

  .forum-card-back .forum-panel-subtitle {
    font-size: 0.82rem;
  }
}

/* ===== PÁGINA EQUIPA PROJETO ===== */
.equipa-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
  z-index: 1;
  margin-top: 90px;
}

.equipa-container {
  max-width: 1200px;
  margin: 0 auto;
}

.equipa-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f7c66b;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(243, 167, 56, 0.5);
}

.equipa-page-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.equipa-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.equipa-carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(247, 198, 107, 0.6);
  background: rgba(0, 0, 0, 0.4);
  color: #f7c66b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.equipa-carousel-btn:hover {
  background: rgba(243, 167, 56, 0.2);
  border-color: #f7c66b;
  transform: scale(1.05);
}

.equipa-carousel-btn svg {
  width: 24px;
  height: 24px;
}

.equipa-carousel-track-wrap {
  flex: 1;
  overflow: hidden;
}

.equipa-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.equipa-carousel::-webkit-scrollbar {
  height: 8px;
}

.equipa-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.equipa-carousel::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #f3a738, #f7c66b);
  border-radius: 4px;
}

.equipa-dept-card {
  flex: 0 0 200px;
  scroll-snap-align: center;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.equipa-dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.equipa-dept-card-active {
  border-color: #f7c66b;
  box-shadow: 0 0 20px rgba(243, 167, 56, 0.4);
}

.equipa-dept-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 15/14;
  background: rgba(255, 255, 255, 0.08);
}

.equipa-dept-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.equipa-dept-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: #f7c66b;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
}

.equipa-members-title {
  font-size: 1.5rem;
  color: #f7c66b;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.equipa-members {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.equipa-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
  cursor: pointer;
}

.equipa-member-img-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(247, 198, 107, 0.5);
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.equipa-member-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipa-member-name {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.equipa-members-empty {
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  padding: 2rem;
}

/* Secção "O que faz cada equipa" */
.equipa-roles {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(247, 198, 107, 0.25);
}

.equipa-roles-title {
  font-size: 1.75rem;
  color: #f7c66b;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.equipa-role-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.equipa-role-desc .equipa-role-highlight {
  color: #f7c66b;
  font-weight: 700;
}

@media (max-width: 768px) {
  .equipa-section {
    margin-top: 80px;
    padding: 1.5rem 0.75rem 3rem;
  }

  .equipa-page-title {
    font-size: 1.75rem;
  }

  .equipa-page-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .equipa-carousel-wrapper {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .equipa-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .equipa-carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .equipa-dept-card {
    flex: 0 0 160px;
  }

  .equipa-members {
    gap: 1.25rem;
  }

  .equipa-member-img-wrap {
    width: 150px;
    height: 150px;
  }

  .equipa-roles {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .equipa-roles-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .equipa-role-desc {
    font-size: 1.05rem;
  }
}

/* Modal descrição membro - Equipa Projeto */
.equipa-member-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.equipa-member-modal-overlay.equipa-member-modal-open {
  opacity: 1;
  visibility: visible;
}

.equipa-member-modal-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: linear-gradient(180deg, rgba(20, 18, 15, 0.98), rgba(15, 14, 12, 0.98));
  border: 2px solid rgba(247, 198, 107, 0.5);
  border-radius: 12px;
  padding: 2rem 2rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(243, 167, 56, 0.15);
}

.equipa-member-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #f7c66b;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.equipa-member-modal-close:hover {
  background: rgba(247, 198, 107, 0.25);
  color: #fff;
}

.equipa-member-modal-title {
  color: #f7c66b;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-right: 2rem;
  letter-spacing: 0.05em;
}

.equipa-member-modal-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}

/* ===== PÁGINA "O QUE É?" ===== */
.content-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 4rem 2rem;
  z-index: 1;
  margin-top: 90px;
}

.content-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #f7c66b;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  text-align: center;
  text-shadow: 
    0 0 10px rgba(243, 167, 56, 0.6),
    0 0 20px rgba(243, 167, 56, 0.4),
    0 0 30px rgba(243, 167, 56, 0.3),
    0 2px 10px rgba(243, 167, 56, 0.5);
}

.page-subtitle {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-style: italic;
}

.text-content {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: justify;
}

.text-content p {
  margin-bottom: 1rem;
}

.text-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
  list-style-type: disc;
}

.text-content li {
  margin-bottom: 0.5rem;
}

.hino-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(243, 167, 56, 0.3);
}

.hino-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f7c66b;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 
    0 0 10px rgba(243, 167, 56, 0.6),
    0 0 20px rgba(243, 167, 56, 0.4),
    0 0 30px rgba(243, 167, 56, 0.3),
    0 2px 10px rgba(243, 167, 56, 0.5);
}

.hino-lyrics {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hino-lyrics p {
  margin: 0.3rem 0;
}

.audio-player-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.audio-player {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(243, 167, 56, 0.3);
  border-radius: 15px;
  padding: 1.2rem 1.5rem;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(243, 167, 56, 0.2);
}

.audio-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.play-pause-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  flex-shrink: 0;
}

.volume-control {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.progress-container {
  width: 100%;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.volume-icon {
  color: #f7c66b;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.volume-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(243, 167, 56, 0.5));
}

.volume-slider-wrapper {
  position: relative;
  width: 80px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.volume-slider {
  width: 100%;
  height: 8px;
  background: transparent;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 2;
  margin: 0;
  touch-action: none;
  min-height: 44px;
  margin-top: -18px;
  padding-top: 18px;
}

.volume-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #f3a738, #f7c66b);
  border-radius: 4px;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 8px rgba(243, 167, 56, 0.4);
  transition: width 0.1s linear;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  background: linear-gradient(90deg, #f3a738, #f7c66b);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(243, 167, 56, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-top: -8px;
}

.volume-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: linear-gradient(90deg, #f3a738, #f7c66b);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(243, 167, 56, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (pointer: fine) {
  .volume-slider::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    margin-top: -2px;
  }
  .volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
  }
  .volume-slider {
    min-height: 0;
    margin-top: 0;
    padding-top: 0;
  }
}

.play-pause-btn {
  background: transparent;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.3s ease;
  color: #f7c66b;
  font-size: 2.5rem;
  flex-shrink: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.play-pause-btn .play-icon svg,
.play-pause-btn .pause-icon svg {
  width: 2rem;
  height: 2rem;
  display: block;
}

.play-pause-btn:hover {
  filter: drop-shadow(0 0 10px rgba(243, 167, 56, 0.8));
}

.play-pause-btn:active {
  transform: translateX(-50%);
}

.progress-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f3a738, #f7c66b);
  border-radius: 5px;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(243, 167, 56, 0.6);
  position: relative;
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: linear-gradient(90deg, #f3a738, #f7c66b);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 0 12px rgba(243, 167, 56, 0.8), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease;
  z-index: 2;
}

.progress-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.2);
}

.time-display {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .content-section {
    margin-top: 80px;
    padding: 1.5rem 1rem;
  }
  
  .page-title {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    text-shadow: 
      0 0 5px rgba(243, 167, 56, 0.3),
      0 0 10px rgba(243, 167, 56, 0.2),
      0 0 15px rgba(243, 167, 56, 0.15),
      0 2px 5px rgba(243, 167, 56, 0.25);
  }
  
  .page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  
  .text-content {
    font-size: 1rem;
    text-align: left;
  }
  
  .hino-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 
      0 0 5px rgba(243, 167, 56, 0.3),
      0 0 10px rgba(243, 167, 56, 0.2),
      0 0 15px rgba(243, 167, 56, 0.15),
      0 2px 5px rgba(243, 167, 56, 0.25);
  }
  
  .hino-lyrics {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .audio-player {
    padding: 1rem 1.2rem;
  }
  
  .play-pause-btn {
    font-size: 2rem;
  }
  
  .volume-icon {
    width: 20px;
    height: 20px;
  }
  
  .volume-slider-wrapper {
    width: 80px;
  }
  
  .text-content {
    font-size: 18px;
  }
}
  