/* =========================
   PRIME AUTHORITY CSS V2
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

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

/* ================= NAVBAR ================= */

header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:9999;
background:rgba(0,0,0,.85);
backdrop-filter:blur(12px);
border-bottom:1px solid rgba(255,43,43,.3);
transition:transform .25s ease, opacity .25s ease;
}

header.hidden{
transform:translateY(-100%);
opacity:0;
}

.navbar{
max-width:1300px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 30px;
}

.logo{
font-size:28px;
font-weight:900;
color:#ff2b2b;
letter-spacing:2px;
}

.menu{
display:flex;
list-style:none;
gap:25px;
}

.menu li a{
color:#fff;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.menu li a:hover{
color:#ff2b2b;
text-shadow:0 0 10px #ff2b2b;
}

body{
padding-top:80px;
}

/* ================= HERO ================= */

.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:20px;
background:
linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.85)),
url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1600&q=80");
background-size:cover;
background-position:center;
}

.overlay{
max-width:750px;
animation:fadeUp 1s ease;
}

.overlay h1{
font-size:65px;
font-weight:900;
color:#ff2b2b;
text-shadow:0 0 20px #ff2b2b;
}

.overlay h2{
margin:20px 0;
font-size:30px;
}

.overlay p{
font-size:18px;
line-height:1.8;
color:#ddd;
margin-bottom:30px;
}

.hero-btns{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.btn,
.btn2{
padding:15px 35px;
border-radius:40px;
text-decoration:none;
font-weight:700;
transition:.3s;
}

.btn{
background:#ff2b2b;
color:#fff;
}

.btn:hover{
transform:translateY(-5px);
box-shadow:0 0 25px #ff2b2b;
}

.btn2{
border:2px solid #ff2b2b;
color:#fff;
}

.btn2:hover{
background:#ff2b2b;
}

@keyframes fadeUp{

0%{
opacity:0;
transform:translateY(50px);
}

100%{
opacity:1;
transform:translateY(0);
}

}
.notification-link{
position:relative;
color:#fff;
font-size:24px;
text-decoration:none;
transition:.3s;
}
.notification-link:hover{
color:#ff2b2b;
}
.badge{
position:absolute;
top:-8px;
right:-12px;
display:inline-block;
min-width:18px;
height:18px;
line-height:18px;
padding:0 5px;
font-size:12px;
font-weight:700;
color:#fff;
background:#ff2b2b;
border-radius:12px;
}
/* ================= AUTH ================= */
.auth-modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.82);
display:none;
align-items:center;
justify-content:center;
padding:20px;
z-index:10000;
}
.auth-modal.open{display:flex;}
.auth-card{
position:relative;
width:min(100%,480px);
background:#121212;
border:1px solid #ff2b2b;
border-radius:24px;
padding:30px 24px 24px;
box-shadow:0 0 35px rgba(255,43,43,.25);
}
.auth-close,.drawer-close{position:absolute;top:12px;right:12px;background:transparent;border:none;color:#fff;font-size:28px;cursor:pointer;}
.auth-form-panel.hidden{display:none;}
.auth-form{display:flex;flex-direction:column;gap:12px;}
.auth-form label{color:#fff;font-size:14px;font-weight:600;}
.input-wrap{display:flex;align-items:center;background:#1a1a1a;border:1px solid rgba(255,255,255,.15);border-radius:12px;overflow:hidden;}
.input-wrap input{width:100%;padding:12px 14px;background:transparent;border:none;color:#fff;outline:none;}
.password-wrap .toggle-pass{background:transparent;border:none;color:#ff2b2b;cursor:pointer;padding:0 12px;}
.password-hint{font-size:13px;color:#ccc;margin-top:-6px;margin-bottom:10px;line-height:1.4;}
.auth-subtitle,.switch-text,.small-link{font-size:14px;color:#bbb;}
.small-link{align-self:flex-end;color:#ff2b2b;cursor:pointer;background:none;border:none;padding:0;text-align:left;}
.auth-status-message{display:none;padding:10px 12px;border-radius:10px;font-size:13px;background:rgba(255,255,255,.06);color:#ddd;border:1px solid rgba(255,255,255,.12);} 
.auth-status-message.success{color:#7ee787;border-color:rgba(126,231,135,.24);background:rgba(34,197,94,.14);} 
.auth-status-message.error{color:#ff6b6b;border-color:rgba(255,107,107,.24);background:rgba(255,107,107,.12);} 
.auth-submit{width:100%;justify-content:center;border:none;cursor:pointer;font-size:16px;padding:14px 20px;margin-top:8px;position:relative;}
.auth-submit.loading{cursor:wait;opacity:.85;pointer-events:none;}
.auth-submit.loading .button-spinner{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;border:2px solid rgba(255,255,255,.6);border-top-color:#fff;border-radius:50%;animation:spin 0.8s linear infinite;}
@keyframes spin{0%{transform:translateY(-50%) rotate(0deg);}100%{transform:translateY(-50%) rotate(360deg);}}
.switch-text a{color:#ff2b2b;text-decoration:none;font-weight:700;}
.profile-drawer{position:fixed;top:0;right:-420px;width:min(100%,380px);height:100%;background:#0f0f0f;border-left:1px solid #ff2b2b;transition:.35s ease;z-index:10001;box-shadow:-10px 0 35px rgba(0,0,0,.45);}
.profile-drawer.open{right:0;}
.profile-drawer-content{padding:24px;display:flex;flex-direction:column;gap:18px;height:100%;}
.profile-drawer-head{display:flex;align-items:center;gap:12px;}
.profile-avatar-large{width:54px;height:54px;border-radius:50%;background:#ff2b2b;display:grid;place-items:center;font-size:22px;font-weight:800;color:#fff;}
.edit-name-btn,.edit-save-btn{background:#1a1a1a;border:1px solid #ff2b2b;color:#fff;padding:6px 10px;border-radius:999px;cursor:pointer;font-size:12px;}
.profile-label{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:1px;}
.profile-value{font-size:15px;color:#fff;margin-top:6px;}
.profile-nav-list{display:flex;flex-direction:column;gap:10px;margin-top:10px;}
.profile-nav-list a{color:#fff;text-decoration:none;padding:10px 12px;border-radius:10px;background:#171717;}
.profile-pill{width:40px;height:40px;border-radius:50%;background:#ff2b2b;color:#fff;display:grid;place-items:center;font-weight:800;text-decoration:none;}
.edit-name-wrap{display:flex;gap:8px;align-items:center;}
.edit-name-input{flex:1;padding:8px 10px;border-radius:8px;border:1px solid #ff2b2b;background:#111;color:#fff;}
.notifications-page{min-height:calc(100vh - 160px);padding:40px 20px 60px;display:flex;justify-content:center;align-items:flex-start;background:#05050a;}
.notifications-container{width:min(100%,960px);background:rgba(255,255,255,0.02);border:1px solid rgba(255,43,43,0.18);border-radius:24px;padding:28px;box-shadow:0 0 60px rgba(0,0,0,0.45);}
.notifications-header{margin-bottom:24px;}
.notifications-header h1{font-size:32px;color:#fff;margin-bottom:10px;}
.notifications-header p{font-size:15px;color:#ccc;line-height:1.7;}
.notifications-list{display:flex;flex-direction:column;gap:14px;margin-top:10px;max-height:550px;overflow-y:auto;padding-right:6px;}
.notification-item{position:relative;background:rgba(255,255,255,.05);border:1px solid rgba(255,43,43,.18);padding:16px 18px 16px 16px;border-radius:18px;}
.notification-item h3{font-size:16px;color:#fff;margin-bottom:8px;}
.notification-item p{font-size:14px;color:#d9d9d9;margin-bottom:6px;}
.notification-item span{font-size:12px;color:#ff6b6b;}
.notification-item .notification-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border:none;border-radius:50%;background:rgba(255,43,43,.1);color:#ff2b2b;font-size:18px;cursor:pointer;display:grid;place-items:center;transition:all 0.2s ease;border:1px solid rgba(255,43,43,.2);}
.notification-item .notification-close:hover{background:rgba(255,43,43,.25);border-color:rgba(255,43,43,.4);box-shadow:0 0 12px rgba(255,43,43,.3);transform:scale(1.1);}
.empty-state{color:#ccc;font-size:15px;text-align:center;padding:42px 0;}
.users-table-wrapper{overflow-x:auto;}
.users-table{width:100%;border-collapse:collapse;margin-top:16px;}
.users-table th,
.users-table td{padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08);color:#ddd;text-align:left;}
.users-table th{color:#aaa;font-size:12px;text-transform:uppercase;letter-spacing:1px;}
.users-table tbody tr:hover{background:rgba(255,255,255,.04);}
.analyse-chart-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,43,43,.15);border-radius:18px;padding:18px;}
.analyse-chart-bars{display:flex;align-items:flex-end;gap:14px;min-height:260px;}
.analyse-chart-bar-item{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:110px;}
.analyse-chart-bar{width:100%;background:linear-gradient(180deg, rgba(220,38,38,0.9), rgba(255,43,43,0.35));border-radius:16px 16px 0 0;display:flex;align-items:flex-end;justify-content:center;position:relative;}
.analyse-chart-bar span{position:absolute;top:8px;left:50%;transform:translateX(-50%);font-size:13px;color:#fff;font-weight:700;}
.analyse-chart-label{font-size:13px;color:#ccc;text-align:center;}
.contact-info-list{display:flex;flex-direction:column;gap:14px;margin-top:24px;}
.contact-info-item{display:flex;align-items:center;gap:16px;font-size:16px;line-height:1.7;color:#fff;padding:18px 20px;border-radius:14px;background:linear-gradient(135deg,rgba(255,43,43,.08) 0%,rgba(255,43,43,.02) 100%);border:1.5px solid rgba(255,43,43,.4);text-decoration:none;transition:all 0.3s ease;position:relative;overflow:hidden;}
.contact-info-item::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);transition:left 0.5s ease;}
.contact-info-item:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(255,43,43,.25),inset 0 0 20px rgba(255,43,43,.05);border-color:rgba(255,43,43,.6);}
.contact-info-item:hover::before{left:100%;}
.contact-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;background:linear-gradient(135deg,rgba(255,43,43,.25) 0%,rgba(255,43,43,.1) 100%);font-size:24px;flex-shrink:0;border:1px solid rgba(255,43,43,.3);}
.contact-info-item strong{display:block;color:#fff;font-size:17px;font-weight:700;letter-spacing:0.3px;}
.contact-meta{color:#ff9999;font-size:13px;font-weight:500;letter-spacing:0.2px;}
.contact-icon i{color:#ff2b2b;transition:all 0.3s ease;font-size:26px;}
.contact-info-item:hover .contact-icon i{text-shadow:0 0 20px rgba(255,43,43,0.8);transform:scale(1.15) rotate(10deg);}
.contact-form-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,43,43,.22);border-radius:16px;padding:18px;margin-top:6px;}
.contact-form-card h3{margin:0 0 12px;color:#fff;font-size:20px;}
.contact-form{display:grid;gap:14px;}
.contact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.contact-form label{display:flex;flex-direction:column;gap:6px;color:#ddd;font-size:14px;}
.contact-form input,.contact-form select,.contact-form textarea{padding:12px 14px;border:1px solid rgba(255,43,43,.22);border-radius:10px;background:#0f0f0f;color:#fff;}
.contact-form textarea{min-height:110px;resize:vertical;}
.contact-field.hidden{display:none;}
.contact-submit{display:flex;align-items:center;justify-content:center;gap:8px;border:none;cursor:pointer;padding:14px 32px;margin-top:12px;position:relative;transition:all 0.3s ease;background:#ff2b2b;color:#fff;font-weight:600;font-size:15px;border-radius:10px;box-shadow:0 4px 16px rgba(255,43,43,.3);font-family:Poppins,sans-serif;}
.contact-submit:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(255,43,43,.5),inset 0 0 20px rgba(255,255,255,.1);background:#ff4444;}
.contact-submit:active{transform:translateY(-1px);}
.contact-submit.loading{cursor:wait;opacity:.8;pointer-events:none;}
.contact-submit.loading::before{content:"";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:contact-spinner 0.8s linear infinite;}
.contact-submit.loading{padding-left:42px;}
.contact-mail-btn{display:inline-block;margin-top:6px;padding:8px 14px;border-radius:999px;background:#ff2b2b;color:#fff;text-decoration:none;}
.contact-mail-btn:hover{transform:translateY(-2px);box-shadow:0 0 16px rgba(255,43,43,.25);} 
.consent-group{display:flex;flex-direction:column;gap:10px;margin:12px 0 16px;}

@keyframes contact-spinner{0%{transform:translateY(-50%) rotate(0deg);}100%{transform:translateY(-50%) rotate(360deg);}}
.consent-item{display:flex;align-items:flex-start;gap:10px;color:#fff;font-size:14px;line-height:1.5;}
.consent-item input{margin-top:3px;accent-color:#ff2b2b;}
/* ===== JOIN FORM ===== */
.join-form{display:grid;grid-template-columns:1fr;gap:12px;max-width:920px;margin:18px auto;padding:0 12px;}
.join-form label{display:block;color:#ddd;font-size:14px;}
.join-form input,.join-form select,.join-form textarea{width:100%;padding:12px 14px;border:1px solid rgba(255,43,43,.18);border-radius:10px;background:#0f0f0f;color:#fff;outline:none;}
.join-form textarea{min-height:120px;resize:vertical}
.join-form input[type="file"]{padding:8px;border:none;background:transparent}
.join-form button{display:inline-block;padding:12px 18px;border-radius:10px;background:#ff2b2b;border:none;color:#fff;cursor:pointer;font-weight:700}

/* ================= QUICK LINKS ================= */

.quick-links{
padding:80px 20px;
background:#111;
text-align:center;
}

.quick-links h2{
font-size:40px;
color:#ff2b2b;
margin-bottom:40px;
}

.link-box{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
max-width:1200px;
margin:auto;
}

.big-btn{
display:block;
padding:25px;
background:#1a1a1a;
border:2px solid #ff2b2b;
border-radius:18px;
text-decoration:none;
color:#fff;
font-size:20px;
font-weight:700;
transition:.35s;
}

.big-btn:hover{
transform:translateY(-8px);
box-shadow:0 0 30px #ff2b2b;
background:#ff2b2b;
}

/* ================= STATS ================= */

.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
padding:80px 20px;
background:#0d0d0d;
}

.card{
background:#181818;
padding:35px;
border-radius:18px;
text-align:center;
border:2px solid #ff2b2b;
transition:.35s;
}

.card:hover{
transform:translateY(-10px);
box-shadow:0 0 30px #ff2b2b;
}

.card h2{
font-size:42px;
color:#ff2b2b;
margin-bottom:12px;
}

.card p{
font-size:18px;
color:#ddd;
}

/* ================= ABOUT ================= */

.about{
padding:90px 20px;
background:#000;
text-align:center;
}

.about h1{
font-size:44px;
color:#ff2b2b;
margin-bottom:30px;
}

.about p{
max-width:900px;
margin:auto;
font-size:18px;
line-height:1.9;
color:#ccc;
}

/* ================= RULES TABLE ================= */

.rules-section{
padding:90px 20px 120px;
background:linear-gradient(135deg, #070707 0%, #121212 100%);
}

.rules-header{
max-width:1100px;
margin:0 auto 35px;
text-align:center;
}

.rules-header h1{
font-size:44px;
color:#ff2b2b;
margin-bottom:12px;
}

.rules-header p{
font-size:18px;
color:#ccc;
line-height:1.8;
}

.rules-table-wrapper{
overflow-x:auto;
max-width:1200px;
margin:auto;
border-radius:20px;
box-shadow:0 0 35px rgba(255,43,43,.15);
border:1px solid rgba(255,43,43,.25);
background:#111;
}

.rules-table{
width:100%;
border-collapse:collapse;
min-width:760px;
}

.rules-table th,
.rules-table td{
padding:16px 18px;
border-bottom:1px solid rgba(255,255,255,0.08);
text-align:left;
vertical-align:top;
}

.rules-table th{
background:#ff2b2b;
color:#fff;
font-size:16px;
font-weight:700;
}

.rules-table tbody tr:nth-child(even){
background:#171717;
}

.rules-table tbody tr:hover{
background:#1f1f1f;
}

.rules-table td:first-child{
font-weight:700;
color:#ff2b2b;
width:60px;
}

.rules-table td:nth-child(2){
font-weight:700;
color:#fff;
width:240px;
}

.rules-table td:last-child{
color:#ddd;
line-height:1.8;
}

/* ================= TEAM ================= */

.teams{
padding:90px 20px;
background:#0d0d0d;
text-align:center;
}

.teams h1{
font-size:44px;
color:#ff2b2b;
margin-bottom:45px;
}

.team-container{
display:flex;
justify-content:center;
}

.team-card{
max-width:420px;
background:#1a1a1a;
padding:35px;
border-radius:20px;
border:2px solid #ff2b2b;
transition:.35s;
}

.team-card:hover{
transform:translateY(-10px);
box-shadow:0 0 30px #ff2b2b;
}

.team-card h2{
color:#ff2b2b;
margin-bottom:15px;
}

.team-card p{
color:#ddd;
margin-bottom:25px;
line-height:1.7;
}

.team-card button{
padding:14px 30px;
border:none;
border-radius:30px;
background:#ff2b2b;
color:#fff;
font-weight:700;
cursor:pointer;
transition:.3s;
}

.team-card button:hover{
background:#fff;
color:#ff2b2b;
}

.lineup-list{
display:grid;
gap:20px;
max-width:960px;
margin:36px auto 0;
text-align:left;
}

.lineup-card{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,43,43,0.25);
border-radius:20px;
padding:24px;
box-shadow:0 0 24px rgba(0,0,0,0.2);
}

.lineup-header{
display:flex;
flex-direction:column;
align-items:center;
gap:12px;
margin-bottom:18px;
text-align:center;
}

.lineup-logo{
width:90px;
height:90px;
object-fit:cover;
border-radius:18px;
border:1px solid rgba(255,255,255,0.12);
background:#0f0f0f;
}

.lineup-logo.placeholder{
display:grid;
place-items:center;
font-weight:800;
font-size:24px;
color:#ff2b2b;
}

.lineup-table{
display:grid;
gap:10px;
}

.lineup-row{
display:grid;
grid-template-columns:140px 1fr;
gap:12px;
padding:10px 0;
border-bottom:1px solid rgba(255,255,255,0.08);
}

.lineup-label{
color:#ff2b2b;
font-weight:700;
text-transform:uppercase;
letter-spacing:0.6px;
font-size:12px;
}

.lineup-value{
color:#f5f5f5;
font-size:15px;
}

.lineup-empty{
text-align:center;
color:#ddd;
padding:24px 0;
}

/* ================= ACHIEVEMENTS ================= */

.achievements{
padding:90px 20px;
background:#111;
text-align:center;
}

.achievements h1{
font-size:44px;
color:#ff2b2b;
margin-bottom:45px;
}

.achievement-box{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

.achievement-card{
background:#1a1a1a;
padding:30px;
border:2px solid #ff2b2b;
border-radius:18px;
transition:.35s;
}

.achievement-card:hover{
transform:translateY(-10px);
box-shadow:0 0 30px #ff2b2b;
}

.achievement-card h2{
font-size:36px;
color:#ff2b2b;
margin-bottom:15px;
}

.achievement-card p{
color:#ddd;
}
/* ================= RECRUITMENT ================= */

.recruitment{
padding:90px 20px;
background:#0b0b0b;
text-align:center;
}

.join-banner{
  max-width:1180px;
  min-height:420px;
  margin:0 auto 40px;
  border-radius:24px;
  padding:12px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.95));
  background-size:cover;
  background-position:center;
  background-blend-mode:overlay;
  box-shadow:0 0 40px rgba(255,43,43,.18);
  position:relative;
  overflow:visible;
}

.join-banner::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius:24px;
  background: radial-gradient(circle at top center, rgba(255,255,255,0.08), transparent 40%);
  pointer-events:none;
}

.join-banner-copy{
  position:relative;
  z-index:1;
}

.join-banner-copy h2{
  font-size:46px;
  letter-spacing:2px;
}

.join-banner-copy p{
  color:#f4f4f4;
}

.join-banner-copy{
  max-width:760px;
}

.join-banner-copy span{
  display:block;
  color:#ffb347;
  font-size:18px;
  letter-spacing:4px;
  text-transform:uppercase;
  font-weight:800;
  margin-bottom:14px;
}

.join-banner-copy h2{
  font-size:48px;
  color:#fff;
  margin-bottom:14px;
  text-shadow:0 0 24px rgba(255,43,43,.24);
}

.join-banner-copy p{
  color:#ddd;
  font-size:18px;
  line-height:1.7;
}

/* Ensure admin-uploaded banner image displays fully and responsively */
.join-banner img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  border-radius:20px;
  object-fit:contain;
}

.recruitment h1{
font-size:44px;
color:#ff2b2b;
margin-bottom:20px;
}

.join-text{
max-width:700px;
margin:0 auto 40px;
color:#ccc;
line-height:1.8;
}

.join-form{
max-width:700px;
margin:auto;
display:flex;
flex-direction:column;
gap:18px;
}

.join-form input,
.join-form textarea{
background:#1a1a1a;
border:2px solid #333;
border-radius:12px;
padding:16px;
color:#fff;
font-size:16px;
outline:none;
}

.join-form input:focus,
.join-form textarea:focus{
border-color:#ff2b2b;
}

.join-form textarea{
min-height:140px;
resize:vertical;
}

.join-form button{
padding:16px;
background:#ff2b2b;
color:#fff;
border:none;
border-radius:40px;
font-size:18px;
font-weight:700;
cursor:pointer;
transition:.3s;
}

.join-form button:hover{
background:#fff;
color:#ff2b2b;
}

/* ================= LINEUP / ROSTER ================= */
.lineup-list{
   display:flex;
   flex-direction:column;
   gap:20px;
   max-width:1100px;
   margin:24px auto 0;
}

.team-roster{
   background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.2));
   border-radius:14px;
   padding:18px;
   border:1px solid rgba(255,255,255,0.03);
   box-shadow: 0 6px 24px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.01);
   position:relative;
   overflow:hidden;
}

.team-roster::after{
   content: '';
   position: absolute;
   inset: 0;
   border-radius: 14px;
   pointer-events: none;
   box-shadow: 0 0 0 1px rgba(124,58,237,0.04) inset, 0 0 30px rgba(124,58,237,0.02);
}

.roster-header{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.roster-meta{ display:flex; align-items:center; gap:12px; }
.roster-logo{ width:64px; height:64px; border-radius:10px; object-fit:cover; border:1px solid rgba(255,255,255,0.04); }
.roster-logo.placeholder{ display:grid; place-items:center; width:64px; height:64px; border-radius:10px; background:#0f0f1a; color:#dc2626; font-weight:800; border:1px solid rgba(255,255,255,0.03); }
.roster-title{ color:#fff; font-size:18px; margin:0; font-weight:800; }

.roster-table-wrap{ overflow:auto; }
.roster-table{ width:100%; border-collapse:collapse; min-width:720px; }
.roster-table thead th{ text-align:left; padding:12px 14px; color:#9aa0b0; font-size:13px; border-bottom:1px solid rgba(255,255,255,0.04); }
.roster-table tbody td{ padding:14px; color:#e6e6e6; border-bottom:1px solid rgba(255,255,255,0.02); }
.roster-table tbody tr.empty-row td{ color:#666; }
.roster-table tbody tr:hover td{ background: rgba(255,255,255,0.01); transform: translateY(-2px); transition: all .18s ease; }
.cell-sr{ width:64px; color:#caa7ff; font-weight:700; }

@media (max-width:900px){
   .lineup-list{ padding:0 16px; }
   .roster-table{ min-width:640px; }
   .roster-title{ font-size:16px; }
}


/* ================= TOURNAMENT ================= */

.tournament{
padding:90px 20px;
background:#111;
text-align:center;
}

.tournament h2{
font-size:44px;
color:#ff2b2b;
margin-bottom:40px;
}

.t-card{
max-width:700px;
margin:25px auto;
padding:30px;
background:#1a1a1a;
border:2px solid #ff2b2b;
border-radius:20px;
transition:.35s;
position:relative;
box-shadow:0 0 0 rgba(255,43,43,0);
}

.t-card:hover{
transform:translateY(-8px);
box-shadow:0 0 30px rgba(255,43,43,0.25);
}

.t-card h3{
font-size:28px;
color:#ff2b2b;
margin-bottom:15px;
}

.t-card p{
margin:10px 0;
color:#ddd;
}

.t-card .btn{
display:inline-flex;
align-items:center;
justify-content:center;
margin-top:20px;
padding:15px 35px;
background:#ff2b2b;
border:none;
border-radius:35px;
color:#fff;
font-weight:700;
text-decoration:none;
transition:.3s;
min-width:260px;
line-height:1.2;
text-align:center;
}

.t-card .btn:hover{
background:#fff;
color:#ff2b2b;
}

.footer{
background:#000;
padding:60px 20px;
text-align:center;
border-top:2px solid #ff2b2b;
}

.footer-grid{
max-width:1200px;
margin:0 auto;\ndisplay:grid;
grid-template-columns:repeat(3,minmax(220px,1fr));
gap:30px;
text-align:left;
}

.footer h2{
color:#ff2b2b;
margin-bottom:18px;
}

.footer p,
.footer a,
.footer small{
color:#bbb;
margin:8px 0;
line-height:1.8;
}

.footer-links{
display:flex;
flex-direction:column;
gap:10px;
}

.footer-links a{
color:#ddd;
text-decoration:none;
transition:.2s;
}

.footer-links a:hover{
color:#ff2b2b;
}

.footer-contact{
display:flex;
flex-direction:column;
gap:12px;
}

.footer-contact label{
color:#ddd;
font-size:14px;
}

.footer-contact input,
.footer-contact textarea{
width:100%;
padding:12px 14px;
border:1px solid rgba(255,255,255,.12);
border-radius:12px;
background:#111;
color:#fff;
}

.footer-contact textarea{
min-height:100px;
resize:vertical;
}

.footer-contact button{
width:min(100%,220px);
padding:14px 24px;
background:#ff2b2b;
border:none;
border-radius:999px;
color:#fff;
font-weight:700;
cursor:pointer;
}

.footer-contact button:hover{
background:#fff;
color:#ff2b2b;
}

.footer-bottom{
margin-top:40px;
border-top:1px solid rgba(255,255,255,.08);
padding-top:24px;
font-size:14px;
color:#777;
display:flex;
flex-wrap:wrap;
align-items:center;
justify-content:center;
gap:8px 12px;
line-height:1.6;
}

.footer-bottom a{
color:#bbb;
text-decoration:none;
white-space:nowrap;
}

.footer-bottom a:hover{
color:#ff2b2b;
}

.footer-bottom .footer-separator{
color:#555;
white-space:nowrap;
}

.footer-bottom .footer-copyright{
white-space:nowrap;
}

@media(max-width:992px){
.footer-grid{
grid-template-columns:1fr;
}

.t-card .btn{
width:100%;
max-width:100%;
min-width:0;
}
}

/* ================= FOOTER ================= */

.footer{
background:#000;
padding:40px 20px;
text-align:center;
border-top:2px solid #ff2b2b;
}

.footer h2{
color:#ff2b2b;
margin-bottom:10px;
}

.footer p{
color:#bbb;
margin:8px 0;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

.navbar{
flex-direction:row;
justify-content:space-between;
align-items:center;
padding:14px 16px;
gap:12px;
}

.t-card{
padding:24px 18px;
}

.t-card .btn{
padding:14px 20px;
font-size:15px;
}

.logo{
font-size:22px;
letter-spacing:1px;
}

.menu{
flex-wrap:nowrap;
justify-content:flex-end;
align-items:center;
margin-left:auto;
gap:12px;
}

.menu li{
display:flex;
align-items:center;
}

.menu li a{
font-size:14px;
}

.notification-link{
font-size:22px;
}

.overlay h1{
font-size:42px;
}

.overlay h2{
font-size:24px;
}

.overlay p{
font-size:16px;
}

.hero-btns{
flex-direction:column;
align-items:center;
}

.join-banner{
  margin-bottom:30px;
}

.quick-links h2,
.about h1,
.teams h1,
.achievements h1,
.recruitment h1,
.tournament h2{
font-size:32px;
}

}
/* Loading Screen */

#loader{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:#000;

display:flex;

justify-content:center;

align-items:center;

z-index:999999;

transition:.5s;

}

#loader h1{

color:#ff2b2b;

font-size:42px;

letter-spacing:4px;

text-shadow:0 0 20px #ff2b2b;

animation:pulse 1s infinite;

}

@keyframes pulse{

0%{transform:scale(1);}

50%{transform:scale(1.08);}

100%{transform:scale(1);}

}

/* ===== BUTTON LOADING STATES ===== */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.join-form select{
background:#1a1a1a;
border:2px solid #333;
padding:16px;
border-radius:12px;
color:#fff;
font-size:16px;
outline:none;
}

.join-form select:focus{
border-color:#ff2b2b;
}

.join-form input[type="file"]{
background:#1a1a1a;
border:2px dashed #ff2b2b;
padding:15px;
border-radius:12px;
color:#fff;
cursor:pointer;
}
.admin-card{
background:#181818;
border:2px solid #ff2b2b;
border-radius:15px;
padding:20px;
margin-bottom:20px;
box-shadow:0 0 15px rgba(255,0,0,.2);
}

.admin-card h3{
color:#ff2b2b;
margin-bottom:15px;
}

.admin-card p{
margin:8px 0;
color:#ddd;
}

.admin-buttons{
display:flex;
gap:10px;
margin-top:20px;
flex-wrap:wrap;
}

.admin-buttons button{
padding:10px 18px;
border:none;
border-radius:8px;
cursor:pointer;
font-weight:bold;
}

.accept-btn{
background:#16a34a;
color:white;
}

.reject-btn{
background:#dc2626;
color:white;
}

.delete-btn{
background:#444;
color:white;
}

.apply-btn{
display:block;
width:fit-content;
margin:40px auto;
}