:root {
    --bg: #070711;
    --bg-2: #101024;
    --bg-3: #18112d;

    --surface: rgba(255, 255, 255, 0.075);
    --surface-2: rgba(255, 255, 255, 0.105);
    --surface-3: rgba(255, 255, 255, 0.14);

    --glass: rgba(255, 255, 255, 0.085);
    --glass-strong: rgba(255, 255, 255, 0.13);
    --glass-border: rgba(255, 255, 255, 0.16);
    --glass-border-strong: rgba(255, 255, 255, 0.26);

    --text: #fff8df;
    --text-strong: #ffffff;
    --muted: rgba(255, 248, 223, 0.68);
    --muted-2: rgba(255, 248, 223, 0.48);

    --accent: #ffce4a;
    --accent-2: #ff9f1c;
    --accent-3: #7c5cff;
    --accent-4: #49f2b6;

    --danger-bg: rgba(255, 75, 98, 0.16);
    --danger-border: rgba(255, 75, 98, 0.34);
    --danger-text: #ff8d9d;

    --success-bg: rgba(73, 242, 182, 0.14);
    --success-border: rgba(73, 242, 182, 0.32);
    --success-text: #79ffd1;

    --warning-bg: rgba(255, 206, 74, 0.14);
    --warning-border: rgba(255, 206, 74, 0.32);
    --warning-text: #ffe28a;

    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 15px;

    --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
    --shadow-strong: 0 34px 110px rgba(0, 0, 0, 0.48);
    --shadow-accent: 0 18px 42px rgba(255, 206, 74, 0.2);

    --blur: blur(22px) saturate(170%);
}

/* =========================
   Base
========================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(124, 92, 255, 0.33), transparent 34%),
        radial-gradient(circle at 88% 14%, rgba(255, 206, 74, 0.22), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(73, 242, 182, 0.13), transparent 34%),
        linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, black, transparent 78%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent, rgba(255,255,255,0.035), transparent);
    opacity: 0.75;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

strong {
    font-weight: 900;
    color: var(--text-strong);
}

::selection {
    background: rgba(255, 206, 74, 0.35);
    color: #ffffff;
}

/* =========================
   Background orbs
========================= */

.bg-orb {
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(65px);
    opacity: 0.65;
}

.orb-1 {
    width: 340px;
    height: 340px;
    top: -90px;
    left: -90px;
    background: rgba(124, 92, 255, 0.42);
}

.orb-2 {
    width: 420px;
    height: 420px;
    right: -130px;
    bottom: -120px;
    background: rgba(255, 206, 74, 0.28);
}

.orb-3 {
    width: 280px;
    height: 280px;
    top: 42%;
    left: 44%;
    background: rgba(73, 242, 182, 0.14);
}

/* =========================
   Layout
========================= */

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 20px 72px;
}

.glass {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.135), rgba(255,255,255,0.045)),
        rgba(255,255,255,0.045);
    box-shadow:
        var(--shadow),
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -1px 0 rgba(255,255,255,0.055);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

.glass > * {
    position: relative;
    z-index: 1;
}

.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 0%, rgba(255,255,255,0.18), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(255, 206, 74, 0.10), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,0.11), transparent 42%);
}

.glass::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.035);
}

.glass-strong {
    border-color: var(--glass-border-strong);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.17), rgba(255,255,255,0.07)),
        rgba(255,255,255,0.06);
    box-shadow:
        var(--shadow-strong),
        inset 0 1px 0 rgba(255,255,255,0.22);
}

/* =========================
   Topbar / Header
========================= */

.topbar {
    position: sticky;
    top: 14px;
    z-index: 20;
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar-left,
.topbar-right,
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrap {
    min-width: 0;
}

.logo-mark {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.22);
    background:
        radial-gradient(circle at 35% 20%, rgba(255,255,255,0.65), transparent 28%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #231500;
    font-weight: 950;
    letter-spacing: -0.04em;
    box-shadow:
        0 18px 38px rgba(255, 159, 28, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.58);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 19px;
    letter-spacing: -0.02em;
}

.logo-text small {
    color: var(--muted);
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-nav a,
.side-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 17px;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.065);
    color: rgba(255,248,223,0.86);
    font-weight: 800;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.desktop-nav a:hover,
.side-nav a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 206, 74, 0.38);
    background: rgba(255, 206, 74, 0.105);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}

.nav-outline-btn,
.menu-btn,
.menu-close {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.075);
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    transition: 0.2s ease;
}

.nav-outline-btn:hover,
.menu-btn:hover,
.menu-close:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 206, 74, 0.42);
    background: rgba(255, 206, 74, 0.11);
}

.user-badge {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 12px 16px;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.075);
    color: #ffffff;
    font-weight: 900;
}

/* =========================
   Side menu
========================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 29;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: 0.25s ease;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -360px;
    z-index: 30;
    width: 330px;
    height: 100vh;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 0 30px 30px 0;
    transition: left 0.28s ease;
}

.side-menu.open {
    left: 0;
}

.menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.menu-logo {
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.menu-sub {
    margin-top: 2px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-card {
    padding: 20px;
}

/* =========================
   Common elements
========================= */

.hero,
.card,
.product-card,
.info-block,
.form-card,
.donate-head,
.tabs-wrap,
.footer-inner,
.pay-box {
    padding: 28px;
}

.mini-label {
    margin-bottom: 8px;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.server-big {
    font-size: 23px;
    font-weight: 950;
    color: #ffffff;
}

.mini-text {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
}

.section-badge,
.status-pill,
.product-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 206, 74, 0.28);
    background:
        linear-gradient(135deg, rgba(255, 206, 74, 0.16), rgba(124, 92, 255, 0.10)),
        rgba(255,255,255,0.06);
    color: #ffe8a1;
    font-size: 13px;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.13);
}

.status-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-4);
    box-shadow: 0 0 18px rgba(73, 242, 182, 0.9);
}

.status-pill-soft {
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.07);
    color: rgba(255,248,223,0.82);
}

.status-pill-soft::before {
    background: var(--accent);
    box-shadow: 0 0 18px rgba(255, 206, 74, 0.65);
}

/* =========================
   Buttons
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 14px 22px;
    border: 0;
    border-radius: 18px;
    background:
        radial-gradient(circle at 30% 0%, rgba(255,255,255,0.6), transparent 28%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #211400;
    font-weight: 950;
    cursor: pointer;
    box-shadow:
        var(--shadow-accent),
        inset 0 1px 0 rgba(255,255,255,0.55);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.04);
    box-shadow:
        0 22px 52px rgba(255, 159, 28, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: var(--text);
    box-shadow:
        0 14px 34px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-secondary:hover {
    border-color: rgba(255, 206, 74, 0.34);
    background: rgba(255, 206, 74, 0.115);
    box-shadow:
        0 18px 42px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.16);
}

.btn-small {
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 15px;
}

/* =========================
   Hero old + new
========================= */

.hero {
    margin-top: 24px;
}

.hero h1,
.donate-head h1 {
    margin: 12px 0 14px;
    color: var(--text-strong);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero p,
.donate-head p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-new {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 380px;
    gap: 28px;
    padding: 46px;
    border-radius: 36px;
}

.hero-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    top: -190px;
    right: -160px;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 206, 74, 0.25), transparent 62%);
}

.hero-content-new {
    position: relative;
    z-index: 1;
}

.hero-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-new h1 {
    max-width: 770px;
}

.hero-new h1 span {
    display: block;
    background: linear-gradient(90deg, #ffffff, #ffe08b 38%, #9e88ff 74%, #70ffd1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    max-width: 740px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.server-copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 650px;
    margin: 30px 0 0;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 22px;
    background: rgba(255,255,255,0.07);
}

.server-copy-box span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted-2);
    font-size: 13px;
    font-weight: 800;
}

.server-copy-box strong {
    font-size: 23px;
    letter-spacing: -0.02em;
}

.hero-side {
    align-self: stretch;
    padding: 28px;
    border-radius: 28px;
}

.hero-side-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 23px;
    border: 1px solid rgba(255,255,255,0.14);
    background:
        radial-gradient(circle at 30% 0%, rgba(255,255,255,0.22), transparent 32%),
        linear-gradient(135deg, rgba(255, 206, 74, 0.25), rgba(124, 92, 255, 0.20));
    font-size: 34px;
}

.hero-side h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.hero-side p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.hero-stats div {
    padding: 13px 10px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 18px;
    background: rgba(255,255,255,0.065);
    text-align: center;
}

.hero-stats strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
}

.hero-stats span {
    display: block;
    margin-top: 4px;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   Cards / grids
========================= */

.cards-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.card,
.product-card {
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.card:hover,
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 206, 74, 0.30);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
        rgba(255,255,255,0.05);
    box-shadow:
        0 30px 90px rgba(0,0,0,0.46),
        0 0 0 1px rgba(255,206,74,0.04) inset;
}

.card h3,
.product-card h3 {
    margin: 8px 0 8px;
    color: #ffffff;
    font-size: 25px;
    letter-spacing: -0.035em;
}

.card p,
.product-card p,
.info-block p {
    color: var(--muted);
    line-height: 1.7;
}

.card-feature {
    min-height: 100%;
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.13);
    background:
        linear-gradient(135deg, rgba(255, 206, 74, 0.18), rgba(124, 92, 255, 0.14)),
        rgba(255,255,255,0.055);
    font-size: 27px;
}

.card-link {
    display: inline-flex;
    margin-top: 10px;
    color: #ffe08b;
    font-weight: 900;
}

.card-link:hover {
    text-decoration: underline;
}

/* =========================
   Info blocks
========================= */

.info-block {
    margin-top: 24px;
}

.info-block h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.pretty-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    line-height: 1.9;
}

.pretty-list li {
    position: relative;
    padding-left: 30px;
}

.pretty-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.info-block-new {
    padding: 34px;
    border-radius: 32px;
}

.info-desc {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.feature-row {
    display: flex;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 23px;
    background: rgba(255,255,255,0.058);
}

.feature-row > span {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #211400;
    font-weight: 950;
}

.feature-row h4 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 18px;
}

.feature-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

/* =========================
   Join block
========================= */

.join-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 16% 0%, rgba(255,206,74,0.18), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.135), rgba(255,255,255,0.045));
}

.join-block h2 {
    margin: 10px 0;
    color: #ffffff;
    font-size: 36px;
    letter-spacing: -0.045em;
}

.join-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.join-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.join-ip {
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 18px;
    background: rgba(0,0,0,0.22);
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
}

/* =========================
   Forms
========================= */

.form-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.form-card {
    width: 100%;
    max-width: 580px;
}

.form-card h1 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 38px;
    letter-spacing: -0.045em;
}

.form-card p {
    color: var(--muted);
    line-height: 1.65;
}

.site-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.site-form label,
.nickname-box label {
    color: #ffffff;
    font-weight: 900;
}

.site-form input,
.site-form textarea,
.nickname-box input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    outline: none;
    background: rgba(255,255,255,0.075);
    color: var(--text);
    font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.site-form input::placeholder,
.site-form textarea::placeholder,
.nickname-box input::placeholder {
    color: var(--muted-2);
}

.site-form input:focus,
.site-form textarea:focus,
.nickname-box input:focus {
    border-color: rgba(255, 206, 74, 0.48);
    background: rgba(255,255,255,0.105);
    box-shadow:
        0 0 0 4px rgba(255, 206, 74, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

.site-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-links {
    margin-top: 18px;
    color: var(--muted);
}

.form-links a {
    color: #ffe08b;
    font-weight: 900;
}

.form-links a:hover {
    text-decoration: underline;
}

/* =========================
   Alerts / support
========================= */

.alert {
    padding: 15px 17px;
    margin-top: 16px;
    border-radius: 18px;
    font-weight: 800;
}

.alert.error {
    border: 1px solid var(--danger-border);
    background: var(--danger-bg);
    color: var(--danger-text);
}

.alert.success {
    border: 1px solid var(--success-border);
    background: var(--success-bg);
    color: var(--success-text);
}

.support-mail-box {
    padding: 15px 17px;
    margin-top: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    color: var(--muted);
    line-height: 1.55;
}

.support-mail-box strong,
.support-mail-box a {
    color: #ffffff;
}

.support-mail-box a:hover {
    color: #ffe08b;
    text-decoration: underline;
}

/* =========================
   Donate
========================= */

.donate-head {
    margin-top: 24px;
}

.donate-hero {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-nickname-box,
.login-required-box {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,206,74,0.10), rgba(124,92,255,0.08)),
        rgba(255,255,255,0.06);
}

.account-nickname {
    color: #ffffff;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.tabs-wrap {
    margin-top: 24px;
}

.tabs,
.subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.subtabs {
    margin-bottom: 22px;
}

.tab-btn,
.subtab-btn {
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 17px;
    background: rgba(255,255,255,0.07);
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.tab-btn:hover,
.subtab-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 206, 74, 0.34);
    background: rgba(255, 206, 74, 0.10);
}

.tab-btn.active,
.subtab-btn.active {
    border-color: rgba(255, 206, 74, 0.55);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #211400;
    box-shadow: 0 14px 34px rgba(255, 159, 28, 0.18);
}

.tab-panel,
.subtab-panel {
    display: none;
}

.tab-panel.active,
.subtab-panel.active {
    display: block;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
}

.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-card .price {
    margin: 6px 0 2px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.product-card .btn {
    margin-top: auto;
}

.product-chip {
    color: #ffe8a1;
}

/* =========================
   Tables / purchases
========================= */

.orders-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 15px 13px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    text-align: left;
    vertical-align: top;
}

.orders-table th {
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.orders-table td {
    color: var(--text);
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
}

.order-status.success {
    border: 1px solid var(--success-border);
    background: var(--success-bg);
    color: var(--success-text);
}

.order-status.pending {
    border: 1px solid var(--warning-border);
    background: var(--warning-bg);
    color: var(--warning-text);
}

.order-status.error {
    border: 1px solid var(--danger-border);
    background: var(--danger-bg);
    color: var(--danger-text);
}

/* =========================
   Pay page
========================= */

.pay-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.pay-box {
    width: 100%;
    max-width: 580px;
    text-align: center;
}

.pay-box h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 36px;
    letter-spacing: -0.045em;
}

.pay-box p {
    color: var(--muted);
    line-height: 1.7;
}

.resend-form {
    margin-top: 12px;
}

/* =========================
   Footer
========================= */

.site-footer {
    position: relative;
    z-index: 1;
    padding: 0 20px 28px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
}

.footer-inner strong {
    color: #ffffff;
}

/* =========================
   Responsive
========================= */

@media (max-width: 980px) {
    .desktop-nav {
        display: none;
    }

    .hero-new {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .hero-side {
        max-width: none;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .join-block {
        align-items: flex-start;
        flex-direction: column;
    }

    .join-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .cards-grid,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1,
    .donate-head h1 {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 24px 14px 54px;
    }

    .topbar {
        top: 8px;
        margin: 10px 10px 0;
        padding: 12px;
        border-radius: 24px;
    }

    .logo-mark {
        width: 45px;
        height: 45px;
        border-radius: 16px;
    }

    .logo-text strong {
        font-size: 16px;
    }

    .logo-text small {
        font-size: 12px;
    }

    .topbar-right {
        gap: 8px;
    }

    .user-badge {
        display: none;
    }

    .hero,
    .card,
    .product-card,
    .info-block,
    .form-card,
    .donate-head,
    .tabs-wrap,
    .footer-inner,
    .pay-box {
        padding: 20px;
    }

    .hero-new {
        padding: 24px;
        border-radius: 28px;
    }

    .hero h1,
    .donate-head h1 {
        font-size: 34px;
        letter-spacing: -0.045em;
    }

    .hero p,
    .donate-head p,
    .hero-desc {
        font-size: 16px;
    }

    .server-copy-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .feature-row {
        flex-direction: column;
    }

    .join-ip {
        width: 100%;
        text-align: center;
    }

    .join-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .join-actions .btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
    }

    .side-menu {
        width: 292px;
        left: -315px;
    }

    .account-nickname {
        font-size: 24px;
        word-break: break-word;
    }

    .product-topline {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .logo-text small {
        display: none;
    }

    .nav-outline-btn,
    .menu-btn,
    .menu-close {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .hero-new {
        padding: 20px;
    }

    .hero h1,
    .donate-head h1 {
        font-size: 30px;
    }

    .form-card h1,
    .pay-box h1 {
        font-size: 31px;
    }

    .info-block h2,
    .join-block h2 {
        font-size: 29px;
    }
}
/* =========================
   Homepage redesign override
========================= */

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(124, 92, 255, 0.34), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(255, 206, 74, 0.20), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(73, 242, 182, 0.12), transparent 36%),
        linear-gradient(135deg, #070711 0%, #101024 52%, #18112d 100%) !important;
    color: var(--text);
}

/* Главный блок */

.home-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 380px;
    gap: 26px;
    margin-top: 24px;
    padding: 44px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 38px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.045)),
        rgba(255,255,255,0.055);
    box-shadow:
        0 34px 110px rgba(0, 0, 0, 0.44),
        inset 0 1px 0 rgba(255,255,255,0.18);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -2;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.16), transparent 32%),
        radial-gradient(circle at 90% 8%, rgba(255, 206, 74, 0.18), transparent 34%),
        radial-gradient(circle at 75% 100%, rgba(124, 92, 255, 0.16), transparent 38%);
}

.home-hero-bg {
    position: absolute;
    width: 620px;
    height: 620px;
    right: -210px;
    top: -220px;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(255, 206, 74, 0.32), transparent 64%);
    filter: blur(4px);
}

.home-hero-main {
    min-width: 0;
}

.home-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255,255,255,0.075);
    color: rgba(255,248,223,0.86);
    font-size: 13px;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.home-pill-online {
    border-color: rgba(73, 242, 182, 0.28);
    color: #d8fff1;
}

.home-pill-online::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #49f2b6;
    box-shadow: 0 0 18px rgba(73, 242, 182, 0.9);
}

.home-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 5.4vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.home-hero h1 span {
    display: block;
    margin-top: 6px;
    background: linear-gradient(90deg, #ffffff, #ffe08b 36%, #a996ff 72%, #73ffd2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero-text {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 248, 223, 0.72);
    font-size: 18px;
    line-height: 1.75;
}

/* IP-блок */

.home-ip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 660px;
    margin-top: 30px;
    padding: 17px 18px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,206,74,0.10), rgba(124,92,255,0.08)),
        rgba(255,255,255,0.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.home-ip-box span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 248, 223, 0.50);
    font-size: 13px;
    font-weight: 900;
}

.home-ip-box strong {
    color: #ffffff;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

/* Боковая карточка */

.home-hero-card {
    align-self: stretch;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045)),
        rgba(255,255,255,0.055);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.16);
}

.home-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 21px;
    background:
        radial-gradient(circle at 30% 0%, rgba(255,255,255,0.28), transparent 32%),
        linear-gradient(135deg, rgba(255,206,74,0.28), rgba(124,92,255,0.20));
    font-size: 29px;
}

.home-hero-card h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.home-hero-card p {
    margin: 0;
    color: rgba(255,248,223,0.68);
    line-height: 1.65;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.home-stats div {
    padding: 13px 9px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 18px;
    background: rgba(255,255,255,0.065);
    text-align: center;
}

.home-stats strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
}

.home-stats span {
    display: block;
    margin-top: 4px;
    color: rgba(255,248,223,0.48);
    font-size: 12px;
    font-weight: 800;
}

/* Карточки */

.home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.home-card,
.home-info,
.home-join {
    border: 1px solid rgba(255,255,255,0.15);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.125), rgba(255,255,255,0.045)),
        rgba(255,255,255,0.05);
    box-shadow:
        0 24px 80px rgba(0,0,0,0.34),
        inset 0 1px 0 rgba(255,255,255,0.15);
    backdrop-filter: blur(22px) saturate(165%);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
}

.home-card {
    min-height: 100%;
    padding: 28px;
    border-radius: 30px;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.home-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 206, 74, 0.34);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
        rgba(255,255,255,0.06);
    box-shadow:
        0 34px 95px rgba(0,0,0,0.46),
        0 0 0 1px rgba(255,206,74,0.05) inset;
}

.home-mini {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,248,223,0.48);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-card h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.home-card p {
    margin: 0;
    color: rgba(255,248,223,0.68);
    line-height: 1.7;
}

.home-card a {
    display: inline-flex;
    margin-top: 18px;
    color: #ffe08b;
    font-weight: 950;
}

.home-card a:hover {
    text-decoration: underline;
}

/* Инфо-блок */

.home-info {
    margin-top: 24px;
    padding: 34px;
    border-radius: 34px;
}

.home-info-head h2 {
    margin: 12px 0 10px;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.home-info-head p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,248,223,0.68);
    line-height: 1.7;
}

.home-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.home-feature {
    display: flex;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 23px;
    background: rgba(255,255,255,0.058);
}

.home-feature > span {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 0%, rgba(255,255,255,0.45), transparent 30%),
        linear-gradient(135deg, #ffce4a, #ff9f1c);
    color: #211400;
    font-weight: 950;
}

.home-feature h4 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 18px;
}

.home-feature p {
    margin: 0;
    color: rgba(255,248,223,0.66);
    line-height: 1.55;
}

/* Нижний CTA */

.home-join {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 34px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 16% 0%, rgba(255,206,74,0.18), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045)),
        rgba(255,255,255,0.05);
}

.home-join h2 {
    margin: 12px 0 10px;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.home-join p {
    margin: 0;
    color: rgba(255,248,223,0.68);
    line-height: 1.65;
}

.home-join-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.home-join-ip {
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 18px;
    background: rgba(0,0,0,0.23);
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
}

/* Toast вместо alert */

.copy-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    max-width: calc(100vw - 44px);
    padding: 14px 18px;
    border: 1px solid rgba(73, 242, 182, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(73, 242, 182, 0.18), rgba(124, 92, 255, 0.14)),
        rgba(18, 18, 35, 0.92);
    color: #d8fff1;
    font-weight: 900;
    box-shadow: 0 18px 48px rgba(0,0,0,0.42);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: 0.22s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 980px) {
    .home-hero {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .home-hero-card {
        max-width: none;
    }

    .home-features {
        grid-template-columns: 1fr;
    }

    .home-join {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-join-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-hero,
    .home-info,
    .home-join {
        padding: 22px;
        border-radius: 28px;
    }

    .home-hero h1 {
        font-size: 34px;
        letter-spacing: -0.045em;
    }

    .home-hero-text {
        font-size: 16px;
    }

    .home-ip-box {
        align-items: stretch;
        flex-direction: column;
    }

    .home-actions {
        flex-direction: column;
    }

    .home-actions .btn {
        width: 100%;
    }

    .home-stats {
        grid-template-columns: 1fr;
    }

    .home-grid {
        grid-template-columns: 1fr;
    }

    .home-feature {
        flex-direction: column;
    }

    .home-info-head h2,
    .home-join h2 {
        font-size: 30px;
    }

    .home-join-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .home-join-ip {
        width: 100%;
        text-align: center;
    }

    .home-join-actions .btn {
        width: 100%;
    }

    .copy-toast {
        right: 14px;
        bottom: 14px;
        left: 14px;
        max-width: none;
        text-align: center;
    }
}
/* =========================
   Donate hierarchy additions
========================= */

.account-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.account-meta-item {
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    background: rgba(255,255,255,0.065);
}

.account-meta-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.account-meta-item strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
}

.privilege-info-box {
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 206, 74, 0.24);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255,206,74,0.11), rgba(124,92,255,0.08)),
        rgba(255,255,255,0.055);
}

.privilege-info-box p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.privilege-rank {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.065);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.product-card-disabled {
    opacity: 0.74;
}

.product-card-disabled:hover {
    transform: none;
}

.product-lock-note {
    margin-top: 8px;
    color: var(--muted-2);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.btn:disabled,
.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none !important;
    filter: grayscale(0.25);
    box-shadow:
        0 12px 28px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.10);
}

.btn:disabled:hover,
.btn[disabled]:hover {
    transform: none !important;
    filter: grayscale(0.25);
}

@media (max-width: 640px) {
    .account-meta-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   Contacts page
========================= */

.contact-hero {
    margin-top: 24px;
    padding: 38px;
}

.contact-hero h1 {
    margin: 12px 0 14px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.contact-hero p {
    max-width: 820px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.contact-panel {
    padding: 28px;
}

.contact-panel h2,
.contact-form-card h2 {
    margin: 8px 0 12px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.contact-panel p,
.contact-form-card p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 20px;
}

.contact-row {
    display: flex;
    gap: 15px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 21px;
    background: rgba(255,255,255,0.065);
}

.contact-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(circle at 30% 0%, rgba(255,255,255,0.28), transparent 32%),
        linear-gradient(135deg, rgba(255, 206, 74, 0.25), rgba(124, 92, 255, 0.18));
    font-size: 22px;
}

.contact-row span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-row a,
.contact-row strong {
    color: #ffffff;
    font-size: 17px;
    font-weight: 950;
    word-break: break-word;
}

.contact-row a:hover {
    color: #ffe08b;
    text-decoration: underline;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 20px;
}

.social-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    background: rgba(255,255,255,0.065);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 206, 74, 0.36);
    background: rgba(255, 206, 74, 0.10);
    box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.social-card span {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #211400;
    font-size: 12px;
    font-weight: 950;
}

.social-card strong {
    color: #ffffff;
    font-size: 20px;
}

.social-card small {
    color: var(--muted);
    font-weight: 700;
}

.contact-form-card {
    margin-top: 24px;
    padding: 28px;
}

.contact-hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 900px) {
    .contacts-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-hero,
    .contact-panel,
    .contact-form-card {
        padding: 20px;
    }

    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .contact-row {
        flex-direction: column;
    }

    .contact-panel h2,
    .contact-form-card h2 {
        font-size: 29px;
    }
}
/* =========================
   Contact form
========================= */

.contact-form-section {
    margin-top: 24px;
    padding: 32px;
}

.contact-form-section h2 {
    margin: 8px 0 12px;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.contact-form-section p {
    max-width: 850px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    color: rgba(255,255,255,0.74);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    outline: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 12px 30px rgba(0,0,0,0.12);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255,255,255,0.42);
    font-weight: 600;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(255, 206, 74, 0.72);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.065));
    box-shadow:
        0 0 0 4px rgba(255, 206, 74, 0.13),
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 16px 38px rgba(0,0,0,0.18);
}

.form-row textarea {
    min-height: 170px;
    resize: vertical;
}

.form-alert {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 20px;
    font-weight: 800;
    line-height: 1.55;
}

.form-alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.form-alert-success {
    border: 1px solid rgba(80, 255, 160, 0.35);
    background:
        linear-gradient(135deg, rgba(80, 255, 160, 0.14), rgba(80, 255, 160, 0.06));
    color: #baffd5;
}

.form-alert-error {
    border: 1px solid rgba(255, 95, 95, 0.38);
    background:
        linear-gradient(135deg, rgba(255, 95, 95, 0.14), rgba(255, 95, 95, 0.06));
    color: #ffd0d0;
}

.form-hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 780px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 22px;
    }

    .contact-form-section h2 {
        font-size: 30px;
    }
}
