/* DreamPlayz - Cyan/Blue Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oxanium:wght@600;700&family=VT323&display=swap');

:root {
    --background-primary: #050814;
    --background-secondary: #090e1d;
    --background-tertiary: #0d1428;
    --surface-primary: rgba(15, 24, 45, 0.88);
    --surface-secondary: rgba(22, 32, 57, 0.82);
    --surface-hover: rgba(29, 43, 76, 0.92);
    --primary-cyan: #19d8ff;
    --primary-blue: #2684ff;
    --secondary-violet: #8b5cff;
    --accent-purple: #b45cff;
    --text-primary: #f7fbff;
    --text-secondary: #aebbd0;
    --text-subtle: #71809b;
    --success: #38d996;
    --warning: #ffbf47;
    --danger: #ff5e73;
    --info: #4ca8ff;
    --border-soft: rgba(142, 173, 219, 0.14);
    --border-highlight: rgba(25, 216, 255, 0.32);
    --gradient-brand: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    --shadow-sm: 0 8px 24px rgba(0, 4, 18, 0.2);
    --shadow-lg: 0 24px 80px rgba(0, 4, 18, 0.45);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --container-width: 1200px;
    --font-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Oxanium', 'VT323', sans-serif;
    --duration-fast: 160ms;
    --duration-normal: 280ms;
    --z-header: 1000;
    --primary-color: #00e5ff;
    /* Cyan */
    --secondary-color: #2979ff;
    /* Blue */
    --accent-color: #ffffff;
    --text-color: #e7fbff;
    --text-muted: #bdd4dc;
    --bg-overlay: rgba(5, 16, 24, 0.78);
    --bg-panel: rgba(10, 31, 42, 0.82);
    --font-main: var(--font-ui);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --focus-ring: 0 0 0 3px rgba(0, 229, 255, 0.28);
}



html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    line-height: 1.6;
    background: var(--background-primary);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.nav-brand-title,
.admin-kicker {
    font-family: var(--font-display);
    line-height: 1.15;
}

.skip-link {
    position: fixed;
    top: var(--space-4);
    left: var(--space-4);
    z-index: 10000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: #001018;
    background: var(--primary-cyan);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform var(--duration-fast) ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid #fff;
    outline-offset: 3px;
}

body.modal-open {
    overflow: hidden;
}

::selection {
    color: #001014;
    background: #7df5ff;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.55) rgba(4, 14, 22, 0.86);
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: rgba(4, 14, 22, 0.86);
}

*::-webkit-scrollbar-thumb {
    border: 2px solid rgba(4, 14, 22, 0.86);
    border-radius: 999px;
    background: linear-gradient(180deg, #7df5ff, #2979ff);
}

/* Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(6px) brightness(0.82) saturate(1.08);
    z-index: -2;
    transform: scale(1.1);
}

/* Links & Buttons Cursor */
a,
button,
.btn,
input[type="submit"],
select,
.nav-link,
.store-item {
    cursor: pointer;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 2px solid var(--primary-color);
    padding: 0 2rem;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 229, 255, 0.2);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--primary-color));
    transition: transform 0.3s;
}

.nav-brand img:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.nav-link:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    /* Pushes footer down */
}

/* Animations */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    animation: floatText 3s ease-in-out infinite;
}

@keyframes floatText {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatButton {

    0%,
    100% {
        top: 0;
    }

    50% {
        top: -10px;
    }
}

/* Unified Hero Buttons */
.hero-btn {
    position: relative !important;
    border: 2px solid rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
    padding: 1.2rem 3rem !important;
    font-family: var(--font-main) !important;
    font-size: 1.8rem !important;
    text-transform: uppercase !important;
    transition: all 0.1s ease !important;
    border-radius: 8px !important;
    animation: floatButton 4s infinite ease-in-out !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    outline: none !important;
    box-sizing: border-box !important;
    line-height: normal !important;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3) !important;
}

.copy-ip-btn,
.discord-btn {
    background: linear-gradient(to bottom, #0099ff, #00ccff) !important;
    box-shadow: 0 12px 0 #004ba0, 0 15px 25px rgba(0, 0, 0, 0.5) !important;
}

.hero-btn:active {
    top: 8px !important;
    box-shadow: 0 4px 0 #004ba0, 0 5px 10px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.05s !important;
	}

.nav-link,
.btn,
.apply-btn,
.admin-action-card,
.home-action-tile,
.home-feature-card,
.card,
.store-item {
    transition-timing-function: var(--ease-smooth) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring) !important;
    border-color: rgba(0, 229, 255, 0.72) !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Active state for discord handled by unified hero-btn:active above */

.hero-btns {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Cards */
.card,
.store-item,
.stat-card {
    background: var(--bg-panel);
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover,
.store-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.card:hover::before {
    left: 100%;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 3px solid var(--secondary-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 0;
}

/* Inputs */
input,
select,
textarea {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--secondary-color);
    color: white;
    padding: 1rem;
    font-family: var(--font-main);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.sidebar-link:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.grid-layout {
    display: grid;
    gap: 2rem;
}

/* Admin */
.admin-page {
    margin-top: 5rem;
    margin-bottom: 4rem;
}

.admin-shell {
    display: grid;
    grid-template-columns: minmax(220px, 255px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.admin-content {
    min-width: 0;
}

.admin-page .card {
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 38px;
    border-radius: 8px !important;
    text-decoration: none;
    transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-page .btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.admin-page input,
.admin-page select,
.admin-page textarea {
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: rgba(0, 0, 0, 0.42);
}

.admin-sidebar {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.07), rgba(41, 121, 255, 0.04)),
        rgba(4, 14, 22, 0.92);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.16);
}

.admin-sidebar-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.35));
}

.admin-sidebar-brand strong,
.admin-sidebar-brand small {
    display: block;
}

.admin-sidebar-brand small {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.admin-sidebar-nav {
    display: grid;
    gap: 0.25rem;
    padding: 0.65rem;
}

.admin-sidebar-nav a,
.admin-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 42px;
    padding: 0.7rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-sidebar-nav a i,
.admin-sidebar-footer a i {
    width: 20px;
    text-align: center;
    color: #7df5ff;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active,
.admin-sidebar-footer a:hover {
    transform: translateX(3px);
    color: #7df5ff;
    border-color: rgba(0, 229, 255, 0.38);
    background: rgba(0, 229, 255, 0.1);
}

.admin-sidebar-footer {
    display: grid;
    gap: 0.25rem;
    padding: 0.65rem;
    border-top: 1px solid rgba(0, 229, 255, 0.16);
}

.admin-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.35rem;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(41, 121, 255, 0.08)),
        rgba(4, 14, 22, 0.88);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-hero-compact {
    padding: 1.15rem 1.25rem;
}

.admin-kicker {
    margin: 0 0 0.35rem;
    color: #7df5ff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.admin-hero h1,
.admin-section-heading h2 {
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0;
}

.admin-hero p:not(.admin-kicker) {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    line-height: 1.45;
}

.admin-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(0, 229, 255, 0.42);
    border-radius: 8px;
    color: #7df5ff;
    text-decoration: none;
    background: rgba(0, 229, 255, 0.08);
    white-space: nowrap;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.admin-hero-action:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    background: rgba(0, 229, 255, 0.16);
}

.admin-stat-grid,
.admin-action-grid {
    display: grid;
    gap: 1rem;
}

.admin-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 2rem;
}

.admin-stat-card {
    display: grid;
    gap: 0.45rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 8px;
    background: rgba(6, 20, 30, 0.86);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-stat-card i {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-color);
}

.admin-stat-card span {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.95rem;
}

.admin-stat-card strong {
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
}

.admin-stat-blue { border-color: rgba(33, 150, 243, 0.55); }
.admin-stat-blue i { color: #65c8ff; }
.admin-stat-red { border-color: rgba(244, 67, 54, 0.55); }
.admin-stat-red i { color: #ff8177; }
.admin-stat-green { border-color: rgba(76, 175, 80, 0.55); }
.admin-stat-green i { color: #8dff96; }

.admin-card {
    border-color: rgba(0, 229, 255, 0.22);
}

.admin-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-action-grid {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.admin-action-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 58px;
    padding: 0.9rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    background: rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-action-card i {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #001014;
    background: linear-gradient(180deg, #7df5ff, #2979ff);
}

.admin-action-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    background: rgba(0, 229, 255, 0.09);
}

.admin-action-card-hot i {
    background: linear-gradient(180deg, #ffcf5f, #ff5858);
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 8px;
    background: rgba(4, 14, 22, 0.74);
}

.admin-search-form,
.admin-inline-form {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.admin-search-form {
    width: 100%;
}

.admin-search-form input {
    min-width: 0;
}

.admin-two-column {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.25rem;
    align-items: start;
}

.admin-panel-card {
    border-color: rgba(0, 229, 255, 0.2);
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.04), rgba(41, 121, 255, 0.02)),
        var(--bg-panel);
}

.admin-panel-card h2,
.admin-panel-card h3 {
    margin-top: 0;
    color: #fff;
}

.admin-form-stack {
    display: grid;
    gap: 0.9rem;
}

.admin-form-row {
    display: grid;
    gap: 0.35rem;
}

.admin-form-row label {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
}

.admin-list {
    display: grid;
    gap: 0.75rem;
}

.admin-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem;
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
}

.admin-list-item strong {
    display: block;
    color: #fff;
}

.admin-list-item small,
.admin-list-item span {
    color: var(--text-muted);
}

.admin-icon-action,
.admin-danger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #ff8177;
    text-decoration: none;
    background: rgba(244, 67, 54, 0.12);
    border: 1px solid rgba(244, 67, 54, 0.25);
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 8px;
    background: rgba(4, 14, 22, 0.8);
}

.admin-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: #7df5ff;
    background: rgba(0, 0, 0, 0.28);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.admin-table tr:hover td {
    background: rgba(0, 229, 255, 0.04);
}

.admin-table .btn {
    min-height: 34px;
    padding: 0.35rem 0.65rem;
}

.admin-avatar-name {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.admin-avatar-name img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.admin-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.admin-filter-pills .btn {
    border: 1px solid rgba(0, 229, 255, 0.28) !important;
    background: rgba(0, 0, 0, 0.24) !important;
    color: var(--text-color) !important;
    border-radius: 8px !important;
}

.admin-filter-pills .btn.active {
    background: linear-gradient(180deg, #7df5ff, #2979ff) !important;
    color: #001014 !important;
}

.admin-message {
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(76, 175, 80, 0.32);
    border-radius: 8px;
    color: #8dff96;
    background: rgba(76, 175, 80, 0.12);
}

.admin-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.store-admin-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.store-admin-content {
    min-width: 0;
}

.store-admin-sidebar {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.07), rgba(41, 121, 255, 0.04)),
        rgba(4, 14, 22, 0.9);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.store-admin-sidebar h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(0, 229, 255, 0.16);
    font-size: 1rem;
    text-transform: uppercase;
}

.store-admin-sidebar h3 small {
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    color: #001014;
    background: #7df5ff;
    font-size: 0.72rem;
}

.store-admin-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0.55rem;
}

.store-admin-sidebar li {
    margin: 0.15rem 0;
}

.store-admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 44px;
    padding: 0.75rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.store-admin-sidebar a:hover,
.store-admin-sidebar a.active {
    transform: translateX(3px);
    border-color: rgba(0, 229, 255, 0.38);
    color: #7df5ff;
    background: rgba(0, 229, 255, 0.1);
}

.store-admin-sidebar a i {
    width: 20px;
    text-align: center;
}

/* Particles & Modal */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* IP Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--bg-panel);
    border: 3px solid var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    max-width: 650px;
    /* Increased for grid layout */
    width: 90%;
    max-height: 90vh;
    /* Ensure it fits on smaller screens */
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.ip-row {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--secondary-color);
}

.leaf {
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

/* Mobile Actions & Dropdown */
.mobile-actions {
    display: none;
    align-items: center;
}

.mobile-dropdown {
    display: none;
    background: var(--bg-panel);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 999;
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-dropdown.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 0.5rem;
}

.mobile-nav-links a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    min-height: 48px;
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(125, 245, 255, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 229, 255, 0.025)),
        rgba(3, 18, 27, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mobile-nav-links .nav-link-icon,
.mobile-nav-links .nav-cart-link,
.mobile-nav-links .logout-link {
    width: 100%;
}

.mobile-nav-links a i {
    width: 1.25rem;
    text-align: center;
    color: var(--primary-color);
}

.mobile-nav-links .cart-pill {
    margin-left: auto;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
    color: #7df5ff;
    background:
        linear-gradient(180deg, rgba(125, 245, 255, 0.13), rgba(41, 121, 255, 0.07)),
        rgba(3, 18, 27, 0.86);
    border-color: rgba(125, 245, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 10px 22px rgba(0, 229, 255, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .admin-page {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    .admin-shell {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-sidebar-nav {
        grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    }

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

    .admin-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-hero-action {
        width: 100%;
    }

    .store-admin-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .store-admin-sidebar {
        position: static;
    }

    .store-admin-sidebar ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
        gap: 0.45rem;
    }

    .store-admin-sidebar li {
        margin: 0;
    }

    .store-admin-sidebar a:hover,
    .store-admin-sidebar a.active {
        transform: translateY(-1px);
    }

    .store-admin-content [style*="grid-template-columns: 1fr 2fr"],
    .store-admin-content [style*="grid-template-columns: 2fr 1fr"],
    .store-admin-content form[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .admin-toolbar,
    .admin-search-form,
    .admin-inline-form,
    .admin-list-item {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-two-column {
        grid-template-columns: 1fr;
    }
}

/* Mobile Media Queries */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-actions {
        display: flex;
    }

    .navbar {
        height: 80px;
        padding: 0 1rem !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .nav-brand img {
        height: 40px;
    }

    .nav-brand span {
        font-size: 1.4rem !important;
    }

    .container {
        padding: 1rem;
    }

    /* Hero adjustments */
    .hero .container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    .hero-btns {
        display: flex !important;
        gap: 0.5rem !important;
        width: 100%;
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-btn {
        flex: 1;
        padding: 1rem 0.5rem !important;
        font-size: 1.2rem !important;
        margin: 0 !important;
    }

    /* Grid Layouts to Single Column */
    .grid-layout {
        grid-template-columns: 1fr !important;
    }

    .server-tiles {
        grid-template-columns: 1fr !important;
    }
}

#openVoteModal {
    background: linear-gradient(to bottom, #00e5ff, #00b8d4) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 6px 0 #00838f, 0 8px 15px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.1s ease !important;
    position: relative !important;
    top: 0 !important;
}

#openVoteModal:active {
    top: 4px !important;
    box-shadow: 0 2px 0 #00838f, 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Vote Modal Styles */
.vote-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    overflow-y: auto;
    max-height: 60vh;
    padding: 0.5rem;

    /* Scrollbar Styling */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.vote-links-grid::-webkit-scrollbar {
    width: 6px;
}

.vote-links-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.vote-links-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.vote-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
}

.vote-link-item:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: #00e5ff;
    transform: translateY(-3px);
    /* Changed from translate-x for grid consistency */
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.2);
}

.vote-link-item i {
    transition: transform 0.3s ease;
}

.vote-link-item:hover i {
    transform: scale(1.2);
    color: #ffd700;
}

/* Modern refresh */
html {
    scroll-behavior: smooth;
}

body {
    background: #08202b;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 16%, rgba(0, 229, 255, 0.18), transparent 30%),
        radial-gradient(circle at 84% 28%, rgba(41, 121, 255, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(4, 18, 27, 0.18), rgba(4, 16, 24, 0.58) 72%);
}

::selection {
    background: rgba(0, 229, 255, 0.35);
    color: #fff;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
    scrollbar-width: auto;
    scrollbar-color: var(--primary-color) rgba(3, 10, 15, 0.88);
}

::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background:
        linear-gradient(180deg, rgba(3, 10, 15, 0.92), rgba(5, 21, 31, 0.96));
    border-left: 1px solid rgba(0, 229, 255, 0.18);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.55);
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(180deg, #7df5ff 0%, #00e5ff 34%, #2979ff 100%);
    border: 4px solid rgba(3, 10, 15, 0.96);
    border-radius: 999px;
    min-height: 58px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 14px rgba(0, 229, 255, 0.45);
}

::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, #ffffff 0%, #00e5ff 36%, #18d9ff 68%, #2979ff 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 22px rgba(0, 229, 255, 0.78);
}

::-webkit-scrollbar-corner {
    background: rgba(3, 10, 15, 0.92);
}

.navbar {
    background: rgba(4, 18, 27, 0.68);
    border-bottom: 1px solid rgba(0, 229, 255, 0.45);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(0, 229, 255, 0.14);
}

.nav-brand {
    min-width: max-content;
    min-width: 0;
}

.nav-brand-logo {
    height: 50px;
    width: auto;
}

.nav-brand-title {
    margin-left: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-brand span {
    letter-spacing: 0;
}

.nav-links {
    gap: clamp(0.35rem, 0.75vw, 0.8rem);
}

.navbar .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 40px;
    padding: 0.5rem 0.66rem;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: rgba(231, 251, 255, 0.92);
    letter-spacing: 0;
    line-height: 1;
    overflow: hidden;
    text-shadow: none;
    transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.navbar .nav-link::after {
    display: none;
}

.navbar .nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.16), transparent);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.navbar .nav-link:hover {
    color: #7df5ff;
    background: rgba(0, 229, 255, 0.045);
    border-color: transparent;
    box-shadow: inset 0 -2px 0 rgba(0, 229, 255, 0.9);
    transform: translateY(-1px);
}

.navbar .nav-link:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.navbar .nav-link i {
    font-size: 0.92em;
    width: 1.08em;
    text-align: center;
}

.nav-link:focus-visible,
.hero-btn:focus-visible,
.btn:focus-visible,
.mobile-menu-toggle:focus-visible,
.close-modal:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.nav-link.btn,
.login-btn-mobile,
.profile-btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link-icon,
.nav-user-link,
.nav-cart-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
}

.nav-link-rewards {
    color: #65df70 !important;
    border-color: transparent !important;
}

.navbar .nav-link-rewards:hover {
    color: #8dff96 !important;
    background: rgba(101, 223, 112, 0.065);
    border-color: transparent !important;
    box-shadow: inset 0 -2px 0 rgba(101, 223, 112, 0.9);
}

.cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #001014;
    font-size: 0.82rem;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.34);
}

.nav-cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -9px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f44336;
    color: #fff;
    font-size: 0.72rem;
    font-weight: bold;
}

.nav-user-link {
    border-color: rgba(0, 229, 255, 0.48) !important;
    padding: 0.42rem 0.82rem !important;
    background: rgba(0, 229, 255, 0.08) !important;
}

.nav-avatar {
    border-radius: 50%;
}

.nav-login-btn {
    border-color: rgba(255, 255, 255, 0.24) !important;
    padding: 0.52rem 1.15rem !important;
    color: #fff !important;
    background: linear-gradient(180deg, #18d9ff, #1877ff) !important;
    border-radius: 7px !important;
    box-shadow: 0 5px 0 #06438f, 0 12px 22px rgba(41, 121, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.navbar .nav-login-btn:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #54e8ff, #1f82ff) !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 4px 0 #06438f, 0 14px 26px rgba(0, 229, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.login-btn-mobile {
    margin-right: 0;
    width: 42px;
    height: 42px;
    color: #7df5ff;
    font-size: 1.15rem;
    border: 1px solid rgba(125, 245, 255, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(125, 245, 255, 0.14), rgba(41, 121, 255, 0.08)),
        rgba(3, 18, 27, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 22px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.profile-btn-mobile {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(125, 245, 255, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.14), rgba(41, 121, 255, 0.1)),
        rgba(3, 18, 27, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 22px rgba(0, 0, 0, 0.2);
}

.mobile-avatar {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(125, 245, 255, 0.95);
    border-radius: 50%;
}

.mobile-menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(125, 245, 255, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.14), rgba(41, 121, 255, 0.12)),
        rgba(3, 18, 27, 0.88);
    color: #7df5ff;
    font-size: 1.32rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 22px rgba(0, 0, 0, 0.2);
}

.logout-link {
    color: #ff6b6b !important;
}

.home-hero {
    min-height: calc(100vh - 80px);
    padding: clamp(3rem, 6vw, 6rem) 0 clamp(2rem, 4vw, 4rem);
    text-align: left;
}

.home-hero .container {
    width: min(100%, 1480px);
    max-width: 1480px;
    padding-inline: clamp(1rem, 4vw, 3rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.95fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
}

.hero-content {
    position: relative;
}

.hero-logo {
    width: min(100%, 420px);
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.72));
    animation: floatText 4s infinite ease-in-out;
}

.hero-title-fallback {
    display: none;
    margin: 0;
    color: var(--primary-color);
    font-size: 5rem;
    line-height: 0.95;
    text-shadow: 0 0 24px rgba(0, 229, 255, 0.58);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(4, 20, 30, 0.58);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.badge-cyan {
    border: 1px solid rgba(0, 229, 255, 0.72);
    color: var(--primary-color);
}

.badge-blue {
    border: 1px solid rgba(41, 121, 255, 0.72);
    color: #7eb3ff;
}

.badge-green {
    border: 1px solid rgba(76, 175, 80, 0.72);
    color: #7ff584;
}

.hero-copy {
    max-width: 680px;
    margin-bottom: 2rem;
    color: rgba(224, 247, 250, 0.92);
    font-size: 1.45rem;
    line-height: 1.55;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.hero-btns {
    align-items: center;
}

.hero-btn {
    min-width: 180px;
    min-height: 64px;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 7px !important;
    background: linear-gradient(180deg, #18d9ff, #1877ff) !important;
    box-shadow: 0 10px 0 #06438f, 0 18px 32px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease !important;
}

.hero-btn:hover {
    filter: brightness(1.08) saturate(1.08);
    transform: translateY(-3px);
}

.discord-btn {
    background: linear-gradient(180deg, #7289da, #465bc4) !important;
    box-shadow: 0 10px 0 #243487, 0 18px 32px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.server-tiles-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-kicker,
.section-title {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.56);
}

.section-kicker {
    margin-bottom: 0.4rem;
    text-align: center;
}

.section-title {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding-bottom: 0.45rem;
    border-bottom: 3px solid var(--primary-color);
}

.server-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.server-card {
    margin: 0;
    padding: 1.35rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(9, 39, 52, 0.76), rgba(5, 18, 26, 0.68));
    border-width: 1px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 38px rgba(0, 0, 0, 0.24);
}

.server-card > i {
    margin-bottom: 0.85rem;
    font-size: 2.35rem;
}

.server-card h3 {
    margin: 0;
    font-size: 1.4rem;
}

.server-card p {
    margin: 0.45rem 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.server-card .server-count {
    color: #7ff584;
    font-size: 1.22rem;
    font-weight: bold;
}

.server-card-blue {
    border-color: rgba(41, 121, 255, 0.72);
}

.server-card-blue > i,
.server-card-blue h3 {
    color: #7eb3ff;
}

.server-card-cyan {
    border-color: rgba(0, 229, 255, 0.72);
}

.server-card-cyan > i,
.server-card-cyan h3 {
    color: var(--primary-color);
}

.server-card-red {
    border-color: rgba(244, 67, 54, 0.72);
}

.server-card-red > i,
.server-card-red h3 {
    color: #ff766d;
}

.server-card-gold {
    border-color: rgba(255, 193, 7, 0.72);
}

.server-card-gold > i,
.server-card-gold h3 {
    color: #ffd65c;
}

.home-main {
    width: min(100%, 1480px);
    max-width: 1480px;
    margin-top: 2rem;
    padding-inline: clamp(1rem, 4vw, 3rem);
}

.home-action-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.home-action-tile {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.34);
    border-radius: 8px;
    color: #fff;
    text-align: left;
    text-decoration: none;
    font: inherit;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.14), rgba(41, 121, 255, 0.05)),
        rgba(4, 18, 28, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.23);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-action-tile:hover,
.home-action-tile:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(125, 245, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 42px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 229, 255, 0.14);
    outline: none;
}

.home-action-tile i {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.45rem;
    background: rgba(0, 0, 0, 0.32);
}

.home-action-tile span {
    display: block;
    color: var(--primary-color);
    font-size: 1.45rem;
    line-height: 1;
}

.home-action-tile small {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.3;
}

.action-store i {
    color: #ffd65c;
}

.action-join i {
    color: #7df5ff;
}

.action-vote i {
    color: #8dff96;
}

.action-support i {
    color: #8ea1ff;
}

.home-feature-band {
    margin-bottom: 2.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(0, 229, 255, 0.1), rgba(41, 121, 255, 0.08), rgba(4, 18, 28, 0.88)),
        rgba(3, 13, 21, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 48px rgba(0, 0, 0, 0.26);
}

.feature-band-heading {
    max-width: 900px;
    margin-bottom: 1.35rem;
}

.feature-band-heading .section-kicker {
    text-align: left;
}

.feature-band-heading h2 {
    margin: 0 0 0.55rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
}

.feature-band-heading p:not(.section-kicker) {
    color: var(--text-muted);
    font-size: 1.18rem;
    line-height: 1.5;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-feature-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.26);
}

.home-feature-card > i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.34);
    font-size: 1.45rem;
}

.home-feature-card h3 {
    margin: 0 0 0.45rem;
    color: var(--primary-color);
    font-size: 1.55rem;
}

.home-feature-card p {
    flex: 1;
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.42;
}

.home-feature-card a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
}

.home-feature-card a:hover {
    color: var(--primary-color);
}

.feature-survival > i {
    color: #8dff96;
}

.feature-practice > i {
    color: #ff766d;
}

.feature-punish > i {
    color: #ffd65c;
}

.feature-community > i {
    color: #8ea1ff;
}

.home-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: start;
}

.card,
.store-item,
.stat-card {
    background: linear-gradient(180deg, rgba(10, 39, 52, 0.78), rgba(5, 21, 30, 0.76));
    border: 1px solid rgba(0, 229, 255, 0.46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

.news-item {
    border-left: 5px solid var(--secondary-color);
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-item h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.news-date {
    flex: 0 0 auto;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.news-content {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.widget-card {
    text-align: center;
}

.widget-card h3 {
    margin-top: 0;
}

.widget-card p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.creator-title {
    color: #ffc107;
}

.discord-widget-card {
    overflow: hidden;
    border-color: rgba(88, 101, 242, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.25), 0 0 24px rgba(88, 101, 242, 0.1);
}

.discord-widget-card h3 {
    color: #7df5ff;
}

.discord-widget-card h3 i {
    color: #8ea1ff;
}

.discord-widget-frame {
    width: 100%;
    margin-top: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(3, 10, 15, 0.88);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 26px rgba(0, 0, 0, 0.22);
}

.discord-widget-frame iframe {
    display: block;
    width: 100%;
    min-height: 430px;
    height: min(500px, 70dvh);
    border: 0;
}

.about-us {
    margin-top: 3rem;
    text-align: center;
}

.about-us h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-us > div {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.8;
}

.site-footer {
    position: relative;
    z-index: 10;
    margin-top: auto;
    padding: 2rem;
    text-align: center;
    background: rgba(3, 10, 15, 0.86);
    border-top: 1px solid rgba(41, 121, 255, 0.55);
    box-shadow: 0 -16px 36px rgba(0, 0, 0, 0.28);
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1.25rem;
    margin-top: 1rem;
}

.page-main {
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-hero {
    margin-bottom: 2rem;
    text-align: center;
}

.page-hero.compact {
    min-height: auto;
    display: block;
    padding: 0;
}

.page-hero h1 {
    margin-bottom: 0.7rem;
    color: var(--primary-color);
    font-size: 3.5rem;
    line-height: 1;
    text-shadow: 0 0 22px rgba(0, 229, 255, 0.4);
}

.page-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.5;
}

.legal-card {
    max-width: 920px;
    margin: 0 auto;
    line-height: 1.75;
}

.legal-card h2 {
    margin-top: 1.8rem;
    color: var(--primary-color);
}

.legal-card ul,
.rules-card ol {
    margin: 1rem 0 0 1.4rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.gallery-grid,
.staff-grid,
.leaderboard-grid {
    display: grid;
    gap: 1.4rem;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-card {
    padding: 0;
    overflow: hidden;
}

.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
    filter: saturate(1.08);
}

.gallery-card p {
    margin: 0;
    padding: 1rem;
    text-align: center;
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

.empty-state {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.empty-state h2 {
    color: var(--primary-color);
}

.not-found-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    width: 100%;
}

.not-found-page .page-hero {
    width: 100%;
}

.not-found-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.not-found-code {
    margin: 0 0 0.4rem;
    color: var(--primary-color);
    font-size: clamp(5rem, 18vw, 10rem);
    line-height: 0.8;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.52);
}

.not-found-card h1 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: clamp(2.2rem, 8vw, 4rem);
}

.not-found-card p:not(.not-found-code) {
    max-width: 520px;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
    font-size: 1.3rem;
    line-height: 1.45;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.auth-page,
.auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 4rem 1rem;
}

.auth-shell-wide {
    padding-top: 3rem;
}

.auth-card {
    position: relative;
    width: min(100%, 520px);
    padding: clamp(1.35rem, 4vw, 2.25rem);
    text-align: left;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.12), rgba(41, 121, 255, 0.04)),
        rgba(4, 18, 28, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46), 0 0 28px rgba(0, 229, 255, 0.13);
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    color: #7df5ff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.auth-card h1,
.auth-card h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: left;
    color: var(--accent-color);
    font-size: clamp(2rem, 8vw, 3.1rem);
    line-height: 1;
}

.auth-copy {
    margin-bottom: 1.4rem;
    text-align: left;
    color: var(--text-muted);
    line-height: 1.5;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-field {
    display: grid;
    gap: 0.4rem;
}

.auth-card label {
    display: block;
    color: #dffbff;
    font-size: 1.05rem;
}

.auth-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.38);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-input-wrap:focus-within {
    border-color: rgba(0, 229, 255, 0.72);
    background: rgba(0, 0, 0, 0.52);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.auth-input-wrap i {
    width: 1.1rem;
    margin-left: 0.9rem;
    color: var(--primary-color);
    text-align: center;
}

.auth-card input,
.auth-input-wrap input {
    width: 100%;
    min-width: 0;
    padding: 0.85rem 0.9rem 0.85rem 0;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 1.15rem;
}

.auth-card input:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    transition: background-color 9999s ease-in-out 0s;
}

.auth-turnstile {
    min-height: 65px;
    display: flex;
    justify-content: center;
    padding: 0.2rem 0;
}

.auth-submit,
.auth-submit-btn {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #001018;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.2);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.auth-submit:hover,
.auth-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 16px 38px rgba(0, 229, 255, 0.28);
}

.auth-secondary-form {
    margin-top: 1rem;
}

.auth-link-button-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(0, 229, 255, 0.32);
    border-radius: 8px;
    color: #7df5ff;
    background: rgba(0, 229, 255, 0.08);
    font: inherit;
    cursor: pointer;
}

.auth-reset-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.auth-reset-choice label {
    cursor: pointer;
}

.auth-reset-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-reset-choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.75rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    color: #dffbff;
    background: rgba(0, 0, 0, 0.28);
    text-align: center;
}

.auth-reset-choice input:checked + span {
    border-color: rgba(0, 229, 255, 0.72);
    color: #001018;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.auth-ingame-reset-fields {
    display: none;
    gap: 1rem;
}

.auth-ingame-reset-fields.is-visible {
    display: grid;
}

.auth-link-button {
    box-sizing: border-box;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem 1rem;
    margin-top: 1.35rem;
    text-align: center;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--accent-color);
    text-decoration-color: rgba(0, 229, 255, 0.7);
}

.auth-alert {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid transparent;
}

.auth-alert.error {
    background: rgba(255, 76, 76, 0.13);
    border-color: rgba(255, 76, 76, 0.34);
    color: #ff9b9b;
}

.auth-alert.success {
    background: rgba(0, 229, 130, 0.13);
    border-color: rgba(0, 229, 130, 0.3);
    color: #93ffc7;
}

.auth-alert a {
    color: #fff;
}

.panel-shell {
    margin-top: 3.2rem;
}

.panel-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 3fr);
    gap: 1.5rem;
    align-items: start;
}

.panel-sidebar {
    position: sticky;
    top: 100px;
    padding: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.08), rgba(41, 121, 255, 0.03)),
        rgba(5, 18, 28, 0.9);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.panel-sidebar-profile {
    padding: 1.2rem 0.7rem 1.3rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-sidebar-profile img {
    width: 96px;
    height: 96px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.24);
    object-fit: cover;
}

.panel-sidebar-profile h3 {
    margin: 0.85rem 0 0.4rem;
    color: #fff;
    font-size: 1.55rem;
}

.panel-sidebar-profile span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0.1rem 0.8rem;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    color: #8ff8ff;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.panel-sidebar-nav {
    display: grid;
    gap: 0.55rem;
    padding-top: 1rem;
}

.panel-sidebar-label {
    margin: 0.85rem 0 0.15rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.panel-nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: #e7fbff;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.panel-nav-link i {
    width: 1.15rem;
    color: var(--primary-color);
    text-align: center;
}

.panel-nav-link:hover,
.panel-nav-link.active {
    transform: translateX(2px);
    border-color: rgba(0, 229, 255, 0.42);
    background: rgba(0, 229, 255, 0.12);
}

.panel-nav-link.staff {
    border-color: rgba(255, 92, 92, 0.24);
    color: #ffd6d6;
}

.panel-nav-link.staff i,
.panel-nav-link.logout i {
    color: #ff7777;
}

.panel-nav-link.logout {
    margin-top: 0.8rem;
    border-color: rgba(255, 92, 92, 0.28);
    color: #ffb0b0;
}

.panel-card {
    border-color: rgba(0, 229, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.07), rgba(41, 121, 255, 0.025)),
        var(--bg-panel);
}

.panel-hero {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-hero > div {
    min-width: 0;
    flex: 1;
}

.panel-hero-avatar {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    background: rgba(0, 0, 0, 0.35);
    object-fit: cover;
}

.panel-hero h1 {
    margin: 0.2rem 0 0.35rem;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1;
}

.panel-hero p {
    color: var(--text-muted);
    line-height: 1.4;
}

.panel-hero-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #001018;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(0, 229, 255, 0.16);
}

.panel-rank-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.32);
    color: #8ff8ff;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.panel-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    color: #9dffb7;
    background: rgba(76, 175, 80, 0.16);
    border: 1px solid rgba(76, 175, 80, 0.28);
}

.panel-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.panel-stat {
    min-width: 0;
    margin: 0;
    text-align: left;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.panel-stat:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.34);
}

.panel-stat h3 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
}

.panel-stat p {
    margin-top: 0.45rem;
    font-size: clamp(1.45rem, 4vw, 1.9rem);
    line-height: 1;
}

.panel-stat small {
    display: block;
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.panel-quick-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.panel-action-card {
    display: grid;
    gap: 0.35rem;
    min-height: 126px;
    padding: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.panel-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, 0.42);
    background: rgba(0, 229, 255, 0.09);
}

.panel-action-card i {
    color: var(--primary-color);
    font-size: 1.45rem;
}

.panel-action-card span {
    font-size: 1.25rem;
    color: #fff;
}

.panel-action-card small {
    color: var(--text-muted);
    line-height: 1.3;
}

.panel-stat-gold {
    border-color: rgba(255, 191, 0, 0.45);
}

.panel-stat-gold p,
.panel-stat-gold i {
    color: #ffcf4d;
}

.panel-stat-purple {
    border-color: rgba(173, 97, 255, 0.45);
}

.panel-stat-purple p,
.panel-stat-purple i {
    color: #c180ff;
}

.panel-stat-red {
    border-color: rgba(255, 92, 92, 0.45);
}

.panel-stat-red p,
.panel-stat-red i {
    color: #ff7777;
}

.panel-stat-cyan {
    border-color: rgba(0, 229, 255, 0.45);
}

.panel-stat-cyan p,
.panel-stat-cyan i {
    color: var(--primary-color);
    text-transform: uppercase;
}

.panel-settings {
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-applications-section {
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-section-head h2 {
    margin: 0;
    color: #7df5ff;
}

.panel-application-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.panel-application-button {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 58px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 229, 255, 0.07);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.panel-application-button:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, 0.48);
    background: rgba(0, 229, 255, 0.13);
}

.panel-application-button i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #001018;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.application-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.25rem 0.65rem;
    border: 1px solid var(--status-color);
    border-radius: 999px;
    color: var(--status-color);
    background: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.panel-application-list {
    display: grid;
    gap: 0.9rem;
}

.panel-application-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
}

.panel-application-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #7df5ff;
    background: rgba(0, 229, 255, 0.12);
}

.panel-application-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.75rem;
}

.panel-application-title-row h3 {
    margin: 0;
    color: #fff;
}

.panel-application-main p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
}

.panel-application-note {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    color: #dffbff;
    background: rgba(0, 229, 255, 0.08);
    line-height: 1.45;
}

.panel-application-empty {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    padding: 1.25rem;
    border: 1px dashed rgba(0, 229, 255, 0.24);
    border-radius: 8px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.18);
    text-align: center;
}

.panel-application-empty i {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.panel-settings > h2 {
    margin: 0 0 1.2rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.16);
    color: #7df5ff;
}

.panel-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1rem;
}

.panel-setting-card {
    padding: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
}

.panel-setting-head {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.panel-setting-head > i {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-color);
}

.panel-setting-head h3 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
}

.panel-setting-head p {
    margin: 0.2rem 0 0;
    color: var(--text-muted);
    line-height: 1.35;
}

.panel-button-row,
.panel-upload-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.panel-upload-form input[type="file"] {
    min-width: 0;
    flex: 1 1 210px;
    padding: 0.75rem;
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.26);
    color: var(--text-color);
}

.panel-soft-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.1);
    color: #fff;
    font-family: var(--font-main);
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
}

.panel-soft-button.primary {
    border: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #001018;
    font-weight: bold;
}

.panel-soft-button.discord {
    border-color: rgba(88, 101, 242, 0.44);
    background: rgba(88, 101, 242, 0.25);
}

.panel-soft-button.success {
    border-color: rgba(76, 255, 154, 0.34);
    background: rgba(76, 255, 154, 0.12);
    color: #9dffb7;
    cursor: not-allowed;
}

.panel-soft-button.danger {
    border-color: rgba(255, 92, 92, 0.35);
    background: rgba(255, 92, 92, 0.14);
    color: #ffb0b0;
}

.panel-skin-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-skin-head,
.panel-skin-body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
}

.panel-skin-head {
    width: 78px;
    height: 78px;
}

.panel-skin-body {
    width: 60px;
    height: 120px;
}

.panel-skin-head img,
.panel-skin-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.panel-skin-preview p {
    margin: 0;
    color: #fff;
}

.panel-skin-preview small {
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .panel-layout {
        grid-template-columns: 1fr;
    }

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

    .panel-sidebar {
        position: static;
    }

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

    .panel-quick-actions,
    .panel-settings-grid,
    .panel-application-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .auth-reset-choice {
        grid-template-columns: 1fr;
    }

    .panel-application-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .panel-shell {
        margin-top: 2rem;
    }

    .panel-hero {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .panel-hero-avatar {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

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

    .panel-sidebar-nav,
    .panel-quick-actions,
    .panel-settings-grid,
    .panel-application-buttons {
        grid-template-columns: 1fr;
    }

    .panel-application-item {
        grid-template-columns: 1fr;
    }

    .panel-hero-cta {
        width: 100%;
        justify-content: center;
    }

    .panel-skin-preview {
        align-items: flex-start;
    }
}

.info-section {
    margin-bottom: 3rem;
}

.staff-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.staff-card {
    margin: 0;
    text-align: center;
    border-color: var(--staff-color);
}

.staff-card img {
    width: 96px;
    height: 96px;
    margin-bottom: 1rem;
    border: 3px solid var(--staff-color);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.26);
}

.staff-card h3 {
    margin: 0;
    color: var(--staff-color);
}

.staff-card p {
    margin-top: 0.4rem;
    color: var(--text-muted);
}

.rules-card {
    max-width: 900px;
}

.leaderboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.leaderboard-card {
    margin: 0;
    border-top: 3px solid var(--leaderboard-accent);
}

.leaderboard-card h2 {
    margin-bottom: 1.2rem;
    text-align: center;
    color: var(--leaderboard-accent);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.data-table tr:last-child {
    border-bottom: 0;
}

.data-table td {
    padding: 0.8rem 0.4rem;
}

.rank-cell {
    width: 42px;
    color: var(--leaderboard-accent);
    font-weight: bold;
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.player-cell img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.value-cell {
    text-align: right;
    color: var(--leaderboard-accent);
    white-space: nowrap;
}

.empty-table-cell {
    padding: 1.4rem !important;
    text-align: center;
    color: var(--text-muted);
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.modal {
    border-width: 1px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 229, 255, 0.15);
    overflow-y: auto;
}

.close-modal {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.close-modal:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.ip-row {
    gap: 1rem;
    text-align: left;
}

.copy-btn {
    width: auto;
    min-width: 92px;
    background: linear-gradient(180deg, #00e5ff, #008fc7);
    border: 0;
    color: #fff;
    font-weight: bold;
}

.leaf {
    top: -24px;
    border-radius: 4px;
    box-shadow: 0 0 14px currentColor;
    animation-name: fall, leafDrift;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: 1, infinite;
}

@keyframes fall {
    to {
        transform: translate3d(0, calc(100vh + 48px), 0) rotate(360deg);
    }
}

@keyframes leafDrift {
    0%,
    100% {
        margin-left: -14px;
    }

    50% {
        margin-left: 18px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 1rem;
    }

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

    .home-action-strip,
    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-band-heading,
    .feature-band-heading .section-kicker {
        text-align: center;
    }

    .hero-badges,
    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 1180px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-actions {
        display: flex;
        gap: 0.65rem;
        align-items: center;
        flex: 0 0 auto;
    }

    .navbar {
        height: 80px;
        padding: 0 1rem !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .nav-brand {
        max-width: calc(100% - 112px);
    }

    .nav-brand-title {
        max-width: min(42vw, 210px);
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
    }

    .modal {
        width: calc(100% - 2rem);
        max-height: calc(100dvh - 2rem);
        padding: 1.25rem;
    }

    .page-main {
        padding-top: 1.5rem;
    }

    .home-hero {
        min-height: auto;
        padding-top: 2.5rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-logo {
        max-width: 270px;
    }

    .hero-title-fallback {
        font-size: 3.2rem;
    }

    .hero-copy {
        font-size: 1.18rem;
    }

    .page-hero h1 {
        font-size: 2.55rem;
    }

    .hero-badges {
        width: 100%;
    }

    .badge {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 136px;
        text-align: center;
    }

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

    .hero-btn {
        width: 100%;
        min-width: 0;
    }

    .server-tiles {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.8rem;
    }

    .server-card {
        padding: 1rem;
    }

    .server-card > i {
        font-size: 2rem;
    }

    .home-content-grid {
        grid-template-columns: 1fr;
    }

    .home-action-strip {
        gap: 0.8rem;
    }

    .home-action-tile {
        min-height: 104px;
    }

    .discord-widget-frame iframe {
        min-height: 360px;
        height: 62dvh;
    }

    .news-item-header {
        flex-direction: column;
        align-items: stretch;
    }

    .mobile-dropdown {
        box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
    }

    .leaderboard-card {
        overflow-x: auto;
    }

    .data-table {
        min-width: 360px;
    }

    .footer-socials {
        gap: 0.55rem 0.8rem;
    }

    .not-found-page {
        min-height: calc(100dvh - 80px);
        padding: 1.25rem 0;
    }

    .not-found-card {
        padding: 1.4rem;
    }

    .not-found-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 0.75rem !important;
    }

    .nav-brand-logo {
        height: 38px;
    }

    .nav-brand-title {
        max-width: 128px;
        margin-left: 8px;
        font-size: 1.45rem;
    }

    .mobile-actions {
        gap: 0.45rem;
    }

    .login-btn-mobile {
        margin-right: 0;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }

    .hero-badges {
        gap: 0.5rem;
    }

    .badge {
        min-width: 0;
        width: 100%;
    }

    .server-tiles {
        grid-template-columns: 1fr !important;
    }

    .home-action-strip,
    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-action-tile {
        align-items: flex-start;
    }

    .ip-row {
        align-items: stretch;
        flex-direction: column;
    }

    .copy-btn {
        width: 100%;
    }

    .footer-socials {
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 360px) {
    .nav-brand-title {
        max-width: 96px;
        font-size: 1.3rem;
    }

    .hero-copy {
        font-size: 1.05rem;
    }

    .page-hero h1 {
        font-size: 2.15rem;
    }
}

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

.social-apply-widget-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 229, 255, 0.42);
    color: #7df5ff !important;
    text-decoration: none;
    background: rgba(0, 229, 255, 0.08) !important;
}

.application-page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 4rem;
}

.application-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
    min-height: 42vh;
    padding: 4rem 0 2rem;
}

.application-hero h1 {
    margin: 0.25rem 0 0.75rem;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
}

.application-hero p:not(.section-kicker) {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 1.35rem;
    line-height: 1.45;
}

.application-hero-btn,
.application-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid rgba(0, 229, 255, 0.5) !important;
    color: #001014 !important;
    background: linear-gradient(180deg, #7df5ff, #2979ff) !important;
}

.application-shell {
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.application-aside {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 1rem;
}

.application-card,
.application-mini-card {
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.06), rgba(41, 121, 255, 0.03)), rgba(4, 14, 22, 0.88);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.application-card {
    padding: clamp(1rem, 2.5vw, 1.6rem);
}

.application-mini-card {
    padding: 1.1rem;
}

.application-mini-card i {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    color: #001014;
    background: linear-gradient(180deg, #7df5ff, #2979ff);
}

.application-mini-card h2,
.application-fieldset legend {
    color: #fff;
    text-transform: uppercase;
}

.application-mini-card p {
    color: var(--text-muted);
    line-height: 1.45;
}

.application-alert,
.application-locked {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.application-alert.success {
    color: #8dff96;
    border: 1px solid rgba(76, 175, 80, 0.32);
    background: rgba(76, 175, 80, 0.12);
}

.application-alert.error,
.application-locked {
    color: #ff9b94;
    border: 1px solid rgba(244, 67, 54, 0.32);
    background: rgba(244, 67, 54, 0.12);
}

.application-locked {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
}

.application-locked i {
    font-size: 2.3rem;
}

.application-form {
    display: grid;
    gap: 1.1rem;
}

.application-fieldset {
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
}

.application-fieldset legend {
    padding: 0 0.5rem;
    color: #7df5ff;
}

.application-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.application-field {
    display: grid;
    gap: 0.35rem;
    color: var(--text-muted);
}

.application-field.wide {
    grid-column: 1 / -1;
}

.application-field span {
    line-height: 1.25;
}

.application-field input,
.application-field select,
.application-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 8px;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    font-family: inherit;
    font-size: 1.05rem;
}

.application-field textarea {
    resize: vertical;
}

.application-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 0.25rem;
}

@media (max-width: 780px) {
    .application-page {
        width: min(100% - 1rem, 1180px);
        padding-top: 1rem;
    }

    .application-hero,
    .application-shell,
    .application-form-grid {
        grid-template-columns: 1fr;
    }

    .application-aside {
        position: static;
    }
}

.social-apply-page,
.social-modal-overlay {
    --social-primary: #00bfff;
    --social-secondary: #ffc107;
    --social-panel: #151f2d;
    --social-panel-strong: #1a3044;
    --social-border: rgba(0, 191, 255, 0.28);
    --social-muted: #b8cadd;
    --social-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.social-apply-page {
    color: #e8f6ff;
}

.social-hero-banner {
    min-height: 560px;
    display: grid;
    place-items: center;
    padding: 6.5rem 1rem 6rem;
    text-align: center;
    border-bottom: 3px solid var(--social-primary);
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(4, 10, 22, 0.74), rgba(7, 19, 33, 0.95)),
        url('/assets/images/partner-bg.jpg') center/cover;
}

.social-hero-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(5, 16, 24, 0.92));
}

.social-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.social-hero-banner h1 {
    margin: 0.35rem 0 0.9rem;
    color: var(--social-primary);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.social-hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #d9ecff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
}

.social-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.social-primary-cta,
.social-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    color: #031018 !important;
    background: var(--social-primary) !important;
    box-shadow: 0 0 18px rgba(0, 191, 255, 0.32);
}

.social-primary-cta {
    padding-inline: 1.45rem;
}

.social-primary-cta:hover,
.social-submit-btn:hover {
    background: #78e4ff !important;
}

.social-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.9rem 1.4rem;
    border: 1px solid rgba(255, 193, 7, 0.55);
    border-radius: 4px;
    color: var(--social-secondary);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(255, 193, 7, 0.08);
    transition: transform 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth);
}

.social-secondary-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.9);
    background: rgba(255, 193, 7, 0.15);
}

.social-hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-mini-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 8px;
    color: #eaf8ff;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.social-mini-stat i {
    color: var(--social-secondary);
}

.social-hero-note {
    margin-top: 1rem;
    color: #9fb2c6;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.social-apply-content {
    margin-top: -3rem;
    position: relative;
    z-index: 3;
    padding-bottom: 4rem;
}

.social-section {
    margin-bottom: 2rem;
    padding: clamp(1.3rem, 3vw, 2.5rem);
    border: 1px solid var(--social-border);
    border-top: 4px solid var(--social-primary);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.05), rgba(255, 193, 7, 0.025)), var(--social-panel);
    box-shadow: var(--social-shadow);
}

.social-overview-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: center;
}

.social-section-copy h2,
.social-section .section-title {
    margin-bottom: 1rem;
    color: var(--social-primary);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    text-transform: uppercase;
}

.social-section-copy .section-kicker {
    text-align: left;
}

.social-section-copy p:not(.section-kicker),
.social-muted-copy {
    color: #c9d7e6;
    line-height: 1.65;
}

.social-role-grid,
.social-check-grid {
    display: grid;
    gap: 1rem;
}

.social-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-role-card,
.social-check-item,
.social-section-list-item {
    border: 1px solid rgba(0, 191, 255, 0.18);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    transition: transform 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth);
}

.social-role-card {
    padding: 1.1rem;
}

.social-role-card:hover,
.social-check-item:hover,
.social-section-list-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 191, 255, 0.38);
    background: rgba(0, 191, 255, 0.07);
}

.social-role-card i {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 0.85rem;
    border-radius: 8px;
    color: #06101a;
    background: var(--social-secondary);
}

.social-role-card h3 {
    margin: 0 0 0.45rem;
    color: #fff;
    text-transform: uppercase;
}

.social-role-card p {
    margin: 0;
    color: #b9c8d8;
    line-height: 1.5;
}

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

.social-check-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    color: #dbe8f5;
}

.social-check-item i {
    flex: 0 0 auto;
    color: var(--social-secondary);
}

.social-split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
    gap: 1.4rem;
}

.social-section-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.social-section-list-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem;
}

.social-section-list-item i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #031018;
    background: var(--social-primary);
}

.social-section-list-item strong,
.social-section-list-item span {
    display: block;
}

.social-section-list-item strong {
    color: #fff;
}

.social-section-list-item span {
    color: #8fa2b8;
}

.social-wide-cta {
    width: 100%;
    margin-top: 1.25rem;
}

.social-page-alert {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
}

.social-page-alert.error {
    color: #ffb4ae;
    border: 1px solid rgba(244, 67, 54, 0.35);
    background: rgba(244, 67, 54, 0.14);
}

.social-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.82);
}

.social-modal-overlay.is-open {
    display: flex;
}

.social-modal-wrapper {
    width: min(940px, 100%);
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid var(--social-primary);
    border-radius: 8px;
    background: var(--social-panel-strong);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}

.social-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--social-primary);
    background: rgba(0, 191, 255, 0.1);
}

.social-modal-header h3 {
    margin: 0;
    color: var(--social-primary);
    font-weight: 900;
    text-transform: uppercase;
}

.social-modal-close {
    width: 40px;
    height: 40px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth);
}

.social-modal-close:hover {
    color: var(--social-primary);
    background: rgba(255, 255, 255, 0.08);
}

.social-modal-body {
    max-height: calc(90vh - 72px);
    overflow-y: auto;
    padding: clamp(1rem, 2.5vw, 1.6rem);
}

.social-success-wrapper {
    max-width: 520px;
}

.social-success-body {
    text-align: center;
    padding: 3rem 2rem;
}

.social-success-body > i {
    display: block;
    margin-bottom: 1rem;
    color: #4caf50;
    font-size: 4.5rem;
}

.social-success-body h2 {
    color: #4caf50;
}

.social-success-body p,
.social-locked p {
    color: #d3dfed;
    line-height: 1.55;
}

.social-locked {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    padding: 2rem 1rem;
    text-align: center;
}

.social-locked > i {
    color: #f44336;
    font-size: 4rem;
}

.social-locked h2 {
    color: #f44336;
}

.social-application-form {
    display: grid;
    gap: 1rem;
}

.social-form-intro {
    display: grid;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 8px;
    color: #f5ddb0;
    background: rgba(255, 193, 7, 0.08);
}

.social-form-intro p {
    margin: 0;
}

.social-form-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.social-form-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    color: #fff4ce;
    background: rgba(0, 0, 0, 0.22);
}

.social-form-section {
    margin: 0;
    padding: 1rem 1rem 1.15rem;
    border: 1px solid rgba(0, 191, 255, 0.22);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.social-form-section legend {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.5rem;
    color: var(--social-primary);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.social-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.social-form-field {
    display: grid;
    gap: 0.4rem;
}

.social-form-field.wide {
    grid-column: 1 / -1;
}

.social-form-field span {
    color: #d9e4f0;
    line-height: 1.35;
}

.social-form-field em {
    color: var(--social-secondary);
    font-style: normal;
}

.social-form-field input,
.social-form-field select,
.social-form-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.78rem 0.85rem;
    border: 1px solid rgba(0, 191, 255, 0.28);
    border-radius: 4px;
    color: #fff;
    background: rgba(0, 0, 0, 0.46);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth);
}

.social-form-field textarea {
    min-height: 104px;
    resize: vertical;
}

.social-form-field input:focus,
.social-form-field select:focus,
.social-form-field textarea:focus {
    outline: none;
    border-color: var(--social-secondary);
    background: rgba(0, 0, 0, 0.58);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.14);
}

.social-submit-btn {
    width: 100%;
}

@media (max-width: 900px) {
    .social-overview-section,
    .social-split-section,
    .social-role-grid,
    .social-check-grid,
    .social-section-list,
    .social-form-grid {
        grid-template-columns: 1fr;
    }

    .social-hero-banner {
        min-height: 460px;
        padding: 4.5rem 1rem 4rem;
    }
}

@media (max-width: 560px) {
    .social-apply-content {
        margin-top: -2rem;
    }

    .social-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .social-hero-stats {
        align-items: stretch;
        flex-direction: column;
    }

    .social-mini-stat {
        justify-content: center;
        width: 100%;
    }

    .social-primary-cta,
    .social-secondary-cta {
        width: 100%;
    }

    .social-modal-header {
        align-items: flex-start;
    }

    .social-modal-header h3 {
        font-size: 1.1rem;
        line-height: 1.25;
    }

    .social-modal-overlay {
        padding: 0.5rem;
    }

    .social-modal-wrapper {
        max-height: 94vh;
    }

    .social-modal-body {
        max-height: calc(94vh - 72px);
    }

.social-form-meta {
        flex-direction: column;
    }
}

.spin-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.75rem 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
}

.spin-login-btn {
    color: #001014 !important;
    background: linear-gradient(180deg, #ffffff, #7df5ff 42%, #2979ff) !important;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.32) !important;
}

.spin-page {
    --spin-cyan: #00e5ff;
    --spin-blue: #2878ff;
    --spin-gold: #ffc107;
    --spin-pink: #ff2bd6;
    --spin-panel: rgba(6, 17, 29, 0.9);
    --spin-line: rgba(0, 229, 255, 0.22);
    min-height: calc(100vh - 80px);
    padding: clamp(1rem, 2.5vw, 2rem) 0 4rem;
    color: #eaf8ff;
    background:
        linear-gradient(180deg, rgba(3, 10, 18, 0.12), rgba(3, 10, 18, 0.6)),
        url('/assets/images/bg.jpg') center/cover fixed;
}

.spin-app-shell {
    display: grid;
    gap: 1rem;
}

.spin-page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--spin-line);
    border-radius: 8px;
    background: rgba(2, 10, 18, 0.76);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.spin-page-head h1 {
    margin: 0.2rem 0 0.35rem;
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 3.15rem);
    line-height: 1;
    text-transform: uppercase;
}

.spin-page-head p:not(.section-kicker) {
    max-width: 760px;
    margin: 0;
    color: #cfe7f4;
    line-height: 1.45;
}

.spin-head-actions {
    flex: 0 0 auto;
}

.spin-stage {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(320px, 0.72fr);
    gap: 1.5rem;
    align-items: start;
}

.spin-wheel-card,
.spin-info-card,
.spin-disabled-panel {
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.07), rgba(41, 121, 255, 0.03)),
        var(--spin-panel);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(12px);
}

.spin-wheel-card {
    display: grid;
    place-items: center;
    gap: 0.9rem;
    min-height: 640px;
    padding: clamp(0.85rem, 2vw, 1.45rem);
    position: relative;
    overflow: hidden;
}

.spin-wheel-card::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    pointer-events: none;
}

.spin-machine-top,
.spin-machine-bottom {
    width: min(600px, 100%);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
    position: relative;
    z-index: 2;
}

.spin-machine-top span,
.spin-machine-bottom span {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.spin-machine-top strong,
.spin-machine-bottom strong {
    color: #fff;
    text-transform: uppercase;
}

.spin-machine-bottom > div:last-child {
    text-align: right;
}

.spin-wheel-shell {
    width: min(560px, 100%);
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.spin-wheel-glow {
    position: absolute;
    inset: -7%;
    border-radius: 50%;
    background: conic-gradient(from 40deg, rgba(0, 229, 255, 0.52), rgba(255, 193, 7, 0.5), rgba(255, 43, 214, 0.48), rgba(133, 255, 122, 0.36), rgba(0, 229, 255, 0.52));
    filter: blur(24px);
    opacity: 0.65;
    animation: spinGlow 7s linear infinite;
    z-index: -1;
}

@keyframes spinGlow {
    to { transform: rotate(360deg); }
}

.spin-wheel {
    width: 100%;
    height: 100%;
    position: relative;
    border: 12px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: var(--wheel-bg);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.56),
        inset 0 0 0 14px rgba(0, 0, 0, 0.26),
        inset 0 0 0 3px rgba(255, 255, 255, 0.18);
    overflow: hidden;
    transition: transform 4.2s cubic-bezier(0.12, 0.82, 0.16, 1);
    will-change: transform;
}

.spin-wheel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.34) 0deg 1deg, transparent 1deg calc(360deg / var(--slice-count))),
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.24), transparent 22%);
    pointer-events: none;
    mix-blend-mode: screen;
}

.spin-wheel::after {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.28), transparent 24%),
        radial-gradient(circle, rgba(2, 13, 22, 0.84), rgba(2, 8, 14, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.spin-slice {
    position: absolute;
    inset: 0;
    transform: rotate(calc((360deg / var(--slice-count)) * var(--slice-index)));
    pointer-events: none;
}

.spin-slice-label {
    position: absolute;
    top: 8%;
    left: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
    transform: translateX(-50%);
    transform-origin: 50% clamp(150px, 22vw, 236px);
}

.spin-slice-label i {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 1rem;
}

.spin-pointer {
    position: absolute;
    top: -0.4rem;
    left: 50%;
    z-index: 7;
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 54px solid #fff2a6;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 12px rgba(255, 193, 7, 0.45));
    transform: translateX(-50%);
}

.spin-center-button {
    position: absolute;
    z-index: 8;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    gap: 0.15rem;
    border: 6px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #001014;
    background: radial-gradient(circle at 35% 25%, #ffffff, #7df5ff 38%, #00e5ff 60%, #2979ff);
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42), 0 0 28px rgba(0, 229, 255, 0.32);
    cursor: pointer;
    transition: transform 0.2s var(--ease-smooth), filter 0.2s var(--ease-smooth);
}

.spin-center-button i {
    font-size: 1.6rem;
}

.spin-center-button:not(:disabled):hover {
    transform: scale(1.04);
}

.spin-center-button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.45);
    opacity: 0.82;
}

.spin-center-button.is-spinning i {
    animation: spinIcon 0.8s linear infinite;
}

@keyframes spinIcon {
    to { transform: rotate(360deg); }
}

.spin-empty-wheel {
    display: grid;
    place-items: center;
    gap: 0.5rem;
    height: 100%;
    color: #fff;
}

.spin-info-card {
    padding: clamp(0.95rem, 2vw, 1.3rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spin-info-card .section-kicker {
    text-align: left;
}

.spin-info-card h2 {
    margin: 0 0 0.65rem;
    color: var(--spin-cyan);
    text-transform: uppercase;
}

.spin-info-card p {
    color: #c8dae7;
    line-height: 1.55;
}

.spin-status-panel {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
}

.spin-result-prize {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.2rem 0;
    padding: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.36);
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 193, 7, 0.13), rgba(255, 43, 214, 0.08)),
        rgba(0, 0, 0, 0.24);
}

.spin-result-prize i {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #001014;
    background: var(--spin-gold);
}

.spin-result-prize span {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
}

.spin-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.spin-rule-grid div {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    padding: 0.75rem 0.45rem;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 8px;
    text-align: center;
    background: rgba(0, 0, 0, 0.22);
}

.spin-rule-grid i {
    color: var(--spin-cyan);
}

.spin-rule-grid span {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.05;
}

.spin-reward-list {
    display: grid;
    gap: 0.65rem;
    max-height: 330px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.spin-reward-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    transition: transform 0.18s var(--ease-smooth), border-color 0.18s var(--ease-smooth), background 0.18s var(--ease-smooth);
}

.spin-reward-item:hover {
    transform: translateX(3px);
    border-color: rgba(0, 229, 255, 0.26);
    background: rgba(0, 229, 255, 0.06);
}

.spin-reward-item > span {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #001014;
    background: var(--reward-color);
}

.spin-reward-item > div {
    min-width: 0;
    flex: 1;
}

.spin-reward-item strong,
.spin-reward-item small {
    display: block;
}

.spin-reward-item strong {
    color: #fff;
}

.spin-reward-item small {
    color: var(--text-muted);
}

.spin-reward-item em {
    min-width: 34px;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    color: #001014;
    background: #7df5ff;
    font-style: normal;
    font-weight: 900;
    text-align: center;
}

.spin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.spin-panel-heading h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
}

.spin-panel-heading span {
    flex: 0 0 auto;
    color: var(--spin-gold);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.spin-history-card {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 193, 7, 0.09), rgba(0, 229, 255, 0.04)),
        rgba(0, 0, 0, 0.2);
}

.spin-history-list {
    display: grid;
    gap: 0.55rem;
    max-height: 248px;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.spin-history-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.spin-history-item > span {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #001014;
    background: var(--reward-color);
}

.spin-history-item > div {
    min-width: 0;
}

.spin-history-item strong,
.spin-history-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spin-history-item strong {
    color: #fff;
}

.spin-history-item small,
.spin-muted {
    color: var(--text-muted);
}

.spin-history-item em {
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    color: #001014;
    background: #7df5ff;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.spin-disabled-panel {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.spin-disabled-icon {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #001014;
    background: linear-gradient(135deg, #ffc107, #00e5ff);
    box-shadow: 0 0 32px rgba(0, 229, 255, 0.24);
}

.spin-disabled-icon i {
    font-size: 2rem;
}

.spin-disabled-panel h2 {
    margin: 0.25rem 0 0.4rem;
    color: #fff;
    text-transform: uppercase;
}

.spin-disabled-panel p:last-child {
    margin: 0;
    color: #cfe7f4;
}

.checkout-page {
    max-width: 1160px;
    margin-top: clamp(2rem, 5vw, 4rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.checkout-hero,
.checkout-promo-card,
.checkout-card {
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 229, 255, 0.05), rgba(41, 121, 255, 0.025)),
        rgba(6, 14, 24, 0.9);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.checkout-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    padding: clamp(1.1rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
}

.checkout-hero h1 {
    margin: 0.25rem 0 0.45rem;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.45rem);
    line-height: 1;
    text-transform: uppercase;
}

.checkout-hero p:not(.section-kicker) {
    max-width: 720px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkout-total-badge {
    min-width: 190px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 193, 7, 0.36);
    border-radius: 8px;
    text-align: right;
    background: rgba(255, 193, 7, 0.08);
}

.checkout-total-badge span,
.checkout-card-head p,
.checkout-field small,
.checkout-item small {
    color: var(--text-muted);
}

.checkout-total-badge strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.65rem;
}

.checkout-alert {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 800;
}

.checkout-alert.error {
    color: #ff8f8f;
    border-left: 4px solid #f44336;
    background: rgba(244, 67, 54, 0.14);
}

.checkout-alert.success {
    color: #87ff9a;
    border-left: 4px solid #4caf50;
    background: rgba(76, 175, 80, 0.14);
}

.checkout-promo-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.checkout-promo-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem;
    align-items: end;
}

.checkout-promo-form label,
.checkout-field {
    display: grid;
    gap: 0.45rem;
}

.checkout-promo-form label span,
.checkout-field span {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-promo-form input,
.checkout-field input {
    width: 100%;
    min-height: 46px;
    padding: 0.8rem 0.9rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    font-size: 1rem;
    transition: border-color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth);
}

.checkout-promo-form input:focus,
.checkout-field input:focus {
    outline: none;
    border-color: rgba(0, 229, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
    background: rgba(0, 0, 0, 0.38);
}

.checkout-soft-btn,
.checkout-danger-btn {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    font-weight: 900;
}

.checkout-soft-btn {
    color: #001014 !important;
    background: var(--accent-color) !important;
}

.checkout-danger-btn {
    color: #fff !important;
    background: #f44336 !important;
}

.checkout-promo-applied {
    display: block;
    margin-top: 0.65rem;
    color: #76ff85;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.45fr);
    gap: 1.25rem;
    align-items: start;
}

.checkout-card {
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.checkout-summary-card {
    position: sticky;
    top: 92px;
}

.checkout-card-head {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.checkout-card-head > i {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #001014;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.checkout-card-head h2,
.checkout-section h3 {
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.checkout-card-head p {
    margin: 0.2rem 0 0;
}

.checkout-section {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
}

.checkout-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.payment-method-label {
    display: grid;
    gap: 0.55rem;
    justify-items: center;
    min-height: 116px;
    padding: 0.95rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    background: rgba(0, 0, 0, 0.24);
    cursor: pointer;
    transition: transform 0.18s var(--ease-smooth), border-color 0.18s var(--ease-smooth), background 0.18s var(--ease-smooth);
}

.payment-method-label:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, 0.36);
    background: rgba(0, 229, 255, 0.06);
}

.payment-method-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.payment-method-label span {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--payment-color);
}

.payment-method-label strong {
    font-size: 1rem;
}

.checkout-howto,
.checkout-payment-number,
.checkout-total-box {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
}

.checkout-howto {
    border-left: 4px solid var(--secondary-color);
}

.checkout-howto h3 {
    margin: 0 0 0.75rem;
    color: var(--secondary-color);
}

.checkout-howto ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.checkout-howto span {
    color: var(--primary-color);
    font-weight: 900;
}

.checkout-payment-number {
    display: none;
    margin-bottom: 1.35rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.checkout-payment-number > span {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    text-transform: uppercase;
}

.checkout-payment-number > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.checkout-payment-number strong {
    color: #fff;
    font-family: monospace;
    font-size: 1.35rem;
}

.checkout-copy-btn {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    border: 0;
    border-radius: 8px;
    color: #001014;
    background: var(--primary-color);
    font-weight: 900;
    cursor: pointer;
}

.checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.checkout-submit-btn,
.checkout-back-link {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.checkout-submit-btn {
    border: 0;
    color: #001014 !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.checkout-back-link {
    margin-top: 0.75rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.18);
}

.checkout-items {
    display: grid;
    gap: 0.75rem;
    max-height: 420px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.checkout-item strong,
.checkout-item small {
    display: block;
}

.checkout-item strong {
    color: #fff;
}

.checkout-item span {
    flex: 0 0 auto;
    color: #76ff85;
    font-weight: 900;
}

.checkout-total-box {
    display: grid;
    gap: 0.8rem;
}

.checkout-total-box > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-total-box > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.checkout-total-box span {
    color: var(--text-muted);
}

.checkout-total-box strong {
    color: #fff;
}

.checkout-discount-row span,
.checkout-discount-row strong {
    color: #76ff85;
}

.checkout-final-row span,
.checkout-final-row strong {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 900;
}

.checkout-final-row strong {
    font-size: 1.45rem;
}

@media (max-width: 960px) {
    .spin-stage {
        grid-template-columns: 1fr;
    }

    .spin-wheel-card {
        min-height: auto;
    }

    .spin-machine-bottom {
        flex-direction: column;
    }

    .spin-machine-bottom > div:last-child {
        text-align: left;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-card {
        position: static;
        order: -1;
    }
}

@media (max-width: 560px) {
    .spin-page {
        padding-top: 0.75rem;
        background-attachment: scroll;
    }

    .spin-app-shell {
        gap: 0.75rem;
    }

    .spin-page-head {
        align-items: stretch;
        padding: 0.55rem 0.7rem;
    }

    .spin-page-head .section-kicker {
        display: none;
    }

    .spin-page-head h1 {
        margin: 0;
        font-size: 1.32rem;
    }

    .spin-page-head p:not(.section-kicker) {
        display: none;
    }

    .spin-head-actions {
        display: none;
    }

    .spin-stage {
        gap: 0.8rem;
    }

    .spin-wheel-card {
        gap: 0.65rem;
        padding: 0.65rem;
        min-height: calc(100vh - 118px);
        align-content: start;
    }

    .spin-machine-top,
    .spin-machine-bottom {
        padding: 0.65rem;
        gap: 0.5rem;
        font-size: 0.88rem;
    }

    .spin-machine-top span,
    .spin-machine-bottom span {
        font-size: 0.72rem;
    }

    .spin-machine-bottom {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .spin-machine-bottom > div:last-child {
        text-align: left;
    }

    .spin-wheel-shell {
        width: min(94vw, 390px);
    }

    .spin-center-button {
        width: 104px;
        height: 104px;
        border-width: 5px;
        font-size: 0.95rem;
    }

    .spin-slice-label {
        top: 7%;
        transform-origin: 50% 42vw;
    }

    .spin-slice-label i {
        width: 28px;
        height: 28px;
        font-size: 0.86rem;
    }

    .spin-pointer {
        border-left-width: 18px;
        border-right-width: 18px;
        border-top-width: 42px;
    }

    .spin-info-card {
        padding: 0.8rem;
    }

    .spin-rule-grid {
        grid-template-columns: 1fr;
    }

    .spin-result-prize {
        margin-bottom: 0;
    }

    .spin-history-item,
    .spin-reward-item {
        padding: 0.58rem;
    }

    .spin-disabled-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .spin-disabled-icon {
        justify-self: center;
    }

    .checkout-page {
        margin-top: 1rem;
    }

    .checkout-hero,
    .checkout-promo-form {
        grid-template-columns: 1fr;
    }

    .checkout-hero {
        display: grid;
    }

    .checkout-total-badge {
        text-align: left;
    }

    .checkout-payment-grid,
    .checkout-field-grid {
        grid-template-columns: 1fr;
    }

    .checkout-promo-form button,
    .checkout-payment-number > div {
        width: 100%;
    }

    .checkout-payment-number > div {
        align-items: stretch;
        flex-direction: column;
    }

    .checkout-copy-btn {
        width: 100%;
    }

    .checkout-promo-form input,
    .checkout-field input,
    .checkout-submit-btn,
    .checkout-back-link {
        font-size: 16px;
    }
}

/* ========================================================================== 
   DreamPlayz 2026 — authoritative cinematic theme layer
   Kept last intentionally while legacy page styles are migrated module by module.
   ========================================================================== */

body {
    color: var(--text-primary);
    background:
        radial-gradient(circle at 82% 8%, rgba(38, 132, 255, 0.16), transparent 32rem),
        radial-gradient(circle at 8% 42%, rgba(25, 216, 255, 0.09), transparent 28rem),
        var(--background-primary);
}

body::before {
    opacity: 0.18;
    filter: blur(2px) brightness(0.45) saturate(1.05);
    transform: scale(1.04);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.navbar {
    width: min(1440px, calc(100% - 32px));
    height: 72px;
    margin: 14px auto 0;
    padding: 0 20px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: rgba(5, 8, 20, 0.72);
    box-shadow: 0 18px 60px rgba(0, 3, 16, 0.32), inset 0 1px rgba(255,255,255,.04);
    backdrop-filter: blur(22px) saturate(145%);
    z-index: var(--z-header);
}

.nav-brand { gap: 10px; }
.nav-brand img { height: 44px; filter: drop-shadow(0 0 16px rgba(25,216,255,.35)); }
.nav-brand img:hover { transform: scale(1.04); }
.nav-brand-title { font-size: 1rem; letter-spacing: .09em; }
.nav-links { gap: 4px; }
.navbar .nav-link {
    min-height: 42px;
    padding: 11px 10px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
.navbar .nav-link:hover { color: var(--text-primary); background: rgba(25,216,255,.08); text-shadow: none; }
.navbar .nav-link::after { display: none; }
.navbar .nav-login-btn {
    padding-inline: 17px;
    color: #001018;
    background: var(--gradient-brand);
    box-shadow: 0 8px 24px rgba(25,216,255,.2);
}

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 760px;
    padding: 138px 0 105px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5,8,20,.98) 0%, rgba(5,8,20,.84) 39%, rgba(5,8,20,.35) 71%, rgba(5,8,20,.74) 100%),
        linear-gradient(0deg, var(--background-primary) 0%, transparent 28%),
        url('../images/dreamplayz-hero-2026.webp') center/cover no-repeat;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 74% 35%, rgba(25,216,255,.12), transparent 24rem),
        linear-gradient(115deg, rgba(139,92,255,.07), transparent 38%);
}

.home-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    z-index: -1;
    background: linear-gradient(transparent, var(--background-primary));
}

.home-hero .container { width: min(1240px, calc(100% - 40px)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.hero-content { max-width: 650px; text-align: left; }
.hero-logo { width: min(380px, 78%); max-height: 170px; object-fit: contain; object-position: left center; margin: 0 0 20px; filter: drop-shadow(0 20px 50px rgba(0,0,0,.42)); }
.hero-title-fallback { font-size: clamp(3.7rem, 8vw, 7rem); margin: 0 0 20px; color: var(--text-primary); letter-spacing: -.06em; }
.hero-badges { justify-content: flex-start; gap: 9px; margin-bottom: 22px; }
.badge { min-height: 30px; padding: 6px 11px; border: 1px solid var(--border-soft); border-radius: 999px; background: rgba(5,8,20,.62); backdrop-filter: blur(12px); font: 700 .72rem/1 var(--font-ui); letter-spacing: .03em; }
.badge-cyan { color: var(--primary-cyan); border-color: rgba(25,216,255,.28); }
.badge-blue { color: #8ab9ff; border-color: rgba(38,132,255,.28); }
.badge-green { color: var(--success); border-color: rgba(56,217,150,.28); }
.hero-copy { max-width: 610px; margin: 0 0 30px; color: var(--text-secondary); font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.75; }
.hero-btns { justify-content: flex-start; gap: 12px; }
.hero-btn {
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid var(--border-soft);
    border-radius: 13px;
    font: 700 .92rem/1 var(--font-ui);
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
}
.copy-ip-btn { color: #001018; border-color: transparent; background: var(--gradient-brand); box-shadow: 0 14px 34px rgba(25,216,255,.22); }
.discord-btn { color: #fff; background: rgba(88,101,242,.2); border-color: rgba(130,141,255,.38); }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.3); }

.server-tiles-container {
    padding: 22px;
    border: 1px solid rgba(142,173,219,.18);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(9,14,29,.72), rgba(13,20,40,.48));
    box-shadow: var(--shadow-lg), inset 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(18px);
}
.server-tiles-container .section-kicker { margin: 0 0 16px; color: var(--primary-cyan); font: 700 .72rem/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; }
.server-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.server-card {
    min-height: 174px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 17px;
    text-align: left;
    background: rgba(15,24,45,.72);
    box-shadow: none;
    transition: transform var(--duration-normal) var(--ease-smooth), border-color var(--duration-normal), background var(--duration-normal);
}
.server-card::after { content: ''; position: absolute; width: 110px; height: 110px; top: -55px; right: -48px; border-radius: 50%; background: currentColor; opacity: .08; filter: blur(4px); }
.server-card:hover { transform: translateY(-4px); border-color: var(--border-highlight); background: var(--surface-hover); }
.server-card > i { font-size: 1.45rem; margin-bottom: 22px; }
.server-card h3 { margin: 0 0 5px; font-size: 1rem; letter-spacing: .03em; }
.server-card p { color: var(--text-subtle); font-size: .78rem; line-height: 1.45; }
.server-card .server-count { margin-top: 14px; color: var(--text-secondary); font-size: .75rem; font-weight: 700; }

.home-main { width: min(1240px, calc(100% - 40px)); max-width: none; margin-top: -54px; padding: 0 0 90px; position: relative; z-index: 3; }
.home-main::before {
    content: '';
    position: absolute;
    top: 128px;
    left: 50%;
    width: min(92vw, 1380px);
    height: 1px;
    transform: translateX(-50%) rotate(-2deg);
    background: linear-gradient(90deg, transparent, rgba(25,216,255,.42), rgba(139,92,255,.32), transparent);
    box-shadow: 0 0 38px rgba(25,216,255,.2);
    pointer-events: none;
}
.home-action-strip { grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 10px; border: 1px solid var(--border-soft); border-radius: 20px; background: rgba(9,14,29,.86); box-shadow: var(--shadow-lg); backdrop-filter: blur(20px); }
.home-action-tile { min-height: 112px; padding: 17px; border: 1px solid transparent; border-radius: 14px; color: var(--text-primary); background: transparent; }
.home-action-tile:hover { transform: translateY(-2px); border-color: var(--border-highlight); background: rgba(25,216,255,.06); }
.home-action-tile i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(25,216,255,.08); font-size: 1rem; }
.home-action-tile span { font: 700 .88rem/1.2 var(--font-ui); }
.home-action-tile small { color: var(--text-subtle); font-size: .7rem; line-height: 1.45; }

.home-feature-band { margin: 94px 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.feature-band-heading { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.feature-band-heading .section-kicker { color: var(--primary-cyan); font: 700 .75rem/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; }
.feature-band-heading h2 { margin: 14px 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; }
.feature-band-heading p:not(.section-kicker) { color: var(--text-secondary); font-size: 1rem; }
.home-feature-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.home-feature-card { min-height: 286px; padding: 26px; border: 1px solid var(--border-soft); border-radius: 20px; background: linear-gradient(145deg, rgba(15,24,45,.9), rgba(9,14,29,.88)); box-shadow: var(--shadow-sm); }
.home-feature-card:hover { transform: translateY(-6px); border-color: var(--border-highlight); }
.home-feature-card > i { width: 48px; height: 48px; margin-bottom: 34px; display: grid; place-items: center; border-radius: 13px; background: rgba(25,216,255,.09); font-size: 1.2rem; }
.home-feature-card h3 { font-size: 1.1rem; }
.home-feature-card p { color: var(--text-secondary); font-size: .84rem; line-height: 1.65; }
.home-feature-card a { margin-top: auto; color: var(--primary-cyan); font: 700 .78rem/1 var(--font-ui); }

.home-content-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr); gap: 22px; align-items: start; }
.section-title { margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.card, .widget-card, .about-us { border: 1px solid var(--border-soft); border-radius: 18px; background: linear-gradient(145deg, rgba(15,24,45,.9), rgba(9,14,29,.86)); box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); }
.news-item { padding: 24px; margin-bottom: 14px; }
.news-item-header { gap: 18px; }
.news-item h3 { font-size: 1.12rem; }
.news-date { color: var(--text-subtle); font: 600 .73rem/1 var(--font-ui); white-space: nowrap; }
.news-content { color: var(--text-secondary); font-size: .88rem; line-height: 1.7; }
.widget-card { padding: 24px; margin-bottom: 16px; }
.widget-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.widget-card p { color: var(--text-secondary); font-size: .84rem; }
.widget-primary-btn, .social-apply-widget-btn { width: 100%; min-height: 45px; padding: 0 15px; border: 0; border-radius: 11px; color: #001018; background: var(--gradient-brand); box-shadow: 0 10px 25px rgba(25,216,255,.15); font: 700 .8rem/1 var(--font-ui); letter-spacing: 0; }
.social-apply-widget-btn { margin-top: 9px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-primary); border: 1px solid var(--border-soft); background: rgba(255,255,255,.04); }
.discord-widget-frame { border-radius: 12px; overflow: hidden; }
.discord-widget-frame iframe { width: 100%; max-height: 420px; }
.about-us { margin-top: 24px; padding: 34px; }
.about-us h2 { margin-bottom: 12px; font-size: 1.7rem; }
.about-us p { color: var(--text-secondary); font-size: .9rem; }

.modal-overlay { background: rgba(1,4,13,.82); backdrop-filter: blur(12px); }
.modal { width: min(520px, calc(100% - 32px)); padding: 30px; border: 1px solid var(--border-highlight); border-radius: 22px; background: rgba(9,14,29,.98); box-shadow: var(--shadow-lg); }
.modal h2 { margin-bottom: 8px; color: var(--text-primary); font-size: 1.7rem; }
.modal-intro { margin-bottom: 22px; color: var(--text-secondary); }
.modal-note { margin-top: 16px; color: var(--text-subtle); font-size: .78rem; }
.ip-row { padding: 14px; border: 1px solid var(--border-soft); border-radius: 12px; background: rgba(255,255,255,.025); }
.ip-row strong { display: block; color: var(--text-primary); font-size: .78rem; }
.ip-text { color: var(--primary-cyan); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88rem; }
.vote-site-icon { width: 20px; }
.vote-external-icon { margin-left: auto; font-size: .7rem; opacity: .5; }

.site-footer { padding: 56px 0 24px; border-top: 1px solid var(--border-soft); background: rgba(5,8,20,.94); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr auto; gap: 42px; align-items: center; }
.footer-brand { display: flex; gap: 13px; align-items: center; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand strong { font: 700 1.05rem/1 var(--font-display); }
.footer-brand p { margin-top: 6px; color: var(--text-subtle); font-size: .72rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a { color: var(--text-secondary); font-size: .76rem; text-decoration: none; }
.footer-links a:hover { color: var(--primary-cyan); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--border-soft); border-radius: 10px; color: var(--text-secondary); background: rgba(255,255,255,.025); text-decoration: none; }
.footer-socials a:hover { color: var(--primary-cyan); border-color: var(--border-highlight); transform: translateY(-2px); }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border-soft); color: var(--text-subtle); font-size: .7rem; }

@media (max-width: 1180px) {
    .desktop-only { display: none !important; }
    .mobile-actions { display: flex; }
    .hero-grid { grid-template-columns: 1fr 420px; gap: 34px; }
    .home-action-strip { grid-template-columns: repeat(3, 1fr); }
    .home-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .navbar { width: calc(100% - 20px); margin-top: 10px; height: 64px; border-radius: 15px; }
    .home-hero { min-height: auto; padding: 118px 0 120px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; margin-inline: auto; }
    .hero-logo { object-position: center; }
    .hero-badges, .hero-btns { justify-content: center; }
    .server-tiles-container { max-width: 620px; width: 100%; margin-inline: auto; }
    .home-main { margin-top: -66px; }
    .home-content-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; text-align: center; }
    .footer-brand, .footer-links, .footer-socials { justify-content: center; }
}

@media (max-width: 600px) {
    .home-hero .container, .home-main { width: min(100% - 24px, 1240px); }
    .home-hero { padding-top: 104px; }
    .hero-logo { width: min(290px, 82%); }
    .hero-copy { font-size: .94rem; }
    .hero-btns { flex-direction: column; }
    .hero-btn { width: 100%; }
    .server-tiles-container { padding: 12px; border-radius: 18px; }
    .server-tiles { grid-template-columns: 1fr; }
    .server-card { min-height: 142px; }
    .home-action-strip { grid-template-columns: 1fr 1fr; }
    .home-action-tile { min-height: 106px; }
    .home-feature-band { margin: 72px 0; }
    .home-feature-grid { grid-template-columns: 1fr; }
    .home-feature-card { min-height: 240px; }
    .news-item-header { align-items: flex-start; flex-direction: column; gap: 6px; }
    .modal { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-btn, .server-card, .home-action-tile, .home-feature-card, .footer-socials a { transition: none !important; transform: none !important; }
}

/* Fixed navigation clearance for inner pages; the homepage has its own hero spacing. */
body > main:first-of-type:not(.home-main) {
    padding-top: 118px;
}

.about-followup { margin-top: 1rem; }
