@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@500;800;900&display=swap');

/* Hide default cursor */
/*body, html {

	cursor: none;
  }
	a, button, img, input, textarea {
		cursor: none !important;
	}

#cursor {
  width: 32px;
  height: 32px;
  background-image: url('images-new/cursor-2.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.2s ease;
}
*/












    /* === FONTS === */
    @font-face {
      font-family: 'Bootstrap Icons';
      src: url('../fonts/bootstrap-icons.woff2') format('woff2'),
           url('../fonts/bootstrap-icons.woff') format('woff');
    }

    @font-face { font-family: 'Comback Home'; src: url('../fonts/Comback-Home.woff'); }
    @font-face { font-family: 'Cozy Vibes'; src: url('../fonts/Cozy Vibes.woff'); }
    @font-face { font-family: 'KG Simply the Best'; src: url('../fonts/KGSimplytheBest.woff'); }
    @font-face { font-family: 'Knight Warrior'; src: url('../fonts/KnightWarrior-w16n8.woff'); }
    @font-face { font-family: 'Robus'; src: url('../fonts/Robus-BWqOd.woff'); }
    @font-face { font-family: 'Toxia'; src: url('../fonts/Toxia_FRE.woff'); }

    /* Cooper Hewitt (all weights) */
    @font-face { font-family: 'Cooper Hewitt'; src: url('../fonts/CooperHewitt-Thin.woff'); font-weight: 100; }
    @font-face { font-family: 'Cooper Hewitt'; src: url('../fonts/CooperHewitt-Light.woff'); font-weight: 300; }
    @font-face { font-family: 'Cooper Hewitt'; src: url('../fonts/CooperHewitt-Book.woff'); font-weight: 400; }
    @font-face { font-family: 'Cooper Hewitt'; src: url('../fonts/CooperHewitt-Medium.woff'); font-weight: 500; }
    @font-face { font-family: 'Cooper Hewitt'; src: url('../fonts/CooperHewitt-Semibold.woff'); font-weight: 600; }
    @font-face { font-family: 'Cooper Hewitt'; src: url('../fonts/CooperHewitt-Bold.woff'); font-weight: 700; }
    @font-face { font-family: 'Cooper Hewitt'; src: url('../fonts/CooperHewitt-Heavy.woff'); font-weight: 800; }

    /* 🔥 NEW ADDITIONS */
    @font-face {
      font-family: 'Zero Velo';
      src: url('../fonts/zerovelo.woff') format('woff');
    }

    @font-face {
      font-family: 'Cyberway';
      src: url('../fonts/Cyberway-Riders.woff') format('woff');
    }

    @font-face {
      font-family: 'Cyberpunk';
      src: url('../fonts/SDCyberPunkCityDemo.woff') format('woff');
    }

    @font-face {
      font-family: 'Mistica';
      src: url('../fonts/Mistica-Blue.woff') format('woff');
    }

    @font-face {
      font-family: 'Quiet';
      src: url('../fonts/QuietBrokenVoice-Regular.woff') format('woff');
    }

    /* === Preview Classes === */
    .cooper { font-family: 'Cooper Hewitt', sans-serif; }
    .comback { font-family: 'Comback Home', cursive; }
    .cozy { font-family: 'Cozy Vibes', cursive; }
    .kg { font-family: 'KG Simply the Best', cursive; }
    .knight { font-family: 'Knight Warrior', sans-serif; }
    .robus { font-family: 'Robus', sans-serif; }
    .toxia { font-family: 'Toxia', sans-serif; }
    .velo { font-family: 'Zero Velo', sans-serif; }
    .cyberpunk { font-family: 'Cyberpunk', monospace; letter-spacing: 1px; }
    .Cyberway { font-family: 'Cyberway', monospace; letter-spacing: 1px;  }
    .Mistica { font-family: 'Mistica', monospace; letter-spacing: 1px;  }
    .Quiet { font-family: 'Quiet', monospace; letter-spacing: 1px;  }



































.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  
  background-color: black; /* ✨ THIS IS THE FIX */
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.videoWrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('videos/fallback.jpg'); /* your fallback image */
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: opacity 0.6s ease;
  opacity: 1;
  pointer-events: none;
}
.videoWrapper.loaded::before {
  opacity: 0;
}
.custom-video {
  z-index: 2; /* make sure video appears above fallback */
}
.custom-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 1s ease;
}
.custom-video.fade-out {
  opacity: 0;
}

























/* Initial state: Transparent */
.navbar.transition {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

/* After scrolling past hero */
.navbar.scrolled {
  background-color: #000 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Make nav links readable on black bg */
.navbar.scrolled .nav-link {
  color: white !important;
}


























/* LOGO */
.logo-wrapper {
  position: absolute;
  top: 20px;
  left: 50%;
  height: 50px;
  transform: translateX(-50%);
  z-index: 100;
}

.site-logo {
  height: 55px;
  width: auto;
  transition: all 0.4s ease;
  filter: brightness(1) contrast(1);
  backface-visibility: hidden;
  display: block;
  will-change: transform, filter;
}

/* 👑 On Hover: Deep glow & motion */
.site-logo:hover {
  transform: perspective(800px) rotateX(6deg) rotateY(-6deg) scale(1.08);
  filter: brightness(1.2) contrast(1.3) drop-shadow(0 0 10px rgba(255, 0, 123, 0.7))
                                    drop-shadow(0 0 25px rgba(255, 0, 0, 0.3));
}
























/* ABOUT SECTION */

  .bg-video {
    position: absolute;
    padding-top: 30px;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    object-fit: cover;
    z-index: 1;
  }

  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
  }

/* TEMP REMOVE LATER */
  .container-fluid {
    margin-top: 200px;
  }

  .video-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 65vh;
    color: white;
    padding: 0 20px;
  }

  .slide-text {
    font-size: 2rem;
    margin-top: 120px;
    max-width: 900px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .slide-text.active {
    opacity: 1;
    transform: translateY(0);
  }


/* NEXT SLIDE BOTTOM */
.cta {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-700%) translateX(10%);
  padding: 12px 18px;
  transition: all 0.2s ease;
  border: none;
  background: none;
    z-index: 4;
  cursor: pointer;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50px;
  background: #171717;
  width: 70px;
  height: 45px;
  transition: all 0.3s ease;
}

.cta span {
  position: relative;
  font-family: 'Cyberway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e3e3e3;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: 25px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #ffffff;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.cta:hover:before {
  width: 100%;
  background: #1c2121;
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active {
    transform: translateY(-700%) translateX(10%);
}





























/* === GAME LOGO BASE === */
.game-logo {
  opacity: 0.92;
  transform-style: preserve-3d;
  transition:
    transform 0.5s ease,
    filter 0.5s ease,
    box-shadow 0.5s ease;
  position: relative;
  z-index: 1;
  will-change: transform, filter;
  filter: brightness(0.8) contrast(1.2) grayscale(30%);
  border-radius: 12px;
  background: transparent;
  outline: none;
  box-shadow: none;

  /* === ADDED FOR JS CONTROL === */
  --translate: translate(0, 0);
  --rotation: rotateX(0deg) rotateY(0deg) scale(1);
  transform: var(--translate) var(--rotation);
}

/* === CLEAN HOVER (NO OUTLINE GLOW) === */
.game-logo:hover {
  --rotation: rotateX(10deg) rotateY(15deg) scale(1.1) translateZ(20px);
  filter: brightness(1.25) contrast(1.5) grayscale(0%);
  box-shadow: none;
}

/* === SHINE EFFECT STAYS === */
.game-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease-in-out;
  pointer-events: none;
}

.game-logo:hover::after {
  left: 125%;
}

/* === GAME LOGOS WRAPPER === */
.game-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  padding-inline: clamp(0.5rem, 4vw, 6rem);
  perspective: 1200px;
}

/* === FLOATING KEYFRAMES (MORE MOVEMENT) === */
@keyframes floatY1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -38px); }
}
@keyframes floatY2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-14px, -45px); }
}
@keyframes floatY3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -42px); }
}
@keyframes floatY4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-9px, -36px); }
}
@keyframes floatY5 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(16px, -40px); }
}
@keyframes floatY6 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-11px, -44px); }
}

/* === ASSIGN FLOATING EFFECTS TO EACH CHILD RANDOMLY === */
.game-logo:nth-child(1n).float-anim {
  animation-name: floatY1;
  --float-speed: 6.3s;
  animation-delay: 0.3s;
}
.game-logo:nth-child(2n).float-anim {
  animation-name: floatY2;
  --float-speed: 5.6s;
  animation-delay: 0.1s;
}
.game-logo:nth-child(3n).float-anim {
  animation-name: floatY3;
  --float-speed: 7.1s;
  animation-delay: 0.25s;
}
.game-logo:nth-child(4n).float-anim {
  animation-name: floatY4;
  --float-speed: 5.8s;
  animation-delay: 0.5s;
}
.game-logo:nth-child(5n).float-anim {
  animation-name: floatY5;
  --float-speed: 6.6s;
  animation-delay: 0.15s;
}
.game-logo:nth-child(6n).float-anim {
  animation-name: floatY6;
  --float-speed: 7.4s;
  animation-delay: 0.4s;
}

/* === LOGO BEHAVIOR === */
.game-logo.float-anim {
  animation-duration: var(--float-speed);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

.game-logo {
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
  flex: 1 0 auto;
  display: inline-block;
  object-fit: contain;
}

/* === RESPONSIVE SIZING (ADJUST BASED ON WIDTH) === */
@media (max-width: 1024px) {
  .game-logo {
    max-height: 60px;
  }
}
@media (max-width: 768px) {
  .game-logo {
    max-height: 40px !important;
    animation: none !important;
    transform: none !important;
  }
}

/* === SIZES (if using size classes) === */
.size-sm1 {
  max-height: 98px;
}
.size-sm2 {
  max-height: 94px;
}
.size-sm3 {
  max-height: 72px;
}
.size-sm4 {
  max-height: 54px;
}
.size-sm5 {
  max-height: 92px;
}

/* === MOBILE FIXES === */
@media (max-width: 768px) {
  .game-logo {
    max-height: 30px !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
  }
}





































/* SLIDES ABOUT SECTION */

/* === Fullscreen Wrapper === */
.cine-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* === Each Slide === */
.cine-scene {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 80%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    left 1.4s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 1.2s ease;
  z-index: 0;
  will-change: left, opacity;
  transform: translateZ(0); /* force GPU acceleration */
}

/* === Active Slide === */
.cine-scene.cine-active {
  left: 0;
  opacity: 1;
  z-index: 1;
}

.cine-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.6));
  z-index: 0;
  pointer-events: none;
}

.cine-text {
  position: relative;
  color: #f9f9f9;
  font-size: 5vw;
  font-weight: 900;
  text-align: center;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.7),
    0 0 15px rgba(0, 0, 0, 0.5),
    2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: cineTextIn 1s ease forwards;
  opacity: 0;
  transform: translateX(80px);
  letter-spacing: 1px;
  line-height: 1.2;
  filter: drop-shadow(1px 1px 2px #000);
}


.cine-wrapper-span {
  margin-top: 20px;
  display: block;
  font-family: 'Cooper Hewitt';
  font-weight: 400;
  font-size: 1.9rem;
  max-width: 1100px;
  opacity: 0;
  transform: translateY(40px);
  animation-fill-mode: forwards !important;
}

/* Fade In */
@keyframes spanFadeInOnce {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cine-scene.cine-active .cine-wrapper-span:not(.played) {
  animation: spanFadeInOnce 1.2s cubic-bezier(0.25, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

/* Fade Out */
@keyframes spanFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(40px);
  }
}

.cine-wrapper-span.fade-out {
  animation: spanFadeOut 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}





/* === Slide-in Text Animation === */
@keyframes cineTextIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cine-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.6) 100%);
}


.neon-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f7ff, transparent);
  box-shadow: 0 0 8px #00f7ff;
  animation: neon-pulse 2s infinite ease-in-out;
}
@keyframes neon-pulse {
  0% {
    box-shadow: 0 0 6px #00f7ff;
  }
  50% {
    box-shadow: 0 0 12px #00f7ff;
  }
  100% {
    box-shadow: 0 0 6px #00f7ff;
  }
}

























  :root {
    --accent: #ff0055;
    --light-glass: rgba(255, 255, 255, 0.06);
    --dark-glass: rgba(0, 0, 0, 0.4);
    --transition: 0.25s ease;
  }

  .section-title {
    font-weight: 780;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
  }

  .core-values-grid,
  .stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .stats-grid li {
    background: var(--light-glass);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 18px;
    width: 200px;
    color: #fff;
    font-size: 1.05rem;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
  }


  .stats-grid h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 8px;
  }

  .quote-section blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: #fff;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }

  .quote-section cite {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #aaa;
  }

  .cta-bar-about {
    background: #000;
    padding: 50px 20px;
    text-align: center;
  }

  .cta-bar-about h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 18px;
  }

  .cta-btn-about {
    display: inline-block;
    margin: 8px;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    font-weight: 500;
    border-radius: 24px;
    transition: var(--transition);
    text-decoration: none;
  }

  .cta-btn-about:hover {
    opacity: 0.85;
  }
.section-title-core {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  text-align: center;
  color: #00ffe0;
  letter-spacing: 0.1em;
  position: relative;
  animation: glitch-flicker 2s ease-out 1;
  z-index: 1;
  margin-bottom: 2rem;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00ffe0, #6c00ff, #00ffe0);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow-pulse 2.5s ease-in-out infinite alternate, glitch-flicker 2.2s ease-in 1;
}


/* 
 /* */ 
 /* / */

/* CORE VALUES CARDS */
.e-card {
  margin: 100px auto;
  background: transparent;
  box-shadow: 0px 8px 28px -9px rgba(0,0,0,0.45);
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
}

.wave {
  position: absolute;
  width: 540px;
  height: 700px;
  opacity: 0.6;
  left: 0;
  top: 0;
  margin-left: -50%;
  margin-top: -70%;
  background: linear-gradient(744deg,#af40ff,#5b42f3 60%,#00ddeb);
}

.icon {
  width: 3em;
  margin-top: -4em;
  color: #f9f9f9;
}

.infotop {
  text-align: center;
  font-family: 'Cyberway';
  font-size: 25px;
  position: absolute;
  top: 3.6em;
  left: 0;
  right: 0;
  color: rgb(255, 255, 255);
  font-weight: 600;
}

.name-core-values {
  font-size: 20px;
  color: #e8e6e6;
  /* font-weight: 600; */
  font-family: 'Cozy Vibes';
  position: relative;
  top: 0.5em;
  text-transform: lowercase;
}

.wave:nth-child(2),
.wave:nth-child(3) {
  top: 210px;
}

.playing .wave {
  border-radius: 40%;
  animation: wave 3000ms infinite linear;
}

.wave {
  border-radius: 40%;
  animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
  animation-duration: 4000ms;
}

.wave:nth-child(2) {
  animation-duration: 50s;
}

.playing .wave:nth-child(3) {
  animation-duration: 5000ms;
}

.wave:nth-child(3) {
  animation-duration: 45s;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.e-card {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Triggered state */
.e-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.core-values-grid .e-card:nth-child(1) { transition-delay: 0.2s; }
.core-values-grid .e-card:nth-child(2) { transition-delay: 0.4s; }
.core-values-grid .e-card:nth-child(3) { transition-delay: 0.6s; }
.core-values-grid .e-card:nth-child(4) { transition-delay: 0.8s; }
































.timeline-section {
  background: #000;
  padding: 100px 20px;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.timeline-title {
  position: relative; /* ensure pseudo-elements position to this */
  text-align: center;
  font-size: 2.8rem;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(90deg, #00e0ff, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  text-transform: uppercase;
  letter-spacing: 1px;
}
.timeline-title::before,
.timeline-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  color: #fff;
  background: transparent;
  clip: rect(0, 0, 0, 0);
}

.timeline-title::before {
  text-shadow: -6px 0 red;
  animation: glitchTop 1.6s infinite linear alternate-reverse;
}

.timeline-title::after {
  text-shadow: -6px 0 rgb(0, 158, 79);
  animation: glitchBottom 1.4s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% {
    clip: rect(0, 9999px, 0, 0);
  }
  10% {
    clip: rect(5px, 9999px, 25px, 0);
    transform: translate(-2px, -2px);
  }
  20% {
    clip: rect(10px, 9999px, 20px, 0);
    transform: translate(2px, -1px);
  }
  30% {
    clip: rect(0px, 9999px, 30px, 0);
    transform: translate(-1px, 2px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0);
  }
}

@keyframes glitchBottom {
  0% {
    clip: rect(0, 9999px, 0, 0);
  }
  10% {
    clip: rect(15px, 9999px, 35px, 0);
    transform: translate(1px, 1px);
  }
  20% {
    clip: rect(20px, 9999px, 40px, 0);
    transform: translate(-2px, 1px);
  }
  30% {
    clip: rect(5px, 9999px, 25px, 0);
    transform: translate(1px, -1px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0);
  }
}

.timeline-title.glitch-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


.timeline-container {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.timeline-line {
  position: absolute;
  left: 20px; /* shifted right to make space for icons */
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #00e0ff, #8a2be2);
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  transform: translateY(50px);
  opacity: 0;
}

.timeline-item.reveal {
  animation: fadeInUp 1.2s ease forwards;
}

.timeline-icon {
  position: absolute;
  left: -60px; /* adjust as needed */
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background: #111;
  color: #fff;
  border: 3px solid #0ff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease;
}
.timeline-item:hover .timeline-icon {
  transform: translateY(-50%) scale(1.1);
}


.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #00e0ff55;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #8a2be255;
}

.timeline-content {
  padding: 20px 25px;
  width: calc(100% - 100px); /* pulled closer to timeline */
  margin-left: 190px; /* Default left offset */
  border-radius: 12px;
  backdrop-filter: blur(10px);
  width: calc(50% - 100px);
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.15);
  transform: perspective(500px) rotateX(0deg);
}

.timeline-content:hover {
  transform: perspective(500px) rotateX(3deg);
  box-shadow: 0 0 40px rgba(0, 224, 255, 0.3);
}

.timeline-content h3.year {
  font-size: 1.4rem;
  color: #00e0ff;
  margin-bottom: 8px;
  background: linear-gradient(to right, #00e0ff, #8a2be2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-content p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.1) translateX(-50%);
  box-shadow: 0 0 25px #00e0ffdd, 0 0 10px #8a2be2cc inset;
  background: linear-gradient(135deg, #00e0ff33, #8a2be233);
}

/* Animation */
@keyframes fadeInUp {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-item,
  .timeline-content {
    width: 100%;
    margin: 0;
  }

  .timeline-icon {
    left: 20px;
    transform: none;
  }

  .timeline-content {
    margin-left: 60px !important;
    width: calc(100% - 80px);
  }
}

.timeline-item {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item.current .timeline-icon {
  background: radial-gradient(circle at center, #0ff, #003e4f);
  box-shadow:
    0 0 15px #0ff,
    0 0 30px #0ff inset;
  border-color: #0ff;
  animation: pulse-dot 1.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 15px #0ff;
  }
  50% {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 25px #0ff;
  }
}
























/* From Uiverse.io by Spacious74 */ 
.bgblue {
  background: linear-gradient(135deg, #fffffff5, #3a4b8a, #ffffff98);
  padding: 1px;
  border-radius: 1.2rem;
  box-shadow: 0px 1rem 1.5rem -0.9rem #000000e1;
  max-width: 300px;
}

.bgblue-card {
  font-size: 1rem;
  color: #bec4cf;
  background: linear-gradient(135deg, #0d1120 0%, #3a4b8a 43%, #0d1120 100%);
  padding: 1.5rem;
  border-radius: 1.2rem;
}
/* Initial hidden state */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Final visible state */
.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}














.boton-minecraft {
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 200px;
  padding: 12px 14px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background-color: #228b22;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.1s,
    color 0.3s;
  position: relative;
  overflow: hidden;
}

.boton-minecraft:hover {
  background-color: black;
  transform: scale(1.05);
}

.boton-minecraft svg {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.boton-minecraft:hover svg {
  transform: scale(1.1);
}

.texto-boton {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 24px;
  overflow: hidden;
}

.texto-boton span {
  position: absolute;
  transition: opacity 0.3s ease-in-out;
}

.texto-boton span:first-child {
  opacity: 1;
}

.texto-boton span:nth-child(2),
.texto-boton span:nth-child(3) {
  opacity: 0;
}

.boton-minecraft:hover .texto-boton span:first-child {
  opacity: 0;
}

.boton-minecraft:hover .texto-boton span:nth-child(2) {
  opacity: 1;
}

#toggle, #toggle2, #toggle3, #toggle4 {
  display: none;
}

/* FIRST BUTTON */
#toggle:checked + .boton-minecraft {
  background-color: white;
  color: black;
}
#toggle:checked + .boton-minecraft .texto-boton span:first-child,
#toggle:checked + .boton-minecraft .texto-boton span:nth-child(2) {
  opacity: 0;
}
#toggle:checked + .boton-minecraft .texto-boton span:nth-child(3) {
  opacity: 1;
}

/* SECOND BUTTON */
#toggle2:checked + .boton-minecraft {
  background-color: white;
  color: black;
}
#toggle2:checked + .boton-minecraft .texto-boton span:first-child,
#toggle2:checked + .boton-minecraft .texto-boton span:nth-child(2) {
  opacity: 0;
}
#toggle2:checked + .boton-minecraft .texto-boton span:nth-child(3) {
  opacity: 1;
}

/* THIRD BUTTON */
#toggle3:checked + .boton-minecraft {
  background-color: white;
  color: black;
}
#toggle3:checked + .boton-minecraft .texto-boton span:first-child,
#toggle3:checked + .boton-minecraft .texto-boton span:nth-child(2) {
  opacity: 0;
}
#toggle3:checked + .boton-minecraft .texto-boton span:nth-child(3) {
  opacity: 1;
}
.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* <-- adjust gap here */
  margin-top: 40px; /* optional spacing */
}
