/* ================================================
   style.css — Golden VIP Numbers
   Custom styles — Bootstrap 5 is loaded before this
   Edit freely to customise the look
================================================ */

/* ── CSS VARIABLES (edit these to retheme) ── */
:root {
  --gold:         #C9A84C;
  --gold-light:   #F0D080;
  --gold-dark:    #8B6914;
  --bg:           #0d0a05;
  --bg2:          #131008;
  --card-bg:      #1c1810;
  --border:       rgba(201,168,76,0.18);
  --text:         #F0EEE8;
  --muted:        #7a7060;
  --radius:       12px;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── NAVBAR ── */
.vip-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  height: 90px;
  background: rgba(13,10,5,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-weight: 900; font-size: 1.15rem; color: #fff;
  flex-shrink: 0;
}
.logo-text span:first-child {
  font-family: 'Cinzel', serif; font-size: .95rem; font-weight: 700;
  color: var(--gold); letter-spacing: .05em; display: block; line-height: 1.1;
}
.logo-text span:last-child {
  font-size: .65rem; color: rgba(201,168,76,.55);
  letter-spacing: .12em; text-transform: uppercase; display: block;
}
.vip-navbar .nav-link {
  color: rgba(255,255,255,.65) !important;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.vip-navbar .nav-link:hover { color: var(--gold) !important; }
.btn-phone {
  display: flex; align-items: center; gap: 7px;
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.45);
  border-radius: 999px; padding: 7px 16px;
  color: var(--gold); font-size: .8rem; font-weight: 700; text-decoration: none;
  transition: background .2s;
}
.btn-phone:hover { background: rgba(201,168,76,.22); color: var(--gold); }
.btn-phone svg { width: 13px; height: 13px; }
.btn-city {
  display: flex; align-items: center; gap: 6px;
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.45);
  border-radius: 999px; padding: 7px 14px;
  color: var(--gold); font-size: .8rem; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.btn-city:hover { background: rgba(201,168,76,.22); }
.navbar-toggler { border-color: rgba(201,168,76,.4); }
.navbar-toggler-icon { filter: invert(70%) sepia(40%) saturate(500%) hue-rotate(5deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding-top: 62px;
  position: relative; overflow: hidden; background: var(--bg);
}
.hero-bg {
  background-image: url(bg.png) !important;
  background-size: cover !important;
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 65% 80% at 78% 50%, rgba(180,100,10,.40) 0%, transparent 60%),
    radial-gradient(ellipse 35% 50% at 82% 42%, rgba(240,150,20,.22) 0%, transparent 50%),
    linear-gradient(to right, #0a0805 30%, #1a1208 65%, #2a1a06 100%);
}
.bg-num-left {
  position: absolute; left: 0; top: 62px; bottom: 0; width: 150px;
  z-index: 1; pointer-events: none; overflow: hidden;
}
.bg-num-left span {
  position: absolute; font-family: 'Cinzel', serif; font-weight: 900;
  color: rgba(201,168,76,.07); line-height: 1; user-select: none;
}
.bg-num-left span:first-child { font-size: 6.5rem; top: 5%; left: -8px; }
.bg-num-left span:last-child  { font-size: 4.5rem; bottom: 8%; left: 12px; }
.bg-num-right {
  position: absolute; right: 0; top: 62px; bottom: 0; width: 42%;
  z-index: 1; pointer-events: none; overflow: hidden;
}
.rn {
  position: absolute; font-family: 'Cinzel', serif; font-weight: 700;
  color: rgba(201,168,76,.45); text-shadow: 0 0 18px rgba(220,150,30,.5);
  animation: floatNum 6s ease-in-out infinite;
}
.rn:nth-child(1)  { font-size:3.4rem; top:8%;  right:40%; animation-delay:0s   }
.rn:nth-child(2)  { font-size:2.6rem; top:13%; right:18%; animation-delay:.5s; color:rgba(201,168,76,.3) }
.rn:nth-child(3)  { font-size:3.8rem; top:22%; right:5%;  animation-delay:1s   }
.rn:nth-child(4)  { font-size:2rem;   top:36%; right:44%; animation-delay:1.5s }
.rn:nth-child(5)  { font-size:2.8rem; top:50%; right:28%; animation-delay:.8s  }
.rn:nth-child(6)  { font-size:2.4rem; top:63%; right:10%; animation-delay:1.2s }
.rn:nth-child(7)  { font-size:1.9rem; top:73%; right:40%; animation-delay:.3s  }
.rn:nth-child(8)  { font-size:1.5rem; top:82%; right:22%; animation-delay:.7s  }
.rn:nth-child(9)  { font-size:2.1rem; top:29%; right:54%; animation-delay:1.8s }
.rn:nth-child(10) { font-size:3rem;   top:17%; right:50%; animation-delay:.4s  }
@keyframes floatNum { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-12px) } }

.glow-ring {
  position: absolute; right: 6%; top: 50%; transform: translateY(-48%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220,140,20,.3) 0%, rgba(180,90,10,.15) 45%, transparent 70%);
  z-index: 1; pointer-events: none; animation: pulseRing 4s ease-in-out infinite;
}
@keyframes pulseRing {
  0%,100%{ transform:translateY(-48%) scale(1); opacity:.85 }
  50%    { transform:translateY(-48%) scale(1.07); opacity:1 }
}
.star-deco { position:absolute; z-index:2; pointer-events:none; color:rgba(201,168,76,.28); animation:spinStar 10s linear infinite; }
.star-deco.s1 { font-size:2rem; left:4.5%; top:52% }
.star-deco.s2 { font-size:1rem; left:2%;   top:33%; animation-direction:reverse; animation-duration:15s }
@keyframes spinStar { to{ transform:rotate(360deg) } }

.hero-inner {
  position: relative; z-index: 2;
  min-height: calc(100vh - 62px);
  display: flex; align-items: center;
}
.hero-title { font-family: 'Cinzel', serif; line-height: 1.08; margin-bottom: 10px; }
.hero-title .t1 {
  display: block; font-size: clamp(1.9rem,3vw,2.9rem);
  font-weight: 400; color: #fff; letter-spacing: .04em;
}
.hero-title .t2 {
  display: block; font-size: clamp(2.3rem,4vw,3.5rem);
  font-weight: 700; letter-spacing: .06em;
  background: linear-gradient(135deg,#F0D080 0%,#C9A84C 55%,#A07830 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-tag {
  font-size: .73rem; font-weight: 700; letter-spacing: .22em;
  color: rgba(201,168,76,.8); text-transform: uppercase;
  margin: 14px 0 20px; display: flex; align-items: center; gap: 10px;
}
.hero-tag::before, .hero-tag::after { content: '✦'; color: rgba(201,168,76,.55); font-size: .68rem; }
.btn-calc {
  display: inline-block; margin-bottom: 26px;
  background: rgba(201,168,76,.12); border: 1.5px solid rgba(201,168,76,.55);
  border-radius: 999px; padding: 11px 28px;
  color: #E8C860; font-size: .87rem; font-weight: 700; letter-spacing: .06em;
  text-decoration: none; transition: all .25s;
}
.btn-calc:hover { background: rgba(201,168,76,.25); color: #E8C860; }

.hero-right { display: flex; align-items: flex-end; justify-content: center; min-height: calc(100vh - 62px); }
.man-img-wrap { height: 88vh; max-height: 680px; display: flex; align-items: flex-end; justify-content: center; }
.man-img-wrap img { height: 100%; width: auto; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 40px rgba(220,150,20,.35)); }
.man-placeholder-svg { opacity: .1; }

/* ── SEARCH BOX ── */
.search-box {
  background: rgba(10,8,3,.85); border: 1px solid rgba(201,168,76,.22);
  border-radius: 16px; padding: 24px 26px; backdrop-filter: blur(14px);
}
.mode-tabs { display: flex; margin-bottom: 20px; }
.mode-tab {
  padding: 8px 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: transparent; color: rgba(255,255,255,.38);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  cursor: pointer; text-transform: uppercase; transition: all .22s;
}
.mode-tab.active { background: rgba(201,168,76,.14); border-color: rgba(201,168,76,.52); color: #E8C860; }
.panel { display: none; }
.panel.active { display: block; }
.radio-row { display: flex; gap: 20px; margin-bottom: 14px; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: .83rem; color: rgba(255,255,255,.72); user-select: none; }
.radio-label input[type="radio"] { width: 15px; height: 15px; accent-color: var(--gold); cursor: pointer; }

.field-label { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(201,168,76,.68); margin-bottom: 5px; display: block; }
.field-input {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(201,168,76,.2);
  border-radius: 8px; padding: 11px 14px; color: #fff;
  font-size: .9rem; outline: none; transition: border-color .2s;
}
.field-input::placeholder { color: rgba(255,255,255,.26); }
.field-input:focus { border-color: rgba(201,168,76,.55); box-shadow: none; }

/* Override Bootstrap form-control inside search box */
.search-box .form-control {
  background: rgba(255,255,255,.06) !important; border: 1px solid rgba(201,168,76,.2) !important;
  border-radius: 8px; color: #fff !important; font-size: .9rem;
  padding: 11px 14px;
}
.search-box .form-control::placeholder { color: rgba(255,255,255,.26); }
.search-box .form-control:focus { border-color: rgba(201,168,76,.55) !important; box-shadow: none !important; }

.btn-search-hero {
  width: 100%; margin-top: 6px;
  background: linear-gradient(135deg,#D4A840 0%,#B8922A 55%,#9A7820 100%);
  border: none; border-radius: 8px; padding: 13px;
  color: #1a1208; font-size: .86rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 4px 20px rgba(201,168,76,.28); transition: opacity .2s, transform .15s;
}
.btn-search-hero:hover { opacity: .9; transform: translateY(-1px); }
.trust-bar { margin-top: 24px; display: flex; gap: 26px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: rgba(255,255,255,.5); }
.trust-item .chk { color: var(--gold); font-weight: 700; }

/* ── RESULTS SECTION ── */
.results-section { padding: 40px 0 60px; }

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 74px; }
.filter-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.filter-title {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.filter-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.cat-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chip {
  padding: 5px 11px; border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: .75rem; font-weight: 500;
  cursor: pointer; transition: all .18s;
}
.cat-chip.active, .cat-chip:hover { background: rgba(201,168,76,.14); border-color: var(--gold); color: var(--gold); }

.sum-input {
  background: var(--bg2) !important; border: 1px solid var(--border) !important;
  border-radius: 8px; color: var(--text) !important; font-size: .88rem;
}
.sum-input:focus { border-color: var(--gold) !important; box-shadow: none !important; }

.sort-btn {
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  color: var(--muted); font-size: .83rem; padding: 9px 14px;
  cursor: pointer; text-align: left; transition: all .18s; width: 100%;
}
.sort-btn.active, .sort-btn:hover { background: rgba(201,168,76,.1); border-color: var(--gold); color: var(--gold); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; border: none; border-radius: 8px;
  padding: 8px 14px; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.btn-gold-outline {
  background: transparent; color: var(--muted); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px; font-size: .8rem; cursor: pointer;
  width: 100%; transition: all .18s;
}
.btn-gold-outline:hover { color: var(--text); border-color: var(--muted); }

.price-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
input[type="range"] { accent-color: var(--gold); }

/* ── NUMBER GRID ── */
.results-count { font-size: .9rem; color: var(--muted); }
.results-count strong { color: var(--gold); font-size: 1.05rem; }

.number-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 9px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden; height: 100%;
  animation: cardIn .3s ease forwards;
}
.number-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.number-card:hover { transform: translateY(-3px); border-color: rgba(201,168,76,.4); box-shadow: 0 10px 36px rgba(201,168,76,.1); }
.number-card:hover::before { opacity: 1; }
@keyframes cardIn { from{ opacity:0; transform:translateY(16px) } to{ opacity:1; transform:translateY(0) } }

.card-badge { background: rgba(201,168,76,.12); color: var(--gold); font-size: .65rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; letter-spacing: .05em; text-transform: uppercase; }
.card-operator { font-size: .7rem; color: var(--muted); font-weight: 500; }
.card-number { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 700; letter-spacing: .05em; color: #fff; }
.card-stars { color: var(--gold); font-size: .7rem; letter-spacing: 1px; }
.card-meta { display: flex; gap: 12px; }
.card-meta-item { font-size: .76rem; color: var(--muted); }
.card-meta-item strong { color: var(--text); }
.card-price { font-family: 'Cinzel', serif; font-size: 1.05rem; font-weight: 700; color: var(--gold-light); }
.card-price .reg { font-size: .7rem; color: var(--muted); font-family: 'Lato', sans-serif; text-decoration: line-through; margin-left: 6px; }
.card-actions { display: flex; gap: 7px; margin-top: auto; }
.btn-cart {
  flex: 1; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; border: none; border-radius: 7px; padding: 8px;
  font-size: .72rem; font-weight: 700; cursor: pointer; transition: opacity .2s;
}
.btn-cart:hover { opacity: .85; }
.btn-enquire {
  flex: 1; background: transparent; border: 1px solid var(--border); color: var(--muted);
  border-radius: 7px; padding: 8px; font-size: .72rem; cursor: pointer;
  transition: all .2s; text-decoration: none; display: flex; align-items: center; justify-content: center;
}
.btn-enquire:hover { border-color: var(--gold); color: var(--gold); }

/* ── STATES ── */
.no-results { text-align: center; padding: 60px 24px; color: var(--muted); }
.no-results h3 { color: var(--text); margin-bottom: 8px; font-size: 1.2rem; }

.skeleton-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); height: 220px;
  position: relative; overflow: hidden;
}
.skeleton-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,.06) 50%, transparent 100%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { 0%{ transform:translateX(-100%) } 100%{ transform:translateX(100%) } }

.scroll-loader { display: none; justify-content: center; align-items: center; gap: 10px; padding: 30px; color: var(--muted); font-size: .88rem; }
.scroll-loader.visible { display: flex; }
.mini-spinner { width: 22px; height: 22px; border: 2px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: spin .6s linear infinite; flex-shrink: 0; }
@keyframes spin { to{ transform:rotate(360deg) } }

.end-msg { text-align: center; padding: 24px; color: var(--muted); font-size: .82rem; display: none; }
.end-msg.visible { display: block; }

/* ── TOAST ── */
.toast-vip {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--card-bg); border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 12px 20px; font-size: .88rem; color: var(--text);
  z-index: 9999; transform: translateY(80px); opacity: 0; pointer-events: none;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.toast-vip.show { transform: translateY(0); opacity: 1; }

/* ── FOOTER ── */
.vip-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 0 24px; }
.vip-footer h5 { font-family: 'Cinzel', serif; color: var(--gold-light); }
.vip-footer p, .vip-footer li { color: var(--muted); font-size: .85rem; }
.vip-footer a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.vip-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; font-size: .8rem; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .sidebar { position: static; }
  .bg-num-right { display: none; }
  .glow-ring { width: 260px; height: 260px; }
  .hero-right { min-height: 260px; }
  .man-img-wrap { height: 260px; }
}
@media (max-width: 575px) {
  .results-section { padding: 24px 0 40px; }
}

/* Force 3-column grid */
#numbersGrid .col {
  width: 33.3333% !important;
  flex: 0 0 33.3333% !important;
  max-width: 33.3333% !important;
}

/* 2 columns on tablet */
@media (max-width: 768px) {
  #numbersGrid .col {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* 1 column on mobile */
@media (max-width: 480px) {
  #numbersGrid .col {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}