:root {
  --bg: #0b0c0d;
  --fg: #f3f4f6;
  --muted: #a3a3a3;
  --primary: #08f;
  --surface: #121315;
  --accent: #ef1d1d;

  --maxw: 1200px;
  --rail-w: 160px;
  --gutter: 24px;

  --title-large: clamp(48px, 9vw, 148px);
  --title-tight: 0.9;
  --radius: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Share Tech Mono', 'Consolas', 'Courier New', monospace;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 24px),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.015) 0px,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 24px);
  mix-blend-mode: overlay;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px min(4vw, 32px);
  padding-top: 0;
  z-index: 50;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.header-nav a, .header-nav button {
  color: var(--fg);
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.2s, box-shadow 0.2s;
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--accent);
}

.reg-button{
  background: none;
  border: none;
  margin-left: 0;
}

.menuList{
  margin-right: none;
  display: flex;
  gap: 25px;
  list-style: none;
}

.menuList a{
  text-decoration: none;
  color: var(--fg);
}

.btn-register {
  border: 3px solid var(--accent);
  padding: 5px 12px !important;
  color: var(--fg);
  border-radius: 9999px;
  font-weight: 700 !important;
  background-color: transparent;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.3s;
  box-shadow: 0 0 8px var(--accent);
}

.btn-register:hover {
  background-color: var(--accent);
  color: var(--fg) !important;
  box-shadow: 0 0 25px var(--accent);
}

.menu-icon{
  display: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.logo {
  height: 120px;
  width: 120px;
}

.hero {
  min-height: 100dvh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  display: flex;
}

.left-pane {
  position: absolute;
  inset: 0;
  z-index: 10;
  margin-left: 20px;
  padding: var(--gutter);
  display: grid;
  place-items: start;
  align-content: center;
  height: 100%;
}

.karu{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1.2rem;
  padding-left: 120px;
}

.carnival{
  margin-bottom: 0;
}

.present{
  margin: 0px;
  color: var(--primary);
}

.left-logo {
  max-width: clamp(150px, 50vw, 1100px);
  transform: translateX(-25%);
  position: relative;
  z-index: 10;
  margin-left: 130px;
  opacity: 1.0;
  margin-bottom: 20px;
}

.sponsors{
  max-width: 600px;
  position: absolute;
  bottom: 5px;
  left: 5px;
  z-index: 10;
  margin-left:10px;
  opacity: 1.0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.sponsors p{
  font-size: 18px;
  font-family: 'Reguler';
  text-transform: uppercase;
  color: #F3F4F6;
  font-weight: 500;
  margin-right: 10px;
  letter-spacing: 1px;
}

.sponsors img{
  height: 40px;
  width: 100px;
}

.center-image-container {
  position: absolute;
  inset: 0;
  z-index: 7;
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-image {
  position: static;
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  margin: 0;
  object-position: center;
}

.flame-image {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  object-fit: cover;
  object-position: center;
  z-index: 8;
}

.bhangi-full-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 9;
  object-position: center;
  animation: float 6s ease-in-out infinite;
}

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

.right-pane{
  z-index: 10;
  position: absolute;
  right: 25px;
  top: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.prize-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 1.4rem;
  margin-bottom: 0;
}

.prize-amount {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0;
  margin-top: 0;
  font-size: 3rem; /* adjust based on design */
  animation: glow-white 1.5s ease-in-out infinite alternate;
}

@keyframes glow-white {
  from { text-shadow: 0 0 2.5px #FFFFFF, 0 0 5px #FFFFFF; }
  to { text-shadow: 0 0 10px #FFFFFF, 0 0 20px #FFFFFF; }
}

.details{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 20px;
  gap: 3px;
}

.details-logo{
  height:100%;
  width: 40px;
}

.info{
  margin: 0px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1.2rem;
  color: var(--primary)
}

.dev-button{
  position: absolute;
  bottom: 10;
  right: 10;
  z-index: 1500;
}

.toggleMenu{
  display: none;
}

.left-header{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start
}

@media (max-width: 768px) {
  .menu-icon{
    display: block;
    z-index: 1002;
  }

  .menuList {
    display:none;
  }

  .toggleMenu{
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    row-gap: 6px;
    position: fixed;
    top: 0;
    right: -100%; /* hidden by default */
    width: 250px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px); /* frosted glass effect */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    list-style: none;
    padding: 2rem 1rem;
    transition: right 0.4s ease;
    z-index: 1001; /* above overlay */
    margin-top: 0;
  }

  .toggleMenu a{
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
  }

  .icon{
    height: 20px;
    width: 20px;
    margin-right: 10px;
  }

  .toggleMenu.active{
    right: 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* dim effect */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000; /* below menu but above content */
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .reg-button {
    width: 100%;
  }

  .left-logo{
    margin-left: 20px;
    width: 300px;
    height: 80px;
    margin-top: 0px;
  }

  .sponsors{
    max-width: 200px;
    margin-left: 0;
    margin-top: 140px;
  }

  .sponsors p{
    font-size: 12px;
  }

  .sponsors img{
    height: 20px;
    width: 60px;
  }

  .karu{
    letter-spacing: 0px;
    font-size: 0.8rem;
    padding-left: 0px;
  }

  .prize-heading{
    font-size: 0.9rem;
  }

  .prize-amount{
    font-size: 2rem;
  }

  .details{
    margin-top: 5px;
    gap: 0px;
  }

  .details-logo{
    width: 30px;
  }

  .info{
    letter-spacing: 0px;
    font-size: 0.8rem;
  }
}