/* GameCave Design System & Premium Styling */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121c;
    --bg-tertiary: #1a1a28;
    
    --color-primary: #00f5ff;
    --color-primary-muted: rgba(0, 245, 255, 0.12);
    --color-primary-glow: rgba(0, 245, 255, 0.22);
    --color-secondary: #7a3dff;
    --color-secondary-glow: rgba(122, 61, 255, 0.2);
    --color-success: #00ff88;
    --color-danger: #ff6666;
    --color-warning: #ffd700;
    
    --text-main: #e8e8f5;
    --text-muted: #8b8ba3;
    --text-dark: #5c5c72;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 245, 255, 0.28);
    
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #7a3dff 100%);
    --gradient-dark: linear-gradient(180deg, #12121c 0%, #0a0a0f 100%);
    --glass-bg: rgba(18, 18, 28, 0.92);
    --glass-border: rgba(255, 255, 255, 0.06);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --space-section: clamp(2rem, 5vw, 3.5rem);
    
    --transition-smooth: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 64px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Grids & Ambient Glows */
.glow-bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: -3;
    pointer-events: none;
    opacity: 0.6;
}

.radial-glow-1 {
    position: fixed;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 40vh;
    background: radial-gradient(ellipse, rgba(0, 245, 255, 0.06) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.radial-glow-2 {
    display: none;
}

/* Main Container Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    margin: 0 -24px;
    padding: 0 24px;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--header-height);
}

.header-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    flex: 1;
    min-width: 0;
    transition: var(--transition-smooth);
}

.header-logo:hover .logo-text {
    filter: drop-shadow(0 0 12px var(--color-primary-glow));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    transition: var(--transition-smooth);
}

.logo-text--footer {
    font-size: 1.35rem;
}

.logo-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 12px 0 16px;
    border-top: 1px solid var(--border-color);
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-group-label {
    display: none;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark);
    width: 100%;
    margin-bottom: 4px;
}

.nav-group--auth {
    margin-left: auto;
}

.nav-group--cta,
.nav-cta-mobile {
    display: none;
}

.nav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
}

.nav-btn.active {
    color: var(--color-primary);
    background: var(--color-primary-muted);
    border-color: rgba(0, 245, 255, 0.2);
}

.nav-btn--muted {
    font-size: 0.875rem;
}

.nav-btn--accent {
    border-color: var(--border-color);
}

.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    max-width: 220px;
    transition: var(--transition-smooth);
}

.user-menu-trigger:hover,
.user-menu-trigger[aria-expanded="true"] {
    border-color: var(--border-hover);
    background: var(--color-primary-muted);
}

.user-menu-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-chevron {
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.user-menu-trigger[aria-expanded="true"] .user-menu-chevron {
    transform: rotate(180deg);
}

.user-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 6px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 110;
}

.user-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.user-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.user-menu-item--danger {
    color: var(--color-danger);
}

.user-menu-divider {
    height: 1px;
    margin: 6px 4px;
    background: var(--border-color);
}

.user-level-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    margin-left: 6px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    background: var(--color-primary-muted);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.user-pro-badge {
    margin-left: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-warning);
}

.contract-pending-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-danger);
}

body.is-logged-in .nav-auth-guest {
    display: none !important;
}

body:not(.is-logged-in) .nav-auth-user {
    display: none !important;
}

.action-btn {
    background: var(--color-primary);
    color: var(--bg-primary);
    border: none;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: none;
    white-space: nowrap;
}

.action-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 8px 24px var(--color-primary-glow);
}

.action-btn--compact .action-btn__label {
    display: inline;
}

.nav-auth-guest,
.nav-auth-user {
    display: flex;
}

/* Main Area */
.app-main {
    flex-grow: 1;
    padding: 40px 0;
}

/* Search and Filters */
.hero-section {
    text-align: center;
    margin-bottom: 48px;
}

.hero-section--branded .gc-hero-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 32px;
    padding: 40px 24px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 245, 255, 0.12);
    background: linear-gradient(180deg, rgba(18, 24, 38, 0.6) 0%, rgba(10, 14, 23, 0.9) 100%);
    overflow: hidden;
}

.gc-hero-brand__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -58%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.14) 0%, rgba(122, 61, 255, 0.08) 40%, transparent 70%);
    pointer-events: none;
}

.gc-hero-brand__glow::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 0 32px rgba(0, 245, 255, 0.12), inset 0 0 24px rgba(122, 61, 255, 0.06);
}

.gc-hero-brand__eyebrow {
    position: relative;
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.gc-hero-brand__wordmark {
    position: relative;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.gc-hero-brand__wordmark span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section--branded .hero-subtitle {
    margin: 0;
    max-width: 640px;
}

/* Legacy banner (unused) */
.gc-hero-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 32px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 245, 255, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(122, 61, 255, 0.06);
    background: #0a0e17;
}

.gc-hero-banner__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    object-position: center;
}

.gc-hero-banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 20px 28px;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 14, 23, 0.55) 70%, rgba(10, 14, 23, 0.88) 100%);
    pointer-events: none;
}

.gc-hero-banner__overlay .hero-title {
    margin-bottom: 8px;
    font-size: clamp(28px, 5vw, 44px);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.gc-hero-banner__overlay .hero-subtitle {
    margin: 0;
    max-width: 640px;
    font-size: clamp(14px, 2.2vw, 17px);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.discord-community-section__mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, #5865f2 0%, #4752c4 100%);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}

.discord-community-section__mark-icon {
    display: block;
    width: 34px;
    height: 34px;
    background: #fff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.discord-community-section__banner {
    width: 100%;
    max-width: 480px;
    margin-bottom: 4px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(88, 101, 242, 0.25);
    flex-shrink: 0;
}

.discord-community-section__banner-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.discord-community-section__banner-img--brand {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 45%, #1e1b4b 100%);
    box-shadow: inset 0 0 80px rgba(0, 245, 255, 0.08);
}

.login-discord-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.login-discord-divider::before,
.login-discord-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.login-discord-notice {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.35);
    background: rgba(255, 193, 7, 0.1);
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.btn-discord-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(88, 101, 242, 0.45);
    background: rgba(88, 101, 242, 0.12);
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-discord-login:hover {
    background: rgba(88, 101, 242, 0.22);
    border-color: rgba(88, 101, 242, 0.65);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.2);
}

.btn-discord-login--disabled,
.btn-discord-login[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.btn-discord-login--disabled:hover,
.btn-discord-login[aria-disabled="true"]:hover {
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.45);
    box-shadow: none;
}

.btn-discord-login svg {
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-steps {
    margin-top: var(--space-section);
    text-align: left;
    gap: 20px;
}

.step-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}

.step-card--primary {
    background: var(--color-primary-muted);
    border-color: rgba(0, 245, 255, 0.15);
}

.step-card--secondary {
    background: rgba(122, 61, 255, 0.06);
    border-color: rgba(122, 61, 255, 0.15);
}

.step-card--neutral {
    background: rgba(255, 255, 255, 0.02);
}

.step-icon {
    padding: 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon--cyan {
    background: var(--color-primary);
    color: var(--bg-primary);
}

.step-icon--purple {
    background: var(--color-secondary);
    color: #fff;
}

.step-icon--muted {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.why-us-section {
    margin-top: var(--space-section);
    text-align: left;
}

.why-us-section__header {
    margin-bottom: 24px;
}

.why-us-section__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.why-us-section__title span {
    color: var(--color-primary);
}

.why-us-section__lead {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
}

.why-us-section__grid {
    gap: 20px;
}

.pro-vote-banner {
    margin-top: 2rem;
    border: 1px solid rgba(122, 61, 255, 0.22);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(122, 61, 255, 0.06);
    text-align: left;
}

.pro-vote-banner__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.pro-vote-banner__text {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 600px;
}

.pro-vote-banner__btn {
    background: var(--color-secondary);
    color: #fff;
    flex-shrink: 0;
}

.pro-vote-banner__btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 8px 24px var(--color-secondary-glow);
}

/* Filter Controls */
.filter-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.search-row {
    display: flex;
    gap: 12px;
}

.search-input-wrapper {
    flex-grow: 1;
    position: relative;
}

.search-input-wrapper svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dark);
}

.search-input {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 14px 16px 14px 48px;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.sort-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 15px;
    cursor: pointer;
    min-width: 160px;
    transition: var(--transition-smooth);
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tag-btn:hover, .tag-btn.active {
    background: rgba(168, 85, 247, 0.1);
    color: var(--color-primary);
    border-color: var(--border-hover);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
}

/* Card List Layout */
.list-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.list-section-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.server-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .server-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .server-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Premium Server Card Styling */
.server-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.server-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.15);
}

.card-banner {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.card-banner__img,
.detail-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-banner .card-badge,
.card-banner .status-indicator,
.card-banner .featured-tag-badge,
.card-banner .monthly-winner-badge {
    z-index: 1;
}

.monthly-winner-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #0b0813;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.monthly-winners-section {
    margin: 0 auto 24px;
    max-width: 1200px;
    padding: 0 20px;
}

.monthly-winners-section--home-top {
    margin-top: 16px;
    margin-bottom: 28px;
}

.hero-section--home {
    padding-bottom: 12px;
}

.home-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 12px;
    max-width: 520px;
}

.hero-section--home .home-discord-cta--hero {
    max-width: 920px;
    margin: 0 auto 18px;
    padding: 0 20px;
}

.hero-section--home .home-discord-cta--hero .discord-community-section--hero-inline {
    margin-top: 0;
}

.hero-steps--compact {
    margin-top: 8px;
}

.home-highlights {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.home-highlights__inner {
    position: relative;
    border: 1px solid rgba(6, 182, 212, 0.18);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.06) 0%, rgba(18, 14, 36, 0.88) 48%, rgba(11, 8, 19, 0.95) 100%);
    padding: 22px 20px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.home-highlights__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.home-highlights__title-block {
    min-width: 0;
}

.home-highlights__eyebrow {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(6, 182, 212, 0.85);
}

.home-highlights__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.15;
}

.home-highlights__title span {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-highlights__link {
    flex-shrink: 0;
    font-size: 13px;
}

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

@media (max-width: 900px) {
    .home-highlights__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .home-highlights__grid {
        grid-template-columns: 1fr;
    }

    .home-highlights__inner {
        padding: 18px 16px 16px;
    }
}

.home-highlight-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 16px 14px;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.home-highlight-card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(6, 182, 212, 0.12) 0%, transparent 42%);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.home-highlight-card:hover,
.home-highlight-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.12);
    outline: none;
}

.home-highlight-card:hover .home-highlight-card__shine,
.home-highlight-card:focus-visible .home-highlight-card__shine {
    opacity: 1;
}

.home-highlight-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.home-highlight-card__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.28);
}

.home-highlight-card__badge {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: var(--color-primary);
    font-weight: 700;
    max-width: 65%;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-highlight-card__name {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-highlight-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.home-highlight-card__votes {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.home-highlight-card__votes strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
}

.home-highlight-card__players {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.home-highlight-card__players--live {
    color: #4ade80;
}

.home-highlights__empty {
    color: var(--text-muted);
    font-size: 14px;
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 12px;
}

.why-us-section--home {
    max-width: 1200px;
    margin: 20px auto 24px;
    padding: 0 20px;
}

.explore-page-header {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 8px 20px 0;
    text-align: center;
}

.explore-page-header__title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 8px;
}

.explore-page-header__lead {
    color: var(--text-muted);
    max-width: 60ch;
    margin: 0 auto;
    line-height: 1.5;
}

.toplist-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 20px;
    flex-wrap: wrap;
}

.toplist-tab {
    appearance: none;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.toplist-tab:hover {
    color: var(--text-main);
    border-color: rgba(6, 182, 212, 0.35);
}

.toplist-tab.active {
    color: #fff;
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(6, 182, 212, 0.15);
}

.toplist-panel {
    margin-top: 4px;
}

.toplist-server-filters {
    margin-bottom: 16px;
}

.toplist-server-tag {
    font-size: 11px;
    padding: 3px 8px;
}

.toplist-server-row {
    cursor: pointer;
}

.toplist-server-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.toplist-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 24px;
}

.monthly-winners-section__inner {
    border: 1px solid rgba(234, 179, 8, 0.25);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(18, 14, 36, 0.92) 55%);
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.monthly-winners-section__inner--compact {
    padding: 14px 16px 12px;
    border-radius: 12px;
}

.monthly-winners-section__inner--home {
    position: relative;
    overflow: hidden;
    padding: 20px 18px 16px;
    border-radius: 18px;
    border-color: rgba(251, 191, 36, 0.32);
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.1) 0%, rgba(18, 14, 36, 0.9) 50%, rgba(11, 8, 19, 0.94) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.monthly-winners-section__glow {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.monthly-winners-section__header--compact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.monthly-winners-section__header--home {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.monthly-winners-section__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.monthly-winners-section__icon {
    font-size: 1.35rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.45));
}

.monthly-winners-section__title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin: 0 0 8px;
    font-weight: 800;
}

.monthly-winners-section__title--compact {
    font-size: 1.05rem;
    margin: 0;
}

.monthly-winners-section__title--home {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    margin: 0;
    font-weight: 800;
}

.monthly-winners-section__title span {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.monthly-winners-section__lead {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 70ch;
}

.monthly-winners-section__lead--compact {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.monthly-winners-section__lead--home {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
}

.monthly-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.monthly-winners-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(251, 191, 36, 0.35) transparent;
    padding-bottom: 4px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
}

.monthly-winners-track {
    display: flex;
    gap: 10px;
    width: max-content;
    min-width: 100%;
}

.monthly-winner-card {
    background: rgba(11, 8, 19, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.monthly-winner-card--compact {
    flex: 0 0 168px;
    width: 168px;
    padding: 10px 12px;
    border-radius: 10px;
}

.monthly-winner-card--home {
    flex: 0 0 196px;
    width: 196px;
    padding: 14px 14px 12px;
    border-radius: 14px;
    background: rgba(11, 8, 19, 0.72);
    border: 1px solid rgba(251, 191, 36, 0.18);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.monthly-winner-card--home:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 191, 36, 0.42);
    box-shadow: 0 10px 24px rgba(251, 191, 36, 0.1);
}

.monthly-winner-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 6px;
}

.monthly-winner-card__trophy {
    font-size: 0.85rem;
    opacity: 0.85;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.35));
}

.monthly-winner-card__category {
    margin: 0 0 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fbbf24;
    font-weight: 700;
}

.monthly-winner-card--compact .monthly-winner-card__category {
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: 0.6px;
}

.monthly-winner-card__name {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.monthly-winner-card--compact .monthly-winner-card__name {
    margin-bottom: 4px;
    font-size: 0.9rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.monthly-winner-card--home .monthly-winner-card__name {
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.monthly-winner-card--home .monthly-winner-card__category {
    margin: 0;
    font-size: 10px;
}

.monthly-winner-card__stat-value {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
}

.monthly-winner-card__stats {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.monthly-winner-card--compact .monthly-winner-card__stats {
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.monthly-winner-card--home .monthly-winner-card__stats {
    margin-bottom: 10px;
    font-size: 0.78rem;
}

.monthly-winner-card--home .monthly-winner-card__btn {
    padding: 7px 10px;
    font-size: 12px;
    border-color: rgba(251, 191, 36, 0.25);
}

.monthly-winner-card--home .monthly-winner-card__btn:hover {
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.08);
}

.monthly-winner-card__btn {
    width: 100%;
}

.monthly-winner-card--compact .monthly-winner-card__btn {
    padding: 6px 8px;
    font-size: 11px;
}

.home-bottom-cta {
    max-width: 1200px;
    margin: 8px auto 0;
    padding: 0 20px 8px;
}

.home-discord-cta {
    max-width: 1200px;
    margin: 0 auto 12px;
    padding: 0 20px;
}

.home-discord-cta--hero {
    margin-top: 0;
    margin-bottom: 0;
}

.discord-community-section--bottom {
    margin-top: 0;
}

.discord-community-section--compact {
    margin-top: 0;
    padding: 12px 16px;
    border-radius: 12px;
}

.discord-community-section--compact .discord-community-section__glow {
    width: 160px;
    height: 160px;
}

.discord-community-section--compact .discord-community-section__inner {
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
}

.discord-community-section--compact .discord-community-section__mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-community-section--compact .discord-community-section__mark-icon {
    width: 22px;
    height: 22px;
}

.discord-community-section--compact .discord-community-section__copy {
    flex: 1;
    min-width: 0;
}

.discord-community-section--compact .discord-community-section__title {
    font-size: 16px;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discord-community-section--compact .discord-community-section__text {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    max-width: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.discord-community-section--compact .discord-community-section__stats {
    margin: 4px 0 0;
    padding: 3px 8px;
    font-size: 11px;
    gap: 6px;
}

.discord-community-section--compact .discord-community-section__stats-dot {
    width: 6px;
    height: 6px;
}

.discord-community-section--compact .discord-community-section__actions {
    flex-wrap: nowrap;
    gap: 6px;
    flex-shrink: 0;
}

.discord-community-section--compact .discord-community-section__btn,
.discord-community-section--compact .discord-community-section__btn-secondary {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
}

.nav-btn--discord {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #a5b4fc;
    border-color: rgba(88, 101, 242, 0.25);
}

.nav-btn--discord:hover {
    color: #c7d2fe;
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.35);
}

.nav-btn__icon {
    flex-shrink: 0;
}

.owner-dashboard-page {
    max-width: 1200px;
    margin: 0 auto;
}

.owner-dashboard-page__header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0 0 8px;
}

.owner-dashboard-page__lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    max-width: 62ch;
    line-height: 1.5;
}

.profile-owner-dashboard-teaser {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.06), rgba(88, 101, 242, 0.05));
}

.profile-owner-dashboard-teaser__text {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 52ch;
    line-height: 1.5;
}

.profile-owner-dashboard-teaser__cta {
    flex-shrink: 0;
}

.detail-tag--monthly-winner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.2));
    border-color: rgba(251, 191, 36, 0.45);
    color: #fde68a;
    font-weight: 700;
}

.detail-banner {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.detail-banner__img {
    min-height: 200px;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 8, 19, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-secondary);
}

.status-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(11, 8, 19, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.status-dot.offline {
    background: var(--text-dark);
}

.status-dot--unknown {
    background: #6b7280;
}

.status-unavailable-text {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.tag-btn--no-live {
    opacity: 0.85;
}

.tag-btn__no-live {
    color: #6b7280;
    font-weight: 700;
    margin-left: 2px;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.card-title:hover {
    color: var(--color-primary);
}

.card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.vote-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vote-count {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
}

.vote-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vote-btn:hover {
    box-shadow: 0 0 12px var(--color-primary-glow);
    transform: scale(1.03);
}

.vote-btn.voted {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Detail View page styling */
.detail-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .detail-container {
        grid-template-columns: 2fr 1fr;
    }
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    overflow: hidden;
    padding: 32px;
}

.detail-banner {
    height: 250px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    margin-bottom: 24px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-header-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
}

.detail-tags {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.detail-tag {
    background: var(--color-primary-muted);
    color: var(--color-primary);
    border: 1px solid rgba(0, 245, 255, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.detail-tag--muted {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--border-color);
}

.detail-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
    margin-top: 24px;
}

.status-indicator--static {
    position: static;
}

.uptime-section {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
}

.uptime-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.uptime-section__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.uptime-percent--good { color: #10b981; }
.uptime-percent--warn { color: #f59e0b; }
.uptime-percent--bad { color: #ef4444; }

.uptime-percent {
    font-size: 13px;
    font-weight: 700;
}

.uptime-bar {
    display: flex;
    gap: 4px;
    height: 12px;
}

.uptime-segment {
    flex-grow: 1;
    border-radius: 2px;
    opacity: 0.85;
}

.uptime-segment--online {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.2);
}

.uptime-segment--offline {
    background: #ef4444;
}

.uptime-section__empty,
.card-uptime-bar__empty {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

.link-actions {
    display: flex;
    gap: 12px;
    margin-top: -12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    box-shadow: none;
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.reviews-section {
    margin-top: 24px;
}

.reviews-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.reviews-section__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-count-badge {
    background: var(--color-primary-muted);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}

.rating-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.rating-summary__score {
    text-align: center;
    min-width: 80px;
}

.rating-summary__avg {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    font-family: var(--font-heading);
}

.rating-summary__stars {
    color: #eab308;
    font-size: 20px;
    letter-spacing: 2px;
    margin: 6px 0;
}

.rating-summary__count {
    font-size: 12px;
    color: var(--text-muted);
}

.rating-summary__bars {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-bar-row__label {
    font-size: 12px;
    color: var(--text-muted);
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}

.rating-bar-row__track {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-row__fill {
    height: 100%;
    background: linear-gradient(90deg, #eab308, #ca8a04);
    border-radius: 4px;
    transition: width 0.5s;
}

.rating-bar-row__pct {
    font-size: 12px;
    color: var(--text-muted);
    width: 32px;
    flex-shrink: 0;
}

.review-form-box {
    background: var(--color-primary-muted);
    border: 1px dashed rgba(0, 245, 255, 0.22);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
}

.review-form-box__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 14px;
}

.review-form-box__meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.review-form-box__meta strong {
    color: var(--color-secondary);
}

.review-login-prompt {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 24px;
}

.review-login-prompt p {
    color: var(--text-muted);
    margin-bottom: 14px;
    font-size: 15px;
}

.reviews-empty {
    text-align: center;
    padding: 32px 0;
    color: var(--text-dark);
}

.reviews-empty p {
    font-size: 15px;
}

.review-item {
    padding: 18px;
    transition: border-color 0.2s;
}

.review-item:hover {
    border-color: var(--border-hover);
}

.review-item__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}

.review-item__author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.review-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
}

.review-item__meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.review-item__author {
    font-weight: 700;
    color: var(--text-main);
    font-size: 14px;
}

.review-item__stars {
    color: #eab308;
    font-size: 14px;
    letter-spacing: 1px;
}

.review-item__date {
    font-size: 12px;
    color: var(--text-dark);
    margin-top: 2px;
}

.review-item__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.review-action-btn {
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.review-action-btn--edit { color: var(--color-secondary); }
.review-action-btn--delete { color: var(--color-danger); }
.review-action-btn--report { color: var(--text-dark); }
.review-action-btn--report:hover { color: #f59e0b; }

.review-item__text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.review-item__footer {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.review-edited {
    font-size: 10px;
    color: var(--text-dark);
    font-style: italic;
    margin-left: 6px;
}

.form-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

#form-rating-selector.rating-selector {
    font-size: 28px;
    gap: 4px;
}

.report-listing-btn {
    background: none;
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--color-danger);
    font-size: 12px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.report-listing-btn:hover {
    background: rgba(239, 68, 68, 0.05);
}

.report-listing-wrap {
    text-align: right;
    margin-top: 12px;
    margin-bottom: 24px;
}

/* Static content pages */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-page__title {
    text-align: left;
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.content-page__lead {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.content-page__heading {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    margin: 24px 0 12px;
    color: var(--color-secondary);
}

.content-page__heading--primary {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.content-page__text {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.content-page__list {
    color: var(--text-muted);
    padding-left: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-page__faq {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.content-page__callout {
    margin-top: 32px;
    background: var(--color-primary-muted);
    border: 1px solid rgba(0, 245, 255, 0.15);
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.card-uptime-bar {
    margin-top: 12px;
    margin-bottom: 12px;
    border-top: 1px dashed var(--border-color);
    padding-top: 8px;
}

.card-uptime-bar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
}

.card-uptime-bar__label {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-uptime-bar__percent {
    font-weight: 700;
    font-size: 10px;
}

.card-uptime-bar__percent--good { color: #10b981; }
.card-uptime-bar__percent--warn { color: #f59e0b; }

.card-uptime-bar__segments {
    display: flex;
    gap: 2px;
    height: 8px;
}

.card-uptime-segment {
    flex-grow: 1;
    border-radius: 1.5px;
    opacity: 0.85;
}

.card-uptime-segment--online { background: #10b981; }
.card-uptime-segment--offline { background: #ef4444; }

/* Profile page */
.profile-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.profile-header__identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-meta {
    color: var(--text-muted);
    font-size: 14px;
}

.pro-badge--plus {
    background: var(--color-secondary);
}

.profile-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-pro-gold {
    background: #eab308;
    color: #0a0a0f;
    font-weight: 700;
    border: none;
}

.btn-pro-plus {
    background: var(--color-secondary);
    color: #fff;
    font-weight: 700;
    border: none;
}

.pro-status {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pro-status--gold {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #eab308;
}

.pro-status--plus {
    background: rgba(122, 61, 255, 0.1);
    border: 1px solid rgba(122, 61, 255, 0.3);
    color: var(--color-secondary);
}

.xp-panel {
    background: var(--color-primary-muted);
    border: 1px dashed rgba(0, 245, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 30px;
}

.xp-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.xp-panel__title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.xp-panel__meta {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.xp-progress {
    width: 100%;
    height: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.xp-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 10px var(--color-primary-glow);
    border-radius: 10px;
    transition: width 0.4s;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.section-heading--spaced {
    margin-top: 30px;
}

.profile-stats {
    margin-bottom: 40px;
}

.stat-val--primary { color: var(--color-primary); }
.stat-val--secondary { color: var(--color-secondary); font-size: 20px; font-weight: 700; margin-top: 8px; }
.stat-val--success { color: #10b981; }

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.badge-card {
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.badge-card.unlocked {
    background: var(--color-primary-muted);
    border: 1px solid rgba(0, 245, 255, 0.2);
    opacity: 1;
}

.badge-card.locked {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    opacity: 0.4;
}

.badge-card__icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.badge-card__name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.badge-card__desc {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.data-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}

.data-panel__empty {
    color: var(--text-muted);
    text-align: center;
    padding: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.data-table thead tr {
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.data-table th {
    padding: 12px 16px;
    color: var(--text-muted);
    font-weight: 600;
}

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

.data-table td {
    padding: 12px 16px;
}

.data-table td.is-strong {
    font-weight: 600;
    color: var(--text-main);
}

.data-table td.is-muted {
    color: var(--text-muted);
}

.data-table td.is-dim {
    color: var(--text-dark);
}

.data-table td.is-right {
    text-align: right;
}

.connection-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.connection-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.connection-value {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    word-break: break-all;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

.detail-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
}

/* Sidebar / Voting Module */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.voting-widget {
    background: linear-gradient(135deg, var(--color-primary-muted) 0%, rgba(122, 61, 255, 0.08) 100%);
    border: 1px solid rgba(0, 245, 255, 0.12);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.voting-widget h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.voting-widget .vote-count-large {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
    text-shadow: 0 0 15px var(--color-primary-glow);
    margin-bottom: 16px;
}

.voting-widget .big-vote-btn {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border-radius: 12px;
    justify-content: center;
}

.voting-widget__intro {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.voting-widget .big-vote-btn svg {
    margin-right: 8px;
}

/* Detail sidebar panels */
.sidebar-widget {
    margin-top: 20px;
    padding: 20px;
    text-align: left;
    border-radius: var(--radius-md);
}

.sidebar-widget__title {
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.sidebar-widget__title svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

.sidebar-widget__desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.sidebar-widget--goal {
    background: linear-gradient(135deg, var(--color-primary-muted) 0%, rgba(122, 61, 255, 0.06) 100%);
    border-color: rgba(0, 245, 255, 0.15);
}

.vote-goal__status {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
}

.vote-goal__status-label { color: var(--text-muted); }
.vote-goal__status-value { color: var(--text-main); font-weight: 700; }

.vote-goal__track {
    background: rgba(255, 255, 255, 0.05);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vote-goal__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 10px;
    box-shadow: 0 0 8px var(--color-primary-glow);
    transition: width 0.4s ease-out;
}

.vote-goal__reward {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.vote-goal__reached {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px;
    border-radius: 6px;
    color: #10b981;
    font-weight: 700;
    text-align: center;
}

.sidebar-widget--hosting {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.04) 0%, rgba(16, 185, 129, 0.04) 100%);
    border-color: rgba(0, 245, 255, 0.12);
}

.hosting-partner-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hosting-partner-card {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 8px 10px;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.hosting-partner-card:hover {
    border-color: var(--color-secondary);
}

.hosting-partner-card__logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: white;
    padding: 2px;
}

.hosting-partner-card__body {
    flex-grow: 1;
    min-width: 0;
}

.hosting-partner-card__name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hosting-partner-card__desc {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hosting-discount-chip {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px dashed rgba(16, 185, 129, 0.4);
    border-radius: 5px;
    padding: 2px 6px;
    cursor: pointer;
    white-space: nowrap;
}

.hosting-partner-cta {
    margin-top: 12px;
    width: 100%;
    background: transparent;
    border: 1px dashed rgba(0, 245, 255, 0.25);
    border-radius: 8px;
    padding: 7px 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-secondary);
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font-body);
}

.hosting-partner-cta:hover {
    background: rgba(0, 245, 255, 0.07);
}

.sidebar-widget--guild {
    border-color: rgba(0, 245, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.04) 0%, rgba(18, 14, 36, 0.5) 100%);
}

.sidebar-widget--guild .sidebar-widget__title {
    color: var(--color-secondary);
}

.guild-progress-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guild-progress-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guild-progress-item__name {
    font-weight: 700;
    color: var(--text-main);
}

.guild-progress-item__date {
    font-size: 9px;
    color: var(--text-dark);
    margin-top: 2px;
}

.guild-status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

.guild-status-badge--done {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.guild-status-badge--progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.sidebar-widget--war {
    border-color: rgba(239, 68, 68, 0.2);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(18, 14, 36, 0.5) 100%);
}

.sidebar-widget--war .sidebar-widget__title {
    color: var(--color-danger);
}

.clan-war-section {
    margin-bottom: 16px;
}

.clan-war-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.clan-war-section-label--active { color: var(--color-danger); }
.clan-war-section-label--pending { color: var(--color-warning); }
.clan-war-section-label--history { color: var(--text-muted); }

.clan-war-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 8px;
}

.clan-war-card--pending {
    border-color: rgba(234, 179, 8, 0.2);
}

.clan-war-card__title {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.clan-war-card__meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.clan-war-card__quote {
    font-style: italic;
    font-size: 11px;
    margin-top: 4px;
    color: var(--text-dark);
}

.clan-war-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.clan-war-btn {
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 4px;
    box-shadow: none;
}

.clan-war-btn--accept { background: #10b981; }
.clan-war-btn--decline { background: var(--color-danger); }
.clan-war-btn--report { padding: 4px 10px; font-size: 11px; border-radius: 6px; }

.clan-war-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
}

.clan-war-form__title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.clan-war-form .form-group { margin-bottom: 8px; }
.clan-war-form .form-label { font-size: 10px; margin-bottom: 4px; }

.clan-war-form input,
.clan-war-form select {
    width: 100%;
    padding: 6px;
    font-size: 12px;
    border-radius: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.clan-war-submit {
    width: 100%;
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 6px;
    box-shadow: none;
    background: var(--color-danger);
}

.clan-war-hint {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

.clan-war-history {
    margin-top: 16px;
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
}

.clan-war-history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clan-war-history-item {
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    padding: 6px 8px;
    border-radius: 4px;
}

.clan-war-history-item__name {
    font-weight: 600;
    color: var(--text-main);
}

.clan-war-history-item__name--declined { color: var(--text-dark); }

.clan-war-history-item__result {
    font-size: 9px;
    color: var(--text-dark);
}

.clan-war-delete {
    color: var(--color-danger);
    cursor: pointer;
    font-size: 10px;
}

/* Author badges in reviews */
.author-level-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    color: var(--color-primary);
    background: var(--color-primary-muted);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.author-pro-badge {
    margin-left: 6px;
    color: var(--color-warning);
    font-weight: 800;
    font-size: 11px;
}

.author-admin-badge {
    margin-left: 6px;
    background: var(--color-danger);
    color: #fff;
    font-weight: 800;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
}

.pro-badge--compact {
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 6px;
}

/* Leaderboard */
.leaderboard-page {
    max-width: 800px;
    margin: 0 auto;
}

.leaderboard-page__title {
    text-align: left;
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.leaderboard-page__lead {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.leaderboard-table thead tr {
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.leaderboard-table th {
    padding: 12px 16px;
}

.leaderboard-table th:nth-child(1) { width: 80px; }
.leaderboard-table th:nth-child(3) { text-align: center; width: 100px; }
.leaderboard-table th:nth-child(4) { text-align: right; width: 120px; }

.leaderboard-row {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-row td {
    padding: 16px;
}

.leaderboard-rank {
    font-weight: 800;
    font-size: 16px;
}

.leaderboard-rank--gold { color: #eab308; }
.leaderboard-rank--silver { color: #cbd5e1; }
.leaderboard-rank--bronze { color: #b45309; }
.leaderboard-rank--default { color: var(--text-muted); }

.leaderboard-user {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.leaderboard-xp {
    text-align: right;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-val--online { color: #10b981; }

.quest-card__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-section-header {
    margin-top: 40px;
}

.chart-tooltip {
    position: absolute;
    display: none;
    background: rgba(18, 14, 36, 0.95);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 0 15px var(--color-primary-glow);
    color: white;
    min-width: 140px;
}

.chart-dot {
    cursor: pointer;
    transition: r 0.2s;
}

/* Reviews and Comments Section */
.reviews-section {
    margin-top: 24px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.add-review-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.review-textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-main);
    margin-bottom: 12px;
    resize: none;
    font-family: var(--font-body);
}

.review-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.review-author {
    font-weight: 600;
    color: var(--text-main);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 5, 12, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-main);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
}

input[type="text"], input[type="url"], select, textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.2);
}

.banner-hint {
    font-size: 12px;
    color: var(--text-dark);
    margin-top: 6px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
}

.cancel-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 24px;
    min-height: 44px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.submit-btn {
    background: var(--gradient-primary);
    color: #0a0a0f;
    border: none;
    padding: 12px 24px;
    min-height: 44px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.submit-btn:hover,
.submit-btn.btn-glow-anim:hover {
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

/* Dashboard Analytics */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-secondary);
    margin-top: 8px;
}

.chart-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    margin-top: 24px;
}

.chart-container {
    height: 250px;
    position: relative;
    margin-top: 20px;
}

/* Footer Section */
.app-footer {
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    max-width: 320px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 24px;
    color: var(--text-dark);
    font-size: 13px;
}

#footer-discord-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#footer-discord-link::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Discord community (forside) */
.discord-community-section {
    position: relative;
    margin-top: 32px;
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid rgba(88, 101, 242, 0.35);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.08) 0%, rgba(0, 245, 255, 0.04) 100%);
    overflow: hidden;
}

.discord-community-section__glow {
    position: absolute;
    inset: -40% auto auto -20%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.discord-community-section__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.discord-community-section__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.discord-community-section__title span {
    color: #5865f2;
}

.discord-community-section__text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}

.discord-community-section__stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    padding: 6px 12px;
    font-size: 13px;
    color: #10b981;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.08);
}

.discord-community-section__stats-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    flex-shrink: 0;
}

.discord-community-section__stats--fallback {
    color: var(--text-muted);
    font-weight: 500;
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(148, 163, 184, 0.06);
}

.discord-community-section__stats-dot--offline {
    background: var(--text-muted);
    box-shadow: none;
}

.discord-community-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.discord-community-section__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-btn--ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.action-btn--ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Profile — Discord link section */
.profile-nav-hint {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.profile-nav-hint a {
    color: var(--accent-primary);
    text-decoration: none;
}

.profile-nav-hint a:hover {
    text-decoration: underline;
}

.profile-nav-hint--linked {
    border-color: rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.08);
}

.profile-discord-link {
    border: 1px solid rgba(88, 101, 242, 0.35);
    background: linear-gradient(145deg, rgba(88, 101, 242, 0.08), rgba(0, 245, 255, 0.04));
}

.profile-discord-link__intro {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.profile-discord-link__steps {
    margin: 0 0 18px 1.1rem;
    padding: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.profile-discord-link__cta {
    width: 100%;
    max-width: 320px;
}

.discord-link-result {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 245, 255, 0.3);
    background: rgba(0, 245, 255, 0.05);
}

.discord-link-result__label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.discord-link-result__code {
    font-family: monospace;
    font-size: 28px;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    font-weight: 700;
}

.discord-link-result__hint {
    font-size: 13px;
    color: var(--text-muted);
    margin: 12px 0 0;
}

/* Discord link status (profil) */
.discord-linked-status {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.06);
    margin-bottom: 16px;
}

.discord-linked-status__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5865f2;
    margin-bottom: 12px;
}

.discord-linked-status__meta {
    margin: 0 0 12px;
}

.discord-linked-status__row {
    display: flex;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 6px;
}

.discord-linked-status__row dt {
    min-width: 72px;
    color: var(--text-muted);
    margin: 0;
}

.discord-linked-status__row dd {
    margin: 0;
    color: var(--text-main);
    font-weight: 500;
}

.discord-linked-status__id {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 12px;
}

.discord-linked-status__hint {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.discord-linked-status__hint code,
.discord-faq code {
    font-family: ui-monospace, monospace;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 245, 255, 0.08);
    color: var(--color-primary);
}

.discord-faq-accordion {
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.discord-faq-accordion summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    list-style: none;
}

.discord-faq-accordion summary::-webkit-details-marker {
    display: none;
}

.discord-faq {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.discord-faq__q {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 6px;
}

.discord-faq__a {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- GameCave Pro Styling Elements --- */

/* 1. Premium Huler (Featured Carousel) */
.featured-section {
    margin-bottom: 40px;
}

.featured-carousel-wrapper {
    position: relative;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbars */
}

.featured-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.featured-carousel {
    display: flex;
    gap: 20px;
    width: max-content;
}

/* Featured Server Cards: Gold/Pink Cyberpunk Accents */
.server-card.featured-card {
    border: 1px solid rgba(234, 179, 8, 0.3); /* Gold outline */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(234, 179, 8, 0.1);
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.02) 0%, rgba(18, 14, 36, 0.9) 100%);
    width: 320px;
    flex-shrink: 0;
}

.server-card.featured-card:hover {
    border-color: rgba(234, 179, 8, 0.6);
    box-shadow: 0 12px 30px rgba(234, 179, 8, 0.25), 0 0 25px rgba(236, 72, 153, 0.15); /* Gold + Pink glow */
    transform: translateY(-5px);
}

.featured-tag-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #eab308 0%, #ec4899 100%);
    border: none;
    color: white;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
    z-index: 2;
}

/* 2. Pro User Badges on reviews */
.pro-badge {
    background: linear-gradient(135deg, #eab308 0%, #d97706 100%);
    color: #0b0813;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 3. Custom Server Themes */
/* Violet (Default) */
.server-theme-violet {
    --theme-color: #a855f7;
    --theme-glow: rgba(168, 85, 247, 0.4);
}

/* Cyan */
.server-theme-cyan {
    --theme-color: #06b6d4;
    --theme-glow: rgba(6, 182, 212, 0.4);
}

/* Lime Green */
.server-theme-lime {
    --theme-color: #22c55e;
    --theme-glow: rgba(34, 197, 94, 0.4);
}

/* Fire Red */
.server-theme-red {
    --theme-color: #ef4444;
    --theme-glow: rgba(239, 68, 68, 0.4);
}

/* Dynamically styled cards using CSS variables */
.server-card.themed-card {
    border-color: rgba(255, 255, 255, 0.05);
}

.server-card.themed-card:hover {
    border-color: var(--theme-color);
    box-shadow: 0 12px 30px var(--theme-glow);
}

.themed-card .card-title:hover {
    color: var(--theme-color);
}

.themed-card .vote-count {
    color: var(--theme-color);
}

.themed-card .vote-btn {
    background: var(--theme-color);
    box-shadow: 0 4px 12px var(--theme-glow);
}

.themed-card .vote-btn:hover {
    box-shadow: 0 0 18px var(--theme-color);
}

/* Dynamic details page themes */
.themed-detail-container {
    /* Set details-wide variables */
}

.themed-detail-container .detail-tag {
    background: rgba(255, 255, 255, 0.03);
    color: var(--theme-color);
    border-color: rgba(255, 255, 255, 0.1);
}

.themed-detail-container .voting-widget {
    background: linear-gradient(135deg, rgba(18,14,36,0.8) 0%, rgba(255,255,255,0.02) 100%);
    border-color: var(--theme-color);
    box-shadow: 0 8px 32px var(--theme-glow);
}

.themed-detail-container .voting-widget .vote-count-large {
    color: var(--theme-color);
    text-shadow: 0 0 15px var(--theme-glow);
}

.themed-detail-container .voting-widget .big-vote-btn {
    background: var(--theme-color);
}

/* Particles / Bump animations */
@keyframes bump-flash {
    0% {
        box-shadow: 0 0 0px transparent;
    }
    50% {
        box-shadow: 0 0 40px var(--color-secondary);
        border-color: var(--color-secondary);
    }
    100% {
        box-shadow: 0 0 0px transparent;
    }
}

.bump-animate {
    animation: bump-flash 1.2s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* Compare & Recruitment Styles */
.compare-floating-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    background: rgba(18, 14, 36, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
    padding: 16px 28px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.compare-floating-bar.active {
    transform: translateX(-50%) translateY(0);
}

.compare-checkbox-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(18, 14, 36, 0.8);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.compare-checkbox-container input {
    cursor: pointer;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    text-align: left;
}

.compare-table th, .compare-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    min-width: 180px;
}

.compare-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    background: rgba(255,255,255,0.02);
}

.compare-table td:first-child, .compare-table th:first-child {
    min-width: 130px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Recruitment Styles */
.recruitment-card {
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
    transition: transform 0.2s;
}

.recruitment-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-secondary);
}

.application-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Premium Compare Pill Button */
.compare-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.compare-pill-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.compare-pill-btn.active {
    background: rgba(0, 245, 255, 0.12);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
}

/* Pulsating glow on primary CTAs — disabled by default for cleaner UI */
.btn-glow-anim {
    animation: none;
}

@media (prefers-reduced-motion: no-preference) {
    .btn-glow-anim {
        animation: btn-glow-pulse 3s ease-in-out infinite;
    }
}

@keyframes btn-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 8px var(--color-primary-glow);
    }
    50% {
        box-shadow: 0 0 16px var(--color-primary-glow);
    }
}

/* Mobile slide-out navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--glass-bg);
    cursor: pointer;
    z-index: 120;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-backdrop.visible {
    display: block;
    opacity: 1;
}

/* --- Premium Responsive Mobile Optimization --- */
@media (min-width: 769px) {
    .nav-links {
        border-top: none;
        padding-top: 0;
        padding-bottom: 12px;
    }

    .nav-group-label {
        display: none;
    }

    .nav-group--auth {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        order: -1;
    }

    .app-header {
        margin: 0 -16px;
        padding: 0 16px;
    }

    .header-bar {
        padding: 8px 0;
        min-height: 56px;
    }

    .header-bar .action-btn--compact {
        display: none;
    }

    .header-logo {
        flex: 1;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 88vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 80px 20px 24px;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        border-top: none;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        overflow-y: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-group-label {
        display: block;
    }

    .nav-group--auth {
        margin-left: 0;
    }

    .nav-group--cta.nav-cta-mobile {
        display: flex;
        width: 100%;
        margin-top: 8px;
    }

    .nav-btn,
    .action-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 16px;
        font-size: 15px;
        min-height: 48px;
    }

    .user-menu {
        width: 100%;
    }

    .user-menu-trigger {
        width: 100%;
        max-width: none;
    }

    .user-menu-panel {
        position: static;
        box-shadow: none;
        margin-top: 8px;
        width: 100%;
    }

    .app-container {
        padding: 0 16px;
    }

    /* Hero section scaling */
    .hero-title {
        font-size: 32px;
    }

    .hero-section--branded .gc-hero-brand {
        padding: 32px 16px 28px;
    }

    .gc-hero-brand__wordmark {
        font-size: clamp(2.25rem, 11vw, 3rem);
    }

    .gc-hero-brand__glow {
        width: 160px;
        height: 160px;
    }

    .hero-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }

    .gc-hero-banner {
        margin-bottom: 24px;
        border-radius: 12px;
    }

    .gc-hero-banner__overlay {
        padding: 16px 14px 20px;
    }

    .discord-community-section__banner {
        max-width: 100%;
    }

    .discord-community-section__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .discord-community-section--compact .discord-community-section__inner {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: flex-start;
    }

    .discord-community-section--compact .discord-community-section__copy {
        flex: 1 1 calc(100% - 52px);
    }

    .discord-community-section--compact .discord-community-section__actions {
        flex: 1 1 100%;
        flex-wrap: wrap;
        margin-top: 4px;
    }

    .discord-community-section--compact .discord-community-section__title {
        white-space: normal;
    }

    .discord-community-section--compact .discord-community-section__text {
        -webkit-line-clamp: 2;
    }

    /* Filter panel controls stacking */
    .filter-container {
        padding: 16px;
    }

    .search-row {
        flex-direction: column;
        gap: 12px;
    }

    .sort-select {
        max-width: 100% !important;
        width: 100% !important;
    }

    .tag-row {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .tag-btn {
        padding: 6px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Dashboard & Admin layouts */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    /* Form Rows stacking */
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Detail page sidebar stacking */
    .detail-container {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .detail-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .detail-title {
        font-size: 26px;
    }

    .detail-banner {
        height: 180px;
    }

    /* Modal adjustments for touch screens */
    .modal-card {
        padding: 20px;
        border-radius: 16px;
        width: 92%;
    }

    .modal-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .modal-actions button {
        width: 100%;
        justify-content: center;
    }

    /* Floating Compare bar positioning */
    .compare-floating-bar {
        width: 90%;
        bottom: 16px;
        padding: 12px 20px;
        flex-direction: column;
        border-radius: 20px;
        gap: 10px;
    }

    /* Footer stacks on narrow screens */
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px 20px;
        width: 100%;
    }

    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        font-size: 14px;
    }

    .footer-partner-wrap {
        padding: 0 16px;
    }

    .partner-strafe__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .partner-strafe__cta {
        width: 100%;
        min-height: 44px;
        white-space: normal;
        text-align: center;
    }

    .app-footer {
        padding: 32px 0 20px;
        margin-top: 40px;
    }

    /* Legal / content pages */
    .content-page__title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .content-page__heading {
        font-size: 1.15rem;
    }

    .parties-box {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px 18px !important;
    }

    .data-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -4px;
        padding-bottom: 4px;
    }

    .compare-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .submit-btn,
    .cancel-btn,
    .nav-btn--accent {
        min-height: 44px;
    }

    .modal-close {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .app-main {
        padding: 24px 0;
    }
}

@media (max-width: 375px) {
    .app-container {
        padding: 0 12px;
    }

    .app-header {
        margin: 0 -12px;
        padding: 0 12px;
    }

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

    .content-page {
        padding: 0 2px;
    }

    .content-page__text,
    .content-page__list {
        font-size: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 4px;
    }

    .footer-links a {
        width: 100%;
        min-height: 44px;
        padding: 4px 0;
    }

    .tag-btn {
        min-height: 36px;
        padding: 8px 14px;
    }

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

    .profile-page {
        padding: 20px 16px;
    }
}

/* --- PREMIUM GAMECAVE MODULE STYLING --- */

/* 1. Cyberpunk Toast Notifications */
.gc-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: calc(100% - 48px);
}

.gc-toast {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(168, 85, 247, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.gc-toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.gc-toast.fade-out {
    animation: toastFadeOut 0.4s ease forwards;
}

@keyframes toastSlideIn {
    to { transform: translateX(0); }
}

@keyframes toastFadeOut {
    to { transform: translateX(120%); opacity: 0; }
}

/* 2. Premium PRO Server Skins & Themes */

/* Matrix Theme */
.server-skin-matrix {
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.1) 0%, rgba(2, 6, 23, 0.99) 70%) !important;
    position: relative;
    overflow: hidden;
}

.server-skin-matrix::after {
    content: "1010011010101101011001011010110101100101011011010";
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    color: rgba(16, 185, 129, 0.08);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    word-break: break-all;
    pointer-events: none;
    line-height: 1.2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    animation: matrixScroll 25s linear infinite;
}

@keyframes matrixScroll {
    0% { transform: translateY(-5%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(-5%); }
}

/* Cyber Grid Theme */
.server-skin-cybergrid {
    background: radial-gradient(circle at top, rgba(6, 182, 212, 0.12) 0%, rgba(2, 6, 23, 0.99) 80%) !important;
    position: relative;
    overflow: hidden;
}

.server-skin-cybergrid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    transform: perspective(500px) rotateX(60deg) translateY(-30%);
    animation: gridScroll 15s linear infinite;
    opacity: 0.8;
}

@keyframes gridScroll {
    from { background-position: 0 0; }
    to { background-position: 0 300px; }
}

/* Neon Glow Theme */
.server-skin-neonglow {
    background: radial-gradient(circle at top, rgba(236, 72, 153, 0.1) 0%, rgba(2, 6, 23, 0.99) 70%) !important;
    position: relative;
}

.server-skin-neonglow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    animation: borderGlow 6s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

/* 3. Cyberpunk Chart Bars & Analytics styling */
.chart-bar-container {
    height: 160px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 8px 8px 8px;
    border-bottom: 2px solid var(--border-color);
    background: rgba(255,255,255,0.01);
    border-radius: 8px;
    margin-bottom: 8px;
}

.chart-bar-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 100%;
    max-width: 32px;
    background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.chart-bar:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.chart-bar-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--color-secondary);
    color: var(--text-main);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.chart-bar:hover .chart-bar-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.chart-bar-label {
    font-size: 10px;
    color: var(--text-dark);
    font-weight: 700;
}

/* 4. Live Widget Preview Box */
.widget-preview-box {
    background: radial-gradient(circle at top left, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.2) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.widget-preview-box::before {
    content: 'LIVE PREVIEW';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-dark);
}

/* 5. Additional Premium Skins (Synthwave, Glitch, Terminal) */

/* Synthwave Sunset Theme */
.server-skin-synthwave {
    background: linear-gradient(180deg, rgba(255, 0, 128, 0.15) 0%, rgba(43, 0, 82, 0.95) 60%, rgba(2, 6, 23, 0.99) 100%) !important;
    position: relative;
    overflow: hidden;
}

.server-skin-synthwave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #f43f5e 20%, #db2777 50%, transparent 70%);
    opacity: 0.15;
    filter: blur(20px);
    pointer-events: none;
    animation: sunPulse 6s ease-in-out infinite alternate;
}

@keyframes sunPulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.1; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 0.25; }
}

/* Glitch Art Theme */
.server-skin-glitch {
    background: radial-gradient(circle at top, rgba(239, 68, 68, 0.1) 0%, rgba(2, 6, 23, 0.99) 80%) !important;
    position: relative;
    overflow: hidden;
}

.server-skin-glitch::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #ef4444, #3b82f6, #10b981);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.4;
    animation: glitchBorder 4s linear infinite;
}

@keyframes glitchBorder {
    0%, 100% { opacity: 0.4; }
    5% { opacity: 0.8; filter: hue-rotate(90deg); }
    10% { opacity: 0.4; filter: none; }
    45% { opacity: 0.4; }
    50% { opacity: 0.9; filter: skewX(2deg); }
    55% { opacity: 0.4; filter: none; }
}

/* Hacker Terminal Theme */
.server-skin-terminal {
    background: #020617 !important;
    border: 1px solid #22c55e !important;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15) !important;
    position: relative;
    overflow: hidden;
}

.server-skin-terminal::after {
    content: "SYS_STATUS: ONLINE\nDB_CONN: OK\nPORT_8080: LISTENING\nLEVEL: MAX_CAPACITY\n> ACCESS_GRANTED_";
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    color: rgba(34, 197, 94, 0.12);
    position: absolute;
    top: 15px;
    right: 15px;
    width: 150px;
    white-space: pre-wrap;
    pointer-events: none;
    line-height: 1.4;
    text-align: right;
}

/* 6. Review Stars & Rating Breakdown styles */
.rating-selector {
    display: flex;
    gap: 8px;
    font-size: 24px;
    margin-bottom: 12px;
    cursor: pointer;
}
.rating-star {
    color: var(--text-dark);
    transition: color 0.15s, transform 0.15s;
}
.rating-star.active, .rating-star:hover {
    color: #eab308;
    transform: scale(1.1);
}
.rating-breakdown-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
}
.rating-breakdown-left {
    text-align: center;
    min-width: 100px;
}
.rating-breakdown-avg {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}
.rating-breakdown-stars {
    color: #eab308;
    font-size: 14px;
}
.rating-breakdown-count {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}
.rating-breakdown-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rating-breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.rating-breakdown-label {
    width: 50px;
    font-weight: 600;
}
.rating-breakdown-bar-bg {
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}
.rating-breakdown-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #eab308, #ca8a04);
    border-radius: 4px;
    width: 0%;
    transition: width 0.8s ease-out;
}
.rating-breakdown-pct {
    width: 35px;
    text-align: right;
    font-weight: 700;
    color: var(--text-main);
}
.review-star-rating {
    color: #eab308;
    font-size: 13px;
    margin-left: 8px;
    display: inline-flex;
    gap: 2px;
}
.useful-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.useful-btn:hover {
    background: var(--color-primary-muted);
    border-color: rgba(0, 245, 255, 0.3);
    color: var(--color-primary);
}
.useful-btn.active {
    background: rgba(0, 245, 255, 0.15);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 10px var(--color-primary-glow);
}

/* 7. Quest & Event styling */
.quest-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    transition: transform 0.2s, border-color 0.2s;
}
.quest-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
}
.quest-card.completed {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}
.quest-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}
.quest-desc {
    font-size: 11px;
    color: var(--text-muted);
}
.quest-xp {
    font-size: 11px;
    font-weight: 800;
    color: #eab308;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    padding: 2px 6px;
    border-radius: 6px;
}
.quest-status-icon {
    font-size: 18px;
}

.event-calendar-card {
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}
.event-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s;
}
.event-item:hover {
    transform: translateX(4px);
    border-color: var(--color-secondary);
}
.event-date-badge {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #06b6d4;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
}
.event-date-day {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}
.event-date-month {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

/* --- Contracts Dashboard and Forms --- */
.contracts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}
@media (min-width: 768px) {
    .contracts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contract-role-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(18, 14, 36, 0.4);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}
.contract-role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.role-supporter:hover {
    border-color: #00aaff;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.15);
}
.role-investor:hover {
    border-color: #bf00ff;
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.15);
}
.role-manager:hover {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}
.role-developer:hover {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.nda {
    background: rgba(220, 30, 30, 0.05);
    border: 1px solid rgba(220, 30, 30, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}
.nda-title {
    font-weight: 700;
    color: #ff6666;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.parties-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 24px;
}
.party-label {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.party-name {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}
.party-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.sec-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border-left: 3px solid;
    padding-left: 10px;
    margin-bottom: 12px;
}

.box-purple { background: rgba(191, 0, 255, 0.08); border: 1px solid rgba(191, 0, 255, 0.2); }
.box-orange { background: rgba(255, 165, 0, 0.06); border: 1px solid rgba(255, 165, 0, 0.2); }
.box-cyan { background: rgba(6, 182, 212, 0.06); border: 1px solid rgba(6, 182, 212, 0.2); }
.box-green { background: rgba(0, 255, 136, 0.06); border: 1px solid rgba(0, 255, 136, 0.2); }
.box-gold { background: rgba(255, 215, 0, 0.05); border: 1px solid rgba(255, 215, 0, 0.2); }

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}
.data-table th, .data-table td {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
}
.data-table th {
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    font-weight: 600;
    text-align: left;
}

/* Print Styles for A4 PDF Contracts */
@media print {
    body, html {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt !important;
    }

    /* Hide all UI chrome — nav, buttons, glows, forms, inputs */
    .app-header,
    .app-footer,
    .nav-links,
    .submit-btn,
    .cancel-btn,
    .copy-btn,
    .action-btn,
    .glow-bg-grid,
    .radial-glow-1,
    .radial-glow-2,
    #confetti-canvas,
    #gc-signature-form,
    form,
    input,
    textarea,
    select,
    label,
    button {
        display: none !important;
    }

    /* Remove link styling — no underlines, no blue/purple glow, no outlines */
    a, a:visited, a:hover, a:focus {
        color: #000 !important;
        text-decoration: none !important;
        background: none !important;
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Format main contract card */
    .detail-card, .contract {
        background: #fff !important;
        color: #000 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* Override ALL inline-style colors and backgrounds to clean black-on-white */
    * {
        color: #111 !important;
        background-color: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        text-shadow: none !important;
    }

    /* Strong/bold stays readable */
    strong, b {
        color: #000 !important;
        font-weight: 700 !important;
    }

    /* Section heading left-border — keep subtle gray */
    .sec-title, [class*="sec-title"] {
        color: #111 !important;
        border-left: 3px solid #666 !important;
    }

    /* Parties box */
    .parties-box {
        background: #f9f9f9 !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    .party-name { color: #000 !important; font-weight: 700 !important; }
    .party-sub, .party-label { color: #555 !important; }

    /* Info/warning boxes: light tint, dark border */
    .box, .box-purple, .box-orange, .box-cyan, .box-green, .box-gold,
    [style*="rgba(191, 0, 255"], [style*="rgba(255, 165, 0"],
    [style*="rgba(0, 255, 136"], [style*="rgba(6, 182, 212"] {
        background-color: #f8f8f8 !important;
        border: 1px solid #bbb !important;
    }

    /* NDA box — keep red tint */
    .nda {
        background: #fff5f5 !important;
        border: 2px solid #fca5a5 !important;
    }
    .nda-title { color: #cc0000 !important; }

    /* Tables */
    .data-table th {
        background: #f0f0f0 !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
    }
    .data-table td { border: 1px solid #ccc !important; }

    /* Signature / stamp box */
    .sig-cert-box {
        background: #f0fff4 !important;
        border: 1px solid #86efac !important;
        page-break-inside: avoid;
    }

    /* Prevent orphaned sections */
    .sec { page-break-inside: avoid; }
}

/* Card Flip styles for billing simulator */
.credit-card-perspective {
    perspective: 1000px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
}
.credit-card-inner {
    position: relative;
    width: 100%;
    height: 180px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}
.credit-card-inner.flipped {
    transform: rotateY(180deg);
}
.credit-card-front, .credit-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}
.credit-card-front {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 50%, #4c1d95 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}
.credit-card-back {
    background: linear-gradient(135deg, #4c1d95 0%, #311042 50%, #1e1b4b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotateY(180deg);
}
/* Cyberpunk specific visual styles for skins */
.server-skin-matrix {
    border-color: #10b981 !important;
    background: linear-gradient(180deg, rgba(16,185,129,0.02) 0%, rgba(18,14,36,0.95) 100%) !important;
    box-shadow: 0 0 20px rgba(16,185,129,0.1) !important;
    position: relative;
}
.server-skin-matrix::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(16,185,129,0.1) 0%, transparent 100%);
}
.server-skin-cybergrid {
    border-color: #06b6d4 !important;
    background: linear-gradient(180deg, rgba(6,182,212,0.02) 0%, rgba(18,14,36,0.95) 100%) !important;
    box-shadow: 0 0 20px rgba(6,182,212,0.1) !important;
}
.server-skin-neonglow {
    border-color: #d946ef !important;
    background: linear-gradient(180deg, rgba(217,70,239,0.02) 0%, rgba(18,14,36,0.95) 100%) !important;
    box-shadow: 0 0 20px rgba(217,70,239,0.1) !important;
}
.server-skin-synthwave {
    border-color: #f43f5e !important;
    background: linear-gradient(180deg, rgba(244,63,94,0.02) 0%, rgba(18,14,36,0.95) 100%) !important;
    box-shadow: 0 0 20px rgba(244,63,94,0.1) !important;
}
.server-skin-glitch {
    border-color: #ef4444 !important;
    background: linear-gradient(180deg, rgba(239,68,68,0.02) 0%, rgba(18,14,36,0.95) 100%) !important;
    box-shadow: 0 0 20px rgba(239,68,68,0.1) !important;
}
.server-skin-terminal {
    border-color: #22c55e !important;
    background: #050505 !important;
    font-family: 'Courier New', Courier, monospace !important;
}

/* ── Support & tickets ───────────────────────────────────── */
.support-page,
.support-queue-page {
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(16px, 4vw, 32px) clamp(12px, 3vw, 20px) 48px;
}

.support-queue-page {
    max-width: 1200px;
}

.support-queue-page--desk {
    max-width: none;
    padding-left: clamp(8px, 2vw, 16px);
    padding-right: clamp(8px, 2vw, 16px);
}

.support-queue-page__shell--desk {
    max-width: 1440px;
    margin: 0 auto;
}

.support-queue-page__hero--compact {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
    padding-bottom: 16px;
}

.support-queue-page__hero-main {
    flex: 1 1 280px;
    min-width: 0;
}

.support-queue-page__hero--compact .support-queue-page__lead code {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 245, 255, 0.08);
    color: var(--color-primary);
    font-size: 12px;
}

.support-queue__stats--desk {
    flex: 0 1 auto;
    margin-bottom: 0;
    padding: 0;
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    gap: 8px;
}

.support-queue__stats--desk .support-queue__stat {
    padding: 10px 12px;
}

.support-queue__stats--desk .support-queue__stat-value {
    font-size: 1.15rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Staff 3-column service desk */
.support-desk {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(240px, 280px);
    min-height: min(72vh, 720px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.support-desk__col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: rgba(8, 8, 14, 0.55);
}

.support-desk__col--list {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.support-desk__col--thread {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 10, 18, 0.65);
}

.support-desk__col--meta {
    background: rgba(0, 245, 255, 0.02);
}

.support-desk__list-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 245, 255, 0.03);
}

.support-desk__search-wrap {
    display: block;
}

.support-desk__search {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    font-family: inherit;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-main);
}

.support-desk__search:focus {
    outline: none;
    border-color: rgba(0, 245, 255, 0.45);
    box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.12);
}

.support-desk__category-select {
    width: 100%;
    border-radius: var(--radius-md);
}

.support-desk__cat-counts {
    padding: 8px 14px 0;
}

.support-desk__list-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.support-desk__list-empty {
    padding: 32px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.support-desk__list-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 12px 12px;
    text-align: left;
    font-family: inherit;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.support-desk__list-item:hover {
    border-color: rgba(0, 245, 255, 0.2);
    background: rgba(0, 245, 255, 0.04);
}

.support-desk__list-item--active {
    border-color: rgba(0, 245, 255, 0.45);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(122, 61, 255, 0.06) 100%);
    box-shadow: inset 3px 0 0 var(--color-primary);
}

.support-desk__list-item--priority {
    box-shadow: inset 3px 0 0 #ef4444;
}

.support-desk__list-item--active.support-desk__list-item--priority {
    box-shadow: inset 3px 0 0 #ef4444, 0 0 0 1px rgba(239, 68, 68, 0.2);
}

.support-desk__list-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.support-desk__list-id {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-family: var(--font-mono, monospace);
}

.support-desk__list-priority {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: #ef4444;
}

.support-desk__list-subject {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.support-desk__list-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.support-desk__list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.support-desk__list-assignee {
    color: var(--color-secondary);
}

.support-desk__list-assignee::before {
    content: '→ ';
    opacity: 0.6;
}

.support-desk__list-time {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.85;
}

.support-desk__thread-header,
.support-desk__meta-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 245, 255, 0.03);
}

.support-desk__thread-heading {
    flex: 1;
    min-width: 0;
}

.support-desk__thread-id {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.support-desk__thread-subject {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

.support-desk__thread-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.support-desk__thread-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
    min-height: 200px;
}

.support-desk__thread-messages.ticket-thread {
    max-height: none;
    border: none;
    border-radius: 0;
    margin: 0;
    background: transparent;
}

.support-desk__discord-hint {
    margin: 12px 0 0;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.06);
}

.support-desk__thread-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 12px;
}

.support-desk__thread-empty,
.support-desk__meta-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
}

.support-desk__thread-empty-icon {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.support-desk__thread-empty h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.support-desk__thread-empty p,
.support-desk__meta-empty p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    max-width: 28ch;
}

.support-desk__composer {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.support-desk__composer-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.support-desk__composer-tab {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.support-desk__composer-tab:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.support-desk__composer-tab--active {
    color: var(--color-primary);
    border-color: rgba(0, 245, 255, 0.4);
    background: rgba(0, 245, 255, 0.1);
}

.support-desk__composer-tab--internal.support-desk__composer-tab--active {
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.4);
    background: rgba(234, 179, 8, 0.08);
}

.support-desk__composer-input {
    width: 100%;
    margin-bottom: 10px;
    min-height: 88px;
    resize: vertical;
}

.support-desk__composer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.support-desk__composer-send {
    margin-left: auto;
    padding: 10px 18px;
    font-size: 13px;
}

.ticket-badge--priority-high {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.support-desk__meta-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
}

.support-desk__meta-title {
    margin: 0;
    flex: 1;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
}

.support-desk__meta-list {
    margin: 0;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-desk__meta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.support-desk__meta-row dt {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.support-desk__meta-row dd {
    margin: 0;
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.4;
}

.support-desk__meta-row dd code {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.support-desk__meta-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 16px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.support-desk__meta-actions .ticket-chip {
    justify-content: center;
    text-align: center;
}

.support-desk__mobile-back,
.support-desk__mobile-meta-btn {
    display: none;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    cursor: pointer;
}

.support-desk__csat-wrap {
    padding: 20px clamp(18px, 4vw, 28px) 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.support-desk__csat-wrap .support-queue__panel {
    margin: 0;
}

@media (max-width: 1100px) {
    .support-desk {
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    }

    .support-desk__col--meta {
        display: none;
    }

    .support-desk--panel-meta .support-desk__col--list,
    .support-desk--panel-meta .support-desk__col--thread {
        display: none;
    }

    .support-desk--panel-meta .support-desk__col--meta {
        display: flex;
        grid-column: 1 / -1;
    }

    .support-desk__mobile-meta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .support-desk__col--meta .support-desk__mobile-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .support-queue-page__hero--compact {
        flex-direction: column;
    }

    .support-queue__stats--desk {
        width: 100%;
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    }

    .support-desk {
        grid-template-columns: 1fr;
        min-height: min(65vh, 600px);
    }

    .support-desk__col--list,
    .support-desk__col--thread,
    .support-desk__col--meta {
        display: none;
        border-right: none;
    }

    .support-desk--panel-list .support-desk__col--list {
        display: flex;
    }

    .support-desk--panel-thread .support-desk__col--thread {
        display: flex;
    }

    .support-desk--panel-meta .support-desk__col--meta {
        display: flex;
    }

    .support-desk__mobile-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .support-desk__mobile-meta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .support-desk__composer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .support-desk__composer-send {
        width: 100%;
        margin-left: 0;
    }
}

.support-page__shell,
.support-queue-page__shell {
    border: 1px solid rgba(0, 245, 255, 0.14);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(0, 245, 255, 0.05) 0%, rgba(122, 61, 255, 0.04) 40%, rgba(18, 18, 28, 0.94) 72%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.support-page__hero,
.support-queue-page__hero {
    padding: clamp(20px, 4vw, 32px) clamp(18px, 4vw, 28px) 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.06) 0%, transparent 55%);
}

.support-page__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.support-page__title,
.support-queue-page__title {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.support-page__intro,
.support-queue-page__lead {
    margin: 0;
    max-width: 62ch;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
}

.support-page__active-pill,
.profile-support-teaser__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    border-radius: 999px;
    border: 1px solid rgba(0, 245, 255, 0.28);
    background: rgba(0, 245, 255, 0.08);
}

.support-page__active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
    flex-shrink: 0;
}

.support-page__hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.support-page__hero-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.support-page__metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px clamp(18px, 4vw, 28px) 4px;
}

.support-page__stat--warn {
    border-color: rgba(234, 179, 8, 0.35);
    background: rgba(234, 179, 8, 0.06);
}

.support-page__stat--warn .support-page__stat-value {
    color: #eab308;
}

.support-page__panel--csat-nudge {
    border-color: rgba(234, 179, 8, 0.28);
    background: rgba(234, 179, 8, 0.04);
}

.support-page__csat-nudge {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
}

.support-page__csat-nudge-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #eab308;
    border-radius: var(--radius-md);
    border: 1px solid rgba(234, 179, 8, 0.3);
    background: rgba(234, 179, 8, 0.1);
}

.support-page__csat-nudge-title {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.support-page__csat-nudge-lead {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.support-page__csat-nudge-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.support-page__csat-nudge-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 999px;
    border: 1px solid rgba(234, 179, 8, 0.35);
    background: rgba(234, 179, 8, 0.08);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.support-page__csat-nudge-btn:hover {
    background: rgba(234, 179, 8, 0.14);
    border-color: rgba(234, 179, 8, 0.5);
}

.support-page__csat-nudge-more {
    font-size: 12px;
    color: var(--text-muted);
}

.support-page__body {
    padding: clamp(16px, 3vw, 24px) clamp(18px, 4vw, 28px) 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-page__loading {
    text-align: center;
    color: var(--text-muted);
    padding: 48px 16px;
}

.support-page__loading p {
    margin: 0;
    font-size: 14px;
}

/* User support stats (mirrors staff queue) */
.support-page__stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.support-page__stat {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

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

.support-page__stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.support-page__stat-label {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.support-page__cat-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-page__cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--text-muted);
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
}

.support-page__cat-pill strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* User support panels (mirrors staff queue panel) */
.support-page__panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    overflow: hidden;
}

.support-page__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 245, 255, 0.03);
}

.support-page__toolbar-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-page__heading {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

.support-page__toolbar-lead {
    margin: 0;
    flex: 1 1 100%;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

@media (min-width: 640px) {
    .support-page__toolbar-lead {
        flex: 1 1 auto;
        text-align: right;
    }
}

.support-page__count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: var(--color-primary);
    color: #0a0a0f;
}

.support-page__count-badge--muted {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.support-page__panel-body {
    padding: 16px 18px 20px;
}

.support-page__panel-body--form {
    background: rgba(10, 10, 15, 0.35);
}

.support-page__section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-page__section--form {
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.45);
}

.support-page__panel--history .support-page__history {
    border: none;
    border-radius: 0;
    background: transparent;
}

.support-page__section-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.support-page__section-lead {
    margin: -6px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

.support-page__ticket-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-page__empty {
    text-align: center;
    padding: 36px 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.support-page__empty--compact {
    padding: 24px 16px;
    margin: 0;
    border: none;
    background: transparent;
}

.support-page__empty p {
    margin: 0 0 8px;
}

.support-page__empty p:last-child {
    margin-bottom: 0;
}

.support-page__empty-hint {
    font-size: 13px;
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
}

.support-page__empty-icon {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
    opacity: 0.75;
}

.support-page__history {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.support-page__history-summary {
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 16px 18px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    list-style: none;
}

.support-page__history-summary-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-primary);
}

.support-page__history-summary-hint {
    flex: 1 1 100%;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

@media (min-width: 640px) {
    .support-page__history-summary-hint {
        flex: 1 1 auto;
        text-align: right;
    }
}

.support-page__history-summary::-webkit-details-marker {
    display: none;
}

.support-page__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    margin: 0 4px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.profile-support-tickets__history[open] .profile-support-tickets__list,
.support-page__panel--history .profile-support-tickets__history[open] .support-page__empty {
    padding: 0 18px 18px;
}

.support-page__faq {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.support-page__faq-summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 600;
    color: var(--text-main);
    list-style: none;
}

.support-page__faq-summary::-webkit-details-marker {
    display: none;
}

.support-page__faq-body {
    padding: 0 16px 16px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.support-page__faq-body p {
    margin: 0 0 10px;
}

.support-page__faq-body code {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--color-primary);
    font-size: 12px;
}

.support-page__faq-list {
    margin: 8px 0 12px;
    padding-left: 1.25rem;
}

.support-page__faq-list li {
    margin-bottom: 6px;
}

.support-page__sla {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 245, 255, 0.18);
    background: rgba(0, 245, 255, 0.06);
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.45;
}

.support-page__sla-icon {
    font-size: 16px;
}

.support-kb {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-kb__category {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.support-kb__category-title {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 700;
    color: var(--text-main);
    list-style: none;
}

.support-kb__category-title::-webkit-details-marker {
    display: none;
}

.support-kb__articles {
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-kb__article {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.15);
}

.support-kb__question {
    cursor: pointer;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    list-style: none;
}

.support-kb__question::-webkit-details-marker {
    display: none;
}

.support-kb__answer {
    margin: 0;
    padding: 0 12px 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}

.ticket-csat {
    margin-top: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(234, 179, 8, 0.25);
    background: rgba(234, 179, 8, 0.06);
}

.ticket-csat--done {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.06);
}

.ticket-csat__title {
    margin: 0 0 6px;
    font-size: 16px;
}

.ticket-csat__lead {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.ticket-csat__stars {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.ticket-csat__star-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 2px 4px;
}

.ticket-csat__star-btn--active {
    color: #eab308;
}

.ticket-csat__comment {
    width: 100%;
    margin-bottom: 10px;
}

.ticket-csat__submit {
    width: 100%;
}

.support-csat__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 16px 16px;
}

.support-csat__summary-stat {
    min-width: 120px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.support-csat__summary-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
}

.support-csat__summary-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.support-csat__table-wrap {
    overflow-x: auto;
    padding: 0 16px 16px;
}

.support-csat__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.support-csat__table th,
.support-csat__table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    vertical-align: top;
}

.support-csat__comment {
    max-width: 220px;
    color: var(--text-muted);
}

.gc-stars__star {
    color: rgba(255, 255, 255, 0.2);
}

.gc-stars__star--on {
    color: #eab308;
}

.hosting-directory__shell {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.hosting-directory__hero {
    margin-bottom: 28px;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 245, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.06), rgba(122, 61, 255, 0.05));
}

.hosting-directory__title {
    margin: 8px 0;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.hosting-directory__lead {
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 560px;
}

.hosting-directory__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hosting-partner-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.hosting-partner-card__head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.hosting-partner-card__logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.hosting-partner-card__name {
    margin: 0 0 4px;
    font-size: 1.25rem;
}

.hosting-partner-card__stats {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.hosting-partner-card__desc {
    margin: 0 0 12px;
    color: var(--text-muted);
    line-height: 1.55;
}

.hosting-partner-card__discount {
    font-size: 13px;
    margin-bottom: 12px;
}

.hosting-partner-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.hosting-partner-card__reviews {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.hosting-review {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
}

.hosting-review__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 13px;
}

.hosting-review__text {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.hosting-partner-card__review-form {
    margin-top: 12px;
}

.hosting-review-form textarea {
    width: 100%;
    margin: 8px 0;
}

.hosting-app-row--highlight {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tag-btn--sub {
    font-size: 12px;
    padding: 6px 12px;
}

/* Profile support teaser */
.profile-support-teaser {
    position: relative;
    margin-top: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 245, 255, 0.22);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.07) 0%, rgba(122, 61, 255, 0.05) 100%);
    overflow: hidden;
}

.profile-support-teaser__glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.profile-support-teaser__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
}

.profile-support-teaser__eyebrow {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.profile-support-teaser__title {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.profile-support-teaser__intro,
.profile-support-tickets__empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 52ch;
}

.profile-support-teaser__cta {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Support form */
.support-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.support-form__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.support-form__input,
.support-form__select,
.support-form__textarea {
    width: 100%;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.support-form__input:focus,
.support-form__select:focus,
.support-form__textarea:focus {
    outline: none;
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px var(--color-primary-muted);
}

.support-form__textarea {
    resize: vertical;
    min-height: 100px;
}

.support-form__file {
    font-size: 12px;
    color: var(--text-muted);
}

.support-form__hint {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

.support-form__hint--counter {
    text-align: right;
}

.support-form__hint--near-limit {
    color: #eab308;
}

.support-form__submit {
    align-self: flex-start;
    margin-top: 4px;
}

/* Ticket badges & chips */
.ticket-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
}

.ticket-badge--category {
    color: var(--badge-color, #64748b);
    background: color-mix(in srgb, var(--badge-color, #64748b) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--badge-color, #64748b) 35%, transparent);
}

.ticket-badge--web {
    color: var(--color-primary);
    background: var(--color-primary-muted);
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.ticket-badge--discord {
    color: #5865f2;
    background: rgba(88, 101, 242, 0.14);
    border: 1px solid rgba(88, 101, 242, 0.35);
}

.ticket-badge--sla {
    color: #eab308;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.ticket-badge--sla-overdue {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.ticket-badge--priority {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.ticket-badge--csat-pending {
    color: #eab308;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.ticket-badge--csat-done {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.ticket-card--csat-pending {
    border-color: rgba(234, 179, 8, 0.22);
}

.ticket-status-badge {
    display: inline-flex;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
}

.ticket-status-badge--open {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.ticket-status-badge--claimed {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.ticket-status-badge--closed {
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.ticket-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.ticket-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.ticket-chip--primary {
    color: var(--color-primary);
    border-color: rgba(0, 245, 255, 0.35);
    background: rgba(0, 245, 255, 0.1);
}

.ticket-chip--primary:hover {
    background: rgba(0, 245, 255, 0.16);
    border-color: rgba(0, 245, 255, 0.5);
}

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

.ticket-chip--discord {
    color: #5865f2;
    border-color: rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.1);
}

.ticket-chip--discord:hover {
    background: rgba(88, 101, 242, 0.16);
}

.ticket-chip--danger {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.08);
}

.ticket-chip--inline {
    display: inline;
    padding: 2px 10px;
    vertical-align: baseline;
    font-size: inherit;
}

/* Ticket cards */
.ticket-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.5);
    padding: 16px 18px;
}

.ticket-card--open {
    border-color: rgba(0, 245, 255, 0.22);
    background: linear-gradient(145deg, rgba(0, 245, 255, 0.06) 0%, rgba(10, 10, 15, 0.55) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ticket-card--discord {
    border-color: rgba(88, 101, 242, 0.2);
}

.ticket-card--history {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
}

.ticket-card--staff {
    border-color: rgba(0, 245, 255, 0.14);
    background: rgba(0, 245, 255, 0.03);
}

.ticket-card--priority {
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: inset 3px 0 0 #ef4444;
}

.ticket-card__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.ticket-card__eyebrow {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.ticket-card__subject {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-main);
}

.ticket-card__subject-inline {
    color: var(--text-main);
}

.ticket-card__id {
    font-family: ui-monospace, 'Cascadia Code', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    margin-right: 6px;
}

.ticket-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.ticket-card__meta,
.ticket-card__hint,
.ticket-card__user,
.ticket-card__excerpt,
.ticket-card__assignee {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.ticket-card__excerpt {
    font-size: 14px;
    color: rgba(232, 232, 245, 0.85);
}

.ticket-card__hint a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ticket-card__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.ticket-card__row-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.ticket-card__row-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ticket-card__date {
    font-size: 12px;
    color: var(--text-muted);
}

.ticket-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.profile-support-tickets__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Thread (chat bubbles) */
.ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    margin: 12px 0;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-thread__empty {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    padding: 12px;
}

.ticket-thread__msg {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.ticket-thread__msg--user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.18) 0%, rgba(122, 61, 255, 0.12) 100%);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-bottom-right-radius: 4px;
}

.ticket-thread__msg--staff,
.ticket-thread__msg--mod,
.ticket-thread__msg--admin {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
}

.ticket-thread__msg--internal {
    opacity: 0.92;
    border-style: dashed;
    border-color: rgba(234, 179, 8, 0.4);
    background: rgba(234, 179, 8, 0.06);
}

.ticket-thread__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.ticket-thread__meta strong {
    color: var(--color-primary);
    font-weight: 600;
}

.ticket-thread__internal-tag {
    font-size: 10px;
    font-weight: 700;
    color: #eab308;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ticket-thread__body {
    color: var(--text-main);
    word-break: break-word;
}

.ticket-thread__reply {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-thread__reply-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ticket-thread__reply-actions .ticket-thread__send {
    flex: 1 1 auto;
    min-width: 140px;
}

.ticket-thread__close-btn {
    flex: 0 0 auto;
}

.ticket-thread__empty--error {
    color: #f87171;
}

.ticket-thread__reply--modal {
    padding: 12px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.ticket-thread__input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.ticket-thread__input:focus {
    outline: none;
    border-color: var(--border-hover);
}

.ticket-thread__file {
    font-size: 12px;
    color: var(--text-muted);
}

.ticket-thread__internal-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.ticket-thread__send {
    align-self: flex-start;
}

/* Staff support queue */
.support-queue__stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 clamp(18px, 4vw, 28px);
}

.support-queue__stat {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.support-queue__stat--warn {
    border-color: rgba(234, 179, 8, 0.35);
    background: rgba(234, 179, 8, 0.06);
}

.support-queue__stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.support-queue__stat--warn .support-queue__stat-value {
    color: #eab308;
}

.support-queue__stat-label {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.support-queue__panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    overflow: hidden;
}

.support-queue__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 245, 255, 0.03);
}

.support-queue__toolbar-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-queue__heading {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

.support-queue__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: var(--color-primary);
    color: #0a0a0f;
}

.support-queue__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.support-queue__filter-btn {
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.support-queue__filter-btn:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.support-queue__filter-btn--active {
    color: var(--color-primary);
    border-color: rgba(0, 245, 255, 0.4);
    background: rgba(0, 245, 255, 0.1);
}

.support-queue__category-select {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-main);
    cursor: pointer;
}

.support-queue__cat-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 18px 0;
}

.support-queue__cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--text-muted);
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
}

.support-queue__cat-pill strong {
    color: var(--color-primary);
}

.support-queue__list-wrap {
    padding: 16px 18px 20px;
}

.support-queue__ticket-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Modals */
.ticket-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ticket-modal {
    width: min(640px, 100%);
    max-height: min(85vh, 760px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #12102a;
    border: 1px solid rgba(0, 245, 255, 0.22);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.ticket-modal--thread .ticket-thread {
    flex: 1;
    max-height: none;
    margin: 0;
    border: none;
    border-radius: 0;
    padding: 12px 18px;
}

.ticket-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ticket-modal__header h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
    line-height: 1.35;
}

.ticket-modal__close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s;
}

.ticket-modal__close:hover {
    color: var(--text-main);
}

.ticket-modal__sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 18px 12px;
    padding-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.ticket-transcript {
    overflow-y: auto;
    padding: 0 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-transcript__empty {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.ticket-transcript__line {
    border-left: 2px solid rgba(0, 245, 255, 0.35);
    padding-left: 12px;
}

.ticket-transcript__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.ticket-transcript__meta strong {
    color: var(--color-primary);
}

.ticket-transcript__body {
    font-size: 14px;
    color: var(--text-main);
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 640px) {
    .support-page__hero,
    .support-queue-page__hero {
        padding-bottom: 16px;
    }

    .support-page__hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .support-page__hero-actions .ticket-chip--discord {
        justify-content: center;
        text-align: center;
    }

    .support-page__hero-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .support-page__hero-nav .ticket-chip--inline {
        justify-content: center;
        text-align: center;
    }

    .support-page__csat-nudge {
        flex-direction: column;
    }

    .support-page__csat-nudge-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .support-page__csat-nudge-btn {
        width: 100%;
        text-align: center;
    }

    .support-page__section--form {
        padding: 16px;
    }

    .support-page__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .support-page__toolbar-lead {
        text-align: left;
    }

    .ticket-card__header {
        flex-direction: column;
    }

    .ticket-thread__msg {
        max-width: 95%;
    }

    .profile-support-teaser__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-support-teaser__cta {
        width: 100%;
    }

    .support-queue__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .support-queue__filters {
        width: 100%;
    }

    .support-queue__category-select {
        flex: 1;
        min-width: 0;
    }

    .support-form__submit,
    .ticket-thread__send {
        width: 100%;
    }
}

.hosting-apply-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.hosting-apply-page {
    max-width: 760px;
}

.hosting-apply-page__benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.hosting-apply-page__benefit {
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.hosting-apply-page__benefit h2 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.hosting-apply-page__benefit p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.hosting-apply-page__form-card .form-row,
.hosting-apply-page__form-card .form-group {
    margin-bottom: 16px;
}

.hosting-apply-page__form-card input,
.hosting-apply-page__form-card textarea {
    background: var(--bg-tertiary);
}

.hosting-apply-page__form-title {
    margin: 0 0 20px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.hosting-apply-page__note {
    margin: 0 0 16px;
    padding: 12px 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    border: 1px solid rgba(234, 179, 8, 0.2);
    background: rgba(234, 179, 8, 0.05);
}

.hosting-apply-page__status-card p {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hosting-apply-page__status-card .cancel-btn {
    margin-top: 16px;
}

/* Strafe Energy partner block */
.partner-strafe {
    margin: 24px 0;
    border: 1px solid rgba(6, 182, 212, 0.22);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(15, 23, 42, 0.6));
    padding: 20px 22px;
}

.partner-strafe--compact {
    margin: 20px auto 0;
    max-width: 920px;
}

.partner-strafe--footer {
    margin: 0;
    max-width: none;
}

.footer-partner-wrap {
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto 28px;
    padding: 0 24px;
}

.partner-strafe__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.partner-strafe__eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.partner-strafe__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px;
    line-height: 1.35;
}

.partner-strafe--footer .partner-strafe__title {
    font-size: 15px;
    margin-bottom: 6px;
}

.partner-strafe__lead {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 8px;
    max-width: 560px;
    line-height: 1.5;
}

.partner-strafe__disclosure {
    font-size: 12px;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.45;
}

.partner-strafe__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
}

.partner-strafe__cta {
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.partner-strafe__code {
    font-size: 12px;
    color: var(--text-muted);
}

.partner-strafe__code code,
.partner-strafe__lead code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: ui-monospace, monospace;
}

/* Hosting apply v2 */
.hosting-apply-page__fieldset {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 16px;
}

.hosting-apply-page__legend {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    padding: 0 6px;
}

.hosting-apply-page__radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
}

.hosting-apply-page__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 16px;
    cursor: pointer;
}

.hosting-apply-page__checkbox input {
    margin-top: 3px;
    flex-shrink: 0;
}

/* SEO landing & 404 */
.seo-landing-hero__actions {
    justify-content: center;
    margin-top: 8px;
}

.not-found-page {
    display: flex;
    justify-content: center;
    padding: 48px 20px 80px;
}

.not-found-page__shell {
    max-width: 560px;
    text-align: center;
}

.not-found-page__title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: var(--text-main);
    margin: 8px 0 12px;
}

.not-found-page__lead {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 24px;
}

.not-found-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.not-found-page__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
}

.not-found-page__links a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
}

.not-found-page__links a:hover {
    text-decoration: underline;
}

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

    .gamecave-logo-svg,
    .btn-glow-anim {
        animation: none !important;
    }
}

/* Cookie consent banner (Plausible opt-in) */
.gc-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10050;
    max-width: 720px;
    margin: 0 auto;
}

.gc-cookie-banner[hidden] {
    display: none !important;
}

.gc-cookie-banner__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 28, 0.96);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.gc-cookie-banner__text {
    margin: 0;
    flex: 1 1 280px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted, #b8c0d4);
}

.gc-cookie-banner__link {
    color: var(--accent, #7c5cff);
    text-decoration: underline;
}

.gc-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gc-cookie-banner__btn {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.gc-cookie-banner__btn--ghost {
    background: transparent;
    color: var(--text-muted, #b8c0d4);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.gc-cookie-banner__btn--primary {
    background: var(--accent, #7c5cff);
    color: #fff;
}
