@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root{
  --bg:#0b1220;
  --card:#0f1724;
  --muted:#98a2b3;
  --accent:#ff8a00; /* orange accent */
  --accent-2:#06b6d4; /* cyan */
  --glass: rgba(255,255,255,0.04);
  --radius:14px;
}

body{
  margin:0;
  font-family: 'Inter', Arial, sans-serif;
  color: #e6eef8;
  background: linear-gradient(180deg, #071024 0%, var(--bg) 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* NAVBAR */

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 36px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  backdrop-filter: blur(8px);
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.logo img{
  height:48px;
  width:auto;
  display:block;
}

nav ul{
  display:flex;
  list-style:none;
  padding:0;
  margin:0;
  gap:22px;
}

nav ul li{
  margin-left:25px;
}

nav ul li a{
  text-decoration:none;
  color:var(--muted);
  font-size:15px;
  font-weight:600;
  transition: color .18s ease, transform .18s ease;
}

nav ul li a:hover{
  color:var(--accent-2);
  transform:translateY(-2px);
}

/* HERO SECTION */

.hero{
  min-height:76vh;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:60px 6vw;
  gap:30px;
}

/* HERO LEFT */

.hero-left{
  max-width:700px;
}

.hero-left h1{
  font-size:48px;
  line-height:1.05;
  color: #ffffff;
  margin:0 0 12px 0;
  letter-spacing: -0.5px;
  font-weight:800;
}

.hero-left p{
  font-size:18px;
  color:var(--muted);
  margin-top:8px;
  max-width:720px;
}

/* HERO BUTTONS */

.hero-buttons{
  margin-top:30px;
}

.hero button{
  padding:12px 30px;
  border:none;
  border-radius:10px;
  background: linear-gradient(90deg,var(--accent), #ffa84d);
  color:#08101a;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  margin-right:12px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.hero button:hover{ transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,138,0,0.18); }

.watch-btn{ background: transparent; border:1px solid rgba(255,255,255,0.06); color:var(--muted); }

/* HERO RIGHT */

.hero-right{ width:360px; }

/* STATS CARD */

.stats-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:16px;
  padding:22px;
  border:1px solid rgba(255,255,255,0.03);
}

/* TEXT ALIGN FIX */

.stats-card h4,
.stats-card h3,
.stats-card h2,
.stats-card p{
  margin:0;
  padding:0;
}

/* TITLE */

.stats-card h4{ font-size:16px; color:var(--muted); margin-bottom:8px; font-weight:600; }

/* PRIZE POOL */

.stats-card h3{ font-size:18px; color:var(--accent-2); margin-bottom:6px; font-weight:700; }

/* NPR */

.stats-card h2{ font-size:28px; color:#fff; margin-bottom:12px; font-weight:800; }

/* INFO */

.stats-card p{ font-size:14px; color:var(--muted); margin-bottom:8px; }

/* TIMER */

.timer{ margin-top:18px; }
.timer h3{ color:var(--accent-2); font-size:20px; margin-top:8px; }

/* LIVE STATUS */

.live-status{
  margin-top:20px;

  color:red;

  font-weight:bold;

  font-size:22px;
}

/* FEATURED */

.featured{ padding:70px 6vw; }
.featured h2{ font-size:28px; color:var(--accent-2); margin-bottom:18px; font-weight:700; }

.tournament-container{ display:flex; gap:20px; flex-wrap:wrap; }

.tournament-card{ position:relative; width:320px; background:var(--card); border-radius:12px; padding:20px; border:1px solid rgba(255,255,255,0.03); box-shadow: 0 10px 30px rgba(2,6,23,0.6); transition: transform .18s ease, box-shadow .18s ease; }

.tournament-card:hover{ transform: translateY(-8px); box-shadow: 0 20px 40px rgba(2,6,23,0.8); }

.tournament-card h3{ color:#fff; margin-top:12px; font-size:20px; }

.tournament-card p{ color:var(--muted); font-size:14px; margin:8px 0; }

.tournament-card button{ margin-top:14px; width:100%; padding:12px; border:none; border-radius:10px; background: linear-gradient(90deg,var(--accent-2), #60e0ff); color:#021017; font-weight:800; cursor:pointer; }
.tournament-card button:hover{ transform: translateY(-3px); }

/* LIVE TAG */

.live-tag{ position:absolute; top:16px; right:16px; background: linear-gradient(90deg,#ff4b4b,#ff8a00); padding:6px 12px; border-radius:20px; font-size:13px; font-weight:700; color:white; }

/* UPCOMING TAG */

.upcoming-tag{ position:absolute; top:16px; right:16px; background: linear-gradient(90deg,#7c3aed,#06b6d4); padding:6px 12px; border-radius:20px; font-size:13px; font-weight:700; color:white; }

/* LEADERBOARD */

.leaderboard{
  padding:80px 60px;
}

.leaderboard h2{
  text-align:center;

  color:skyblue;

  font-size:45px;

  margin-bottom:40px;
}

table{
  width:100%;

  border-collapse:collapse;

  background:rgba(0,0,0,0.5);

  backdrop-filter:blur(10px);
}

th,td{
  padding:20px;

  text-align:center;

  border:1px solid rgba(255,255,255,0.1);
}

th{
  background:skyblue;

  color:black;
}

/* REGISTRATION */

.registration{
  padding:80px 60px;
}

.registration h2{
  text-align:center;

  color:skyblue;

  font-size:45px;

  margin-bottom:40px;
}

form{

  max-width:700px;

  margin:auto;

  background:rgba(0,0,0,0.45);

  backdrop-filter:blur(10px);

  padding:40px;

  border-radius:20px;

  box-shadow:0 0 20px rgba(0,191,255,0.3);
}

form input{

  width:100%;

  padding:15px;

  margin-top:20px;

  border:none;

  border-radius:10px;

  background:#222;

  color:white;

  box-sizing:border-box;
}

form label{
  display:block;

  margin-top:20px;
}

form button{

  margin-top:30px;

  width:100%;

  padding:15px;

  border:none;

  border-radius:10px;

  background:skyblue;

  font-size:18px;

  font-weight:bold;

  cursor:pointer;
}

/* COMMUNITY */

.community{
  padding:80px 50px;

  text-align:center;
}

.community h2{
  color:skyblue;

  font-size:45px;

  margin-bottom:40px;
}

.social-buttons button{

  padding:15px 30px;

  margin:10px;

  border:none;

  border-radius:10px;

  background:purple;

  color:white;

  font-size:18px;

  cursor:pointer;

  transition:0.3s;
}

.social-buttons button:hover{
  transform:scale(1.1);
}

/* FOOTER */

footer{

  background:rgba(0,0,0,0.5);

  backdrop-filter:blur(10px);

  text-align:center;

  padding:30px;

  margin-top:50px;
}

footer h3{
  color:skyblue;
}

/* MOBILE */

@media(max-width:768px){

  nav{
    flex-direction:column;
  }

  nav ul{
    flex-direction:column;

    text-align:center;
  }

  nav ul li{
    margin:10px 0;
  }

  .hero{
    flex-direction:column;

    justify-content:center;

    text-align:center;

    padding:40px 20px;
  }

  .hero-left h1{
    font-size:45px;
  }

  .hero-left p{
    font-size:18px;
  }

  .hero-right{
    width:100%;

    margin-top:40px;
  }

  .featured{
    padding:60px 20px;
  }

  .tournament-container{
    justify-content:center;
  }

  .tournament-card{
    width:100%;
  }

  table{
    font-size:14px;
  }
}

footer{

  background:rgba(0,0,0,0.45);

  backdrop-filter:blur(4px);

  -webkit-backdrop-filter:blur(4px);

  color:white;

  text-align:center;

  padding:25px;

  margin-top:50px;
}

.footer-links{
  margin-top:10px;
}

.footer-links a{
  color:#1e90ff;
  text-decoration:none;
  margin:0 10px;
  font-size:14px;
}

.footer-links a:hover{
  color:white;
}

/* SOCIAL ICONS */

.social-icons{

  display:flex;

  justify-content:center;

  gap:20px;

  margin-top:30px;
}

.social-icons{

  display:flex;

  justify-content:center;

  align-items:center;

  gap:20px;

  margin-top:30px;
}

.social-icons a{

  width:60px;
  height:60px;

  display:flex;

  justify-content:center;
  align-items:center;

  border-radius:50%;

  background:rgba(255,255,255,0.08);

  backdrop-filter:blur(10px);

  color:white;

  font-size:28px;

  text-decoration:none;

  transition:0.3s;

  box-shadow:0 0 15px rgba(0,191,255,0.25);
}

.social-icons a:hover{

  transform:translateY(-6px);

  color:skyblue;

  box-shadow:0 0 25px skyblue;
}

/* LEADERBOARD PAGE */

.leaderboard-page{

  text-align:center;

  padding:120px 20px 50px;
}

.leaderboard-page h1{

  font-size:60px;

  color:skyblue;

  text-shadow:0 0 20px skyblue;
}

.leaderboard-page p{

  font-size:22px;

  color:#ddd;
}

/* MATCH INFO */

.match-info{

  display:flex;

  justify-content:center;

  padding:30px;
}

.info-card{

  width:400px;

  background:rgba(0,0,0,0.4);

  backdrop-filter:blur(10px);

  padding:30px;

  border-radius:20px;

  text-align:center;

  box-shadow:0 0 20px rgba(0,191,255,0.3);
}

.info-card h2{

  color:skyblue;

  margin-bottom:20px;
}

.info-card p{

  font-size:18px;

  margin-top:10px;
}

/* LEADERBOARD TABLE */

.leaderboard-table{

  padding:60px;
}

.leaderboard-table table{

  width:100%;

  border-collapse:collapse;

  background:rgba(0,0,0,0.4);

  backdrop-filter:blur(10px);
}

.leaderboard-table th{

  background:skyblue;

  color:black;
}

.leaderboard-table th,
.leaderboard-table td{

  padding:20px;

  border:1px solid rgba(255,255,255,0.1);

  text-align:center;
}

/* MVP */

.mvp-section{

  padding:60px;

  display:flex;

  justify-content:center;
}

.mvp-card{

  width:450px;

  text-align:center;

  background:rgba(0,0,0,0.4);

  backdrop-filter:blur(10px);

  border-radius:20px;

  padding:40px;

  box-shadow:0 0 25px rgba(0,191,255,0.3);
}

.mvp-card h2{

  color:orange;
}

.mvp-card h1{

  color:skyblue;

  margin:20px 0;
}

.mvp-card p{

  font-size:20px;
}

/* LIVE PAGE */

.live-page{

  text-align:center;

  padding:120px 20px 50px;
}

.live-page h1{

  font-size:60px;

  color:red;

  text-shadow:0 0 20px red;
}

.live-page p{

  font-size:22px;

  color:#ddd;
}

/* STREAM */

.stream-section{

  padding:40px;

  display:flex;

  justify-content:center;
}

.stream-container{

  width:90%;

  max-width:1100px;

  border-radius:20px;

  overflow:hidden;

  box-shadow:0 0 30px rgba(255,0,0,0.3);
}

.stream-container iframe{

  width:100%;

  height:600px;
}

/* LIVE INFO */

.live-info{

  padding:60px;

  display:flex;

  justify-content:center;
}

.live-card{

  width:400px;

  text-align:center;

  background:rgba(0,0,0,0.4);

  backdrop-filter:blur(8px);

  border-radius:20px;

  padding:40px;

  box-shadow:0 0 20px rgba(255,0,0,0.2);
}

.live-card h2{

  color:skyblue;

  margin-bottom:20px;
}

.live-card p{

  font-size:20px;

  margin-top:15px;
}

.live-badge{

  margin-top:30px;

  background:red;

  padding:12px 25px;

  border-radius:30px;

  display:inline-block;

  font-weight:bold;

  animation:pulse 1s infinite;
}

/* YOUTUBE LIVE SECTION */

.youtube-container{

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));

  gap:30px;
}

.youtube-card{

  text-decoration:none;

  color:white;

  background:rgba(0,0,0,0.4);

  border-radius:20px;

  overflow:hidden;

  backdrop-filter:blur(10px);

  transition:0.3s;

  box-shadow:0 0 20px rgba(0,191,255,0.2);
}

.youtube-card:hover{

  transform:translateY(-10px);

  box-shadow:0 0 30px rgba(0,191,255,0.5);
}

.thumbnail-box{

  position:relative;
}

.thumbnail-box img{

  width:100%;

  height:220px;

  object-fit:cover;
}

.youtube-card h3{

  padding:20px;

  font-size:20px;

  line-height:1.5;
}

.live-badge{

  position:absolute;

  top:15px;
  left:15px;

  background:red;

  color:white;

  padding:8px 15px;

  border-radius:30px;

  font-size:14px;

  font-weight:bold;
}

/* VIDEO INFO */

.video-info{
  padding:20px;
}

.upload-date{

  color:#aaa;

  font-size:15px;

  margin-top:10px;
}

.live-streams{
  padding:80px 60px;
}

.live-streams h2{
  color:skyblue;
  font-size:45px;
  margin-bottom:40px;
  text-align:center;
}

#youtube-videos{
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));

  gap:30px;
}

.youtube-card{
  background:rgba(0,0,0,0.45);

  backdrop-filter:blur(10px);

  border-radius:20px;

  overflow:hidden;

  text-decoration:none;

  color:white;

  transition:0.3s;

  position:relative;
}

.youtube-card:hover{
  transform:translateY(-8px);

  box-shadow:0 0 25px rgba(0,191,255,0.4);
}

.thumbnail-box{
  position:relative;
}

.thumbnail-box img{
  width:100%;
  display:block;
}

.video-duration{
  position:absolute;

  bottom:10px;
  right:10px;

  background:black;

  padding:5px 10px;

  border-radius:8px;

  font-size:14px;
}

.live-badge{
  position:absolute;

  top:10px;
  left:10px;

  background:red;

  color:white;

  padding:6px 12px;

  border-radius:30px;

  font-size:14px;

  font-weight:bold;
}

.video-info{
  padding:20px;
}

.video-info h3{
  font-size:20px;
  margin-bottom:10px;
}

.upload-date{
  color:#bbb;
}

/* ADMIN PANEL */

body {

  margin: 0;
  padding: 0;

  background: #0f172a;

  font-family: Arial, sans-serif;

}

/* SIDEBAR */

.sidebar {

  position: fixed;

  left: 0;
  top: 0;

  width: 260px;
  height: 100vh;

  background: rgba(15, 23, 42, 0.95);

  backdrop-filter: blur(20px);

  border-right:
  1px solid rgba(255,255,255,0.1);

  padding-top: 20px;

  overflow-y: auto;

}

.sidebar-logo {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.sidebar-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.sidebar-logo h2 {

  color: #60a5fa;

  font-size: 24px;

}

.sidebar ul {

  list-style: none;

  padding: 0;
  margin: 0;

}

.sidebar ul li {

  margin: 10px 0;

}

.sidebar ul li a {

  display: flex;

  align-items: center;

  gap: 12px;

  color: white;

  text-decoration: none;

  padding:
  14px 25px;

  transition: 0.3s;

  font-size: 16px;

}

.sidebar ul li a:hover {

  background:
  rgba(96,165,250,0.2);

  border-left:
  4px solid #60a5fa;

}

/* MAIN CONTENT */

.main-content {

  margin-left: 260px;

  padding: 30px;

}

/* TOPBAR */

.topbar {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 30px;

}

.topbar h1 {

  color: white;

  font-size: 32px;

}

/* DASHBOARD CARDS */

.dashboard-cards {

  display: grid;

  grid-template-columns:
  repeat(auto-fit,minmax(220px,1fr));

  gap: 20px;

}

.dashboard-card {

  background:
  rgba(255,255,255,0.05);

  border:
  1px solid rgba(255,255,255,0.1);

  border-radius: 20px;

  padding: 30px;

  backdrop-filter: blur(20px);

  transition: 0.3s;

}

.dashboard-card:hover {

  transform:
  translateY(-5px);

  border:
  1px solid #60a5fa;

}

.dashboard-card h2 {

  color: #60a5fa;

  font-size: 40px;

  margin-bottom: 10px;

}

.dashboard-card p {

  color: white;

  font-size: 18px;

}

/* SEARCH BOX */

.search-box {

  width: 100%;

  padding: 15px;

  border: none;

  outline: none;

  border-radius: 12px;

  background:
  rgba(255,255,255,0.08);

  color: white;

  font-size: 16px;

  margin-bottom: 30px;

}

/* REGISTRATION CARDS */

#registrations-container {

  display: grid;

  grid-template-columns:
  repeat(auto-fit,minmax(300px,1fr));

  gap: 20px;

}

.registration-card {

  background:
  rgba(255,255,255,0.05);

  border:
  1px solid rgba(255,255,255,0.1);

  border-radius: 20px;

  padding: 25px;

  backdrop-filter: blur(20px);

  transition: 0.3s;

}

.registration-card:hover {

  transform:
  translateY(-5px);

  border:
  1px solid #60a5fa;

}

.registration-card h2 {

  color: #60a5fa;

  margin-bottom: 15px;

}

.registration-card p {

  color: white;

  margin: 8px 0;

}

/* BUTTONS */

.registration-buttons {

  display: flex;

  gap: 15px;

  margin-top: 20px;

}

.approve-btn {

  flex: 1;

  padding: 12px;

  border: none;

  border-radius: 10px;

  background: #22c55e;

  color: white;

  font-weight: bold;

  cursor: pointer;

}

.reject-btn {

  flex: 1;

  padding: 12px;

  border: none;

  border-radius: 10px;

  background: #ef4444;

  color: white;

  font-weight: bold;

  cursor: pointer;

}

/* UID SEARCH */

.uid-search-box {

  margin-top: 40px;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.1);

  padding: 25px;

  border-radius: 20px;

  backdrop-filter: blur(10px);

}

.uid-search-box h2 {

  color: white;

  margin-bottom: 20px;

}

.uid-search-box input {

  width: 70%;

  padding: 15px;

  border: none;

  outline: none;

  border-radius: 12px;

  background: #111827;

  color: white;

  font-size: 16px;

}

.uid-search-box button {

  padding: 15px 25px;

  border: none;

  border-radius: 12px;

  background: linear-gradient(
    45deg,
    #3b82f6,
    #8b5cf6
  );

  color: white;

  font-weight: bold;

  cursor: pointer;

  margin-left: 10px;

  transition: 0.3s;

}

.uid-search-box button:hover {

  transform: scale(1.05);

}

#uid-result {

  margin-top: 30px;

}

/* TOURNAMENT FORM */

.tournament-form {

display: flex;

flex-direction: column;

gap: 15px;

margin-top: 30px;

background: rgba(255,255,255,0.05);

padding: 25px;

border-radius: 20px;

backdrop-filter: blur(10px);

}

.tournament-form input {

padding: 15px;

border: none;

outline: none;

border-radius: 12px;

background: #111827;

color: white;

font-size: 16px;

}

.tournament-form button {

padding: 15px;

border: none;

border-radius: 12px;

background: linear-gradient(
45deg,
#3b82f6,
#8b5cf6
);

color: white;

font-weight: bold;

cursor: pointer;

transition: 0.3s;

}

.tournament-form button:hover {

transform: scale(1.03);

}

/* TOURNAMENT CARDS */

#tournaments-container {

margin-top: 30px;

display: grid;

grid-template-columns:
repeat(auto-fit, minmax(300px, 1fr));

gap: 20px;

}

.registration-card {

background: rgba(255,255,255,0.05);

padding: 20px;

border-radius: 20px;

backdrop-filter: blur(10px);

border: 1px solid rgba(255,255,255,0.08);

color: white;

}

.registration-card h2 {

margin-bottom: 15px;

color: #60a5fa;

}

.registration-card p {

margin: 8px 0;

}

.delete-btn{
  margin-top:15px;
  width:100%;
  padding:12px 16px;
  background:linear-gradient(135deg,#ef4444,#b91c1c);
  border:none;
  color:white;
  border-radius:14px;
  cursor:pointer;
  font-size:15px;
  font-weight:bold;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:0.25s;
  box-shadow:0 6px 20px rgba(239,68,68,0.25);
}

.delete-btn i{
  font-size:16px;
}

.delete-btn:hover{
  transform:translateY(-2px);
  background:linear-gradient(135deg,#dc2626,#991b1b);
  box-shadow:0 10px 25px rgba(239,68,68,0.35);
}

.delete-btn:active{
  transform:scale(0.98);
}
