:root{
  --bg:#07000f;
  --bg-soft:#10001f;
  --card:#17002e;
  --card-2:#230047;
  --line:rgba(216,180,254,.20);
  --text:#fff7ff;
  --muted:#d8b4fe;
  --brand:#9333ea;
  --brand-2:#db2777;
  --green:#38f5b2;
  --yellow:#ffd166;
  --red:#ff5c8a;
  --radius:22px;
  --shadow:0 24px 90px rgba(88,28,135,.36);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(147,51,234,.42), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(219,39,119,.30), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(88,28,135,.45), transparent 40rem),
    linear-gradient(180deg,#090012 0%,#130024 45%,#07000f 100%);
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

p{
  color:var(--muted);
  line-height:1.75;
  margin:0;
}

.container{
  width:min(1180px,calc(100% - 32px));
  margin-inline:auto;
}

/* NAVBAR */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(7,0,15,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
  box-shadow:0 10px 40px rgba(88,28,135,.32);
}

.nav{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:-.04em;
}

.brand-mark{
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  box-shadow:0 14px 38px rgba(147,51,234,.35);
}

.brand small{
  display:block;
  color:var(--muted);
  font-size:.72rem;
  letter-spacing:.02em;
  margin-top:2px;
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.nav-menu a{
  padding:10px 13px;
  border-radius:999px;
  color:var(--muted);
  font-weight:800;
  font-size:.92rem;
}

.nav-menu a:hover,
.nav-menu a.active{
  background:rgba(147,51,234,.24);
  color:#fff;
}

.nav-menu .admin-pill{
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff;
  box-shadow:0 14px 38px rgba(147,51,234,.35);
}

.mobile-toggle{
  display:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:var(--text);
  padding:10px 13px;
  border-radius:14px;
  font-size:1.1rem;
}

/* HERO */
.hero{
  padding:72px 0 42px;
  background:linear-gradient(135deg,rgba(147,51,234,.18),rgba(219,39,119,.10),rgba(7,0,15,.05));
}

.hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:34px;
  align-items:center;
}

.home-logo-box{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}

.home-logo{
  width:86px;
  height:86px;
  object-fit:contain;
  display:block;
}

.home-logo-box strong{
  display:block;
  font-size:22px;
  line-height:1.2;
}

.home-logo-box span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border:1px solid rgba(219,39,119,.38);
  background:rgba(147,51,234,.25);
  border-radius:999px;
  color:#f5e8ff;
  font-weight:900;
  font-size:.88rem;
}

h1{
  font-size:clamp(2.45rem,6vw,5.4rem);
  line-height:.94;
  letter-spacing:-.075em;
  margin:18px 0;
}

h2{
  font-size:clamp(1.65rem,3vw,2.5rem);
  letter-spacing:-.055em;
  margin:0 0 12px;
}

h3{
  letter-spacing:-.035em;
  margin:0 0 9px;
  font-size:1.12rem;
}

.lead{
  font-size:1.08rem;
  max-width:700px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:0;
  border-radius:999px;
  padding:12px 17px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 14px 38px rgba(147,51,234,.35);
}

.btn.secondary{
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  box-shadow:none;
  color:var(--text);
}

/* BANNER */
.banner-card{
  position:relative;
  min-height:340px;
  border-radius:28px;
  overflow:hidden;
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.banner-slider{
  position:relative;
  width:100%;
  height:100%;
  min-height:340px;
}

.banner-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .6s ease;
}

.banner-slide.active{
  opacity:1;
  z-index:2;
}

.banner-slide img{
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
  display:block;
}

/* SECTION */
.section{
  padding:44px 0;
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:end;
  margin-bottom:18px;
}

.kicker{
  text-transform:uppercase;
  letter-spacing:.13em;
  color:#e9d5ff;
  font-weight:950;
  font-size:.76rem;
}

.panel,
.card{
  background:
    linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035)),
    linear-gradient(135deg,rgba(147,51,234,.20),rgba(219,39,119,.10));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.panel{
  padding:22px;
}

.card{
  padding:20px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.icon-card{
  min-height:190px;
}

.icon{
  font-size:2rem;
  width:58px;
  height:58px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(147,51,234,.34),rgba(219,39,119,.20));
  display:grid;
  place-items:center;
  margin-bottom:14px;
}

.chip{
  padding:10px 13px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:var(--muted);
  font-weight:900;
}

.chip.active{
  background:rgba(147,51,234,.25);
  border-color:rgba(219,39,119,.38);
  color:#f5e8ff;
}

/* MATCH CARD */
.score-stack{
  display:grid;
  gap:14px;
}

.match-card{
  border:1px solid rgba(216,180,254,.18);
  background:rgba(15,0,32,.82);
  border-radius:19px;
  padding:16px;
}

.match-top,
.match-bottom{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-weight:800;
  font-size:.84rem;
}

.match-main{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:13px;
  align-items:center;
  margin:14px 0;
}

.match-main strong{
  display:block;
  font-size:1.02rem;
}

.match-main small{
  display:block;
  color:var(--muted);
  font-weight:800;
  margin-top:3px;
}

.right{
  text-align:right;
}

.score-box{
  background:linear-gradient(135deg,rgba(147,51,234,.34),rgba(219,39,119,.20));
  padding:10px 14px;
  border-radius:14px;
  font-weight:950;
  font-size:1.25rem;
  min-width:78px;
  text-align:center;
}

.status.live{
  color:var(--green);
}

.empty{
  padding:26px;
  border:1px dashed var(--line);
  border-radius:18px;
  color:var(--muted);
}

/* NEWS */
.news-card{
  display:grid;
  grid-template-columns:122px 1fr;
  gap:16px;
  align-items:center;
}

.thumb{
  height:96px;
  border-radius:17px;
  background:linear-gradient(135deg,rgba(147,51,234,.34),rgba(219,39,119,.20));
  display:grid;
  place-items:center;
  font-size:2rem;
}

.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:800;
  font-size:.84rem;
}

/* TABLE */
.table-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:18px;
}

table{
  border-collapse:collapse;
  width:100%;
  min-width:720px;
  background:rgba(255,255,255,.035);
}

th,
td{
  padding:14px 15px;
  border-bottom:1px solid var(--line);
  text-align:left;
}

th{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:#f5e8ff;
  background:rgba(255,255,255,.055);
}

td{
  color:var(--muted);
  font-weight:720;
}

td strong{
  color:var(--text);
}

/* FOOTER */
.footer{
  margin-top:44px;
  border-top:1px solid var(--line);
  padding:32px 0;
  color:var(--muted);
  background:rgba(7,0,15,.55);
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
}

.page-title{
  padding:56px 0 10px;
}

/* ADMIN */
.admin-body{
  background:var(--bg);
}

.login-wrap{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
}

.login-card{
  width:min(460px,100%);
  padding:26px;
}

.login-logo-wrap{
  text-align:center;
  margin-bottom:28px;
}

.login-logo{
  width:110px !important;
  height:110px !important;
  object-fit:contain;
  display:block;
  margin:0 auto 14px auto;
}

.login-logo-wrap h2{
  margin:0;
  font-size:20px;
  line-height:1.2;
}

.login-logo-wrap p{
  margin:4px 0 0;
  color:var(--muted);
  font-weight:700;
}

.admin-shell{
  display:grid;
  grid-template-columns:270px 1fr;
  min-height:100vh;
}

.sidebar{
  border-right:1px solid var(--line);
  padding:24px;
  background:rgba(10,0,24,.94);
}

.sidebar-nav{
  display:grid;
  gap:8px;
  margin-top:22px;
}

.sidebar-nav a,
.sidebar-nav button{
  width:100%;
  text-align:left;
  border:0;
  background:transparent;
  color:var(--muted);
  padding:12px 14px;
  border-radius:14px;
  font-weight:900;
  cursor:pointer;
}

.sidebar-nav a:hover,
.sidebar-nav a.active,
.sidebar-nav button:hover{
  background:rgba(147,51,234,.24);
  color:var(--text);
}

.admin-main{
  padding:28px;
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:20px 0;
}

.stat{
  padding:17px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid var(--line);
}

.stat strong{
  display:block;
  font-size:2rem;
  letter-spacing:-.05em;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.full{
  grid-column:1/-1;
}

label{
  display:grid;
  gap:7px;
  color:#f5e8ff;
  font-weight:850;
  font-size:.9rem;
}

input,
select,
textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(20,0,42,.75);
  padding:12px 13px;
  color:var(--text);
  outline:none;
}

input:focus,
select:focus,
textarea:focus{
  border-color:rgba(219,39,119,.55);
  box-shadow:0 0 0 4px rgba(147,51,234,.16);
}

textarea{
  min-height:96px;
  resize:vertical;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.notice{
  padding:12px 14px;
  border:1px solid rgba(56,245,178,.25);
  background:rgba(56,245,178,.08);
  border-radius:15px;
  color:#b3f8dc;
  font-weight:800;
  margin-bottom:16px;
}

.error{
  border-color:rgba(255,92,138,.25);
  background:rgba(255,92,138,.08);
  color:#ffd1dc;
}

.admin-section{
  display:none;
}

.admin-section.active{
  display:block;
}

.danger{
  background:rgba(255,92,138,.12);
  color:#ffd1dc;
  border:1px solid rgba(255,92,138,.18);
  box-shadow:none;
}

.mini-table{
  margin-top:18px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .hero-grid,
  .grid-3,
  .grid-2,
  .admin-shell,
  .stats{
    grid-template-columns:1fr;
  }

  .section-head,
  .footer-grid{
    align-items:flex-start;
    flex-direction:column;
  }

  .mobile-toggle{
    display:block;
  }

  .nav{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .nav-menu{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }

  .nav-menu.show{
    display:flex;
  }

  .nav-menu a{
    border-radius:14px;
  }

  .news-card{
    grid-template-columns:1fr;
  }

  .admin-main{
    padding:18px;
  }

  .sidebar{
    border-right:0;
    border-bottom:1px solid var(--line);
  }
}

@media(max-width:768px){
  .home-logo{
    width:70px;
    height:70px;
  }

  .banner-card,
  .banner-slider,
  .banner-slide img{
    min-height:230px;
  }
}

@media(max-width:560px){
  .match-main{
    grid-template-columns:1fr;
    text-align:left;
  }

  .right{
    text-align:left;
  }

  .score-box{
    width:max-content;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .full{
    grid-column:auto;
  }
}

.nav-logo{
  width:46px;
  height:46px;
  object-fit:contain;
  display:block;
}

.nav-logo{
  width:58px;
  height:58px;
  object-fit:contain;
  display:block;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand strong{
  display:block;
  line-height:1.1;
}

.brand small{
  display:block;
  margin-top:3px;
}

/* Fix ukuran logo navbar */
.nav-logo{
  width:180px !important;
  height:56px !important;
  object-fit:contain !important;
  display:block !important;
}

.brand{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}

.nav{
  min-height:86px !important;
}

/* === HOMEPAGE STYLE MIRIP REFERENSI === */

.home-showcase{
  padding:38px 0 36px;
  background:#151515;
}

.showcase-grid{
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:22px;
  align-items:start;
}

.main-banner{
  position:relative;
  border-radius:10px;
  overflow:hidden;
  background:#080808;
  border:1px solid rgba(255,255,255,.08);
}

.main-banner img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
}

.banner-dots{
  position:absolute;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  display:flex;
  gap:7px;
}

.banner-dots span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff9d00;
  opacity:.45;
}

.banner-dots span.active{
  opacity:1;
  background:#ffc400;
}

.showcase-button-wrap{
  margin-top:26px;
}

.yellow-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:250px;
  padding:13px 22px;
  border-radius:999px;
  background:#ffc400;
  color:#111;
  font-weight:900;
  box-shadow:0 12px 28px rgba(255,196,0,.22);
}

.side-news-panel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  min-height:360px;
  padding:18px;
  border-radius:10px;
  background:#191919;
  border:1px solid rgba(255,255,255,.18);
}

.side-column h3{
  margin:0 0 14px;
  font-size:18px;
  color:#fff;
}

.mini-item{
  display:grid;
  grid-template-columns:86px 1fr;
  gap:12px;
  align-items:center;
  padding:0 0 12px;
  margin-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.mini-thumb{
  width:86px;
  height:54px;
  border-radius:6px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#2a0845,#ffb700);
  font-size:24px;
}

.mini-thumb.news{
  background:linear-gradient(135deg,#3b0764,#16a34a);
}

.mini-item strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.35;
  max-height:36px;
  overflow:hidden;
}

.mini-item span{
  display:block;
  margin-top:6px;
  color:#cfcfcf;
  font-size:12px;
}

.see-more{
  display:block;
  color:#f5d36b;
  text-decoration:underline;
  font-weight:800;
  text-align:right;
  margin-top:4px;
}

.mini-empty{
  padding:18px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:10px;
  color:#aaa;
  font-size:13px;
}

@media(max-width:980px){
  .showcase-grid{
    grid-template-columns:1fr;
  }

  .main-banner img{
    height:300px;
  }
}

@media(max-width:680px){
  .side-news-panel{
    grid-template-columns:1fr;
  }

  .main-banner img{
    height:220px;
  }

  .yellow-btn{
    width:100%;
  }
}

/* === FIX SHOWCASE HOMEPAGE === */

.home-showcase{
  padding:36px 0 42px !important;
  background:#151515 !important;
}

.showcase-grid{
  width:min(1180px,calc(100% - 32px)) !important;
  margin-inline:auto !important;
  display:grid !important;
  grid-template-columns:1.45fr 1fr !important;
  gap:22px !important;
  align-items:start !important;
}

.main-banner{
  position:relative !important;
  border-radius:10px !important;
  overflow:hidden !important;
  background:#080808 !important;
  border:1px solid rgba(255,255,255,.12) !important;
}

.main-banner img{
  width:100% !important;
  height:360px !important;
  object-fit:cover !important;
  display:block !important;
}

.showcase-button-wrap{
  margin-top:26px !important;
}

.yellow-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:250px !important;
  padding:13px 22px !important;
  border-radius:999px !important;
  background:#ffc400 !important;
  color:#111 !important;
  font-weight:900 !important;
  text-decoration:none !important;
}

.side-news-panel{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:18px !important;
  height:360px !important;
  overflow:hidden !important;
  padding:18px !important;
  border-radius:10px !important;
  background:#191919 !important;
  border:1px solid rgba(255,255,255,.18) !important;
}

.side-column h3{
  margin:0 0 14px !important;
  color:#fff !important;
  font-size:18px !important;
}

.mini-item{
  display:grid !important;
  grid-template-columns:82px 1fr !important;
  gap:12px !important;
  align-items:center !important;
  padding-bottom:12px !important;
  margin-bottom:12px !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  color:#fff !important;
  text-decoration:none !important;
}

.mini-thumb{
  width:82px !important;
  height:52px !important;
  border-radius:6px !important;
  display:grid !important;
  place-items:center !important;
  background:linear-gradient(135deg,#2a0845,#ffc400) !important;
  font-size:22px !important;
}

.mini-thumb.news{
  background:linear-gradient(135deg,#3b0764,#16a34a) !important;
}

.mini-item strong{
  display:block !important;
  color:#fff !important;
  font-size:13px !important;
  line-height:1.35 !important;
  max-height:36px !important;
  overflow:hidden !important;
}

.mini-item span{
  display:block !important;
  margin-top:6px !important;
  color:#cfcfcf !important;
  font-size:12px !important;
}

.see-more{
  display:block !important;
  color:#f5d36b !important;
  text-decoration:underline !important;
  font-weight:800 !important;
  text-align:right !important;
  margin-top:4px !important;
}

/* fix logo navbar terlalu besar */
.nav-logo{
  width:150px !important;
  height:50px !important;
  object-fit:contain !important;
  display:block !important;
}

.nav{
  min-height:86px !important;
}

@media(max-width:980px){
  .showcase-grid{
    grid-template-columns:1fr !important;
  }

  .side-news-panel{
    height:auto !important;
  }

  .main-banner img{
    height:300px !important;
  }
}

@media(max-width:680px){
  .side-news-panel{
    grid-template-columns:1fr !important;
  }

  .main-banner img{
    height:220px !important;
  }

  .yellow-btn{
    width:100% !important;
  }
}

.brand span{
  display:none !important;
}

.nav-logo{
  width:170px !important;
  height:60px !important;
  object-fit:contain !important;
  display:block !important;
}

.flag-img{
  width:54px !important;
  height:54px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  display:block !important;
  background:#fff !important;
  border:2px solid rgba(255,255,255,.18) !important;
  margin-bottom:8px !important;
}

.country-team.right .flag-img{
  margin-left:auto !important;
}