:root{
  --bg:#030405;
  --panel:rgba(13,16,22,.88);
  --panel2:rgba(24,27,36,.92);
  --line:rgba(255,255,255,.13);
  --text:#f8f8f8;
  --muted:#aeb5c2;
  --red:#e01822;
  --red2:#ff2c35;
  --green:#22c55e;
  --orange:#f59e0b;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  min-height:100vh;
  background:
    radial-gradient(circle at top left,rgba(224,24,34,.28),transparent 34%),
    radial-gradient(circle at bottom right,rgba(224,24,34,.14),transparent 35%),
    linear-gradient(rgba(0,0,0,.42),rgba(0,0,0,.82)),
    url('/hitairsoft-woods-bg.png');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
}

.page{
  width:min(1120px,calc(100% - 32px));
  margin:0 auto;
  padding:36px 0 70px;
}

.hero{padding:64px 0 36px}
.hero.compact{padding:38px 0 22px}

.badge{
  display:inline-block;
  padding:9px 14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(224,24,34,.18);
  border-radius:999px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:12px;
}

h1{
  font-size:clamp(38px,8vw,76px);
  line-height:.92;
  margin:18px 0 14px;
  text-transform:uppercase;
  max-width:850px;
}

h2{margin:0;font-size:26px}
h3{margin:18px 0 8px;font-size:24px}
p{color:var(--muted);font-size:17px;max-width:720px}

.panel{
  border:1px solid var(--line);
  background:linear-gradient(135deg,var(--panel),rgba(7,8,12,.82));
  border-radius:24px;
  padding:24px;
  margin-top:20px;
  box-shadow:0 25px 80px rgba(0,0,0,.35);
  backdrop-filter:blur(10px);
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:18px;
}

.small{color:var(--muted);font-size:14px}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}

.card{
  background:linear-gradient(180deg,var(--panel2),rgba(9,10,15,.95));
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  position:relative;
  overflow:hidden;
}

.card:before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,rgba(224,24,34,.24),transparent 45%);
  pointer-events:none;
}

.card>*{position:relative}
.card.full{opacity:.65}

.card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.tag,.status{
  border-radius:999px;
  padding:7px 10px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  font-size:13px;
  font-weight:700;
}

.status{
  background:rgba(34,197,94,.15);
  border-color:rgba(34,197,94,.35);
}

.fulltag{
  background:rgba(224,24,34,.2);
  border-color:rgba(224,24,34,.45);
}

.counter{
  height:10px;
  background:rgba(255,255,255,.1);
  border-radius:999px;
  overflow:hidden;
  margin:18px 0 8px;
}

.counter div{
  height:100%;
  background:linear-gradient(90deg,var(--red),var(--red2));
}

.spots{color:var(--muted);font-size:14px}

.prices{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:16px 0;
}

.prices span{
  padding:8px 10px;
  background:rgba(255,255,255,.07);
  border-radius:12px;
  color:#fff;
}

button,.linkbtn{
  display:inline-block;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,var(--red),#7a090e);
  color:white;
  padding:13px 16px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
}

button:disabled{
  cursor:not-allowed;
  background:#444;
}

.ghost{
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
}

.danger{
  background:rgba(224,24,34,.24);
  border:1px solid rgba(224,24,34,.4);
  margin-left:8px;
}

.smallbtn{
  padding:10px 12px;
  font-size:14px;
  margin-left:8px;
}

.pay{
  width:100%;
  margin-top:10px;
}

.form{display:grid;gap:14px}

.grid,.admin-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.admin-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

label{
  display:block;
  margin-bottom:7px;
  font-size:14px;
  color:var(--muted);
  font-weight:700;
}

input{
  width:100%;
  padding:14px;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
  border-radius:14px;
  color:#fff;
  outline:none;
}

input:focus{
  border-color:rgba(255,44,53,.7);
}

.choice-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.choice{
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
}

.choice.active{
  background:linear-gradient(135deg,var(--red),#7a090e);
  border-color:rgba(255,44,53,.6);
}

.selected{
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.06);
  margin-bottom:16px;
  color:var(--muted);
}

.selected strong{color:#fff}
.message{min-height:22px;color:var(--orange)}
.hidden{display:none!important}

.loading,.empty{
  color:var(--muted);
  padding:24px;
  border:1px dashed var(--line);
  border-radius:16px;
}

.table-wrap{overflow-x:auto}

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

th,td{
  text-align:left;
  padding:12px;
  border-bottom:1px solid var(--line);
}

th{
  color:#fff;
  background:rgba(255,255,255,.07);
}

td{color:var(--muted)}
.top-space{margin-top:28px}

@media(max-width:720px){
  .section-head,.grid,.admin-grid,.choice-row{
    grid-template-columns:1fr;
    display:grid;
  }

  .section-head{align-items:start}
  .panel{padding:18px}

  body{
    background-position:center top;
    background-attachment:scroll;
  }
}

select{
  width:100%;
  padding:14px;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
  border-radius:14px;
  color:#fff;
  outline:none;
}

select option{
  background:#11141c;
  color:#fff;
}

details{
  margin-top:14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.04);
}

summary{
  cursor:pointer;
  color:#fff;
  font-weight:800;
}

.checkline{
  display:flex;
  gap:10px;
  align-items:center;
  margin:10px 0;
}

.checkline input{
  width:auto;
}
