﻿*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:       #0b0b0b;
    --surface:  #111111;
    --surface2: #161616;
    --border:   #1f1f1f;
    --border2:  #2a2a2a;
    --text:     #ebebeb;
    --muted:    #4a4a4a;
    --muted2:   #333;
    --discord:  #5865f2;
    --discord-h:#4752c4;
    --accent:   #ebebeb;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Syne', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 52px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    background: rgba(11,11,11,0.9);
    backdrop-filter: blur(16px);
    z-index: 50;
}

.brand {
    display: flex;
    align-items: center;
    color: var(--text);
}

.brand-icon {
    width: 40px;
    height: 40px;
    justify-content: center;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    color: rgba(235,235,235,0.8);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 6px 10px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    transition: all 0.15s;
}

.nav-link:hover {
    color: var(--text);
    border-color: var(--border2);
    background: rgba(255,255,255,0.05);
}

.nav-link.active {
    color: #fff;
    border-color: rgba(255,255,255,0.16);
    background: rgba(88,101,242,0.18);
}

.topbar-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3ddc84;
    animation: blink 3s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.page {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 90px);
    padding: 70px 20px 50px;
    width: 100%;
}

.card {
    width: 400px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 14px;
    overflow: hidden;
    animation: rise 0.5s cubic-bezier(.22,1,.36,1) both;
    margin: auto 0;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.card-body {
    padding: 36px 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

.heading-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.subheading {
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.5;
}

.sep {
    height: 1px;
    background: var(--border);
    margin: 0 -36px;
}

.btn-discord {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 9px;
    background: var(--discord);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn-discord:hover {
    background: var(--discord-h);
    box-shadow: 0 0 0 3px rgba(88,101,242,0.2);
}

.btn-discord:active {
    transform: scale(0.985);
}

.btn-discord svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.card-foot {
    padding: 16px 36px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-foot-txt {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted2);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-foot-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.card-foot-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3ddc84;
}

.bottombar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 38px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    background: rgba(11,11,11,0.9);
    backdrop-filter: blur(16px);
    z-index: 50;
}

.bottombar span {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard {
    display: none;
}

.dashboard.active {
    display: block;
}

.dashboard-card {
    width: min(900px, 94vw);
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--border2);
}

.user-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

.user-details p {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
}

.btn-logout {
    height: 36px;
    padding: 0 18px;
    border: 1px solid var(--border2);
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-logout:hover {
    border-color: #ff4444;
    color: #ff4444;
}

.dash-section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
}

.step-builder {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.step-builder-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.step-builder-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.step-builder-meta {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.provider-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.provider-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
}

.provider-pill:hover {
    border-color: var(--text);
    background: var(--surface2);
}

.provider-pill-icon {
    font-size: 14px;
}

.provider-pill-name {
    font-size: 12px;
    font-weight: 600;
}

.steps-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.step-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.step-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-badge {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
}

.step-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.step-item.step-done {
    opacity: 0.7;
}

.step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-actions .btn-primary {
    width: auto;
    padding: 0 14px;
    margin-bottom: 0;
}

.step-note {
    margin-top: 10px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.config-input {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 12px 12px;
    color: var(--text);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.config-input:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(235,235,235,0.08);
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.key-display {
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 18px;
}

.key-value {
    font-family: 'DM Mono', monospace;
    font-size: 16px;
    color: var(--accent);
    word-break: break-all;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.key-expires {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.no-key {
    text-align: center;
    padding: 42px 18px;
    color: var(--muted);
    font-size: 13px;
}

.btn-primary {
    width: 100%;
    height: 44px;
    border: 1px solid var(--border2);
    border-radius: 9px;
    background: var(--surface2);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 12px;
}

.btn-primary:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-premium {
    background: transparent;
    border-color: #ffa500;
    color: #ffa500;
}

.btn-premium:hover {
    background: #ffa500;
    color: var(--bg);
}

.copy-btn {
    height: 32px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 12px;
}

.copy-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

.history-item {
    background: var(--surface);
    border: 1px solid var(--border2);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 10px;
}

.history-key {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 6px;
}

.history-date {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    width: 90%;
    max-width: 500px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 14px;
    overflow: hidden;
    animation: rise 0.3s cubic-bezier(.22,1,.36,1) both;
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 12px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
}

.modal-body {
    padding: 28px;
}

.provider-grid {
    display: grid;
    gap: 12px;
}

.provider-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 16px;
}

.provider-card:hover {
    border-color: var(--text);
    background: var(--surface2);
}

.provider-icon {
    width: 48px;
    height: 48px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.provider-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 1;
}

.provider-info {
    flex: 1;
}

.provider-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.provider-desc {
    font-size: 11px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.btn-cancel {
    height: 36px;
    padding: 0 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-cancel:hover {
    border-color: var(--text);
    color: var(--text);
}

.checkpoint-progress {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--surface2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3ddc84, #00ff88);
    transition: width 0.3s ease;
}

.progress-text {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    text-align: center;
}

.checkpoint-step {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 12px;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.step-number {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.step-status {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--surface2);
    border: 1px solid var(--border);
}

.step-status.completed {
    color: #3ddc84;
    border-color: #3ddc84;
    background: rgba(61, 220, 132, 0.1);
}

.step-status.active {
    color: #ffa500;
    border-color: #ffa500;
    background: rgba(255, 165, 0, 0.1);
}

.step-provider {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
}

.btn-checkpoint {
    width: 100%;
    height: 40px;
    border: 1px solid var(--border2);
    border-radius: 8px;
    background: var(--surface2);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-checkpoint:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-checkpoint:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .card { 
        width: 94vw;
        margin: 0;
    }
    .dashboard-card { 
        width: 94vw;
        margin: 0;
    }
    .card-body { padding: 28px 24px 20px; }
    .topbar, .bottombar { padding: 0 20px; }
    
    .page {
        padding: 60px 10px 50px;
        align-items: flex-start;
    }
    
    .page:not(:has(.dashboard-card)) {
        align-items: center;
    }
    
    .dash-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .key-card-info {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .toast {
        right: 20px;
        left: 20px;
        bottom: 60px;
    }
    
    .roblox-user-info {
        flex-direction: row;
        align-items: center;
    }
    
    .roblox-avatar {
        width: 36px;
        height: 36px;
    }
}


/* Roblox User Info Styles */
.roblox-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 10px;
    margin-bottom: 14px;
}

.roblox-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border2);
    object-fit: cover;
    flex-shrink: 0;
}

.roblox-details {
    flex: 1;
    min-width: 0;
}

.roblox-name {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.roblox-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* Landing page centering */
.page:not(:has(.dashboard-card)) {
    align-items: center;
}


/* Custom Scrollbar - Dark Theme */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--border2);
    border-radius: 10px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border2) var(--bg);
}


/* Landing Page Split Layout */
.landing-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* 1. Animated Background */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #5865f2, #7289da);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3ddc84, #00ff88);
    bottom: -250px;
    right: -250px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(225deg, #ffa500, #ff6b6b);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.landing-left {
    flex: 1;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.landing-right {
    flex: 1;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-left: 1px solid var(--border);
}

.game-carousel-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-header {
    margin-bottom: 24px;
}

.carousel-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.carousel-subtitle {
    font-size: 14px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
}

.game-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    cursor: grab;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.game-carousel::-webkit-scrollbar {
    display: none;
}

.game-carousel.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.carousel-game-card {
    flex: 0 0 280px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
    user-select: none;
}

.carousel-game-card:hover {
    transform: scale(1.05);
}

.carousel-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.carousel-game-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.carousel-game-badge {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: #3ddc84;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.carousel-loading,
.carousel-empty {
    text-align: center;
    padding: 40px;
    color: var(--muted);
    font-size: 14px;
}

/* Auth Card in Right Panel */
.landing-right .card {
    width: 100%;
    max-width: 420px;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .landing-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .landing-left {
        min-height: auto;
        padding: 80px 20px 40px;
        position: relative;
    }
    
    .landing-right {
        min-height: auto;
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 40px 20px 60px;
        position: relative;
    }
    
    .carousel-title {
        font-size: 24px;
    }
    
    .carousel-game-card {
        flex: 0 0 240px;
        height: 150px;
    }
    
    .game-carousel-section {
        max-width: 100%;
    }
    
    .landing-right .card {
        max-width: 100%;
    }
}


/* 2. Stats Counter */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    font-family: 'DM Mono', monospace;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: 'DM Mono', monospace;
}

/* 3. Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.15s;
}

.feature-item:hover {
    border-color: var(--border2);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.feature-icon svg {
    stroke: currentColor;
}

.feature-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

/* 4. Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    font-family: 'DM Mono', monospace;
    animation: pulse 2s ease-in-out infinite;
    transition: opacity 0.3s;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator svg {
    animation: slideRight 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* 5. Skeleton Loader */
.skeleton-card {
    flex: 0 0 280px;
    height: 180px;
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        var(--surface) 0%,
        var(--surface2) 50%,
        var(--surface) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 6. Hover Preview Tooltip */
.carousel-game-card {
    position: relative;
}

.game-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: 12px;
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    z-index: 100;
    margin-bottom: 10px;
}

.carousel-game-card:hover .game-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tooltip-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.tooltip-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tooltip-feature {
    font-size: 11px;
    color: #3ddc84;
    font-family: 'DM Mono', monospace;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--border2);
}

/* Mobile Responsive Updates */
@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .bg-orb {
        filter: blur(60px);
    }
    
    .topbar {
        padding: 0 16px;
    }
    
    .bottombar {
        padding: 0 16px;
    }
    
    .carousel-header {
        margin-bottom: 20px;
    }
    
    .carousel-subtitle {
        font-size: 12px;
    }
    
    .scroll-indicator {
        margin-top: 12px;
        font-size: 11px;
    }
    
    .game-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .card { 
        width: 100%;
        margin: 0;
    }
    .dashboard-card { 
        width: 94vw;
        margin: 0;
    }
    .card-body { 
        padding: 24px 20px 18px;
        gap: 20px;
    }
    .topbar, .bottombar { 
        padding: 0 16px;
    }
    
    .page {
        padding: 60px 10px 50px;
        align-items: flex-start;
    }
    
    .page:not(:has(.dashboard-card)) {
        align-items: center;
    }
    
    .dash-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .key-card-info {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .toast {
        right: 20px;
        left: 20px;
        bottom: 60px;
    }
    
    .roblox-user-info {
        flex-direction: row;
        align-items: center;
    }
    
    .roblox-avatar {
        width: 36px;
        height: 36px;
    }
    
    /* Landing page mobile fixes */
    .landing-container {
        display: block;
        min-height: auto;
    }
    
    .landing-left {
        padding: 70px 16px 30px;
        min-height: auto;
        display: block;
    }
    
    .landing-right {
        padding: 30px 16px 50px;
        min-height: auto;
        display: block;
    }
    
    .carousel-title {
        font-size: 22px;
    }
    
    .carousel-game-card {
        flex: 0 0 200px;
        height: 130px;
    }
    
    .stats-grid {
        padding: 16px;
        gap: 12px;
        margin-top: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .feature-highlights {
        gap: 8px;
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .feature-item {
        padding: 10px;
    }
    
    .feature-text {
        font-size: 11px;
    }
    
    .logo-row {
        gap: 10px;
    }
    
    .logo-mark {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .heading {
        font-size: 22px;
    }
    
    .subheading {
        font-size: 12px;
    }
    
    .btn-discord {
        height: 44px;
        font-size: 13px;
    }
    
    .card-foot {
        padding: 14px 20px;
    }
}
