/* HOMEPAGE SECTION */
.navbar {
  position: relative;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5rem;
  padding-bottom: 0;
}

.logo img {
  width: 15vw;
  height: auto;
}

.nav-buttons {
  display: flex;
  gap: 2rem;
}

.nav-buttons a:hover {
  background-color: #000;

}

#enigma-btn {
  background-color: rgb(248, 234, 127);
  color: #000;
}

#enigma-btn:hover {
  background-color: orange;
  transform: translateY(-4px) scale(1.05);
}

#enigma-btn {
  background-color: #ffcc00;
  color: #222;
  font-weight: bold;
  border: 3px solid #000;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 3px 3px 0px #000;
}

#enigma-btn:hover {
  background-color: #ff9900;
  transform: translateY(-4px) scale(1.08) rotate(-1deg);
  box-shadow: 6px 6px 0px #000;
  filter: saturate(1.3) contrast(1.2);
}


.nav-btn {
  color: #050505;
  border-radius: 2rem 2rem 2rem 2rem / 3rem 3rem 3rem 3rem;
  padding: 0.7rem 2.5rem;
  background: #c1c586;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  font-weight: bold;
  z-index: 100;
  text-decoration: none;
}

.nav-btn1 {
  color: #000000;
  border-radius: 2rem 2rem 2rem 2rem / 3rem 3rem 3rem 3rem;
  padding: 0.7rem 2.5rem;
  background: #c1c586;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  font-weight: bold;
  z-index: 101;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-weight: bold;
  font-size: 1.4rem;
  z-index: 10;
}

nav ul li a {
  color: rgb(224, 230, 178);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

#home {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pure-stack-container {
  position: relative;
  width: 600px;
  height: 100px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pure-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: scale(1.3);
  transition: transform 0.2s ease-out;
}

.pure-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pure-frame:nth-child(1) {
  z-index: 4;
}

.pure-frame:nth-child(2) {
  z-index: 3;
}

.pure-frame:nth-child(3) {
  z-index: 2;
}

.pure-frame:nth-child(4) {
  z-index: 1;
}

body {
  background-color: #2F2F2F;
  font-family: Arial, sans-serif;
  color: white;
  overflow-x: hidden;
  width: 100vw;
}

.logo img {
  width: 15vw;
  height: auto;
}

.date {
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transform: translateY(250px);
  font-size: 30px;
  -webkit-transform: translateY(250px);
  -moz-transform: translateY(250px);
  -ms-transform: translateY(250px);
  -o-transform: translateY(250px);
}

.navbar {
  position: relative;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5rem;
  padding-bottom: 0;
}

.nav-buttons {
  display: flex;
  gap: 2rem;
}

.nav-btn {
  color: #050505;
  border-radius: 2rem 2rem 2rem 2rem / 3rem 3rem 3rem 3rem;
  /* Oval shape */
  padding: 0.7rem 2.5rem;
  background: #c1c586;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  /* Stronger drop shadow */
  font-weight: bold;
  z-index: 100;
  text-decoration: none;
}

.nav-btn1 {
  color: #000000;
  border-radius: 2rem 2rem 2rem 2rem / 3rem 3rem 3rem 3rem;
  /* Oval shape */
  padding: 0.7rem 2.5rem;
  background: #c1c586;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  /* Stronger drop shadow */
  font-weight: bold;
  z-index: 101;
  text-decoration: none;
}

.adithyan {
  transform: translateY(150px);
  font-size: 2vw;
  background: rgb(209, 214, 179)
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-weight: bold;
  font-size: 1.4rem;
  z-index: 10;
}

nav ul li a {
  color: rgb(224, 230, 178);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

main {
  padding: 2rem;
  min-height: calc(100vh - 80px);
}

.stars {
  position: absolute;
  top: 3%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.rainbow {
  position: absolute;
  top: 20%;
  left: 7%;
  transform: translate(-25%);
  width: auto;
  height: 1000px;
  /* Adjust height as needed */
  z-index: -1;
}

.rainbow-r {
  width: 73.5625em;
  position: absolute;
  top: -30.4em;
  bottom: auto;
  left: auto;
  right: -15.8em;
  overflow: hidden;
  clip-path: inset(0 5% 0 0);
}

.cloud1 {
  width: 38.8125em;
  position: absolute;
  top: 2.2em;
  bottom: auto;
  left: -18.9em;
  right: auto;
  z-index: 2;
}

.cloud2 {
  width: 25.96875em;
  /* Half of original width */
  position: absolute;
  top: 18.8em;
  bottom: auto;
  left: auto;
  right: -13em;
  overflow: hidden;
  /* Ensures only half is visible if the image is wider */
  clip-path: inset(0 50% 0 0);
  /* Shows left half of the cloud */
}

.flower {
  z-index: 3;
  width: 23.7119em;
  max-width: none;
  position: absolute;
  top: 75%;
  bottom: -5.9em;
  left: auto;
  right: -5.8em;
  overflow: hidden;
  clip-path: inset(0 25% 0 0);
}

.bug {
  position: absolute;
  bottom: -6.7em;
  left: 7em;
  right: auto;
  width: 15.5em;
}

.moon {
  width: 9.125em;
  position: absolute;
  top: 4.5em;
  bottom: auto;
  left: 22.5em;
  right: auto;
}

.peach {
  position: absolute;
  left: 63%;
  top: 77%;
  transform: translate(-50%, -50%);
  width: 5em;
  /* Adjust as needed */
  z-index: 2;
}

.pencil {
  z-index: 2;
  width: 6.1875em;
  position: absolute;
  top: auto;
  bottom: -7.6em;
  left: auto;
  right: 40.8em;
}

.jar {
  width: 7.9375em;
  position: absolute;
  top: 16em;
  bottom: auto;
  left: 13em;
  right: auto;
}

/* PURE Stack Styles */
.pure-stack-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 200px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pure-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: scale(1.3);
  transition: transform 0.2s ease-out;
}

.pure-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pure-frame:nth-child(1) {
  animation-delay: 0s;
}

.pure-frame:nth-child(2) {
  animation-delay: 0s;
}

.pure-frame:nth-child(3) {
  animation-delay: 0s;
}

.pure-frame:nth-child(4) {
  animation-delay: 0s;
}

@keyframes pureFrameAnimation {

  0%,
  20% {
    opacity: 1;
    transform: scale(1) rotate(var(--rotation, 0deg)) translate(var(--x, 0px), var(--y, 0px));
  }

  25%,
  45% {
    opacity: 1;
    transform: scale(1) rotate(var(--rotation, 0deg)) translate(var(--x, 0px), var(--y, 0px));
  }

  50%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(var(--rotation, 0deg)) translate(var(--x, 0px), var(--y, 0px));
  }
}

.pure-frame:nth-child(1) {
  z-index: 4;
}

.pure-frame:nth-child(2) {
  z-index: 3;
}

.pure-frame:nth-child(3) {
  z-index: 2;
  /* transform: scale(0.90); Removed to allow JS animation */
}

.pure-frame:nth-child(4) {
  z-index: 1;
  /* transform: scale(0.85); Removed to allow JS animation */
}

/* Location text */
.location-text {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: white;
  z-index: 6;
  text-align: center;
}

/* ESPORTS-SECTION */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: #2d3748;
  min-height: 100vh;
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  color: white;
}

.esports-cxt {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  position: relative;
}

/* Animated background particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #00ffff;
  border-radius: 50%;
  animation: float 20s infinite linear;
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
  letter-spacing: 3px;
  position: relative;
  z-index: 2;
}



.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  z-index: 2;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel {
  display: flex;
  align-items: center;
  gap: 30px;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: grab;
}

.carousel:active {
  cursor: grabbing;
}

.slide {
  flex: 0 0 280px;
  height: 420px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  background: linear-gradient(145deg, #1e1e2e, #2d2d44);
  border: 2px solid transparent;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: grey;
  padding: 2px;
  background: linear-gradient(45deg, #ff0040, #00ffff, #ff00ff, #ffff00);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.slide:hover::before,
.slide.active::before {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  transition: all 0.6s ease;
}

.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 30px 20px 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide-title {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #00ffff;
  text-shadow: 0 0 10px currentColor;
}

.slide-description {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
}

.slide.active {
  transform: scale(1.1);
  z-index: 10;
}

.slide.active .slide-info,
.slide:hover .slide-info {
  transform: translateY(0);
}

.slide.active img {
  filter: brightness(1.1) contrast(1.1);
  box-shadow:
    0 20px 40px rgba(0, 255, 255, 0.3),
    0 0 60px rgba(255, 0, 64, 0.2);
}

.slide:not(.active) img {
  filter: blur(2px) brightness(0.7) grayscale(0.3);
  transform: scale(0.95);
}

.slide:not(.active):hover img {
  filter: blur(1px) brightness(0.9) grayscale(0.1);
  transform: scale(0.98);
}


.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.dots {
  display: flex;
  gap: 12px;
}

.dot {
  height: 12px;
  width: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.dot.active {
  background: linear-gradient(45deg, #ff0040, #00ffff);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.play-pause-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(255, 0, 64, 0.2), rgba(0, 255, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.play-pause-btn:hover {
  background: linear-gradient(135deg, rgba(255, 0, 64, 0.4), rgba(0, 255, 255, 0.4));
  transform: translateY(-4px);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -o-transform: translateY(-4px);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(#00ffff);
  background: linear-gradient(90deg, #ff0040, #00ffff);
  border-radius: 2px;
  transform-origin: left;
  transition: width 0.1s linear;
}

.game-stats {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 15px;
  border-radius: 10px;
  color: #00ffff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slide:hover .game-stats,
.slide.active .game-stats {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .slide {
    flex: 0 0 250px;
    height: 350px;
  }

  .carousel-container {
    padding: 30px 15px;
  }

  .controls {
    flex-direction: column;
    gap: 20px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* FOOTER SECTION */

.foot-main {
  position: relative;
  background-color: #2f2f2f;
  background-image: url(/svg/svg-image-120.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px;
}

.foot-1 {
  display: flex;
  border-top: 2px solid white;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px;
  color: white;
  padding-top: 20px;
  font-size: 0.7rem;
  flex-wrap: wrap;
}

.foot-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

a {
  color: white;
  font-size: 1rem;
}

.foot-left a {
  color: white;
  text-decoration: none;
}

#f-h {
  font-size: 1rem;
  padding-bottom: 4px;
}

.foot-right a {
  font-size: 1.8rem;
  align-items: center;
  text-decoration: none;
  margin-left: 15px;
}

.copyright {
  font-size: 1rem;
}

#im-1 {
  position: absolute;
  right: 30%;
  max-width: 150px;
  width: 20%;
  height: auto;
}

a:hover {
  color: rgb(205, 205, 205);
  transition: .3s;
}

@media (max-width: 600px) {
  .foot-1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin: 0;
  }

  .foot-left {
    align-items: center;
  }

  .foot-right {
    font-size: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .copyright {
    font-size: 0.9rem;
  }

  #im-1 {
    right: 20%;
    margin: 10px auto;
    display: block;
    width: 40%;
  }
}

@media (max-width: 480px) {
  .foot-main {
    padding: 20px;
  }

  .foot-right {
    gap: 10px;
    font-size: 0.6rem;
  }

  #im-1 {
    right: 10%;
    margin: 10px auto;
    display: block;
    width: 40%;
  }
}

/* MOBILE ONLY – hide full home and replace with bg */
@media (max-width: 768px) {
  #home {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/assets/home-mob.png") no-repeat center center;
    background-size: cover;
  }

  .navbar>*,
  .nav-buttons>*,
  .date {
    display: none;
  }

  /* hide everything inside home */
  #home>* {
    display: none;
  }
}

/* Hide on desktop */
.mobile-logo-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-logo-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #080808;
    /* cartoon yellow bg */
    border-bottom: 5px solid #3b5bbc;
    /* cartoon strip */
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    z-index: 1000;
  }

  .logo-img {
    height: 40px;
    /* adjust size */
    width: auto;
  }
}


/* Cartoon Hamburger Button */
.hamburger {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 2001;
}

.hamburger span {
  height: 5px;
  width: 100%;
  background: #000;
  border: 2px solid #fff;
  border-radius: 6px;
  box-shadow: 2px 2px 0 #000;
  transition: 0.3s;
}

/* X Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Cartoon Menu */
.cartoon-menu {
  position: fixed;
  top: 0;
  right: -260px;
  /* hidden off-screen */
  height: 100%;
  width: 240px;
  background: #ffe88c;
  border-left: 3px solid #000;
  box-shadow: -6px 0 0 #000;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: right 0.4s ease;
  z-index: 2000;
}

.cartoon-menu a {
  font-family: "Comic Sans MS", cursive;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  background: #f5e9d0;
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.2s ease, background 0.2s;
}

.cartoon-menu a:hover {
  background: #fff;
  transform: translateX(4px);
}

.cartoon-menu a.active {
  background: #6aff6a;
}

/* Show menu */
.cartoon-menu.show {
  right: 0;
  /* slide in */
}

/* Hide hamburger + menu on desktop */
@media (min-width: 769px) {

  .hamburger,
  .cartoon-menu {
    display: none !important;
  }
}


/* Collaborators Section */
.collaborators {
  text-align: center;
  padding: 3rem 1rem;
  background: #fdf5c9;
  /* match cartoon theme */
}

.collaborators h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.collab-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.collab-logos img {
  height: 50px;
  /* keep logos small */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(2px 2px 0 #000);
  /* cartoon effect */
  transition: transform 0.3s ease;
}

.collab-logos img:hover {
  transform: scale(1.1) rotate(-2deg);
  /* fun hover */
}

/* Collaborators (drop this where your other CSS lives) */
.collaborators {
  padding: 2.5rem 1rem;
  background: #2e2e2d;
  /* page/theme friendly */
  text-align: center;
}

.collaborators h2 {
  margin: 0 0 1.25rem;
  font-size: 1.6rem;
  color: #ffffff;
  letter-spacing: 0.6px;
}

/* logos row */
.collab-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

/* each logo wrapper — keeps logos small & consistent */
.logo-item {
  width: 200px;
  /* control visible size */
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  overflow: hidden;
}

/* actual image sizing — will not exceed wrapper */
.logo-item img {
  max-height: 300px;
  max-width: 1000%;
  object-fit: contain;
  display: block;
  width: 100%;
  height: 800%;
}

.tink img {
  width: 100%;
  height: 800%;
}

/* responsive: smaller on very small screens */
@media (max-width: 420px) {
  .logo-item {
    width: 72px;
    height: 46px;
  }

  .logo-item img {
    max-height: 32px;
  }
}

.create-partner {
  text-align: center;
}

.create-partner img {
  height: 60px;
  margin-bottom: 8px;
  filter: drop-shadow(2px 2px 0 #000);
}

.create-partner h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

#footer-phones a {
  text-decoration: none;
}