*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,Helvetica,sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#090909;
  color:#fff;
  overflow-x:hidden;
}

a{
  text-decoration:none;
  color:white;
}

/* TOPBAR */
.topbar{
  position:sticky;
  top:0;
  z-index:999;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:72px;
  padding:8px 20px;
  background:rgba(0,0,0,.96);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,215,0,.12);
  box-shadow:0 10px 35px rgba(0,0,0,.55);
}

.logo{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.logo img{
  display:block;
  height:58px;
  width:auto;
  object-fit:contain;
  filter:
    drop-shadow(0 0 5px rgba(255,215,0,.25))
    drop-shadow(0 0 14px rgba(255,215,0,.15));
  transition:.3s ease;
}

.logo img:hover{
  transform:scale(1.02);
}

nav{
  display:none;
}

nav a{
  font-size:14px;
  opacity:.85;
  transition:.3s;
}

nav a:hover{
  color:#ffd700;
  opacity:1;
}

/* SLIDER */
.main-slider{
  width:100%;
  padding:14px 4% 28px;
  background:#070707;
}

.slider-frame{
  position:relative;
  width:100%;
  max-width:1180px;
  height:260px;
  margin:0 auto;
  overflow:hidden;
  border-radius:18px;
  background:#111;
  border:1px solid rgba(255,215,0,.24);
  box-shadow:0 0 30px rgba(255,215,0,.12);
}

.slide-item{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  visibility:hidden;
  transition:opacity .7s ease, visibility .7s ease;
}

.slide-item.active{
  opacity:1;
  visibility:visible;
}

.slide-click-area{
  display:block;
  width:100%;
  height:100%;
}

.slide-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

.slide-glass{
  position:absolute;
  left:28px;
  bottom:24px;
  width:min(360px,calc(100% - 56px));
  padding:18px;
  border-radius:20px;
  background:rgba(10,10,10,.48);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 35px rgba(0,0,0,.45);
  z-index:3;
}

.slide-glass h3{
  font-size:28px;
  font-weight:900;
  margin-bottom:5px;
  color:#fff;
}

.slide-glass p{
  font-size:15px;
  line-height:1.35;
  opacity:.92;
  margin-bottom:12px;
}

.slide-glass-btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:13px;
  background:#ffd700;
  color:#000;
  font-size:14px;
  font-weight:900;
  box-shadow:0 0 20px rgba(255,215,0,.35);
}

/* SECTIONS */
.section{
  padding:42px 4%;
}

.section h2{
  width:fit-content;
  max-width:92%;
  margin:0 auto 30px;
  position:relative;
  padding:13px 24px;
  text-align:center;
  font-size:30px;
  font-weight:900;
  letter-spacing:.3px;
  color:#fff;
  border-radius:18px;
  background:
    linear-gradient(#090909,#090909) padding-box,
    linear-gradient(90deg,transparent,#ffd700,#ff8c00,#ffd700,transparent) border-box;
  border:1px solid transparent;
  box-shadow:
    0 0 24px rgba(255,215,0,.16),
    inset 0 0 18px rgba(255,215,0,.08);
}

.section h2::before{
  content:"♛";
  color:#ffd700;
  margin-right:10px;
  font-size:22px;
}

.section h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-13px;
  transform:translateX(-50%);
  width:70%;
  height:2px;
  background:linear-gradient(90deg,transparent,#ffd700,transparent);
  box-shadow:0 0 12px rgba(255,215,0,.7);
}

/* SPONSORS */
#sponsorlar{
  background:
    radial-gradient(circle at top,rgba(255,215,0,.08),transparent 34%),
    #090909;
}

#sponsorlar h2::before{
  content:"💎";
  font-size:20px;
}

.sponsor-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:18px;
}

.sponsor-card{
  position:relative;
  overflow:hidden;
  display:block;
  padding:18px;
  border-radius:18px;
  background:linear-gradient(180deg,#171717,#101010);
  border:1px solid rgba(255,255,255,.08);
  transition:.35s;
  box-shadow:inset 0 0 24px rgba(255,255,255,.03);
  color:#ffd700;
}

.sponsor-card:hover{
  transform:translateY(-6px);
}

.sponsor-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(90deg,transparent,currentColor,transparent);
  opacity:.65;
  animation:borderRun 3s linear infinite;
  z-index:0;
}

.sponsor-card::after{
  content:"";
  position:absolute;
  inset:1px;
  background:linear-gradient(180deg,#171717,#101010);
  border-radius:17px;
  z-index:1;
}

.sponsor-card > *{
  position:relative;
  z-index:2;
}

@keyframes borderRun{
  0%{transform:translateX(-100%);}
  100%{transform:translateX(100%);}
}

.gold{color:#ffd700;}
.orange{color:#ff9800;}
.green{color:#00ff99;}
.red{color:#ff3d3d;}
.blue{color:#229ed9;}
.purple{color:#a855f7;}

.sponsor-logo{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#1c1c1c;
  border-radius:12px;
  margin-bottom:14px;
  font-size:15px;
  font-weight:800;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

.sponsor-logo img{
  max-width:90%;
  max-height:58px;
  object-fit:contain;
  display:block;
}

.sponsor-card h3{
  font-size:18px;
  margin-bottom:7px;
  color:#fff;
}

.sponsor-card p{
  font-size:14px;
  line-height:1.45;
  opacity:.75;
  color:#fff;
}

/* SOCIAL */
#sosyal{
  background:
    radial-gradient(circle at top,rgba(88,101,242,.10),transparent 34%),
    #090909;
}

#sosyal h2::before{
  content:"📣";
  font-size:20px;
}

.social-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  max-width:900px;
  margin:0 auto;
}

.social{
  display:flex;
  align-items:center;
  justify-content:center;
  height:70px;
  text-align:center;
  border-radius:16px;
  font-size:15px;
  font-weight:800;
  transition:.3s;
  box-shadow:0 0 20px rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
}

.social:hover{
  transform:translateY(-4px);
}

.instagram{
  background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
}

.telegram{
  background:linear-gradient(135deg,#1d8fc9,#229ed9);
}

.discord{
  background:linear-gradient(135deg,#404eed,#5865f2);
}

.youtube{
  background:linear-gradient(135deg,#b80000,#ff0000);
}

.twitter{
  background:linear-gradient(135deg,#111,#444);
}

.tiktok{
  background:linear-gradient(135deg,#000,#25f4ee,#fe2c55);
}

.whatsapp{
  background:linear-gradient(135deg,#128c7e,#25d366);
}

.kick{
  background:linear-gradient(135deg,#111,#53fc18);
}

/* OLD POPUP FALLBACK */
.popup{
  position:fixed;
  right:22px;
  bottom:22px;
  width:270px;
  padding:18px;
  background:#151515;
  border:1px solid #ffd700;
  border-radius:18px;
  z-index:9999;
  box-shadow:0 0 35px rgba(255,215,0,.22);
}

.popup button{
  position:absolute;
  top:8px;
  right:13px;
  background:none;
  border:none;
  color:#fff;
  font-size:22px;
  cursor:pointer;
}

.gift{
  font-size:42px;
  margin-bottom:10px;
}

.popup h2{
  font-size:22px;
  margin-bottom:8px;
}

.popup p{
  font-size:14px;
  opacity:.8;
}

.popup a{
  display:inline-block;
  margin-top:13px;
  padding:9px 17px;
  background:#ffd700;
  color:#000;
  border-radius:9px;
  font-weight:800;
  font-size:13px;
}

/* CENTER POPUP */
.popup-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  z-index:99999;
  padding:18px;
}

.popup-modal{
  position:relative;
  width:min(94vw,560px);
  max-height:90vh;
  overflow:auto;
  background:#111;
  border:1px solid rgba(255,215,0,.35);
  border-radius:22px;
  box-shadow:0 0 45px rgba(255,215,0,.22);
  text-align:center;
}

.popup-image{
  width:100%;
  display:block;
}

.popup-close{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:rgba(0,0,0,.72);
  color:#fff;
  font-size:24px;
  cursor:pointer;
  z-index:5;
}

.popup-content{
  padding:18px;
}

.popup-content h2,
.popup-modal h2{
  color:#ffd700;
  font-size:24px;
  margin-bottom:8px;
}

.popup-content p,
.popup-modal p{
  color:#ddd;
  font-size:14px;
  line-height:1.5;
  margin-bottom:14px;
}

.popup-btn{
  display:inline-block;
  padding:11px 20px;
  border-radius:12px;
  background:#ffd700;
  color:#000;
  font-size:14px;
  font-weight:900;
}

/* FOOTER */
footer{
  padding:30px 4%;
  text-align:center;
  background:#050505;
  border-top:1px solid rgba(255,255,255,.08);
}

footer div{
  font-size:20px;
  font-weight:900;
  color:#ffd700;
  margin-bottom:8px;
}

footer div span{
  color:#fff;
}

footer p{
  font-size:13px;
  opacity:.65;
}

/* MOBILE */
@media(max-width:900px){
  .topbar{
    min-height:68px;
    padding:8px 4%;
  }

  .logo img{
    height:48px;
    max-width:none;
  }

  nav{
    display:none;
  }

  .main-slider{
    padding:10px 0 30px;
  }

  .slider-frame{
    width:100%;
    height:220px;
    border-radius:0;
    border-left:0;
    border-right:0;
  }

  .slide-img{
    object-fit:cover;
    object-position:center;
  }

  .slide-glass{
    left:14px;
    bottom:14px;
    width:min(275px,calc(100% - 28px));
    padding:12px;
    border-radius:16px;
  }

  .slide-glass h3{
    font-size:20px;
  }

  .slide-glass p{
    font-size:12px;
    margin-bottom:9px;
  }

  .slide-glass-btn{
    padding:8px 13px;
    font-size:12px;
    border-radius:10px;
  }

  .section{
    padding:34px 4%;
  }

  .section h2{
    font-size:25px;
    margin-bottom:28px;
    padding:12px 18px;
    border-radius:16px;
  }

  .sponsor-grid{
    grid-template-columns:1fr;
  }

  .social-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }

  .social{
    height:68px;
    font-size:14px;
  }

  .popup{
    width:92%;
    right:4%;
    bottom:15px;
  }

  .popup-modal{
    width:min(94vw,430px);
    border-radius:18px;
  }
}

@media(max-width:480px){
  .topbar{
    min-height:62px;
  }

  .logo img{
    height:42px;
    max-width:none;
  }

  .slider-frame{
    height:220px;
  }

  .section h2{
    font-size:24px;
    line-height:1.25;
  }

  .social-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .popup-overlay{
    padding:12px;
  }

  .popup-content h2,
  .popup-modal h2{
    font-size:21px;
  }
}