/* ============================================================
   nobulem.wtf — Global Design System
   ZekeHub-inspired dark theme with light mode support
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- Theme Variables --- */
:root {
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --nav-max: 1100px;
}

[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #18181f;
    --bg-card: rgba(17, 17, 24, 0.7);
    --bg-card-hover: rgba(25, 25, 35, 0.9);
    --bg-nav: rgba(10, 10, 15, 0.8);
    --bg-modal: #0d0d14;
    --border-primary: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent: #f97316;
    --accent-hover: #fb923c;
    --accent-subtle: rgba(249, 115, 22, 0.12);
    --discord: #5865F2;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --glow-hero: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(249, 115, 22, 0.08), transparent);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
}

[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #f4f4f5;
    --bg-tertiary: #e4e4e7;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-nav: rgba(250, 250, 250, 0.85);
    --bg-modal: #ffffff;
    --border-primary: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --border-accent: rgba(0, 0, 0, 0.1);
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;
    --accent: #ea580c;
    --accent-hover: #f97316;
    --accent-subtle: rgba(234, 88, 12, 0.1);
    --discord: #5865F2;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --glow-hero: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(249, 115, 22, 0.05), transparent);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    color-scheme: light;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 100%;
    max-width: var(--max-width);
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--border-primary), transparent);
}

/* ============================================================
   NAVIGATION 
   ============================================================ */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 24px;
    transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-wrapper.scrolled {
    padding: 10px 24px;
}

.nav-island {
    display: flex;
    align-items: center;
    max-width: var(--nav-max);
    margin: 0 auto;
    background: var(--bg-nav);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-primary);
    border-radius: 18px;
    padding: 6px 8px 6px 16px;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    box-shadow: 0 0 0 0 transparent, 0 2px 12px rgba(0, 0, 0, 0.15);
}

.nav-wrapper.scrolled .nav-island {
    border-radius: 14px;
    border-color: var(--border-hover);
    box-shadow:
        0 0 20px rgba(249, 115, 22, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Subtle top-edge shine */
.nav-island::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 1px;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-wrapper.scrolled .nav-island::before {
    left: 10%;
    right: 10%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.2), rgba(251, 146, 60, 0.15), transparent);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 16px;
    margin-right: 4px;
    border-right: 1px solid var(--border-primary);
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.nav-wrapper.scrolled .brand {
    border-right-color: var(--border-hover);
}

.brand img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover img {
    transform: scale(1.1) rotate(-4deg);
}

.brand span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2px;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 7px 13px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    opacity: 0;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.nav-icon-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.nav-icon-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.nav-icon-btn svg,
.nav-icon-btn i {
    width: 17px;
    height: 17px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.25);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%);
    pointer-events: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.nav-cta svg {
    width: 15px;
    height: 15px;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-primary);
    margin-left: auto;
    padding: 4px;
}

/* Language dropdown */
.lang-dropdown {
    position: relative;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 0;
    min-width: 200px;
    max-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 200;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-search-wrap {
    padding: 8px;
    border-bottom: 1px solid var(--border-primary);
}

.lang-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.lang-search-input:focus {
    border-color: var(--accent);
}

.lang-search-input::placeholder {
    color: var(--text-muted);
}

.lang-options-list {
    max-height: 240px;
    overflow-y: auto;
    padding: 4px;
}

.lang-options-list::-webkit-scrollbar {
    width: 4px;
}

.lang-options-list::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 4px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    font-family: var(--font-body);
    text-align: left;
}

.lang-option:hover,
.lang-option.active {
    color: var(--text-primary);
    background: var(--accent-subtle);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 160px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    background: var(--glow-hero);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-badge i {
    width: 14px;
    height: 14px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn i {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn-secondary:hover {
    background: var(--accent-subtle);
    border-color: var(--border-hover);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
}

.btn-discord {
    background: var(--discord);
    color: #fff;
    border-color: var(--discord);
}

.btn-discord:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--accent-subtle);
}

/* ============================================================
   TRIAL BANNER
   ============================================================ */
.trial-banner {
    max-width: var(--max-width);
    margin: 0 auto 60px;
    padding: 0 24px;
}

.trial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    transition: border-color var(--transition);
}

.trial-card:hover {
    border-color: var(--border-hover);
}

.trial-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
}

.trial-icon i {
    width: 22px;
    height: 22px;
}

.trial-content {
    flex-grow: 1;
}

.trial-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.trial-title .badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

.trial-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.trial-action {
    flex-shrink: 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================================
   FEATURE CARDS (Why Choose Us)
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-icon i {
    width: 20px;
    height: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   STEPS (How it Works)
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-primary);
}

.step-icon i {
    width: 22px;
    height: 22px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.pricing-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.pricing-link:hover {
    color: var(--text-primary);
    gap: 10px;
}

.pricing-link i {
    width: 16px;
    height: 16px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--text-primary);
    user-select: none;
}

.faq-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: all var(--transition);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--border-primary);
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--bg-secondary);
    margin-top: auto;
}

.site-footer a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: var(--border-primary);
    text-underline-offset: 3px;
    transition: all var(--transition);
}

.site-footer a:hover {
    color: var(--text-primary);
    text-decoration-color: var(--text-primary);
}

.footer-brand {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 15px;
}

/* ============================================================
   GAME MODAL (ZekeHub style)
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-modal);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 1000px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title-area h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-id {
    color: var(--text-muted);
    font-size: 13px;
    font-family: monospace;
}

.modal-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--accent-subtle);
    color: var(--accent);
}

.modal-close {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-primary);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    cursor: pointer;
    background: transparent;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-close i {
    width: 14px;
    height: 14px;
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex-grow: 1;
}

.groupbox {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.groupbox-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
}

.groupbox-header i {
    width: 18px;
    height: 18px;
}

.gb-feature {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gb-feature:last-child {
    border-bottom: none;
}

.gb-feature-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gb-feature-info i {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.gb-feature-name {
    font-weight: 600;
    font-size: 14px;
}

.gb-feature-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.gb-feature-badge {
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.gb-feature-badge i {
    width: 12px;
    height: 12px;
}

.modal-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

.modal-footer-actions {
    display: flex;
    gap: 8px;
}

/* ============================================================
   GAME CARDS GRID 
   ============================================================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.game-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.game-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-img {
    transform: scale(1.05);
}

.game-card-body {
    padding: 16px 18px;
}

.game-card-body h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.game-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.game-card-meta .badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--border-primary);
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.green {
    color: var(--success);
}

.stat-icon.orange {
    color: var(--accent);
}

.stat-icon.blue {
    color: var(--discord);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.pricing-plan {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.pricing-plan i {
    width: 20px;
    height: 20px;
}

.pricing-price {
    text-align: right;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
}

.pricing-period {
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-feature i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-note {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 20px;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================================
   EXECUTOR CARDS
   ============================================================ */
.executor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.executor-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.executor-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.executor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.executor-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.executor-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.executor-status.working {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.executor-status.patched {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.executor-status.testing {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.executor-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.executor-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.executor-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--border-primary);
}

/* ============================================================
   CONTENT PAGES (TOS, Developers, etc.)
   ============================================================ */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.content-page h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.content-page .subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
}

.content-page h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-page h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
}

.content-page p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-page ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.content-page li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    padding-left: 12px;
}

.content-page li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
}

/* ============================================================
   SHOWCASE CARDS
   ============================================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.showcase-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.showcase-media {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.showcase-body {
    padding: 18px 20px;
}

.showcase-body h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.showcase-body p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================================
   DASHBOARD & KEY PAGES
   ============================================================ */
.dashboard-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.dash-card h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.script-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: monospace;
    font-size: 13px;
    color: var(--text-secondary);
    word-break: break-all;
    position: relative;
    margin-bottom: 16px;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition);
}

.copy-btn:hover {
    background: var(--accent-hover);
}

/* Input fields */
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
    position: relative;
    max-width: 400px;
    margin: 0 auto 40px;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition);
}

.search-bar input:focus {
    border-color: var(--accent);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

/* ============================================================
   TOGGLE SWITCHES (for games page view toggle)
   ============================================================ */
.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    padding: 3px;
}

.view-toggle button {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-muted);
    transition: all var(--transition);
}

.view-toggle button.active {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid var(--border-hover);
        border-radius: 14px;
        padding: 12px;
        flex-direction: column;
        gap: 2px;
        z-index: 1000;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-island {
        flex-wrap: wrap;
        padding: 8px 12px 8px 16px;
        position: relative;
    }

    .brand {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(36px, 8vw, 56px);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .modal-footer {
        flex-direction: column;
        gap: 12px;
    }

    .modal-footer-actions {
        width: 100%;
    }

    .modal-footer-actions .btn {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trial-card {
        flex-direction: column;
        text-align: center;
    }

    .trial-action {
        width: 100%;
    }

    .trial-action .btn {
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .executor-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .nav-cta span {
        display: none;
    }

    .modal-header {
        flex-direction: column;
        gap: 12px;
    }

    .modal-close {
        align-self: flex-end;
    }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.fade-in-up:nth-child(1) {
    animation-delay: 0.05s;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.1s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.15s;
}

.fade-in-up:nth-child(4) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(5) {
    animation-delay: 0.25s;
}

.fade-in-up:nth-child(6) {
    animation-delay: 0.3s;
}

/* Smooth theme transitions */
body,
.nav-island,
.feature-card,
.step-card,
.faq-item,
.game-card,
.pricing-card,
.executor-card,
.dash-card,
.groupbox,
.modal-content,
.site-footer,
.trial-card {
    transition: background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}
/* Auth UI Styles */
.user-profile-btn { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; background: var(--bg-tertiary); border: 1px solid var(--border-primary); border-radius: var(--radius-full); cursor: default; transition: all var(--transition); }
.user-profile-btn:hover { border-color: var(--border-hover); background: var(--bg-secondary); }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-primary); }
.user-info { display: flex; flex-direction: column; line-height: 1.1; }
.user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.user-badge { font-size: 9px; font-weight: 700; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; margin-top: 2px; display: inline-block; width: fit-content; }
.user-badge.premium { background: linear-gradient(135deg, var(--accent), var(--warning)); color: #fff; box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25); text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.user-badge.freemium { background: var(--bg-tertiary); color: var(--text-muted); border: 1px solid var(--border-primary); }
.auth-login-btn { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-secondary); transition: color var(--transition); padding: 6px 10px; border-radius: var(--radius-sm); }
.auth-login-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
