body {
	font-family: 'Poppins', sans-serif;
}

body, main {
  overflow-x: hidden;
}

@font-face {
  font-family: 'geogrotesque';
  src: url('geogrotesque-wide-bold-webfont.woff2') format('woff2'),
       url('geogrotesque-wide-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 80px;
  background: rgba(1, 16, 30, 0.5);
  backdrop-filter: blur(8px);
  z-index: 50;
  padding: 1rem 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  position: relative;
}

header > nav {
  position: relative;
  z-index: 10;
}

.menu-button {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: white;
  display: inline-block;
  transition: transform 0.3s ease, background-position 0.8s ease, box-shadow 0.3s;
  backdrop-filter: blur(6px);
  background: linear-gradient(
    45deg,
    rgba(15, 46, 15, 0.4) 0%,
    rgba(31, 77, 31, 0.4) 40%,
    rgba(46, 107, 46, 0.4) 50%,
    rgba(31, 77, 31, 0.4) 60%,
    rgba(15, 46, 15, 0.4) 100%
  ), rgba(1, 16, 30, 0.5);
  background-size: 200% 200%;
  background-position: 100% 0%;
  border: 1px solid rgba(46, 107, 46, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.menu-button:hover {
  transform: scale(1.03);
  background-position: 50% 50%;
  box-shadow: 0 8px 20px rgba(46, 107, 46, 0.6);
}

.roll {
  display: inline-block;
  cursor: pointer;
}

a.menu-button:hover .roll {
  animation-name: rollUpDown;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

a.menu-button:hover .roll:nth-child(1)  { animation-delay: 0s; }
a.menu-button:hover .roll:nth-child(2)  { animation-delay: 0.1s; }
a.menu-button:hover .roll:nth-child(3)  { animation-delay: 0.2s; }
a.menu-button:hover .roll:nth-child(4)  { animation-delay: 0.3s; }
a.menu-button:hover .roll:nth-child(5)  { animation-delay: 0.4s; }
a.menu-button:hover .roll:nth-child(6)  { animation-delay: 0.5s; }
a.menu-button:hover .roll:nth-child(7)  { animation-delay: 0.6s; }
a.menu-button:hover .roll:nth-child(8)  { animation-delay: 0.7s; }
a.menu-button:hover .roll:nth-child(9)  { animation-delay: 0.8s; }
a.menu-button:hover .roll:nth-child(10)  { animation-delay: 0.9s; }
a.menu-button:hover .roll:nth-child(11)  { animation-delay: 1.0s; }
a.menu-button:hover .roll:nth-child(12)  { animation-delay: 1.1s; }

.video-box {
  opacity: 0;
  transform: translateX(0);
  transition: 
    transform 0.6s ease, 
    opacity 0.6s ease, 
    box-shadow 0.4s ease, 
    background-position 0.8s ease;

  background: linear-gradient(
    45deg,
    rgba(49, 47, 129, 0.4) 0%,
    rgba(67, 56, 202, 0.4) 40%,
    rgba(99, 102, 241, 0.4) 50%,
    rgba(67, 56, 202, 0.4) 60%,
    rgba(49, 47, 129, 0.4) 100%
  ), rgba(1, 16, 30, 0.5);

  background-size: 200% 200%;
  background-position: 100% 0%;
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 1.5rem;
  z-index: 5;
}

.video-box:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.6);
  background-position: 50% 50%;
}

.video-box.left {
  transform: translateX(-60px);
}

.video-box.right {
  transform: translateX(60px);
}

.video-box.visible {
  opacity: 1;
  transform: translateX(0);
}

.bg-gradient-animate {
  background: linear-gradient(-45deg, #333131);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

.fancy-box-wrapper {
  position: relative;
  z-index: 5;
}

.fancy-content-box {
  position: relative;
  border: 2px solid #F1AE35;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(241, 174, 53, 0.4);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 6;
}

.sparkle-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #F1AE35;
  border-radius: 50%;
  opacity: 0.9;
  pointer-events: none;
  filter: blur(1px) brightness(1.8);
  animation: sparkle-pop 0.3s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

.background-circles {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.background-circles .circle {
  position: absolute;
  background: rgba(6, 56, 16, 0.3) !important;
  border-radius: 9999px;
  opacity: 1 !important;
  filter: blur(40px) !important;
  animation: float 30s ease-in-out infinite alternate;
  box-shadow: 0 0 60px 40px rgba(6, 56, 16, 0.6);
}

.frame {
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(6, 56, 16, 0.6);
  padding: 1.5rem;
  z-index: 5;
  transition: background-position 0.8s ease;
}

.background {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 5px
    ),
    linear-gradient(to bottom, #0f2e0f, #1f4d1f, #2e6b2e);
  background-size: 200% 200%;
  background-position: 100% 0%;
  backdrop-filter: blur(6px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 0;
  overflow: hidden;
}

#particleCanvas {
  pointer-events: none;
}

.canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.pillar.left,
.pillar.right,
.pillar.top,
.pillar.bottom {
  background-color: rgba(6, 56, 16, 0.6);
  opacity: 0.8;
  border: 1px solid rgba(6, 56, 16, 0.6);
}

.pillar.top {
  top: 0;
}

.pillar.bottom {
  bottom: 0;
}

.rain-button-style {
  background: linear-gradient(
    45deg,
    rgba(49, 47, 129, 0.4) 0%,
    rgba(67, 56, 202, 0.4) 40%,
    rgba(99, 102, 241, 0.4) 50%,
    rgba(67, 56, 202, 0.4) 60%,
    rgba(49, 47, 129, 0.4) 100%
  ), rgba(1, 16, 30, 0.5);
  background-size: 200% 200%;
  background-position: 100% 0%;
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.5rem 2rem;
  min-width: 180px;
  text-align: center;
  color: #F0F2F5;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-block;
  margin-top: 1.5rem;
  transition: 
    transform 0.6s ease, 
    opacity 0.6s ease, 
    box-shadow 0.4s ease, 
    background-position 0.8s ease;
}

.rain-button-style:hover {
  background-position: 0% 100%;
  transform: scale(1.05);
}

#titleVideo {
  animation: hoverUpDown 8s ease-in-out infinite;
}

#headerVideo {
  transform: scale(1.5);
  transform-origin: center center;
  filter: blur(2px);
}

.fade-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sparkle-pop {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(0.6) translate(var(--x), var(--y));
    opacity: 0;
  }
}

@keyframes sparkle-left {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-30px, -30px) scale(0.5);
    opacity: 0;
  }
}

@keyframes sparkle-right {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(30px, -30px) scale(0.5);
    opacity: 0;
  }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-20px) scale(1.05); }
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes rollUpDown {
  0%   { transform: translateY(0) rotateX(0deg); opacity: 1; }
  50%  { transform: translateY(-100%) rotateX(90deg); opacity: 0.5; }
  51%  { transform: translateY(100%) rotateX(-90deg); opacity: 0.5; }
  100% { transform: translateY(0) rotateX(0deg); opacity: 1; }
}

@keyframes hoverUpDown {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateX(-50%) translateY(-25px) rotate(-8deg);
  }
}

#countdown {
  color: #FACC15;
}

.hex {
  width: 60px;
  height: 34.64px;
  background: #334155;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 1rem;
  clip-path: polygon(
    25% 0%, 75% 0%,
    100% 50%,
    75% 100%, 25% 100%,
    0% 50%
  );
  text-align: center;
}

.hex-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}

.page-section {
  opacity: 1;
  transition: opacity 0.5s ease;
  display: block;
}

.page-section.hiddenpage {
  opacity: 0;
  pointer-events: none;
}

.page-section.not-visible {
  display: none;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.floating-image {
  animation: float 3s ease-in-out infinite;
  opacity: 0.5;
  z-index: 10;
}