/* ===========================================================
   INFINITY ARENA — shared design system
   Palette: deep arena black + violet/cyan neon + gold highlight
   Type: Orbitron (display) / Rajdhani (headings) / Inter (body)
=========================================================== */

:root{
  --bg:        #07080d;
  --bg-soft:   #0d0f18;
  --surface:   #161924;
  --surface-2: #1e2230;
  --border:    #2a2f42;
  --text:      #eceef7;
  --text-dim:  #9298b3;
  --text-faint:#5d6280;

  --violet:    #2e97d4;
  --violet-2:  #1b6fa8;
  --cyan:      #22d3ee;
  --gold:      #fbbf24;
  --green:     #22c55e;
  --red:       #ef4444;
  --purple-sel:#a855f7;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 12px 30px rgba(0,0,0,.45);

  --f-display: 'Orbitron', sans-serif;
  --f-head:    'Rajdhani', sans-serif;
  --f-body:    'Inter', sans-serif;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:
    radial-gradient(circle at 15% -10%, rgba(46,151,212,.16), transparent 45%),
    radial-gradient(circle at 100% 10%, rgba(34,211,238,.10), transparent 40%),
    var(--bg);
  color:var(--text);
  font-family:var(--f-body);
  line-height:1.55;
  min-height:100vh;
}
a{color:var(--cyan); text-decoration:none;}
img{max-width:100%; display:block;}

h1,h2,h3,h4{font-family:var(--f-head); font-weight:700; margin:0 0 .4em; letter-spacing:.3px;}
.display{font-family:var(--f-display);}

.wrap{max-width:1180px; margin:0 auto; padding:0 22px;}

/* ---------------- Navbar ---------------- */
.navbar{
  position:sticky; top:0; z-index:40;
  background:rgba(7,8,13,.85); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.navbar .wrap{display:flex; align-items:center; justify-content:space-between; padding:12px 22px;}
.brand{display:flex; align-items:center; gap:10px; font-family:var(--f-display); font-size:1.05rem; letter-spacing:1px; color:var(--text);}
.brand img{height:38px; width:auto;}
.brand .accent{color:var(--cyan);}

/* CSS text-based logo — navbar (compact) */
.brand-logo{display:inline-flex; align-items:center; gap:8px; line-height:1;}
.brand-logo .bl-mark{
  font-family:var(--f-display); font-size:1.5rem; font-weight:800; color:var(--violet);
  text-shadow:0 0 6px var(--violet), 0 0 14px rgba(46,151,212,.7);
}
.brand-logo .bl-text{font-family:var(--f-display); font-weight:800; font-size:.92rem; letter-spacing:1px; line-height:1.1;}
.brand-logo .bl-text .bl-infinity{color:var(--text); text-shadow:0 0 8px rgba(46,151,212,.4);}
.brand-logo .bl-text .bl-arena{color:var(--cyan); text-shadow:0 0 8px rgba(34,211,238,.5);}

/* CSS text-based logo — hero (large, glowing neon sign) */
.hero-logo{display:flex; align-items:center; gap:22px; justify-content:center; flex-wrap:wrap; padding:20px;}
.hero-logo .hl-mark{
  font-family:var(--f-display); font-weight:800; font-size:5rem; color:var(--violet); line-height:1;
  text-shadow:0 0 10px var(--violet), 0 0 26px var(--violet), 0 0 50px rgba(46,151,212,.7);
}
.hero-logo .hl-text{text-align:left;}
.hero-logo .hl-title{
  font-family:var(--f-display); font-weight:800; font-size:2.5rem; letter-spacing:2px; line-height:1.05;
  color:var(--text); text-shadow:0 0 12px rgba(46,151,212,.5), 0 0 30px rgba(46,151,212,.3);
}
.hero-logo .hl-title .hl-arena{
  display:block; color:var(--cyan); text-shadow:0 0 12px rgba(34,211,238,.7), 0 0 30px rgba(34,211,238,.4);
}
.hero-logo .hl-sub{
  font-family:var(--f-head); font-weight:700; font-size:.95rem; letter-spacing:4px; color:var(--text-dim);
  margin-top:8px; padding-top:8px; border-top:2px solid rgba(46,151,212,.4);
}
.hero-logo .hl-tag{
  font-family:var(--f-head); font-weight:700; font-size:1rem; letter-spacing:2px; color:var(--violet);
  margin-top:10px; text-shadow:0 0 10px rgba(46,151,212,.5);
}
@media (max-width:680px){
  .hero-logo{gap:14px; padding:10px;}
  .hero-logo .hl-mark{font-size:3.2rem;}
  .hero-logo .hl-title{font-size:1.6rem;}
  .hero-logo .hl-sub{font-size:.75rem; letter-spacing:2px;}
  .hero-logo .hl-tag{font-size:.82rem; letter-spacing:1px;}
}
.navlinks{display:flex; align-items:center; gap:18px; font-family:var(--f-head); font-size:.95rem;}
.navlinks a{color:var(--text-dim); transition:.2s;}
.navlinks a:hover{color:var(--cyan);}
.navlinks .pill{
  background:linear-gradient(135deg, var(--violet), var(--violet-2));
  color:#fff; padding:8px 16px; border-radius:30px; font-weight:600;
}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--f-head); font-weight:700; font-size:.95rem;
  padding:11px 20px; border-radius:30px; border:1px solid transparent;
  cursor:pointer; transition:.18s ease; letter-spacing:.3px;
}
.btn-primary{background:linear-gradient(135deg, var(--violet), #1b6fa8); color:#fff; box-shadow:0 6px 18px rgba(46,151,212,.35);}
.btn-primary:hover{transform:translateY(-1px); box-shadow:0 10px 24px rgba(46,151,212,.45);}
.btn-cyan{background:linear-gradient(135deg, var(--cyan), #0891b2); color:#04222a;}
.btn-outline{background:transparent; border-color:var(--border); color:var(--text);}
.btn-outline:hover{border-color:var(--cyan); color:var(--cyan);}
.btn-green{background:var(--green); color:#06210f;}
.btn-red{background:var(--red); color:#2a0707;}
.btn-gold{background:var(--gold); color:#241a02;}
.btn-sm{padding:7px 14px; font-size:.82rem; border-radius:20px;}
.btn-block{width:100%;}
.btn:disabled{opacity:.45; cursor:not-allowed;}

/* ---------------- Hero ---------------- */
.hero{padding:70px 0 50px; position:relative; overflow:hidden;}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center;}
.eyebrow{
  font-family:var(--f-head); font-size:.8rem; letter-spacing:3px; text-transform:uppercase;
  color:var(--cyan); margin-bottom:14px; display:flex; align-items:center; gap:8px;
}
.eyebrow::before{content:''; width:8px; height:8px; border-radius:50%; background:var(--cyan); box-shadow:0 0 12px var(--cyan);}
.hero h1{font-size:clamp(2.1rem, 4.4vw, 3.4rem); line-height:1.08;}
.hero h1 .grad{
  background:linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{color:var(--text-dim); font-size:1.08rem; max-width:540px; margin:16px 0 26px;}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap;}
.hero-visual{
  position:relative; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 50% 42%, rgba(46,151,212,.22), transparent 70%);
}

/* ---------------- Info / service cards ---------------- */
.section{padding:56px 0;}
.section-head{margin-bottom:30px;}
.section-head .eyebrow{margin-bottom:8px;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:18px;}
.card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:24px;}
.card h3{font-size:1.2rem;}
.card .price{font-family:var(--f-display); color:var(--cyan); font-size:1.05rem; margin-top:10px;}

/* Service cards with photo background + dark overlay for text readability */
.service-card{
  position:relative; overflow:hidden; min-height:300px;
  display:flex; flex-direction:column; justify-content:flex-end;
  background-size:cover; background-position:center;
  border-color:rgba(34,211,238,.25);
  transition:border-color .2s, transform .2s;
}
.service-card:hover{border-color:rgba(34,211,238,.55); transform:translateY(-2px);}
.service-card::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(7,8,13,.10) 0%, rgba(7,8,13,.55) 55%, rgba(7,8,13,.95) 100%);
  z-index:0;
}
.service-card > *{position:relative; z-index:1;}
.service-card h3{color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.7);}
.service-card p{color:rgba(255,255,255,.82); font-size:.92rem; text-shadow:0 1px 6px rgba(0,0,0,.6);}
.service-card .price{text-shadow:0 1px 6px rgba(0,0,0,.6);}
.info-strip{display:flex; gap:28px; flex-wrap:wrap; color:var(--text-dim); font-size:.95rem;}
.info-strip b{color:var(--text);}

/* ---------------- Booking flow ---------------- */
.booking-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow);}
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:24px;}
.step-btn{
  background:var(--bg-soft); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:16px; text-align:left; cursor:pointer; transition:.18s;
}
.step-btn:hover{border-color:var(--violet);}
.step-btn.filled{border-color:var(--cyan); background:rgba(34,211,238,.06);}
.step-num{
  display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px;
  border-radius:50%; background:var(--violet); color:#fff; font-family:var(--f-display); font-size:.78rem; margin-bottom:8px;
}
.step-label{display:block; font-size:.78rem; color:var(--text-faint); text-transform:uppercase; letter-spacing:1px;}
.step-value{display:block; font-family:var(--f-head); font-weight:700; margin-top:4px; color:var(--cyan);}
.optional-tag{font-size:.7rem; color:var(--gold); margin-left:6px;}

/* ---------------- Modal / popup ---------------- */
.overlay{
  position:fixed; inset:0; background:rgba(4,5,9,.78); backdrop-filter:blur(3px);
  display:none; align-items:center; justify-content:center; z-index:200; padding:18px;
}
.overlay.open{display:flex;}
.modal{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  max-width:560px; width:100%; max-height:88vh; overflow-y:auto; padding:26px;
  box-shadow:var(--shadow); animation:pop .18s ease;
}
.modal.wide{max-width:760px;}
@keyframes pop{from{transform:scale(.96); opacity:0;} to{transform:scale(1); opacity:1;}}
.modal-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:18px;}
.modal-close{background:none; border:none; color:var(--text-dim); font-size:1.3rem; cursor:pointer; line-height:1;}
.modal-close:hover{color:var(--red);}

/* calendar */
.cal-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:12px;}
.cal-grid{display:grid; grid-template-columns:repeat(7,1fr); gap:6px; text-align:center;}
.cal-dow{font-size:.72rem; color:var(--text-faint); padding-bottom:4px;}
.cal-day{
  padding:10px 0; border-radius:8px; background:var(--bg-soft); border:1px solid var(--border);
  cursor:pointer; font-family:var(--f-head); font-weight:600; font-size:.88rem;
}
.cal-day:hover{border-color:var(--cyan);}
.cal-day.disabled{opacity:.25; cursor:not-allowed;}
.cal-day.selected{background:var(--violet); border-color:var(--violet); color:#fff;}
.cal-day.today{box-shadow:inset 0 0 0 1px var(--cyan);}
.cal-day.empty{visibility:hidden;}

/* time slots */
.slot-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:8px;}
.slot-btn{
  background:var(--bg-soft); border:1px solid var(--border); border-radius:8px;
  padding:10px 4px; font-size:.82rem; font-family:var(--f-head); cursor:pointer; text-align:center;
}
.slot-btn:hover{border-color:var(--cyan);}
.slot-btn.selected{background:var(--cyan); color:#04222a; border-color:var(--cyan);}

/* table cards */
.table-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
.table-card{
  border-radius:10px; padding:16px; text-align:center; cursor:pointer; border:2px solid var(--border);
  background:var(--bg-soft); transition:.15s;
}
.table-card .dot{width:10px; height:10px; border-radius:50%; margin:0 auto 8px;}
.table-card.available{border-color:rgba(34,197,94,.4);}
.table-card.available .dot{background:var(--green); box-shadow:0 0 10px var(--green);}
.table-card.booked{border-color:rgba(239,68,68,.4); cursor:not-allowed; opacity:.55;}
.table-card.booked .dot{background:var(--red); box-shadow:0 0 10px var(--red);}
.table-card.selected{border-color:var(--purple-sel); background:rgba(168,85,247,.12);}
.table-card.selected .dot{background:var(--purple-sel); box-shadow:0 0 10px var(--purple-sel);}
.table-card .name{font-family:var(--f-head); font-weight:700;}
.table-card .sub{font-size:.72rem; color:var(--text-dim);}
.sub-options{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px;}
.sub-options .opt{
  flex:1; min-width:120px; background:var(--bg-soft); border:1px solid var(--border); border-radius:8px;
  padding:10px; text-align:center; cursor:pointer; font-size:.82rem;
}
.sub-options .opt.selected{border-color:var(--purple-sel); background:rgba(168,85,247,.15);}
.legend{display:flex; gap:18px; font-size:.78rem; color:var(--text-dim); margin-top:14px;}
.legend span{display:inline-flex; align-items:center; gap:6px;}
.legend .dot{width:9px; height:9px; border-radius:50%; display:inline-block;}

/* menu / preorder */
.menu-list{display:flex; flex-direction:column; gap:10px;}
.menu-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:var(--bg-soft); border:1px solid var(--border); border-radius:10px; padding:12px 14px;
}
.menu-row .name{font-weight:600;}
.menu-row .cat{font-size:.7rem; color:var(--text-faint); text-transform:uppercase; letter-spacing:.5px;}
.qty-stepper{display:flex; align-items:center; gap:10px;}
.qty-stepper button{
  width:28px; height:28px; border-radius:50%; border:1px solid var(--border); background:var(--surface-2);
  color:var(--text); cursor:pointer; font-size:1rem; line-height:1;
}
.qty-stepper span{min-width:18px; text-align:center; font-family:var(--f-head);}
.total-bar{
  display:flex; justify-content:space-between; align-items:center; margin-top:16px; padding-top:14px;
  border-top:1px dashed var(--border); font-family:var(--f-head); font-size:1.05rem;
}

/* ---------------- Forms ---------------- */
label{display:block; font-size:.8rem; color:var(--text-dim); margin-bottom:6px; font-family:var(--f-head); letter-spacing:.3px;}
input[type=text],input[type=tel],input[type=password],input[type=number],select,textarea{
  width:100%; background:var(--bg-soft); border:1px solid var(--border); border-radius:8px;
  padding:11px 13px; color:var(--text); font-family:var(--f-body); font-size:.95rem; margin-bottom:16px;
}
input:focus,select:focus,textarea:focus{outline:none; border-color:var(--cyan);}
.field{position:relative;}
.field .pw-toggle{
  position:absolute; right:12px; top:11px; background:none; border:none; cursor:pointer;
  color:var(--text-faint); font-size:1rem;
}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.help-text{font-size:.78rem; color:var(--text-faint); margin-top:-10px; margin-bottom:14px;}

/* ---------------- Badges ---------------- */
.badge{display:inline-flex; align-items:center; gap:5px; padding:4px 11px; border-radius:30px; font-size:.72rem; font-weight:700; font-family:var(--f-head); letter-spacing:.4px;}
.badge-upcoming{background:rgba(251,191,36,.15); color:var(--gold);}
.badge-live{background:rgba(239,68,68,.18); color:var(--red);}
.badge-completed{background:rgba(34,197,94,.15); color:var(--green);}
.badge-pending{background:rgba(251,191,36,.15); color:var(--gold);}
.badge-approved{background:rgba(34,197,94,.15); color:var(--green);}

/* ---------------- Cards: bookings / sessions ---------------- */
.list-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:18px 20px; margin-bottom:14px;}
.list-card.live{border-color:rgba(239,68,68,.5); box-shadow:0 0 0 1px rgba(239,68,68,.15);}
.list-card-head{display:flex; justify-content:space-between; align-items:flex-start; gap:10px; flex-wrap:wrap;}
.list-card-head .meta{font-size:.8rem; color:var(--text-dim);}
.code-pill{
  font-family:var(--f-display); letter-spacing:2px; background:var(--bg-soft); border:1px dashed var(--violet);
  color:var(--cyan); padding:6px 12px; border-radius:8px; font-size:.9rem;
}
.bill-breakdown{margin-top:14px; padding-top:14px; border-top:1px solid var(--border); font-size:.88rem;}
.bill-breakdown .row{display:flex; justify-content:space-between; padding:3px 0; color:var(--text-dim);}
.bill-breakdown .row b{color:var(--text);}
.bill-breakdown .total{font-family:var(--f-head); font-weight:700; color:var(--text); font-size:1rem; border-top:1px dashed var(--border); margin-top:6px; padding-top:8px;}

/* preorder highlight */
.preorder-box{border:1.5px solid var(--gold); border-radius:10px; padding:12px 14px; background:rgba(251,191,36,.07); margin-bottom:14px;}
.preorder-box .tag{font-size:.7rem; color:var(--gold); text-transform:uppercase; letter-spacing:1px; font-weight:700;}

/* ---------------- Admin ---------------- */
.admin-shell{display:flex; min-height:80vh;}
.admin-tabs{display:flex; gap:8px; margin-bottom:24px; flex-wrap:wrap; border-bottom:1px solid var(--border); padding-bottom:0;}
.admin-tab{
  padding:10px 18px; font-family:var(--f-head); font-weight:700; color:var(--text-dim); cursor:pointer;
  border-bottom:2px solid transparent; font-size:.92rem;
}
.admin-tab.active{color:var(--cyan); border-color:var(--cyan);}
.admin-panel{display:none;}
.admin-panel.active{display:block;}

.stats-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:14px; margin-bottom:26px;}
.stat-box{background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px;}
.stat-box .num{font-family:var(--f-display); font-size:1.5rem; color:var(--cyan);}
.stat-box .lbl{font-size:.74rem; color:var(--text-dim); text-transform:uppercase; letter-spacing:.5px;}

.data-table{width:100%; border-collapse:collapse; font-size:.88rem;}
.data-table th,.data-table td{padding:10px 12px; text-align:left; border-bottom:1px solid var(--border);}
.data-table th{color:var(--text-faint); text-transform:uppercase; font-size:.7rem; letter-spacing:.5px; font-family:var(--f-head);}
.table-scroll{overflow-x:auto; -webkit-overflow-scrolling:touch;}
.action-btns{display:flex; gap:6px; flex-wrap:wrap;}

.toast-wrap{position:fixed; bottom:20px; right:20px; z-index:300; display:flex; flex-direction:column; gap:10px;}
.toast{
  background:var(--surface); border:1px solid var(--violet); border-radius:10px; padding:12px 18px;
  font-size:.88rem; box-shadow:var(--shadow); animation:slidein .25s ease; max-width:300px;
}
@keyframes slidein{from{transform:translateX(30px); opacity:0;} to{transform:translateX(0); opacity:1;}}

.empty-state{text-align:center; padding:50px 20px; color:var(--text-faint);}
.empty-state .ic{font-size:2.4rem; margin-bottom:10px;}

footer{border-top:1px solid var(--border); padding:34px 0; color:var(--text-faint); font-size:.85rem;}
footer .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px;}

.auth-shell{max-width:440px; margin:60px auto; padding:0 18px;}
.auth-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:32px;}
.auth-tabs{display:flex; gap:6px; margin-bottom:22px; background:var(--bg-soft); border-radius:30px; padding:4px;}
.auth-tabs a{flex:1; text-align:center; padding:9px 0; border-radius:26px; font-family:var(--f-head); font-weight:700; font-size:.85rem; color:var(--text-dim);}
.auth-tabs a.active{background:var(--violet); color:#fff;}
.alert{padding:12px 14px; border-radius:8px; font-size:.86rem; margin-bottom:16px;}
.alert-ok{background:rgba(34,197,94,.12); color:var(--green); border:1px solid rgba(34,197,94,.3);}
.alert-err{background:rgba(239,68,68,.12); color:var(--red); border:1px solid rgba(239,68,68,.3);}
.alert-info{background:rgba(34,211,238,.1); color:var(--cyan); border:1px solid rgba(34,211,238,.3);}

/* Compact wallet balance + pending-due mini card */
.wallet-mini-card{
  display:flex; gap:14px; flex-wrap:wrap; max-width:680px; margin-bottom:18px;
}
.wallet-mini-card .wmc-item{
  flex:1; min-width:160px; background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 18px; display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.wallet-mini-card .wmc-label{font-family:var(--f-head); font-weight:700; font-size:.85rem; color:var(--text-dim);}
.wallet-mini-card .wmc-amt{font-family:var(--f-display); font-size:1.15rem; font-weight:700;}
.wallet-mini-card .wmc-green{color:var(--green);}
.wallet-mini-card .wmc-red{color:var(--red);}

/* ---------------- Responsive ---------------- */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .stats-grid{grid-template-columns:repeat(3,1fr);}
  .steps{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:680px){
  .navlinks{gap:10px; font-size:.82rem;}
  .grid-3,.grid-2{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .table-grid{grid-template-columns:repeat(2,1fr);}
  .slot-grid{grid-template-columns:repeat(3,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .cal-grid{gap:4px;}
  .modal{padding:18px;}
  .admin-tab{padding:8px 12px; font-size:.82rem;}

  .hero{padding:28px 0 18px;}
  .hero-grid{gap:20px;}
  .hero .lead{font-size:.92rem; margin:10px 0 18px;}
  .hero-cta{gap:10px;}
  .hero-visual{aspect-ratio:16/11;}
  .section{padding:34px 0;}
}

