/* ============================================================
   Swety — premium light-pink design system
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #e91e63;
    --primary-2: #ff5f8f;
    --primary-dark: #c2185b;
    --primary-soft: #fdeef4;
    --accent: #f39c12;
    --gold: #f9a825;
    --ok: #16a34a;
    --danger: #dc2626;
    --info: #2563eb;

    --bg: #fdf9fb;
    --bg-wash: linear-gradient(180deg, #fdf3f7 0%, #fdf9fb 340px);
    --card: #ffffff;
    --text: #241820;
    --muted: #8d8390;
    --border: #f0e2e9;
    --border-strong: #e9d3de;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(84, 29, 58, .05);
    --shadow: 0 2px 6px rgba(84, 29, 58, .05), 0 12px 32px -12px rgba(233, 30, 99, .10);
    --shadow-lg: 0 8px 20px rgba(84, 29, 58, .07), 0 24px 64px -20px rgba(233, 30, 99, .18);
    --ring: 0 0 0 3px rgba(233, 30, 99, .18);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

img, video, canvas { max-width: 100%; }
select, input, textarea, button { font-family: inherit; }

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-wash) fixed, var(--bg);
    color: var(--text);
    min-height: 100vh;
    min-height: 100svh; /* modern URL-bar-aware fallback (older browsers keep 100vh) */
    display: flex;
    flex-direction: column;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

::selection { background: rgba(233, 30, 99, .16); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; width: 100%; }

/* ============================================================
   Navbar — glass, blurred, pill links
   ============================================================ */
.navbar {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid rgba(233, 30, 99, .08);
    position: sticky; top: 0; z-index: 50;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 8px 28px -18px rgba(84, 29, 58, .25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(233, 30, 99, .28)); }
.brand-name {
    font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
    background: linear-gradient(100deg, var(--primary) 20%, var(--primary-2) 80%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links > a {
    display: inline-flex; align-items: center; gap: 7px;
    text-decoration: none; color: #5c4d56; font-weight: 600; font-size: 14px;
    padding: 7px 12px; border-radius: 999px; transition: color .15s, background .15s, transform .15s;
    white-space: nowrap;
}
.nav-ico { width: 17px; height: 17px; flex: 0 0 auto; opacity: .85; transition: opacity .15s; }
.nav-links > a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-links > a:hover .nav-ico { opacity: 1; }
.nav-links > a.is-active {
    color: var(--primary); background: var(--primary-soft);
    box-shadow: inset 0 0 0 1px rgba(233, 30, 99, .14);
}
.nav-links > a.is-active .nav-ico { opacity: 1; }
.inline-form { display: inline; }

/* Medium desktop: full member menu — compact pills until it collapses to the drawer */
@media (max-width: 1150px) {
    .nav-links { gap: 2px; }
    .nav-links > a { padding: 7px 9px; font-size: 13px; }
}
@media (max-width: 1020px) {
    .nav-links { gap: 1px; }
    .nav-links > a { padding: 6px 7px; font-size: 12.5px; letter-spacing: -.2px; }
    .nav-ico { width: 15px; height: 15px; }
    nav .balance-pill span { display: none; }
    nav .balance-pill { padding: 6px 10px; gap: 4px; }
}

/* ── Responsive menu: hamburger + slide-down drawer ──────────────────────── */
.nav-burger {
    display: none; position: relative; width: 42px; height: 42px; flex: 0 0 auto;
    border: 1px solid var(--border); border-radius: 12px; background: #fff;
    box-shadow: var(--shadow-sm); cursor: pointer; transition: border-color .15s, background .15s;
}
.nav-burger:hover { border-color: rgba(233, 30, 99, .4); background: var(--primary-soft); }
.nav-burger span {
    position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
    background: #5c4d56; transition: transform .28s ease, opacity .2s ease, background .2s;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
body.nav-open .nav-burger span { background: var(--primary); }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
    .nav-burger { display: inline-flex; }

    /* the link row itself becomes the drawer — one source of truth, no duplicated markup */
    .nav-links {
        position: absolute; top: calc(100% + 10px); left: 12px; right: 12px;
        z-index: 60; flex-direction: column; align-items: stretch; gap: 3px;
        background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px) saturate(1.4);
        -webkit-backdrop-filter: blur(14px) saturate(1.4);
        border: 1px solid var(--border); border-radius: 20px;
        box-shadow: var(--shadow-lg); padding: 12px;
        opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98);
        transform-origin: top right;
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
    }
    body.nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }

    .nav-links > a {
        padding: 13px 15px; font-size: 15px; border-radius: 13px; gap: 10px;
    }
    .nav-ico { width: 19px; height: 19px; }
    nav .balance-pill {
        order: 99; display: flex; justify-content: center; gap: 8px;
        margin-top: 8px; padding: 12px 16px;
    }
    nav .balance-pill span { display: inline; }
    .nav-links > a.btn { display: flex; width: 100%; margin-top: 8px; padding: 13px 16px; font-size: 15px; }
}
@media (max-width: 860px) {
    /* dim the page while the drawer is open and lock scroll for a cleaner feel */
    body.nav-open::after {
        content: ''; position: fixed; inset: 0; z-index: 55;
        background: rgba(28, 10, 18, .38);
        animation: nav-fade .22s ease;
        pointer-events: auto;
    }
    /* .navbar is its own stacking context (sticky + z-index 50), so the
       drawer's z-index 60 only counts INSIDE it. Without this bump the
       root-level overlay (55) paints above the whole navbar and every tap
       on a menu link hits the overlay instead of the link. */
    body.nav-open .navbar { z-index: 60; }
    body.nav-open { overflow: hidden; }
    body.nav-open main, body.nav-open .footer { visibility: hidden; }
    @keyframes nav-fade { from { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .nav-links, .nav-burger span { transition: none !important; }
    body.nav-open::after { animation: none !important; }
}

/* ============================================================
   Buttons — gradient primary, soft outline
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; text-decoration: none;
    font-weight: 700; font-size: 15px; border-radius: 999px;
    padding: 12px 26px; transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
    text-align: center; line-height: 1.2; font-family: inherit;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary {
    background: linear-gradient(115deg, var(--primary) 10%, var(--primary-2) 100%);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(233, 30, 99, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(233, 30, 99, .6); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
    background: #fff; color: var(--primary); border: 1.5px solid rgba(233, 30, 99, .35);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover { background: var(--primary-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #6b5d66; }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16.5px; box-shadow: 0 16px 34px -12px rgba(233, 30, 99, .5); }
.btn-accent { background: linear-gradient(115deg, var(--gold), #ffb83d); color: #5b3c00; box-shadow: 0 10px 22px -10px rgba(249, 168, 37, .55); }
.btn-danger { background: linear-gradient(115deg, #dc2626, #ef4444); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ============================================================
   Hero — layered gradient mesh
   ============================================================ */
.hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 92px 0 116px; text-align: center;
    background: #1c0a12;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(700px 340px at 18% 10%, rgba(233, 30, 99, .85), transparent 65%),
        radial-gradient(620px 380px at 85% 20%, rgba(249, 168, 37, .55), transparent 62%),
        radial-gradient(760px 420px at 55% 120%, rgba(255, 95, 143, .75), transparent 70%);
}
.hero::after {
    content: ''; position: absolute; inset: auto -10% -40% -10%; height: 60%;
    background: radial-gradient(50% 100% at 50% 100%, rgba(255, 255, 255, .16), transparent 70%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
    font-size: 36px; /* fallback for engines without clamp() */
    font-size: clamp(34px, 5.6vw, 56px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.08;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero p.tagline { font-size: clamp(16px, 2.2vw, 20px); margin: 16px auto 32px; opacity: .93; max-width: 560px; }
.hero .btn { background: #fff; color: var(--primary); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); }
.hero .btn:hover { background: #ffeef4; transform: translateY(-1px); }
.hero .btn.btn-simple { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .35); }
.hero .btn.btn-simple:hover { background: rgba(255, 255, 255, .24); }

/* ============================================================
   Sections & cards
   ============================================================ */
.section { padding: 52px 0; }
.section-title { font-size: 25px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 20px; }
.section-sub { color: var(--muted); font-size: 14.5px; margin-top: -14px; margin-bottom: 20px; }

.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 26px;
}

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .ico {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    font-size: 25px; margin-bottom: 14px;
    background: var(--primary-soft);
}
.feature-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 14px; }

.grid-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(154px, 1fr)); gap: 16px; }
.member-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    overflow: hidden; text-decoration: none; color: var(--text); transition: transform .16s, box-shadow .16s;
    display: block; box-shadow: var(--shadow-sm);
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .3s; }
@supports not (aspect-ratio: 1) {
    .member-card img { height: 160px; } /* square-ish fallback for older Safari/Firefox */
}
.member-card:hover img { transform: scale(1.04); }
.member-card .body { padding: 11px 13px; }
.member-card .name { font-weight: 800; font-size: 14px; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-card .meta { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.badge-online {
    width: 10px; height: 10px; border-radius: 50%; background: #2ecc71; display: inline-block;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, .18);
}

.stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.stat { text-align: center; }
.stat b { font-size: 30px; display: block; font-weight: 800; letter-spacing: -1px; }
.stat span { color: rgba(255, 255, 255, .75); font-size: 13.5px; font-weight: 600; }

/* ============================================================
   Forms
   ============================================================ */
.form-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px; max-width: 470px; margin: 36px auto;
}
.form-card h1 { font-size: 24px; letter-spacing: -.4px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); margin-bottom: 22px; font-size: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { font-size: 12.5px; font-weight: 700; display: block; margin-bottom: 6px; color: #5c4d56; }
.form-group input, .form-group select, .form-group textarea, .form-group input[type=file] {
    width: 100%; padding: 12px 15px; border: 1.5px solid var(--border-strong); border-radius: 13px;
    font-size: 15px; background: #fdfbfd; font-family: inherit; color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #b7aab4; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: var(--ring);
    background: #fff;
}
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
.form-note { font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.form-note a, .form-card .sub a { color: var(--primary); font-weight: 700; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

/* ============================================================
   Alerts
   ============================================================ */
.alert {
    border-radius: 14px; padding: 13px 17px; margin: 16px 0; font-size: 14px; font-weight: 600;
    display: flex; align-items: flex-start; gap: 10px; box-shadow: var(--shadow-sm);
}
.alert-success { background: #eefaf3; color: #157347; border: 1px solid #c6ecd6; }
.alert-error { background: #fef0f3; color: #b3123f; border: 1px solid #f8cdd8; }
.alert-info { background: #eef4ff; color: #2450b3; border: 1px solid #cddcf9; }

/* ============================================================
   Chips / pills
   ============================================================ */
.balance-pill {
    display: inline-flex; align-items: center; gap: 9px; background: #fff;
    border: 1px solid var(--border); padding: 9px 18px; border-radius: 999px; font-weight: 700;
    box-shadow: var(--shadow-sm); font-size: 14px;
}
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 800;
}
.chip-ok { background: #eefaf3; color: var(--ok); }
.chip-warn { background: #fef7e8; color: #b45309; }
.chip-bad { background: #fee9ee; color: #b3123f; }
.chip-vip { background: linear-gradient(115deg, #fff7de, #ffeec2); color: #8d6e00; border: 1px solid #ffe1a3; }

/* ============================================================
   Coins
   ============================================================ */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 20px; margin-top: 28px; }
.pack {
    background: var(--card); border: 2px solid var(--border); border-radius: 22px;
    padding: 30px 24px; text-align: center; position: relative;
    box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pack:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pack.popular {
    border-color: var(--primary);
    background: linear-gradient(160deg, #fff 70%, #fdeef4 100%);
    box-shadow: 0 14px 40px -14px rgba(233, 30, 99, .35);
}
.pack .pop-tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(115deg, var(--primary), var(--primary-2)); color: #fff;
    font-size: 10.5px; font-weight: 800; padding: 5px 16px; border-radius: 999px;
    letter-spacing: .6px; box-shadow: 0 8px 18px -6px rgba(233, 30, 99, .5);
}
.pack .coins { font-size: 37px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.pack .coins small { font-size: 14.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pack .bonus { color: var(--ok); font-weight: 700; font-size: 13px; margin: 4px 0; }
.pack .price { font-size: 21px; font-weight: 800; margin: 14px 0 20px; letter-spacing: -.4px; }
.pack .price::first-line { }
.pack .gw { display: flex; gap: 10px; }
.btn-paypal { background: linear-gradient(180deg, #ffd75e, #ffc439); color: #14357a; flex: 1; box-shadow: 0 8px 18px -8px rgba(24, 63, 138, .4); }
.btn-usdt { background: linear-gradient(115deg, #1fa276, #26a98a); color: #fff; flex: 1; box-shadow: 0 8px 18px -8px rgba(30, 150, 110, .5); }
.btn-paypal:hover, .btn-usdt:hover { transform: translateY(-1px); }

.table-wrap { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow-x: auto; background: #fff; box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 0; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid #f6ecf1; font-size: 13.5px; }
.table tr:last-child td { border-bottom: 0; }
.table th { background: #fdf6f9; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 800; }
.table tr:hover td { background: #fefbfc; }

/* ============================================================
   Profile
   ============================================================ */
.profile-cover {
    background:
        radial-gradient(340px 170px at 15% 20%, rgba(249, 168, 37, .5), transparent 65%),
        linear-gradient(120deg, var(--primary) 8%, var(--primary-2) 60%, #ff86ab 100%);
    height: 172px; border-radius: 0; position: relative;
}
.profile-cover::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(220px 120px at 82% 15%, rgba(255, 255, 255, .22), transparent 60%),
        radial-gradient(160px 90px at 55% 95%, rgba(249, 168, 37, .35), transparent 65%);
}
.profile-cover::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(28, 10, 18, .25) 100%);
    border-radius: inherit;
}
.profile-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    max-width: 780px; margin: 34px auto; overflow: hidden; box-shadow: var(--shadow-lg);
}
.profile-body { padding: 0 34px 34px; display: flex; gap: 26px; align-items: flex-start; }
.profile-avatar-wrap { position: relative; margin-top: -68px; flex: 0 0 auto; }
.profile-avatar-wrap .profile-avatar { margin-top: 0; }
.profile-verified-flag {
    position: absolute; right: 4px; bottom: 4px; width: 30px; height: 30px;
    border-radius: 50%; background: #2ecc71; color: #fff; border: 3px solid #fff;
    display: grid; place-items: center; font-size: 13px; font-weight: 900;
    box-shadow: 0 4px 10px -4px rgba(40, 167, 69, .8);
}
.profile-avatar {
    width: 136px; height: 136px; border-radius: 50%; border: 5px solid #fff;
    margin-top: -68px; object-fit: cover; background: #fff;
    box-shadow: 0 10px 26px -8px rgba(84, 29, 58, .35);
}
.profile-info { padding-top: 22px; min-width: 0; }
.profile-info h1 { font-size: 27px; letter-spacing: -.6px; }
.profile-info .sub { color: var(--muted); margin: 4px 0 12px; font-size: 14.5px; }

.profile-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.chip-vip {
    display: inline-flex; align-items: center; border-radius: 999px;
    background: linear-gradient(115deg, #f7b733, #fda085); color: #4a2c05;
    font-size: 13px; font-weight: 800; padding: 5px 13px;
    box-shadow: 0 4px 12px -4px rgba(249, 168, 37, .55);
}
.stats-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px 18px; box-shadow: var(--shadow); margin-top: 14px;
}
.profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.stat-tile {
    background: var(--primary-soft); border: 1px solid transparent; border-radius: 16px;
    padding: 13px 10px; text-align: center; display: block; text-decoration: none;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.stat-tile:hover { border-color: var(--primary); transform: translateY(-2px); background: #fff; box-shadow: var(--shadow); }
a.stat-tile:hover { cursor: pointer; }
.stat-tile b { font-size: 21px; display: block; letter-spacing: -.6px; color: var(--primary-dark); }
.stat-tile span { font-size: 10.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.profile-cards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 14px; }
.profile-card-x { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); min-width: 0; }
.profile-card-x h3 { font-size: 15px; letter-spacing: -.2px; margin-bottom: 10px; }
.info-list { list-style: none; }
.info-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--muted); font-weight: 600; white-space: nowrap; }
.info-list .v { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 840px) {
    .profile-cards { grid-template-columns: 1fr; }
}

/* Hero sticky action bar — the CTA row stays visible while scrolling stats */
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.profile-actions .btn { box-shadow: 0 6px 16px -8px rgba(233, 30, 99, .35); }
/* Owner-only sign-off row at the bottom of the profile page:
   soft hairline divider, friendly caption, rose-tinted pill button */
.profile-aux { margin-top: 22px; padding: 2px 0 24px; text-align: center; }
.profile-aux::before {
    content: ''; display: block; width: 140px; height: 2px;
    margin: 0 auto 18px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.profile-aux .aux-caption { color: var(--muted); font-size: 12.5px; margin: 0 0 12px; }
.btn-logout {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: #fff; color: #b3123f;
    border: 1.5px solid rgba(233, 30, 99, .28);
    border-radius: 999px; padding: 10px 24px;
    font-weight: 700; font-size: 13.5px; line-height: 1.2; font-family: inherit;
    cursor: pointer; box-shadow: var(--shadow-sm);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn-logout:hover {
    background: #fdeef4; border-color: rgba(233, 30, 99, .55);
    box-shadow: 0 8px 20px -10px rgba(233, 30, 99, .45);
    transform: translateY(-1px);
}
.btn-logout:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-logout:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-logout svg { display: block; }

/* ============================================================
   USDT pay
   ============================================================ */
.wallet-box {
    background: linear-gradient(150deg, #131826, #10141d); color: #d6e4ff;
    border-radius: 18px; padding: 26px; max-width: 580px; margin: 26px auto;
    border: 1px solid #232c40; box-shadow: 0 24px 60px -24px rgba(16, 20, 29, .6);
}
.wallet-box .addr {
    font-family: ui-monospace, 'Cascadia Mono', monospace; font-size: 15px; word-break: break-all;
    background: #1b2230; padding: 14px; border-radius: 12px; margin: 12px 0; color: #d6e4ff;
    border: 1px dashed #33405c;
}
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #f39c12; margin-right: 6px; animation: pulse 1.6s infinite; }
.status-dot.ok { background: #2ecc71; animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.qr { width: 190px; height: 190px; margin: 10px auto; display: block; background: #fff; border-radius: 12px; }

/* ============================================================
   Installer — kept dark & compact
   ============================================================ */
.installer-body { background: linear-gradient(160deg, #1b2230 0%, #2c1a26 100%); color: #eef; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.installer-wrap { max-width: 740px; margin: 60px auto; padding: 20px; }
.installer-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 34px; }
.installer-card h1 { color: #fff; margin-bottom: 6px; }
.steps { display: flex; gap: 8px; margin: 22px 0; }
.steps .step { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 8px 4px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #9fb; }
.steps .step.active { background: var(--primary); color: #fff; }
.steps .step.done { background: rgba(46, 204, 113, .25); color: #7fe3a7; }
.installer-card input, .installer-card select {
    width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; margin-bottom: 12px;
}
.installer-card label { font-size: 12px; font-weight: 700; color: #bcd; display: block; margin-bottom: 5px; }
.check-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.ok { color: #7fe3a7; } .fail { color: #ff7b9c; }
.installer-logo { width: 64px; height: 64px; }

/* ============================================================
   Footer — plum night
   ============================================================ */
.footer {
    background: linear-gradient(180deg, #221019, #1a0b12); color: #cbb6bf; margin-top: 70px;
    position: relative;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary-2));
}
.footer-inner { display: flex; justify-content: space-between; gap: 32px; padding: 46px 20px 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; font-weight: 800; font-size: 18px; }
.footer-brand img { width: 32px; border-radius: 8px; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 10px; }
.footer-brand p { font-weight: 400; font-size: 13.5px; color: #9d8590; max-width: 240px; }.footer-links {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center; max-width: 480px;
}
.footer-apps { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; margin-top: 6px; margin-left: auto; }
.apps-label { font-size: 12.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #9d8590; }
.apps-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 700px) {
    /* Phones: badges left-aligned in tidy rows, section looks intentional */
    .footer-apps { align-items: flex-start; margin-left: 0; text-align: left; }
    .apps-badges { justify-content: flex-start; }
}
.footer-brand .footer-links { margin-top: 10px; }
.store-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px; padding: 8px 16px; text-decoration: none;
    transition: background .15s, border-color .15s, transform .15s;
}
.store-badge:hover { background: rgba(233, 30, 99, .16); border-color: rgba(233, 30, 99, .45); transform: translateY(-1px); }
.store-badge .badge-ico { display: inline-grid; place-items: center; }
.store-badge .badge-ico svg { display: block; width: 20px; height: auto; }
.store-badge .badge-txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .badge-txt small { font-size: 8.5px; letter-spacing: .8px; font-weight: 700; color: #9d8590; }
.store-badge .badge-txt b { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -.2px; }
.footer-links a {
    color: #e8dee3; text-decoration: none; font-size: 14px; font-weight: 600;
    padding: 7px 14px; border-radius: 999px; transition: color .15s, background .15s;
}
.footer-links a:hover { color: #fff; background: rgba(233, 30, 99, .18); }
.footer-copy { padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; color: #8a7580; text-align: center; }

/* ============================================================
   Misc
   ============================================================ */
/* Professional coin icon (homepage CTA) — gentle float, no motion clutter */
.icon-coin { filter: drop-shadow(0 12px 20px rgba(233, 30, 99, .28)); animation: coin-float 3.6s ease-in-out infinite; }
@keyframes coin-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state .ico { font-size: 42px; display: block; margin-bottom: 10px; }

.pagination { display: flex; gap: 6px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; background: #fff; border: 1px solid var(--border);
    font-weight: 700; font-size: 13.5px; color: var(--text); text-decoration: none; padding: 0 10px;
}
.pagination .active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* <details> used as a button: hide the native disclosure triangle cross-browser */
details > summary.btn { list-style: none; }
details > summary.btn::-webkit-details-marker { display: none; }
summary.btn::after { display: none; }

/* Touch devices: no hover-lift gimmicks, and iOS Safari won't zoom on focus when inputs are 16px+ */
@media (hover: none) {
    .member-card:hover, .feature-card:hover, .pack:hover { transform: none; }
    .btn:hover { transform: none; }
}
@media (max-width: 700px) {
    input, select, textarea,
    .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
}

@media (max-width: 760px) {
    .section { padding: 38px 0; }
    .hero { padding: 64px 0 80px; }
    .stats { gap: 28px; }
    .form-card { padding: 22px; max-width: 470px; }
    .profile-body { flex-direction: column; gap: 0; padding: 0 22px 26px; }
    .profile-avatar { width: 112px; height: 112px; }
    .profile-avatar-wrap { margin-top: -56px; }
    .profile-avatar-wrap .profile-avatar { margin-top: 0; }
    .profile-info { padding-top: 12px; }
}

/* ── Advertising (admin-configurable placements) ────────────────────────── */

/* Page content wrapped in optional left/right ad rails (Feed, Stories, Inbox, Hearts) */
.rail-layout { display: flex; justify-content: center; align-items: stretch; gap: 26px; }
/* 160px unit + 20px padding = 180px rail; 180*2 + 26*2 + 680 = 1092 fits the 1116px content region of the 1160px container */
.rail-layout > .rail-col { flex: 0 0 180px; width: 180px; display: none; align-self: stretch; }
.rail-layout > .rail-col-main { width: 100%; max-width: 680px; min-width: 0; margin: 0 auto; align-self: flex-start; }
.rail-layout.has-rails > .rail-col { display: block; }
.rail-layout.has-rails > .rail-col-main { margin: 0; }

/* Rails drop out on narrower screens — in-feed / banner slots keep the page covered.
   Rails fit from 1180px up (1092px needed vs 1116px available), so use that instead of 1360. */
@media (max-width: 1179px) {
    .rail-layout.has-rails > .rail-col { display: none; }
    .rail-layout.has-rails > .rail-col-main { margin: 0 auto; }
}

/* Side rails: align to the top of the cards like real publisher sidebars */
.rail-col .ad-slot { padding: 10px; }

/* The individual ad unit container */
.ad-slot {
    background: #fbfafb;
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 10px;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    min-height: 74px;
}
.ad-slot:last-child { margin-bottom: 0; }
.ad-slot .ad-slot-label {
    font-size: 9.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #c3b7be;
    font-weight: 800;
}
.ad-slot > ins.adsbygoogle { width: 100%; }

/* Ad dimensions per placement family:
   towers 160 × 600 (sticky rails, desktop) — leaderboards adapt to the
   container width, max 728 × 90. */
.ad-slot[data-size="tower"] {
    width: 180px;           /* 160px unit + padding */
    position: sticky;       /* follows the user while scrolling */
    top: 90px;
}
.ad-slot[data-size="tower"] .ad-test-box,
.ad-slot[data-size="tower"] > ins.adsbygoogle {
    width: 160px;
    height: 600px;
    min-height: 600px;
    max-height: 600px;
}
/* A pasted unit keeps its own height — clamping it to 600px cut the creative. */
.ad-slot[data-size="tower"] .ad-unit-size {
    width: 160px;
    height: auto;
}
.ad-slot[data-size="leaderboard"] {
    width: 100%;
    max-width: 748px;       /* 728px unit + padding */
}
.ad-slot[data-size="leaderboard"] .ad-test-box,
.ad-slot[data-size="leaderboard"] > ins.adsbygoogle {
    width: 100%;
    max-width: 728px;
    height: 90px;
    min-height: 90px;
    max-height: 90px;
    margin: 0 auto;
}
.ad-slot[data-size="leaderboard"] .ad-unit-size {
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
}

/* Privacy / Terms — standard centered card, like the rest of the site */
.legal-updated { color: #999; font-size: 13px; margin-bottom: 14px; }
.legal-body { font-size: 15px; overflow-wrap: break-word; }
.legal-join { margin-top: 18px; }
.legal-join a { color: var(--primary); font-weight: 700; }
@media (max-width: 700px) {
    .legal-card { padding: 20px 14px !important; }
    .legal-body { font-size: 14px; }
}

.ad-test-box {
    width: 100%;
    min-height: 90px;
    border: 2px dashed #e91e63;
    border-radius: 10px;
    background: repeating-linear-gradient(45deg, #fdeef4, #fdeef4 12px, #fce4ee 12px, #fce4ee 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #c2185b;
    padding: 10px;
}
.ad-test-box b { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.ad-test-box span { font-size: 11px; color: #b06a87; }

/* Phones: comfortable spacing, stacked form rows, tighter titles */
@media (max-width: 560px) {
    .container { padding: 0 14px; }
    .form-row { flex-direction: column; gap: 0; }
    .section-title { font-size: 22px; }
    .profile-card { margin: 18px 10px; }
    .btn:not(.btn-sm) { padding: 11px 20px; }
    .table th, .table td { padding: 10px 10px; font-size: 12.5px; }
    .footer-inner { padding: 36px 14px 24px; }
}
