
:root {
    --page-bg: #070a10;
    --page-bg-soft: #0c111b;
    --surface: rgba(18, 24, 38, 0.88);
    --surface-strong: #121826;
    --surface-light: #192235;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #f7f9fc;
    --text-soft: #aeb8c9;
    --text-muted: #748096;

    --accent: #f6b93b;
    --accent-strong: #ffca58;
    --accent-dark: #a86f09;
    --success: #36d399;
    --danger: #ff5b6e;
    --info: #4ea1ff;

    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(246, 185, 59, 0.15);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --container: 1240px;
    --header-height: 84px;

    --transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 20% 0%, rgba(246, 185, 59, 0.09), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(78, 161, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #080b12 0%, #070a10 100%);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 42px 42px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

.public-body {
    min-height: 100vh;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

/* Header */

.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: rgba(7, 10, 16, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.public-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.public-brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(246, 185, 59, 0.35);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(246, 185, 59, 0.18), rgba(246, 185, 59, 0.04));
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.06em;
    box-shadow: var(--shadow-glow);
}

.public-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.public-brand-copy strong {
    font-size: 15px;
    letter-spacing: 0.03em;
}

.public-brand-copy small {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.public-navigation {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.public-navigation a {
    position: relative;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
    transition:
        color var(--transition),
        background var(--transition);
}

.public-navigation a:hover,
.public-navigation a.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
}

.public-navigation a.is-active::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 4px;
    left: 14px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.public-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-server-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 174px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    cursor: pointer;
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.public-server-copy:hover {
    transform: translateY(-1px);
    border-color: rgba(246, 185, 59, 0.3);
    background: rgba(246, 185, 59, 0.06);
}

.public-server-copy-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.public-server-copy strong {
    margin-top: 2px;
    font-size: 12px;
}

.public-account-button,
.public-register-button,
.public-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.public-account-button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
}

.public-register-button {
    border: 1px solid rgba(246, 185, 59, 0.35);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #151008;
}

.public-logout-button {
    border: 1px solid rgba(255, 91, 110, 0.2);
    background: rgba(255, 91, 110, 0.08);
    color: #ff9ba7;
}

.public-account-button:hover,
.public-register-button:hover,
.public-logout-button:hover {
    transform: translateY(-1px);
}

.public-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
}

.public-menu-button span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--text);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

/* Main */

.public-main {
    flex: 1;
    overflow: hidden;
}

.public-section {
    position: relative;
    padding: 92px 0;
}

.public-section-sm {
    padding: 64px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: var(--accent);
}

.section-title {
    margin: 0;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-description {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--text-soft);
    font-size: 16px;
}

/* Hero */

.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 86px 0 72px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 8%;
    right: -10%;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 185, 59, 0.16), transparent 64%);
    filter: blur(20px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    align-items: center;
    gap: 64px;
}

.hero-copy {
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 12px;
    border: 1px solid rgba(54, 211, 153, 0.22);
    border-radius: 999px;
    background: rgba(54, 211, 153, 0.07);
    color: #8cf0c7;
    font-size: 12px;
    font-weight: 800;
}

.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 14px rgba(54, 211, 153, 0.75);
}

.hero-title {
    margin: 0;
    font-size: clamp(48px, 7vw, 92px);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.hero-title span {
    display: block;
    margin-top: 10px;
    color: var(--accent);
}

.hero-description {
    max-width: 680px;
    margin: 26px 0 0;
    color: var(--text-soft);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent-dark));
    color: #171006;
    box-shadow: 0 14px 40px rgba(246, 185, 59, 0.2);
}

.button-secondary {
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.045);
}

.button-dark {
    border: 1px solid var(--border);
    background: var(--surface-strong);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
    padding: 0;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
}

.hero-points li::before {
    content: "✓";
    color: var(--success);
    font-weight: 900;
}

.hero-server-card {
    position: relative;
    padding: 24px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 55%),
        rgba(16, 22, 35, 0.82);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.hero-server-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(246, 185, 59, 0.28), transparent 38%);
}

.server-card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.server-card-label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.server-card-name {
    margin: 5px 0 0;
    font-size: 22px;
    line-height: 1.15;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(54, 211, 153, 0.08);
    color: #8cf0c7;
    font-size: 11px;
    font-weight: 900;
}

.server-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
}

.server-map {
    position: relative;
    min-height: 230px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.76)),
        linear-gradient(135deg, #192335, #0d131e);
}

.server-map img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    opacity: 0.72;
}

.server-map-overlay {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.server-map-overlay strong {
    display: block;
    font-size: 22px;
}

.server-map-overlay span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
}

.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.server-stat {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.server-stat span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.server-stat strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
}

/* Generic cards */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.public-card {
    position: relative;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 54%),
        var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        border-color var(--transition);
}

.public-card:hover {
    transform: translateY(-4px);
    border-color: rgba(246, 185, 59, 0.2);
}

.public-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(246, 185, 59, 0.1);
    color: var(--accent-strong);
    font-weight: 900;
}

.public-card h3 {
    margin: 0;
    font-size: 20px;
}

.public-card p {
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 14px;
}

.public-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 900;
}

.public-card-link::after {
    content: "→";
    transition: transform var(--transition);
}

.public-card-link:hover::after {
    transform: translateX(4px);
}

/* Stats strip */

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.stats-strip-item {
    padding: 24px;
    border-right: 1px solid var(--border);
}

.stats-strip-item:last-child {
    border-right: 0;
}

.stats-strip-item strong {
    display: block;
    font-size: 25px;
}

.stats-strip-item span {
    color: var(--text-muted);
    font-size: 12px;
}

/* CTA */

.public-cta {
    position: relative;
    padding: 42px;
    overflow: hidden;
    border: 1px solid rgba(246, 185, 59, 0.2);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(246, 185, 59, 0.13), rgba(246, 185, 59, 0.025)),
        var(--surface-strong);
    box-shadow: var(--shadow-glow);
}

.public-cta::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 185, 59, 0.22), transparent 68%);
}

.public-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.public-cta h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

.public-cta p {
    max-width: 660px;
    margin: 12px 0 0;
    color: var(--text-soft);
}

/* Footer */

.public-footer {
    margin-top: 74px;
    border-top: 1px solid var(--border);
    background: rgba(6, 9, 14, 0.78);
}

.public-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 46px;
    padding-top: 54px;
    padding-bottom: 42px;
}

.public-footer-brand > a {
    display: inline-block;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
}

.public-footer-brand p {
    max-width: 390px;
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}

.public-footer-column,
.public-footer-server {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.public-footer-column strong,
.public-footer-server strong {
    margin-bottom: 5px;
    font-size: 13px;
}

.public-footer-column a,
.public-footer-server a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color var(--transition);
}

.public-footer-column a:hover,
.public-footer-server a:hover {
    color: var(--accent-strong);
}

.public-footer-server button {
    padding: 9px 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-soft);
    cursor: pointer;
}

.public-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
}

.public-footer-bottom p {
    margin: 0;
}

/* Toast */

.public-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    padding: 12px 16px;
    border: 1px solid rgba(54, 211, 153, 0.25);
    border-radius: 12px;
    background: #10251f;
    color: #9ef1d1;
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition:
        opacity var(--transition),
        transform var(--transition);
}

.public-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

.surface-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.grid-four {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* Responsive */

@media (max-width: 1120px) {
    .public-server-copy {
        display: none;
    }

    .public-navigation {
        gap: 0;
    }

    .public-navigation a {
        padding-inline: 9px;
    }

    .hero-grid {
        gap: 38px;
    }
}

@media (max-width: 960px) {
    :root {
        --header-height: 74px;
    }

    .public-menu-button {
        display: block;
    }

    .public-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: rgba(10, 14, 22, 0.98);
        box-shadow: var(--shadow-md);
    }

    .public-navigation.is-open {
        display: flex;
    }

    .public-navigation a {
        padding: 13px 14px;
    }

    .public-navigation a.is-active::after {
        display: none;
    }

    .public-header-actions {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-server-card {
        max-width: 620px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-strip-item:nth-child(2) {
        border-right: 0;
    }

    .stats-strip-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .public-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .public-container {
        width: min(calc(100% - 28px), var(--container));
    }

    .public-brand-copy small {
        display: none;
    }

    .public-brand-copy strong {
        font-size: 13px;
    }

    .hero-section {
        min-height: auto;
        padding: 64px 0 54px;
    }

    .hero-title {
        font-size: clamp(44px, 15vw, 70px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .server-stats-grid,
    .cards-grid,
    .grid-two,
    .grid-four {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .stats-strip-item {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stats-strip-item:last-child {
        border-bottom: 0;
    }

    .public-cta {
        padding: 28px;
    }

    .public-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .public-footer-bottom {
        flex-direction: column;
    }
}

/* ==== Added for profile/dashboard ==== */

.public-dashboard-button {
    min-height:42px;
    padding:0 15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(80,150,255,.32);
    border-radius:11px;
    color:#a9cbff;
    background:rgba(80,150,255,.08);
    font-size:13px;
    font-weight:850;
    text-decoration:none;
    transition:border-color .18s,background .18s,color .18s,transform .18s;
}
.public-dashboard-button:hover{
    border-color:rgba(80,150,255,.58);
    background:rgba(80,150,255,.15);
    color:#d2e5ff;
    transform:translateY(-2px);
}
.public-account-button.is-active{
    border-color:rgba(244,185,66,.48);
    color:#ffd77d;
    background:rgba(244,185,66,.12);
}
@media (max-width:1180px){
    .public-header-actions{flex-wrap:wrap;}
}
@media (max-width:900px){
    .public-dashboard-button{
        width:100%;
        min-height:44px;
    }
}

/* =========================================================
   MOBILE FIX — PRO.LALEAGANE.RO
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.public-main,
.site-shell,
.public-header,
.public-footer,
.hero-section,
.public-section,
.public-section-sm {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 960px) {
    .public-header {
        height: auto;
        min-height: var(--header-height);
    }

    .public-header-inner {
        position: relative;
        min-height: var(--header-height);
        gap: 12px;
    }

    .public-brand {
        min-width: 0;
        max-width: calc(100% - 58px);
    }

    .public-brand-copy {
        min-width: 0;
    }

    .public-brand-copy strong {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .public-menu-button {
        position: relative;
        z-index: 102;
        flex: 0 0 44px;
    }

    .public-navigation {
        z-index: 101;
        max-height: calc(100vh - var(--header-height) - 20px);
        overflow-y: auto;
    }

    .hero-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-copy,
    .hero-server-card,
    .public-card,
    .public-cta,
    .stats-strip,
    .grid-two,
    .cards-grid {
        min-width: 0;
        width: 100%;
    }

    .hero-server-card {
        max-width: none;
    }
}

@media (max-width: 680px) {
    :root {
        --header-height: 68px;
        --radius-lg: 20px;
        --radius-md: 16px;
    }

    .public-container {
        width: calc(100% - 24px);
    }

    .public-header-inner {
        min-height: 68px;
    }

    .public-brand {
        gap: 9px;
    }

    .public-brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .public-brand-copy strong {
        font-size: 12px;
        letter-spacing: 0;
    }

    .public-menu-button {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .public-navigation {
        top: calc(100% + 1px);
        right: 12px;
        left: 12px;
        padding: 10px;
        border-radius: 14px;
    }

    .public-navigation a {
        width: 100%;
        padding: 13px 14px;
    }

    .hero-section {
        padding: 42px 0 38px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-badge {
        margin-bottom: 16px;
        font-size: 11px;
    }

    .hero-title {
        font-size: clamp(38px, 13vw, 56px);
        line-height: 0.98;
        letter-spacing: -0.045em;
        overflow-wrap: anywhere;
    }

    .hero-title span {
        margin-top: 8px;
    }

    .hero-description {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 26px;
        gap: 10px;
    }

    .button {
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
        text-align: center;
        white-space: normal;
    }

    .hero-points {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .hero-server-card {
        padding: 16px;
        border-radius: 20px;
    }

    .server-card-top {
        align-items: center;
        gap: 10px;
    }

    .server-card-top > div {
        min-width: 0;
    }

    .server-card-name {
        max-width: 100%;
        font-size: 18px;
        overflow-wrap: anywhere;
    }

    .server-status {
        flex-shrink: 0;
        padding: 6px 9px;
    }

    .server-map {
        min-height: 180px;
        margin-top: 16px;
        border-radius: 14px;
    }

    .server-map img {
        height: 180px;
    }

    .server-map-overlay {
        right: 12px;
        bottom: 12px;
        left: 12px;
        gap: 10px;
    }

    .server-map-overlay strong {
        font-size: 17px;
        overflow-wrap: anywhere;
    }

    .server-stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .server-stat {
        padding: 12px;
    }

    .public-section {
        padding: 58px 0;
    }

    .public-section-sm {
        padding: 38px 0;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: clamp(30px, 10vw, 42px);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .section-description {
        margin-top: 14px;
        font-size: 15px;
    }

    .cards-grid,
    .grid-two,
    .grid-four {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .public-card {
        padding: 20px;
    }

    .stats-strip {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 16px;
    }

    .stats-strip-item {
        padding: 18px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stats-strip-item:nth-child(2) {
        border-right: 0;
    }

    .stats-strip-item:last-child {
        border-bottom: 0;
    }

    .stats-strip-item strong {
        font-size: 21px;
        overflow-wrap: anywhere;
    }

    .public-cta {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .public-cta-inner {
        gap: 20px;
    }

    .public-cta h2 {
        font-size: clamp(27px, 9vw, 38px);
        overflow-wrap: anywhere;
    }

    .public-footer {
        margin-top: 42px;
    }

    .public-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .public-footer-column,
    .public-footer-server {
        min-width: 0;
    }

    .public-footer-server button {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .public-footer-bottom {
        flex-direction: column;
        gap: 8px;
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .public-toast {
        right: 12px;
        bottom: 12px;
        left: 12px;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .public-container {
        width: calc(100% - 18px);
    }

    .public-brand-copy {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-server-card,
    .public-card,
    .public-cta {
        padding: 15px;
    }

    .server-card-top {
        align-items: flex-start;
    }

    .server-status {
        font-size: 10px;
    }
}

/* =========================================================
   PREMIUM HOME PAGE
   ========================================================= */

.premium-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    padding: 54px 0 42px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(3, 7, 14, .98) 0%, rgba(3, 7, 14, .88) 38%, rgba(3, 7, 14, .58) 68%, rgba(3, 7, 14, .94) 100%),
        radial-gradient(circle at 20% 28%, rgba(32, 112, 255, .22), transparent 36%),
        radial-gradient(circle at 82% 24%, rgba(246, 185, 59, .10), transparent 30%),
        url("/assets/images/backgrounds/hero-cs.jpg") center/cover no-repeat,
        #05080e;
}

.premium-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.015), transparent 24%),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,.012) 0,
            rgba(255,255,255,.012) 1px,
            transparent 1px,
            transparent 92px
        );
    opacity: .7;
}

.premium-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 130px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--bg));
}

.premium-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 100%, rgba(23, 96, 214, .14), transparent 46%),
        linear-gradient(180deg, transparent 70%, rgba(7,10,16,.72));
}

.premium-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    align-items: center;
    gap: 54px;
}

.premium-hero-content {
    min-width: 0;
    padding-block: 20px;
}

.premium-eyebrow,
.premium-server-online,
.premium-box-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #7ee9b7;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.premium-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 18px rgba(52, 211, 153, .9);
    animation: premiumPulse 1.8s ease-in-out infinite;
}

@keyframes premiumPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .55;
        transform: scale(.82);
    }
}

.premium-hero-title {
    margin: 22px 0 0;
    max-width: 820px;
    font-size: clamp(58px, 7.2vw, 112px);
    line-height: .82;
    letter-spacing: -.075em;
    text-transform: uppercase;
    text-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.premium-hero-title span,
.premium-hero-title strong {
    display: block;
}

.premium-hero-title span {
    color: #fff;
    font-weight: 950;
}

.premium-hero-title strong {
    margin-top: 10px;
    color: #2d7df6;
    font-weight: 950;
    background: linear-gradient(180deg, #5aa0ff 0%, #2678ef 52%, #135bc8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 12px 30px rgba(35, 114, 245, .30));
}

.premium-hero-subtitle {
    margin: 20px 0 0;
    color: #f7f9fd;
    font-size: clamp(22px, 2.2vw, 36px);
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: -.025em;
}

.premium-hero-description {
    max-width: 690px;
    margin: 20px 0 0;
    color: #c4cddd;
    font-size: 17px;
    line-height: 1.75;
}

.premium-hero-tags {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.premium-hero-tags span {
    padding: 7px 10px;
    border: 1px solid rgba(67, 134, 255, .25);
    border-radius: 999px;
    background: rgba(31, 104, 224, .10);
    color: #b8d7ff;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.premium-hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.premium-button {
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .025em;
    cursor: pointer;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        filter var(--transition);
}

.premium-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.premium-button-icon {
    font-size: 15px;
}

.premium-button-primary {
    border-color: rgba(74, 146, 255, .46);
    background: linear-gradient(135deg, #3689ff, #135dcc);
    box-shadow: 0 14px 36px rgba(28, 111, 235, .30);
}

.premium-button-discord {
    border-color: rgba(255,255,255,.08);
    background: linear-gradient(135deg, #111927, #0b1019);
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

.premium-button-gold {
    border-color: rgba(255, 207, 62, .42);
    background: linear-gradient(135deg, #f5cb31, #bd8704);
    color: #151005;
    box-shadow: 0 14px 36px rgba(230, 176, 22, .22);
}

.premium-button-secondary {
    border-color: var(--border-strong);
    background: rgba(255,255,255,.045);
}

.premium-trust-row {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.premium-trust-row div {
    display: flex;
    flex-direction: column;
}

.premium-trust-row strong {
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.premium-trust-row span {
    color: var(--text-muted);
    font-size: 11px;
}

/* Server panel */

.premium-server-panel {
    position: relative;
    min-width: 0;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(138, 166, 209, .23);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.035), transparent 42%),
        rgba(5, 11, 19, .89);
    box-shadow:
        0 28px 90px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.025);
    backdrop-filter: blur(16px);
}

.premium-server-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(45, 125, 246, .10), transparent 34%);
}

.premium-panel-head,
.premium-ip-row,
.premium-server-metrics,
.premium-map-preview {
    position: relative;
    z-index: 1;
}

.premium-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.premium-panel-head h2 {
    margin: 14px 0 0;
    color: #fff;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.premium-panel-head p {
    margin: 7px 0 0;
    color: #d7deea;
    font-size: 16px;
    font-weight: 900;
}

.premium-server-logo {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    flex: 0 0 66px;
    border: 2px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255,255,255,.18), transparent 60%),
        #090c11;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}

.premium-ip-row {
    margin-top: 14px;
}

.premium-ip-copy {
    width: 100%;
    min-height: 45px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(61, 126, 222, .23);
    border-radius: 9px;
    background: rgba(36, 104, 208, .08);
    color: #58a3ff;
    cursor: pointer;
}

.premium-ip-copy span {
    min-width: 0;
    overflow: hidden;
    font-weight: 850;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.premium-ip-copy strong {
    padding: 7px 11px;
    flex: 0 0 auto;
    border-radius: 7px;
    background: linear-gradient(135deg, #388bff, #175fc9);
    color: #fff;
    font-size: 11px;
}

.premium-server-metrics {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.premium-metric {
    min-width: 0;
    padding: 15px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.premium-metric-wide {
    grid-column: 1 / -1;
}

.premium-metric span {
    display: block;
    color: #99a5b7;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .065em;
}

.premium-metric strong {
    display: block;
    margin-top: 5px;
    max-width: 100%;
    color: #fff;
    font-size: 20px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.premium-progress {
    height: 5px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.premium-progress span {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #2683ff, #5aa7ff);
    box-shadow: 0 0 16px rgba(50, 137, 255, .55);
    transition: width 400ms ease;
}

.premium-map-preview {
    min-height: 145px;
    margin-top: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0b111b;
}

.premium-map-preview img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    opacity: .78;
}

.premium-map-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 32%, rgba(2,5,9,.92));
}

.premium-map-caption {
    position: absolute;
    right: 14px;
    bottom: 12px;
    left: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.premium-map-caption span {
    color: #9eaabb;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.premium-map-caption strong {
    color: #fff;
    font-size: 18px;
}

/* Dashboard area */

.premium-dashboard-section {
    position: relative;
    padding: 26px 0 34px;
    background:
        radial-gradient(circle at 50% 0%, rgba(32, 109, 224, .08), transparent 40%),
        var(--bg);
}

.premium-dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr .95fr 1.18fr;
    gap: 14px;
}

.premium-box {
    min-width: 0;
    border: 1px solid rgba(135, 163, 205, .18);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.025), transparent 45%),
        rgba(7, 13, 22, .88);
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
}

.premium-box-heading {
    padding: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--border);
}

.premium-box-heading h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
}

.premium-box-heading > strong {
    color: #68a9ff;
    font-size: 12px;
}

.premium-player-table {
    padding: 0 14px 10px;
}

.premium-player-row {
    min-height: 40px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 70px 70px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    color: #e8edf5;
    font-size: 12px;
}

.premium-player-header {
    color: #9ca8ba;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.premium-player-empty {
    padding: 30px 10px;
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
}

.premium-box-link {
    min-height: 42px;
    margin: 0 14px 14px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 7px;
    background: rgba(255,255,255,.03);
    color: #e6edf7;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.premium-quick-links {
    padding: 6px 16px 13px;
}

.premium-quick-links a {
    min-height: 67px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.premium-quick-links a:last-child {
    border-bottom: 0;
}

.premium-quick-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(47, 130, 250, .09);
    color: #5da5ff;
    font-weight: 950;
}

.premium-quick-links strong,
.premium-quick-links small {
    display: block;
}

.premium-quick-links strong {
    color: #fff;
    font-size: 12px;
}

.premium-quick-links small {
    margin-top: 3px;
    color: #9ca8b9;
    font-size: 10px;
}

.premium-quick-links b {
    color: #c7d2e2;
    font-size: 17px;
}

.premium-about-text {
    margin: 0;
    padding: 18px 16px;
    color: #b7c1d0;
    font-size: 13px;
    line-height: 1.7;
}

.premium-feature-grid {
    margin: 0 16px 16px;
    padding-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid var(--border);
}

.premium-feature-grid div {
    min-width: 0;
    text-align: center;
}

.premium-feature-grid span {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(52, 211, 153, .09);
    color: #40e3a2;
    font-weight: 950;
}

.premium-feature-grid strong,
.premium-feature-grid small {
    display: block;
}

.premium-feature-grid strong {
    color: #fff;
    font-size: 11px;
}

.premium-feature-grid small {
    margin-top: 3px;
    color: #8f9bad;
    font-size: 9px;
}

/* Vote area */

.premium-vote-section {
    padding: 34px 0 28px;
    background: #070a10;
}

.premium-section-heading {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.premium-section-heading span {
    color: #6da9ff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.premium-section-heading h2 {
    margin: 5px 0 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
}

.premium-section-heading p {
    max-width: 560px;
    margin: 0;
    color: #98a4b7;
    font-size: 13px;
}

.premium-vote-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    overflow: hidden;
    border: 1px solid rgba(135, 163, 205, .18);
    border-radius: 10px;
    background: rgba(7, 13, 22, .88);
}

.premium-vote-list {
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.premium-vote-card {
    min-width: 0;
    padding: 12px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: rgba(255,255,255,.018);
}

.premium-vote-logo {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(58, 139, 255, .16), rgba(58, 139, 255, .02));
    color: #70afff;
    font-size: 12px;
    font-weight: 950;
}

.premium-vote-copy {
    min-width: 0;
}

.premium-vote-copy strong,
.premium-vote-copy span {
    display: block;
}

.premium-vote-copy strong {
    color: #fff;
    font-size: 12px;
}

.premium-vote-copy span {
    margin-top: 3px;
    color: #95a1b2;
    font-size: 9px;
}

.premium-vote-card > a {
    grid-column: 1 / -1;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: linear-gradient(135deg, #3689ff, #175fc9);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.premium-vote-status {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border);
}

.premium-vote-status > span {
    color: #9aa6b7;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.premium-vote-status > strong {
    margin-top: 8px;
    color: #44dda2;
    font-size: 26px;
}

.premium-vote-status p {
    margin: 4px 0 14px;
    color: #97a3b4;
    font-size: 11px;
}

.premium-vote-status button {
    min-height: 38px;
    border: 1px solid rgba(62, 133, 237, .25);
    border-radius: 7px;
    background: rgba(45, 124, 242, .10);
    color: #6eafff;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

/* Final CTA */

.premium-final-cta {
    padding: 28px 0 50px;
    background: var(--bg);
}

.premium-final-card {
    position: relative;
    padding: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(44, 125, 245, .23);
    border-radius: 12px;
    background:
        radial-gradient(circle at 90% 20%, rgba(53, 136, 255, .16), transparent 30%),
        linear-gradient(135deg, rgba(32, 104, 217, .13), rgba(7, 13, 22, .94));
}

.premium-final-card span {
    color: #6faeff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.premium-final-card h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(26px, 3.5vw, 44px);
    line-height: 1.05;
}

.premium-final-card p {
    margin: 10px 0 0;
    color: #aeb8c7;
}

.premium-final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* Responsive premium page */

@media (max-width: 1180px) {
    .premium-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
        gap: 34px;
    }

    .premium-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-about-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 960px) {
    .premium-hero {
        min-height: auto;
        padding: 42px 0 36px;
    }

    .premium-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-hero-content {
        padding-top: 0;
    }

    .premium-server-panel {
        max-width: 720px;
    }

    .premium-dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-about-box {
        grid-column: auto;
    }

    .premium-vote-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-vote-status {
        border-top: 1px solid var(--border);
        border-left: 0;
    }
}

@media (max-width: 760px) {
    .premium-hero {
        background:
            linear-gradient(180deg, rgba(3,7,14,.78), rgba(3,7,14,.98)),
            radial-gradient(circle at 45% 12%, rgba(32,112,255,.18), transparent 38%),
            url("/assets/images/backgrounds/hero-cs.jpg") 58% center/cover no-repeat,
            #05080e;
    }

    .premium-hero-title {
        font-size: clamp(48px, 15vw, 76px);
    }

    .premium-hero-actions,
    .premium-final-actions {
        flex-direction: column;
    }

    .premium-button {
        width: 100%;
    }

    .premium-vote-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-section-heading,
    .premium-final-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .premium-final-actions {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .premium-hero {
        padding-top: 30px;
    }

    .premium-hero-title {
        letter-spacing: -.055em;
    }

    .premium-hero-description {
        font-size: 15px;
    }

    .premium-trust-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .premium-trust-row div {
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: rgba(255,255,255,.025);
    }

    .premium-trust-row strong {
        font-size: 11px;
    }

    .premium-trust-row span {
        font-size: 9px;
    }

    .premium-server-panel {
        padding: 15px;
    }

    .premium-panel-head h2 {
        font-size: 22px;
    }

    .premium-server-logo {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 14px;
    }

    .premium-server-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .premium-metric-wide {
        grid-column: auto;
    }

    .premium-player-row {
        grid-template-columns: 28px minmax(0, 1fr) 54px;
    }

    .premium-player-row span:last-child {
        display: none;
    }

    .premium-feature-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .premium-feature-grid div {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 0 10px;
        text-align: left;
    }

    .premium-feature-grid span {
        grid-row: 1 / 3;
        margin: 0;
    }

    .premium-section-heading p {
        font-size: 12px;
    }

    .premium-final-card {
        padding: 20px;
    }
}

