@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@600;700;800&display=swap");

:root {
  --bg: #0b0714;
  --surface: #141020;
  --surface-2: #1c1630;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f3ff;
  --muted: #aaa1bb;
  --lime: #b7ff3c;
  --purple: #a867ff;
  --cyan: #36e7ff;
  --pink: #ff4fd8;
  --danger: #ff5574;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --tg-bg: var(--bg);
  --tg-text: var(--text);
  --tg-hint: var(--muted);
  --tg-link: var(--lime);
  --tg-button: var(--lime);
  --tg-button-text: #100b18;
  --tg-secondary-bg: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--tg-text, var(--text));
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 103, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(54, 231, 255, 0.08), transparent 25rem),
    var(--tg-bg, var(--bg));
  font-family: "Manrope", system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: var(--lime); text-decoration: none; }
a:hover { color: #d5ff8c; }
img { max-width: 100%; }
h1, h2, h3 { font-family: "Unbounded", "Manrope", sans-serif; letter-spacing: -0.035em; }
p { color: var(--tg-hint, var(--muted)); line-height: 1.75; }

.age-ribbon {
  position: fixed; z-index: 1100; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--lime);
  border-radius: 50%; color: var(--lime); background: rgba(11, 7, 20, .88); backdrop-filter: blur(10px);
  font-weight: 900; box-shadow: 0 0 24px rgba(183, 255, 60, .25);
}

.site-nav { background: rgba(11, 7, 20, .74); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); padding: .8rem 0; }
.navbar-brand img { display: block; }
.navbar-toggler { border-color: var(--line); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(183, 255, 60, .15); }
.nav-link { color: var(--muted); font-weight: 700; }
.nav-link:hover { color: var(--text); }
.flash-stack { position: relative; z-index: 20; }
.flash-stack .alert { margin-top: 1rem; border: 1px solid currentColor; border-radius: 18px; box-shadow: var(--shadow); }

.btn { border-radius: 13px; font-weight: 800; padding: .72rem 1.15rem; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-neon { border-color: var(--tg-button, var(--lime)); color: var(--tg-button-text, #100b18); background: var(--tg-button, var(--lime)); box-shadow: 0 8px 25px rgba(183, 255, 60, .18); }
.btn-neon:hover, .btn-neon:focus { color: #100b18; background: #ccff78; border-color: #ccff78; box-shadow: 0 12px 32px rgba(183, 255, 60, .28); }
.btn-neon:disabled { color: #7f7889; border-color: #302b3a; background: #25202d; box-shadow: none; transform: none; }
.btn-outline-neon { color: var(--lime); border: 1px solid rgba(183, 255, 60, .5); background: rgba(183, 255, 60, .03); }
.btn-outline-neon:hover { color: #100b18; background: var(--lime); border-color: var(--lime); }

.hero-section { position: relative; padding: 5.5rem 0 3.5rem; min-height: 680px; display: flex; align-items: center; }
.hero-section::before { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 4rem; align-items: center; }
.eyebrow { display: block; margin-bottom: .8rem; color: var(--cyan); font-size: .78rem; line-height: 1.3; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { max-width: 800px; margin: 0 0 1.4rem; font-size: clamp(2.75rem, 5.7vw, 5.7rem); line-height: 1.02; }
.hero-copy h1 span { color: var(--lime); text-shadow: 0 0 32px rgba(183, 255, 60, .2); }
.hero-copy > p { max-width: 680px; margin-bottom: 2rem; font-size: 1.16rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.hero-notes span::first-letter { color: var(--lime); }
.meme-banner { position: relative; min-height: 480px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 42% 58% 52% 48% / 43% 39% 61% 57%; background: linear-gradient(145deg, rgba(168, 103, 255, .15), rgba(54, 231, 255, .05)); box-shadow: inset 0 0 80px rgba(168, 103, 255, .08), var(--shadow); }
.meme-banner img { position: relative; z-index: 2; width: 82%; filter: drop-shadow(0 30px 28px rgba(0,0,0,.3)); animation: floating 4.5s ease-in-out infinite; }
.orbit { position: absolute; border: 1px solid rgba(183,255,60,.28); border-radius: 50%; animation: spin 15s linear infinite; }
.orbit::after { content: "✦"; position: absolute; top: -10px; left: 50%; color: var(--lime); }
.orbit-one { width: 90%; height: 68%; transform: rotate(-22deg); }
.orbit-two { width: 65%; height: 98%; transform: rotate(32deg); animation-direction: reverse; }
.speech { position: absolute; z-index: 3; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: rgba(20, 16, 32, .9); box-shadow: var(--shadow); font-weight: 800; }
.speech-one { top: 12%; left: -4%; transform: rotate(-5deg); }
.speech-two { right: -6%; bottom: 14%; transform: rotate(4deg); }
@keyframes floating { 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(338deg); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }

.section-pad { padding: 4.8rem 0; }
.surface-section { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 3rem); }
.section-heading p { margin: .5rem 0 0; }
.result-count { color: var(--muted); }

.category-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.category-tile { display: flex; flex-direction: column; min-height: 170px; padding: 1.35rem; border: 1px solid var(--line); border-radius: 24px; color: var(--text); background: linear-gradient(145deg, var(--surface-2), var(--surface)); transition: transform .25s, border-color .25s, box-shadow .25s; }
.category-tile:hover { color: var(--text); transform: translateY(-6px) rotate(-1deg); border-color: rgba(183,255,60,.45); box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.category-tile > span { font-size: 2.2rem; margin-bottom: auto; }
.category-tile strong { font-family: "Unbounded"; font-size: 1.1rem; }
.category-tile small { margin-top: .3rem; color: var(--muted); }

.service-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: var(--tg-secondary-bg, var(--surface)); box-shadow: 0 12px 36px rgba(0,0,0,.17); transition: transform .25s, border-color .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(168,103,255,.5); box-shadow: 0 24px 55px rgba(0,0,0,.32); }
.service-card__image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.service-card:hover .service-card__image img { transform: scale(1.055); }
.featured-chip { position: absolute; top: 12px; left: 12px; z-index: 2; padding: .42rem .7rem; border: 1px solid rgba(255,255,255,.12); border-radius: 99px; color: #fff; background: rgba(11,7,20,.78); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 900; }
.service-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem; }
.service-card__body h3 { margin: .3rem 0 .7rem; font-size: 1.02rem; line-height: 1.35; }
.service-card__body h3 a { color: var(--text); }
.service-card__body p { display: -webkit-box; min-height: 4.5em; margin-bottom: 1rem; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: .88rem; line-height: 1.55; }
.category-chip { display: inline-flex; width: fit-content; padding: .33rem .6rem; border-radius: 99px; color: var(--cyan); background: rgba(54,231,255,.08); font-size: .72rem; font-weight: 800; }
.status-pill, .order-status { display: inline-flex; align-items: center; width: fit-content; padding: .34rem .63rem; border-radius: 99px; font-size: .7rem; font-weight: 900; white-space: nowrap; }
.status-pill::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status-available { color: var(--lime); background: rgba(183,255,60,.09); }
.status-unavailable { color: #938b9f; background: rgba(147,139,159,.1); }
.price-row { margin-top: auto; margin-bottom: 1rem; }
.price-row strong { display: block; color: var(--lime); font-family: "Unbounded"; font-size: 1.3rem; }
.price-row small { color: var(--muted); font-size: .68rem; }
.grid-actions { grid-template-columns: 1fr 1fr; gap: .55rem; }

.filter-panel { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; align-items: center; gap: .8rem; margin-bottom: 2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(20,16,32,.76); box-shadow: var(--shadow); }
.form-control, .form-select, .input-group-text { min-height: 48px; border-color: var(--line); border-radius: 12px; color: var(--text); background-color: rgba(255,255,255,.04); }
.form-control:focus, .form-select:focus { color: var(--text); border-color: var(--purple); background: rgba(255,255,255,.055); box-shadow: 0 0 0 .22rem rgba(168,103,255,.13); }
.form-control::placeholder { color: #756d81; }
.input-group > .input-group-text { border-radius: 12px 0 0 12px; color: var(--muted); }
.input-group > .form-control { border-radius: 0 12px 12px 0; }
.filter-panel .form-check { display: flex; align-items: center; gap: .5rem; min-width: 165px; margin: 0; }
.form-check-input { border-color: #5a5165; background-color: #292231; }
.form-check-input:checked { border-color: var(--lime); background-color: var(--lime); }
.pagination .page-link { color: var(--text); border-color: var(--line); background: var(--surface); }
.pagination .active .page-link { color: #100b18; border-color: var(--lime); background: var(--lime); }
.empty-state { padding: 4rem 1rem; text-align: center; border: 1px dashed rgba(255,255,255,.15); border-radius: 24px; }
.empty-state > span { font-size: 3rem; }
.empty-state h2, .empty-state h3 { margin-top: 1rem; }

.age-notice { padding: 1.3rem 1.5rem; border: 1px solid rgba(255,79,216,.3); border-radius: 20px; background: linear-gradient(120deg, rgba(255,79,216,.08), rgba(168,103,255,.07)); }
.age-notice strong { color: #ff8fe5; font-family: "Unbounded"; }
.age-notice p { margin: .45rem 0 0; }
.page-hero { padding: 5rem 0 3.6rem; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 70% 0, rgba(168,103,255,.16), transparent 30rem); }
.page-hero.compact { padding: 3.6rem 0 2.6rem; }
.page-hero h1 { max-width: 900px; margin: 0 0 1rem; font-size: clamp(2.4rem, 6vw, 5rem); }
.page-hero p { max-width: 740px; margin: 0; font-size: 1.08rem; }
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--muted); font-weight: 700; }
.category-card { display: flex; align-items: center; justify-content: space-between; min-height: 250px; padding: 2rem; border: 1px solid var(--line); border-radius: 28px; color: var(--text); background: linear-gradient(135deg, var(--surface-2), var(--surface)); transition: .25s; }
.category-card:hover { color: var(--text); border-color: var(--purple); transform: translateY(-5px); box-shadow: var(--shadow); }
.category-card h2 { margin: .6rem 0; font-size: 2rem; }
.category-card p { max-width: 520px; margin: 0; }
.category-number { color: var(--lime); font-family: "Unbounded"; }
.category-arrow { display: grid; place-items: center; width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; color: #100b18; background: var(--lime); font-size: 1.8rem; }

.product-page { padding-top: 2.5rem; }
.product-main-image { position: relative; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.product-main-image > img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .8rem; margin-top: 1rem; overflow-x: auto; }
.gallery-thumbs button { width: 90px; height: 70px; flex-shrink: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-copy h1 { margin: 1.1rem 0; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.1; }
.product-copy .lead { color: var(--text); font-size: 1.18rem; }
.product-description { margin: 1.5rem 0; color: var(--muted); line-height: 1.8; }
.order-box { padding: 1.4rem; border: 1px solid rgba(183,255,60,.22); border-radius: 22px; background: linear-gradient(135deg, rgba(183,255,60,.07), rgba(168,103,255,.06)); }
.order-box > div:first-child { display: flex; align-items: end; justify-content: space-between; }
.order-box small { color: var(--muted); }
.order-box strong { display: block; color: var(--lime); font-family: "Unbounded"; font-size: 2rem; }
.cash-only { margin: 1rem 0; color: #ffd65a; font-weight: 900; }
.order-box p { margin: .9rem 0 0; text-align: center; font-size: .75rem; }

.narrow-container { max-width: 820px; }
.form-card, .checkout-summary, .status-card, .success-card, .document-card { padding: clamp(1.3rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 26px; background: var(--tg-secondary-bg, var(--surface)); box-shadow: var(--shadow); }
.form-card h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.form-card hr { margin: 2rem 0; border-color: var(--line); }
.form-label { color: #d9d3e2; font-size: .87rem; font-weight: 800; }
.form-intro { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.form-intro > span { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 14px; color: #100b18; background: var(--lime); font-family: "Unbounded"; font-weight: 900; }
.form-intro h2 { margin: 0; font-size: 1.25rem; }
.form-intro p { margin: .2rem 0 0; font-size: .84rem; }
.rules-check { padding-left: 2rem; }
.rules-check .form-check-input { margin-left: -2rem; }
.cash-notice { display: flex; gap: .9rem; margin: 1.5rem 0; padding: 1rem; border: 1px solid rgba(255,214,90,.22); border-radius: 16px; background: rgba(255,214,90,.05); }
.cash-notice > span { font-size: 1.7rem; }
.cash-notice strong { color: #ffd65a; }
.cash-notice p { margin: .2rem 0 0; font-size: .82rem; line-height: 1.45; }
.checkout-summary { top: 100px; padding: 1rem; }
.checkout-summary > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; }
.checkout-summary > div { padding: 1rem .5rem .4rem; }
.checkout-summary h2 { margin: .9rem 0; font-size: 1.45rem; }
.summary-price { display: block; color: var(--lime); font-family: "Unbounded"; font-size: 1.8rem; }
.success-card { padding-block: 3rem; text-align: center; }
.success-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1.4rem; border: 2px solid var(--lime); border-radius: 50%; color: var(--lime); font-size: 2.5rem; box-shadow: 0 0 38px rgba(183,255,60,.24); }
.success-card h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.order-number { display: inline-flex; align-items: center; gap: .65rem; margin: 1rem 0 1.8rem; padding: .8rem 1rem; border: 1px dashed var(--purple); border-radius: 13px; color: var(--text); background: rgba(168,103,255,.08); font-family: "Unbounded"; font-size: clamp(1rem, 4vw, 1.45rem); }
.order-number small { color: var(--muted); font-family: "Manrope"; font-size: .7rem; }
.order-details { margin: 0; text-align: left; }
.order-details > div { display: grid; grid-template-columns: minmax(140px, .7fr) 1.3fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.order-details dt { color: var(--muted); font-size: .85rem; }
.order-details dd { margin: 0; color: var(--text); font-weight: 700; }
.order-details dd small, .order-details dd a { display: block; margin-top: .25rem; }
.status-card__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.status-card__top small { display: block; margin-bottom: .5rem; color: var(--muted); }
.cash-badge { padding: .55rem .8rem; border-radius: 12px; color: #ffd65a; background: rgba(255,214,90,.08); font-weight: 800; }
.order-status { border: 1px solid currentColor; }
.status-new { color: var(--cyan); background: rgba(54,231,255,.08); }
.status-confirmed { color: #c693ff; background: rgba(168,103,255,.1); }
.status-in_progress { color: #ffd65a; background: rgba(255,214,90,.08); }
.status-completed { color: var(--lime); background: rgba(183,255,60,.08); }
.status-cancelled { color: #ff718a; background: rgba(255,85,116,.08); }
.timeline { margin: 2rem 0; }
.timeline h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.timeline-item { position: relative; display: flex; gap: 1rem; padding: 0 0 1.2rem .2rem; }
.timeline-item::before { content: ""; position: absolute; top: 13px; bottom: -3px; left: 7px; width: 1px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-item > span { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 5px; flex-shrink: 0; border: 2px solid var(--lime); border-radius: 50%; background: var(--surface); }
.timeline-item strong, .timeline-item small { display: block; }
.timeline-item small { margin-top: .25rem; color: var(--muted); }
.lookup-icon, .login-logo { font-size: 3rem; }
.login-container { max-width: 560px; }
.telegram-history-panel { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.telegram-history-panel p { margin: .15rem 0 0; font-size: .8rem; }
.order-list { display: grid; gap: .8rem; }
.order-list-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: var(--surface); transition: .2s; }
.order-list-item:hover { color: var(--text); border-color: var(--purple); transform: translateX(4px); }
.order-list-item small, .order-list-item strong, .order-list-item div > span { display: block; }
.order-list-item small, .order-list-item div > span { color: var(--muted); font-size: .78rem; }
.order-list-item strong { margin: .3rem 0; }
.document-card { max-width: 900px; }
.document-card h2 { margin: 2rem 0 .75rem; font-size: 1.25rem; }
.document-card h2:first-child { margin-top: 0; }

.site-footer { padding: 4rem 0 1.5rem; border-top: 1px solid var(--line); background: #08050e; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 3rem; }
.footer-grid h2 { font-size: .9rem; text-transform: uppercase; }
.footer-grid p { font-size: .84rem; }
.footer-grid > div:last-child a { display: block; margin-bottom: .5rem; color: var(--muted); font-size: .84rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: #70697b; font-size: .75rem; }
.admin-entry { color: #70697b; }
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1rem; text-align: center; }
.error-page span { color: var(--purple); font-family: "Unbounded"; font-size: clamp(5rem, 18vw, 13rem); font-weight: 800; line-height: .8; opacity: .5; }
.error-page h1 { margin-top: 2rem; }

@media (max-width: 1199px) {
  .filter-panel { grid-template-columns: 2fr 1fr 1fr; }
  .filter-panel .form-check { grid-column: span 2; }
}
@media (max-width: 991px) {
  .hero-section { padding-top: 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .meme-banner { min-height: 400px; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .navbar-collapse { padding: 1rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .section-pad { padding: 3.3rem 0; }
  .hero-section { min-height: auto; padding-bottom: 2rem; }
  .hero-copy h1 { font-size: 2.65rem; }
  .meme-banner { min-height: 330px; }
  .speech { font-size: .72rem; }
  .filter-panel { grid-template-columns: 1fr; }
  .filter-panel .form-check { grid-column: auto; }
  .category-strip { grid-template-columns: 1fr 1fr; }
  .category-tile { min-height: 145px; }
  .section-heading { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .order-details > div { grid-template-columns: 1fr; gap: .25rem; }
  .status-card__top, .telegram-history-panel, .order-list-item { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-copy h1 { font-size: 2.2rem; }
  .meme-banner { min-height: 280px; }
  .category-strip { grid-template-columns: 1fr; }
  .grid-actions { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.2rem; }
  .form-card, .status-card, .success-card, .document-card { border-radius: 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
