/* =========================
   8 Bull Billiard Lounge
   One-page profile website
   ========================= */
:root{
  --bg: #0b0f14;
  --bg2:#0f1620;
  --card:#0f1823;
  --card2:#121d2b;
  --text:#e7eef7;
  --muted:#b6c2d1;
  --muted2:#8ea0b6;
  --line: rgba(255,255,255,.10);
  --accent:#32d583; /* felt green */
  --accent2:#66ffcc;
  --warn:#ffb020;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 20px;
  --radius2: 28px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(50,213,131,.18), transparent 60%),
    radial-gradient(1000px 700px at 85% 0%, rgba(102,255,204,.12), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2) 45%, var(--bg) 100%);
}

a{color:inherit; text-decoration:none}
code{background:rgba(255,255,255,.06); padding:.12rem .35rem; border-radius:10px; border:1px solid var(--line)}
strong{font-weight:700}
img{max-width:100%; display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.muted{color:var(--muted)}
.small{font-size:.92rem}
.mt8{margin-top:8px}
.mt16{margin-top:16px}

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 20, .68);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  gap:14px;
}
.topbar__left,.topbar__right{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.topbar__link{
  font-size:.92rem;
  opacity:.95;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.btn-link{cursor:pointer; color:inherit}
.topbar__link:hover{border-color:rgba(255,255,255,.18)}

/* Header */
.header{
  position: sticky;
  top:44px;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 20, .56);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand__logo{width:44px; height:44px}
.brand__name{font-weight:800; letter-spacing:.2px}
.brand__tag{display:block; font-size:.85rem; color:var(--muted2)}
.nav{
  display:flex;
  align-items:center;
  gap:18px;
  font-weight:600;
  color:rgba(231,238,247,.92);
}
.nav a{opacity:.9}
.nav a:hover{opacity:1; color:var(--accent2)}
.hamburger{
  display:none;
  width:46px; height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
.hamburger span{
  display:block;
  width:22px; height:2px;
  margin:5px auto;
  background: rgba(231,238,247,.9);
  border-radius:2px;
}

/* Hero */
.hero{
  padding:42px 0 10px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:34px;
  align-items:center;
}
.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(231,238,247,.92);
  width: fit-content;
}
h1{
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height:1.05;
  margin:14px 0 12px;
}
.accent{color:var(--accent2)}
.lead{
  font-size:1.08rem;
  line-height:1.6;
  color:rgba(231,238,247,.86);
  max-width: 52ch;
}
.hero__cta{
  display:flex;
  gap:12px;
  margin:18px 0 18px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 16px;
  border:1px solid rgba(50,213,131,.35);
  background: linear-gradient(180deg, rgba(50,213,131,.22), rgba(50,213,131,.10));
  color: var(--text);
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(102,255,204,.65)}
.btn--ghost{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  box-shadow:none;
}
.btn--block{width:100%}
.btn--sm{padding:10px 12px; border-radius:14px; font-size:.95rem}

.hero__badges{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top: 8px;
}
.badge{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.badge__icon{font-size:1.2rem}
.badge__txt strong{display:block}
.badge__txt span{display:block; font-size:.92rem}

.hero__visual{
  position:relative;
  min-height: 420px;
}
.hero__img{
  width:100%;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
}
.hero__card{
  position:absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  padding:16px 16px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(11, 15, 20, .68);
  backdrop-filter: blur(10px);
}
.hero__cardRow{display:flex; align-items:center; justify-content:space-between; gap:10px}
.hero__cardRow--big{margin:10px 0}
.chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(102,255,204,.32);
  background: rgba(102,255,204,.08);
  color: rgba(231,238,247,.92);
  font-weight:700;
  font-size:.9rem;
}
.price{font-size:1.4rem; font-weight:800}

/* Section */
.section{padding:64px 0}
.section--soft{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head{margin-bottom:18px}
.section__head h2{margin:0 0 8px; font-size: clamp(1.55rem, 2.4vw, 2.1rem)}
.section__head--split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.section__head p{margin:0; line-height:1.6}
.actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

/* Grid & Card */
.grid{display:grid; gap:14px}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}
.grid--4{grid-template-columns: repeat(4, minmax(0,1fr))}

.card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.card h3{margin:0 0 10px; font-size:1.15rem}
.card p{margin:0; line-height:1.6; color:rgba(231,238,247,.84)}
.card--media{padding:0; overflow:hidden}
.card__media{width:100%; height:160px; object-fit:cover; border-bottom:1px solid rgba(255,255,255,.10)}
.card__body{padding:16px}

.list{margin:10px 0 0; padding-left:18px; color:rgba(231,238,247,.86); line-height:1.6}
.list li{margin:4px 0}

.stat{display:flex; align-items:center; gap:12px; padding:14px}
.stat__icon{font-size:1.35rem}
.stat__title{font-weight:800}

/* Toggle */
.toggle{
  display:inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  overflow:hidden;
  background: rgba(255,255,255,.03);
}
.toggle__btn{
  padding:10px 14px;
  border:none;
  background: transparent;
  color: rgba(231,238,247,.88);
  cursor:pointer;
  font-weight:800;
}
.toggle__btn.is-active{
  background: rgba(102,255,204,.12);
  color: rgba(231,238,247,.98);
}

/* Pricing */
.pricing__card{position:relative}
.pricing__price{font-size:1.55rem; font-weight:900; margin:10px 0 6px}
.pricing__card--featured{
  border-color: rgba(102,255,204,.35);
  box-shadow: 0 18px 50px rgba(0,0,0,.38);
  background:
    radial-gradient(900px 450px at 15% 0%, rgba(102,255,204,.10), transparent 60%),
    rgba(255,255,255,.03);
}
.ribbon{
  position:absolute;
  top:14px; right:14px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,15,20,.7);
  font-size:.86rem;
  font-weight:900;
}
.note{
  margin-top:14px;
  padding:14px 16px;
  border-radius: var(--radius);
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
  line-height:1.6;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.gallery__item{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.gallery__item img{width:100%; height:100%; object-fit:cover}
.gallery__item:nth-child(1){grid-column: span 6}
.gallery__item:nth-child(2){grid-column: span 6}
.gallery__item:nth-child(3){grid-column: span 4}
.gallery__item:nth-child(4){grid-column: span 4}
.gallery__item:nth-child(5){grid-column: span 4}
.gallery__item:nth-child(6){grid-column: span 12}

/* Quotes */
.quote p{margin:0 0 10px; font-size:1.03rem}
.quote__by{color:var(--muted2); font-weight:700}

/* FAQ */
.faq{display:grid; gap:12px}
.faq__item{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding:12px 14px;
}
.faq__item summary{
  cursor:pointer;
  font-weight:900;
  outline:none;
}
.faq__content{margin-top:10px; color:rgba(231,238,247,.84); line-height:1.6}

/* KV list */
.kv{display:grid; gap:10px; margin-top:10px}
.kv__row{display:flex; justify-content:space-between; gap:14px; padding:10px 12px; border-radius: 16px; border:1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02)}

/* Form */
.form{display:grid; gap:10px; margin-top:10px}
.form__row label{display:block; font-weight:800; margin-bottom:6px}
.form__row input,.form__row select,.form__row textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(11,15,20,.55);
  color: var(--text);
  outline:none;
}
.form__row input:focus,.form__row select:focus,.form__row textarea:focus{
  border-color: rgba(102,255,204,.45);
}

/* Footer */
.footer{
  padding:24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(11, 15, 20, .65);
}
.footer__wrap{display:flex; justify-content:space-between; gap:16px; align-items:center; flex-wrap:wrap}
.footer__left{display:flex; align-items:center; gap:12px}
.footer__logo{width:38px; height:38px; opacity:.95}
.footer__brand{font-weight:900}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,15,20,.78);
  backdrop-filter: blur(10px);
  color: rgba(231,238,247,.95);
  font-weight:800;
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 80;
}
.toast.is-show{
  opacity:1;
  transform: translateX(-50%) translateY(-2px);
}

/* Dot */
.dot{width:10px; height:10px; border-radius:999px; display:inline-block}
.dot--green{background: var(--accent); box-shadow: 0 0 0 4px rgba(50,213,131,.14)}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:18px}
  .hero__visual{min-height:unset}
  .grid--3{grid-template-columns: repeat(2, minmax(0,1fr))}
  .grid--4{grid-template-columns: repeat(2, minmax(0,1fr))}
  .nav{display:none}
  .hamburger{display:block}
  .nav.is-open{
    display:flex;
    position:absolute;
    right:20px;
    top:62px;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:14px;
    border-radius: 18px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(11,15,20,.86);
    box-shadow: var(--shadow);
    width:min(320px, calc(100vw - 40px));
  }
}
@media (max-width: 640px){
  .grid--2,.grid--3{grid-template-columns: 1fr}
  .hero__badges{grid-template-columns: 1fr}
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5),
  .gallery__item:nth-child(6){grid-column: span 12}
}
