:root {
    --bg-dark: #0B0806;
    --panel-bg: rgba(22, 16, 12, 0.92);
    --panel-border: rgba(212, 175, 55, 0.4);
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-hover: #E5C158;
    --gold-gradient: linear-gradient(145deg, #F3E5AB 0%, #D4AF37 50%, #996515 100%);
    --text-main: #EDEDED;
    --text-sub: #A0988E;
    --text-muted: #73695E;
    --accent-red: #A82424;
    --accent-red-hover: #C93030;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* REAL AUTHENTIC DESERT GOLD NEUMORPHISM SHADOWS (NIGHT) */
    --gold-glow: rgba(212, 175, 55, 0.3);
    --neu-shadow-outer: 7px 7px 16px rgba(0, 0, 0, 0.85), -5px -5px 12px rgba(243, 229, 171, 0.18);
    --neu-shadow-inset: inset 5px 5px 10px rgba(0, 0, 0, 0.85), inset -4px -4px 8px rgba(243, 229, 171, 0.25);
    --neu-card-shadow: 10px 10px 24px rgba(0, 0, 0, 0.8), -6px -6px 16px rgba(212, 175, 55, 0.12);
}

/* SAHARA DAY GOLD MODE (الوضع النهاري الصحراوي الذهبي المشرق) */
[data-mode="day"] {
    --bg-dark: #EADFC9;
    --panel-bg: #DFD1B4;
    --panel-border: rgba(184, 134, 11, 0.45);
    --gold-primary: #9E7206;
    --gold-light: #684800;
    --gold-hover: #B8860B;
    --gold-gradient: linear-gradient(145deg, #F9F3E5 0%, #E3D1A5 50%, #B8860B 100%);
    --text-main: #241A0F;
    --text-sub: #52402E;
    --text-muted: #7E6B56;
    --gold-glow: rgba(184, 134, 11, 0.25);
    --neu-shadow-outer: 8px 8px 18px rgba(150, 120, 80, 0.4), -6px -6px 14px rgba(255, 255, 255, 0.9);
    --neu-shadow-inset: inset 6px 6px 12px rgba(150, 120, 80, 0.45), inset -5px -5px 10px rgba(255, 255, 255, 0.9);
}

/* SMOOTH FLUID TRANSITION ENGINE (تلاشي وانتقال انسيابي مبهر 60FPS) */
html,
body,
header.navbar-container,
.feature-card,
.rule-column-card,
.chapter-card,
.about-card,
.dual-card-panel,
.feedback-left-panel,
.feedback-form-container,
.feedback-right-panel,
.feedback-card,
.feedback-side-card,
.stats-bar,
.gold-glass-panel,
.patch-card,
.patch-modal-card,
.whats-new-card,
.whats-new-feature-item,
.example-box,
.modifier-item,
.credit-item,
.form-control,
footer.footer-container {
    transition: background-color 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.45s ease,
                border-color 0.45s ease,
                box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* SUN/MOON ICON ROTATION ANIMATION */
.day-night-toggle-btn i {
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.day-night-toggle-btn.mode-animating i {
    transform: rotate(360deg) scale(1.3);
}

/* LUXURY GOLDEN EXPANSION RIPPLE OVERLAY */
.theme-ripple-overlay {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, rgba(243, 229, 171, 0.2) 50%, transparent 80%);
    transform: translate(-50%, -50%) scale(0);
    animation: themeRippleExpand 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes themeRippleExpand {
    0% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(40);
    }
}

[data-mode="day"] body {
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
}

[data-mode="day"] header.navbar-container {
    background: rgba(234, 223, 201, 0.95) !important;
    border-bottom: 1px solid rgba(184, 134, 11, 0.35) !important;
}

[data-mode="day"] .brand-title {
    color: #684800 !important;
}

[data-mode="day"] .nav-link {
    color: #52402E !important;
}

[data-mode="day"] .nav-link:hover,
[data-mode="day"] .nav-link.active {
    color: #9E7206 !important;
}

[data-mode="day"] .feature-card,
[data-mode="day"] .rule-column-card,
[data-mode="day"] .dual-card-panel,
[data-mode="day"] .feedback-left-panel,
[data-mode="day"] .feedback-form-container,
[data-mode="day"] .feedback-right-panel,
[data-mode="day"] .feedback-card,
[data-mode="day"] .feedback-side-card,
[data-mode="day"] .stats-bar,
[data-mode="day"] .gold-glass-panel,
[data-mode="day"] .patch-card,
[data-mode="day"] .patch-modal-card,
[data-mode="day"] .whats-new-card,
[data-mode="day"] .chapter-card,
[data-mode="day"] .about-card {
    background: linear-gradient(145deg, #F5ECE0 0%, #D8C7A5 100%) !important;
    background-color: #E2D3B4 !important;
    background-image: linear-gradient(145deg, #F5ECE0 0%, #D8C7A5 100%) !important;
    border-top: 2px solid rgba(255, 255, 255, 0.95) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.95) !important;
    border-bottom: 2px solid rgba(150, 120, 80, 0.5) !important;
    border-right: 2px solid rgba(150, 120, 80, 0.5) !important;
    box-shadow: inset 8px 8px 20px rgba(150, 120, 80, 0.38), inset -6px -6px 16px rgba(255, 255, 255, 0.9) !important;
    color: #241A0F !important;
}

[data-mode="day"] .chapter-paragraph,
[data-mode="day"] .about-text,
[data-mode="day"] .chapter-body,
[data-mode="day"] .page-subtitle,
[data-mode="day"] .chapter-sub,
[data-mode="day"] .credit-info p,
[data-mode="day"] .modifier-item-desc {
    color: #453322 !important;
    font-weight: 500 !important;
}

[data-mode="day"] .chapter-title-group h2,
[data-mode="day"] .about-section-title,
[data-mode="day"] .page-title,
[data-mode="day"] .credit-info h4,
[data-mode="day"] .modifier-item-header {
    color: #684800 !important;
}

[data-mode="day"] .example-box,
[data-mode="day"] .modifier-item,
[data-mode="day"] .credit-item {
    background: linear-gradient(145deg, #EDE1CD 0%, #D4C19F 100%) !important;
    border: 1px solid rgba(158, 114, 6, 0.35) !important;
    box-shadow: 6px 6px 14px rgba(150, 120, 80, 0.35), -4px -4px 10px rgba(255, 255, 255, 0.85) !important;
    color: #241A0F !important;
}

[data-mode="day"] .example-title {
    color: #684800 !important;
}

[data-mode="day"] .example-content {
    color: #241A0F !important;
}

/* DAY MODE STYLING FOR MODAL WINDOW (تفعيل الوضع النهاري كاملاً ومبهر على النافذة المنبثقة) */
[data-mode="day"] .patch-modal-overlay {
    background: rgba(120, 100, 70, 0.55) !important;
}

[data-mode="day"] .patch-modal-close {
    background: #F3E9D7 !important;
    border: 1px solid #9E7206 !important;
    color: #684800 !important;
    box-shadow: 4px 4px 10px rgba(150, 120, 80, 0.35), -3px -3px 8px rgba(255, 255, 255, 0.9) !important;
}

[data-mode="day"] .patch-modal-close:hover {
    background: #9E7206 !important;
    color: #FFF !important;
}

[data-mode="day"] .patch-modal-card h2,
[data-mode="day"] .patch-modal-card h4 {
    color: #684800 !important;
}

[data-mode="day"] .patch-modal-card h3 {
    color: #9E7206 !important;
}

[data-mode="day"] .patch-modal-card p {
    color: #52402E !important;
    background: transparent !important;
    border: none !important;
}

[data-mode="day"] .patch-modal-card .form-control {
    background: #F8F2E6 !important;
    border: 1px solid rgba(184, 134, 11, 0.45) !important;
    color: #241A0F !important;
    box-shadow: inset 3px 3px 6px rgba(150, 120, 80, 0.28) !important;
}

[data-mode="day"] .patch-modal-card .form-label {
    color: #684800 !important;
}

[data-mode="day"] .patch-modal-card span,
[data-mode="day"] .patch-modal-card li {
    color: #241A0F !important;
}

[data-mode="day"] .whats-new-version-tab {
    background: linear-gradient(145deg, #EDE1CD 0%, #D4C19F 100%) !important;
    border: 1px solid rgba(158, 114, 6, 0.35) !important;
    color: #52402E !important;
}

[data-mode="day"] .whats-new-version-tab:hover,
[data-mode="day"] .whats-new-version-tab.active {
    background: linear-gradient(145deg, #F8F0E2 0%, #CCB893 100%) !important;
    border-color: #9E7206 !important;
    color: #684800 !important;
    box-shadow: inset 4px 4px 10px rgba(150, 120, 80, 0.4), inset -3px -3px 6px rgba(255, 255, 255, 0.9) !important;
}

[data-mode="day"] .patch-modal-card .whats-new-badge-major {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.25) 0%, rgba(184, 134, 11, 0.08) 100%) !important;
    border-color: #9E7206 !important;
    color: #684800 !important;
}

/* DAY MODE CARD HOVER FIX (بطاقات لا تصبح سوداء عند فتح أو حوم الكروس) */
[data-mode="day"] .feature-card:hover,
[data-mode="day"] .rule-column-card:hover,
[data-mode="day"] .dual-card-panel:hover,
[data-mode="day"] .feedback-left-panel:hover,
[data-mode="day"] .feedback-form-container:hover,
[data-mode="day"] .feedback-right-panel:hover,
[data-mode="day"] .feedback-card:hover,
[data-mode="day"] .feedback-side-card:hover,
[data-mode="day"] .stats-bar:hover,
[data-mode="day"] .gold-glass-panel:hover,
[data-mode="day"] .patch-card:hover,
[data-mode="day"] .whats-new-card:hover {
    background: linear-gradient(145deg, #FAF4EB 0%, #D2BF9B 100%) !important;
    border-bottom-color: #9E7206 !important;
    border-right-color: #9E7206 !important;
    box-shadow: inset 10px 10px 24px rgba(150, 120, 80, 0.48), inset -8px -8px 20px rgba(255, 255, 255, 0.95) !important;
    color: #241A0F !important;
}

[data-mode="day"] .whats-new-feature-item {
    background: linear-gradient(145deg, #EDE1CD 0%, #D4C19F 100%) !important;
    border: 1px solid rgba(158, 114, 6, 0.35) !important;
    box-shadow: 6px 6px 14px rgba(150, 120, 80, 0.35), -4px -4px 10px rgba(255, 255, 255, 0.85) !important;
}

[data-mode="day"] .whats-new-feature-item:hover {
    background: linear-gradient(145deg, #F8F0E2 0%, #CCB893 100%) !important;
    border-color: #9E7206 !important;
    box-shadow: 8px 8px 18px rgba(150, 120, 80, 0.42), -5px -5px 12px rgba(255, 255, 255, 0.95) !important;
}

[data-mode="day"] .feature-title,
[data-mode="day"] .rule-column-title,
[data-mode="day"] .section-title-flourish,
[data-mode="day"] .hero-subtitle {
    color: #684800 !important;
}

[data-mode="day"] .feature-desc,
[data-mode="day"] .modifiers-subtext,
[data-mode="day"] .rule-bullets,
[data-mode="day"] .hero-description {
    color: #52402E !important;
}

[data-mode="day"] .form-control {
    background: #F3E9D7 !important;
    border: 1px solid rgba(184, 134, 11, 0.35) !important;
    color: #241A0F !important;
    box-shadow: inset 3px 3px 6px rgba(150, 120, 80, 0.25) !important;
}

[data-mode="day"] footer.footer-container {
    background: #DCCEA9 !important;
    border-top: 1px solid rgba(184, 134, 11, 0.35) !important;
}

[data-mode="day"] .hero-section {
    background: 
        linear-gradient(180deg, rgba(11, 8, 6, 0.25) 0%, rgba(11, 8, 6, 0.75) 100%),
        url('../images/hero_bg.webp') center/cover no-repeat !important;
    border-bottom: 2px solid var(--gold-primary) !important;
}

[data-mode="day"] .hero-title-flourish {
    color: var(--gold-primary) !important;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.4) !important;
}

[data-mode="day"] .hero-subtitle {
    color: var(--gold-light) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

[data-mode="day"] .hero-description {
    color: #E2D4B6 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

/* 3D TACTILE DAY/NIGHT TOGGLE BUTTON */
.day-night-toggle-btn {
    background: linear-gradient(145deg, #F3E5AB 0%, #D4AF37 100%);
    border: 1px solid rgba(255, 240, 180, 0.6);
    color: #0b0806;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6), -3px -3px 8px rgba(255, 235, 170, 0.2);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

[data-mode="day"] .day-night-toggle-btn {
    background: linear-gradient(145deg, #F8F2E6 0%, #D8C69E 100%);
    border-color: rgba(184, 134, 11, 0.5);
    color: #2A1F13;
    box-shadow: 4px 4px 10px rgba(160, 130, 90, 0.4), -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.day-night-toggle-btn:hover {
    transform: translateY(-2px);
}

.day-night-toggle-btn:active {
    transform: translateY(1px);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
}

body.subpage-bg {
    position: relative;
}

body.subpage-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(180deg, rgba(11, 8, 6, 0.45) 0%, rgba(11, 8, 6, 0.75) 100%),
        url('../images/page_bg.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .font-cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* ==========================================================================
   ENGRAVED GOLD NEUMORPHISM & GLASSMORPHISM UTILITIES (60 FPS & MOBILE OPTIMIZED)
   ========================================================================== */

/* 60 FPS GPU Transform Enforcer */
.gpu-accelerated {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 3D Engraved Gold Coin Neumorphic Button */
.gold-neu-btn {
    background: var(--gold-gradient);
    color: #0b0806;
    font-weight: 700;
    border: 1px solid rgba(255, 235, 170, 0.4);
    border-radius: var(--radius-md);
    box-shadow: var(--neu-shadow-outer);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease;
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.gold-neu-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--neu-shadow-outer), 0 0 20px var(--gold-glow);
    filter: brightness(1.05);
}

.gold-neu-btn:active, .gold-neu-btn.pressed {
    transform: translateY(1px);
    box-shadow: var(--neu-shadow-inset) !important;
}

/* MAIN CONTAINER STACKING CONTEXT */
main.container {
    position: relative !important;
    z-index: 5 !important;
}

/* CONCAVE DEEPLY RECESSED 3D NEUMORPHIC CARDS SITE-WIDE (ثقب منحدر غائر محفور للداخل) */
.feature-card,
.rule-column-card,
.dual-card-panel,
.feedback-left-panel,
.feedback-form-container,
.feedback-right-panel,
.feedback-card,
.feedback-side-card,
.stats-bar,
.gold-glass-panel,
.patch-card,
.patch-modal-content,
.whats-new-card {
    position: relative !important;
    z-index: 10 !important;
    background: linear-gradient(145deg, #0e0a07 0%, #1a130d 100%) !important;
    background-color: #140e09 !important;
    background-image: linear-gradient(145deg, #0e0a07 0%, #1a130d 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: 2px solid rgba(0, 0, 0, 0.95) !important;
    border-left: 2px solid rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1.5px solid rgba(255, 240, 180, 0.45) !important;
    border-right: 1.5px solid rgba(255, 240, 180, 0.45) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: inset 10px 10px 24px rgba(0, 0, 0, 0.95), inset -8px -8px 20px rgba(243, 229, 171, 0.22) !important;
    transition: var(--transition) !important;
    opacity: 1 !important;
}

.whats-new-feature-item {
    background: linear-gradient(145deg, #1a140e 0%, #110c08 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: var(--radius-md) !important;
    padding: 1.35rem !important;
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.9), -4px -4px 10px rgba(243, 229, 171, 0.12) !important;
    transition: var(--transition) !important;
}

.whats-new-feature-item:hover {
    border-color: var(--gold-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 8px 8px 22px rgba(0, 0, 0, 0.95), -5px -5px 14px rgba(243, 229, 171, 0.2) !important;
}

.feature-card:hover,
.rule-column-card:hover,
.dual-card-panel:hover,
.feedback-left-panel:hover,
.feedback-form-container:hover,
.feedback-right-panel:hover,
.feedback-card:hover,
.stats-bar:hover,
.gold-glass-panel:hover,
.whats-new-card:hover {
    background: linear-gradient(145deg, #0b0805 0%, #1e160f 100%) !important;
    border-bottom-color: var(--gold-primary) !important;
    border-right-color: var(--gold-primary) !important;
    box-shadow: inset 14px 14px 28px rgba(0, 0, 0, 0.98), inset -10px -10px 24px rgba(243, 229, 171, 0.3) !important;
}

/* Sculpted Metallic Gold Headline Text */
.gold-text-sculpt {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-primary) 60%, #805c0a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

/* Mobile Responsive Optimization (320px+) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
}
header.navbar-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 8, 6, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--panel-border);
    padding: 0.85rem 2rem;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-title {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
    padding: 0.4rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-gold-sm {
    background: var(--gold-gradient);
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-gold-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: var(--gold-hover);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    background: 
        linear-gradient(180deg, rgba(11, 8, 6, 0.4) 0%, rgba(11, 8, 6, 0.95) 100%),
        url('../images/hero_bg_epic.webp') center/cover no-repeat;
    border-bottom: 2px solid var(--gold-primary);
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.hero-title-flourish {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.3);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-description {
    color: #C5BCB1;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gold-gradient);
    color: #0B0806;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
    color: #000;
}

.btn-hero-outline {
    background: rgba(18, 14, 10, 0.6);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-hero-outline:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #FFF;
    border-color: var(--gold-hover);
}

/* HERO STATS BAR */
.stats-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background: rgba(18, 14, 10, 0.75);
    border: 1px solid var(--panel-border);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    color: var(--gold-primary);
    font-size: 1.25rem;
}

.stat-val {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--gold-light);
    display: block;
    line-height: 1.1;
}

.stat-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-sub);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stats-bar {
        gap: 0.75rem;
        padding: 0.85rem 1rem;
        border-radius: 24px;
        width: 92%;
        max-width: 380px;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
    }
    
    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.25rem;
    }

    .stat-icon {
        font-size: 0.95rem;
    }

    .stat-val {
        font-size: 0.92rem;
    }

    .stat-lbl {
        font-size: 0.58rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
}

/* MAIN CONTAINER */
main.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* SECTION HEADER DIVIDER */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-flourish {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
}

.section-title-flourish::before,
.section-title-flourish::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* HOW TO PLAY CARDS GRID */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.15);
}

.feature-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .feature-img-wrapper img {
    transform: scale(1.05);
}

.feature-body {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.5;
}

/* RULES & STRATEGY GRID */
.rules-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-bottom: 5rem;
}

.rule-column-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
}

.rule-column-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 0.75rem;
}

.rule-bullets {
    list-style: none;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-sub);
}

.rule-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.rule-bullets li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.7rem;
    top: 2px;
}

.modifiers-preview-img, .elo-preview-img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.modifiers-subtext {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.5;
}

/* SCREENSHOTS & UPDATES GRID */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

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

.dual-card-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.patch-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.patch-list {
    list-style: none;
    margin: 1.25rem 0;
}

.patch-list li {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.patch-list li i {
    color: var(--gold-primary);
    font-size: 0.8rem;
}

.btn-outline-sm {
    background: transparent;
    border: 1px solid var(--panel-border);
    color: var(--text-sub);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-sm:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* FEEDBACK & SUPPORT SECTION */
.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 0.8fr;
    gap: 1.75rem;
    margin-bottom: 5rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .feedback-grid {
        grid-template-columns: 1fr;
    }
}

.feedback-side-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feedback-illustration {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    margin-top: 1rem;
    border-radius: 8px;
}

/* FEEDBACK FORM */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-sub);
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: rgba(11, 8, 6, 0.8);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.btn-submit-gold {
    width: 100%;
    background: var(--gold-gradient);
    color: #0B0806;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.85rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.status-alert {
    display: none;
    padding: 0.85rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
}

.status-success {
    background: rgba(20, 84, 54, 0.3);
    border: 1px solid #205436;
    color: #4ADE80;
}

/* FOOTER */
footer.footer-container {
    background: #070504;
    border-top: 1px solid var(--panel-border);
    padding: 4rem 1.5rem 2rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand p {
    color: var(--text-sub);
    font-size: 0.85rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--text-sub);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--gold-primary);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.6rem;
}

.footer-menu a {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* DELETE ACCOUNT FOOTER CARD */
.delete-account-card {
    background: rgba(20, 10, 10, 0.8);
    border: 1px solid rgba(168, 36, 36, 0.4);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}

.delete-account-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #F87171;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.delete-account-desc {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.btn-delete-red {
    background: var(--accent-red);
    color: #FFF;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    width: 100%;
}

.btn-delete-red:hover {
    background: var(--accent-red-hover);
    box-shadow: 0 4px 15px rgba(168, 36, 36, 0.4);
}

.footer-copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* LUXURY 3D NEUMORPHIC MAJOR UPDATES MODAL */
.patch-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 4, 3, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.patch-modal-card {
    background: linear-gradient(145deg, #16100b 0%, #0d0906 100%);
    background-color: #120c08;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-top: 1.5px solid rgba(255, 240, 180, 0.55);
    border-left: 1.5px solid rgba(255, 240, 180, 0.4);
    border-bottom: 2px solid rgba(0, 0, 0, 0.95);
    border-right: 2px solid rgba(0, 0, 0, 0.95);
    border-radius: 24px;
    max-width: 720px;
    width: 90%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 16px 16px 40px rgba(0, 0, 0, 0.98), -12px -12px 30px rgba(212, 175, 55, 0.22);
    opacity: 1;
}

.patch-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #140e09;
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8), -3px -3px 8px rgba(243, 229, 171, 0.18);
    transition: var(--transition);
}

.patch-modal-close:hover {
    background: var(--gold-primary);
    color: #0b0806;
    transform: scale(1.08);
}

.patch-modal-cover-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--panel-border);
}

.patch-modal-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patch-modal-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, #140E0A 100%);
}

.patch-modal-body {
    padding: 1.75rem;
}

.patch-modal-header {
    margin-bottom: 1.25rem;
}

/* RESPONSIVE MEDIA QUERIES FOR ALL SCREENS (MOBILE & TABLETS) */
.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--panel-border);
    color: var(--gold-primary);
    font-size: 1.25rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

.nav-mobile-cta-item {
    display: none;
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 1.15rem;
    }
    .nav-link {
        font-size: 0.78rem;
        letter-spacing: 0.5px;
    }
    .btn-gold-sm {
        padding: 0.55rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .header-cta-desktop {
        display: none !important;
    }
    .nav-mobile-cta-item {
        display: block;
        width: 100%;
    }
    .nav-mobile-cta {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 8, 6, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--panel-border);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        display: none;
        box-shadow: 0 15px 35px rgba(0,0,0,0.85);
    }
    .nav-menu.mobile-open {
        display: flex;
    }
    .hero-title-flourish {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .stats-bar {
        gap: 1.5rem;
        padding: 0.85rem 1.5rem;
        border-radius: 16px;
    }
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* GLOBAL PREVENT HORIZONTAL OVERFLOW */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
}

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

@media (max-width: 768px) {
    header.navbar-container {
        padding: 0.65rem 0.75rem !important;
    }

    .nav-inner {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: space-between !important;
    }

    .brand-logo {
        gap: 0.4rem !important;
    }

    .brand-title {
        font-size: 0.92rem !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
    }

    #dayNightToggleBtn span {
        display: none !important;
    }

    #dayNightToggleBtn {
        padding: 0.45rem !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-toggle {
        padding: 0.45rem !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 600px) {
    header.navbar-container {
        padding: 0.6rem 0.6rem !important;
    }
    .brand-title {
        font-size: 0.88rem !important;
    }
    .hero-title-flourish {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero-primary, .btn-hero-outline {
        width: 100%;
        justify-content: center;
    }
    .stats-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        width: 100%;
        padding: 0.9rem 0.5rem;
        border-radius: 16px;
        align-items: center;
    }
    .stat-item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.3rem;
    }
    .stat-icon {
        font-size: 1.25rem;
        margin: 0 auto;
    }
    .stat-val {
        font-size: 1.05rem;
        text-align: center;
    }
    .stat-lbl {
        font-size: 0.62rem;
        letter-spacing: 0.5px;
        text-align: center;
        white-space: nowrap;
    }
    .section-title-flourish {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    .section-title-flourish::before,
    .section-title-flourish::after {
        width: 30px;
    }
    .cards-grid-3, .rules-grid-3 {
        grid-template-columns: 1fr;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    .feedback-grid {
        grid-template-columns: 1fr !important;
    }

    /* HIGH-PRECISION MOBILE TYPOGRAPHY & CARD PROPORTION REFITS */
    .page-title {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
        letter-spacing: 1px !important;
        margin-bottom: 0.5rem !important;
    }

    .header-badge {
        font-size: 0.72rem !important;
        padding: 0.3rem 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }

    .page-subtitle {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        margin-top: 0.2rem !important;
    }

    .chapter-card,
    .about-card,
    .rule-column-card,
    .feature-card,
    .feedback-side-card {
        padding: 1.1rem 0.9rem !important;
        border-radius: 14px !important;
        margin-bottom: 1rem !important;
    }

    .chapter-title-group {
        display: flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.5rem !important;
    }

    .chapter-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .chapter-title-group h2 {
        font-size: 1.05rem !important;
        line-height: 1.25 !important;
        letter-spacing: 0.5px !important;
        margin: 0 !important;
    }

    .chapter-sub {
        font-size: 0.68rem !important;
        letter-spacing: 0.6px !important;
        margin-top: 0.1rem !important;
        line-height: 1.3 !important;
    }

    .chapter-paragraph,
    .about-text,
    .chapter-body p,
    .chapter-body li {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.75rem !important;
    }

    .modifier-item,
    .credit-item,
    .example-box {
        padding: 0.75rem 0.75rem !important;
        margin-top: 0.75rem !important;
        border-radius: 10px !important;
    }

    .modifier-item-header,
    .example-title,
    .credit-info h4 {
        font-size: 0.88rem !important;
        gap: 0.35rem !important;
        margin-bottom: 0.3rem !important;
    }

    .modifier-item-desc,
    .example-content,
    .credit-info p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .form-row-2 {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }

    .delete-modal-card {
        padding: 1.25rem 1rem !important;
        width: 92% !important;
        border-radius: 16px !important;
    }

    .delete-modal-title {
        font-size: 1.02rem !important;
        padding-right: 2.2rem !important;
        margin-bottom: 0.4rem !important;
    }

    .delete-modal-desc {
        font-size: 0.78rem !important;
        line-height: 1.45 !important;
        margin-bottom: 1rem !important;
    }
}

/* DELETE ACCOUNT MODAL FORM STYLING */
.delete-modal-card {
    max-width: 480px;
    padding: 1.75rem;
    position: relative;
}

.delete-modal-title {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    padding-right: 2.2rem;
    line-height: 1.3;
}

.delete-modal-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

/* ==========================================================================
   FEEDBACK & SUPPORT FORM CONTROLS
   ========================================================================== */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.feedback-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr 0.8fr;
    gap: 1.5rem;
    align-items: stretch;
}

.feedback-side-card {
    background: rgba(18, 14, 10, 0.85);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.feedback-side-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.12);
}

.feedback-illustration {
    max-width: 140px;
    margin: 1.25rem auto 0;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: rgba(11, 8, 6, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    line-height: 1.5;
    transition: var(--transition);
    outline: none;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.form-control::placeholder {
    color: #73695E;
    font-size: 0.88rem;
}

.form-control:hover {
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(15, 11, 8, 0.9);
}

.form-control:focus {
    border-color: var(--gold-primary);
    background: rgba(20, 15, 10, 0.95);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

select.form-control option {
    background: #0B0806;
    color: var(--text-main);
    padding: 0.75rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit-gold {
    width: 100%;
    background: var(--gold-gradient);
    color: #0B0806;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.btn-submit-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
    background: var(--gold-hover);
}

.status-alert {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    text-align: center;
    line-height: 1.4;
}

.status-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ADE80;
}

/* WHAT'S NEW LUXURY SHOWCASE & MODAL */
.whats-new-card {
    background: linear-gradient(135deg, rgba(28, 20, 14, 0.95) 0%, rgba(18, 12, 8, 0.98) 100%);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(212, 175, 55, 0.05);
    margin-bottom: 3.5rem;
    transition: var(--transition);
}

.whats-new-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), var(--gold-light), var(--gold-primary), transparent);
}

.whats-new-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.whats-new-badge-major {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.whats-new-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.whats-new-feature-item {
    background: rgba(11, 8, 6, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: var(--transition);
}

.whats-new-feature-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.whats-new-feature-title {
    color: var(--gold-primary);
    font-size: 1.05rem;
    font-family: var(--font-cinzel);
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whats-new-feature-desc {
    color: var(--text-sub);
    font-size: 0.85rem;
    line-height: 1.5;
}

.whats-new-version-tab {
    padding: 0.75rem 1.2rem;
    background: rgba(20, 14, 10, 0.8);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    color: var(--text-sub);
    cursor: pointer;
    font-family: var(--font-cinzel);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.whats-new-version-tab:hover,
.whats-new-version-tab.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

/* MOBILE RESPONSIVE OPTIMIZATIONS */
@media (max-width: 600px) {
    .whats-new-card {
        padding: 1.5rem 1.15rem !important;
        margin-bottom: 3rem !important;
        border-radius: var(--radius-lg) !important;
    }

    .whats-new-header-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1.25rem !important;
    }

    .whats-new-header-row h2 {
        font-size: 1.35rem !important;
        text-align: center !important;
        margin-top: 0.5rem !important;
        line-height: 1.35 !important;
    }

    .whats-new-header-row button {
        width: 100% !important;
        justify-content: center !important;
    }

    .whats-new-badge-major {
        font-size: 0.72rem !important;
        padding: 0.35rem 0.85rem !important;
        letter-spacing: 0.8px !important;
        margin: 0 auto !important;
        display: inline-flex !important;
    }

    .whats-new-features-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin: 1.5rem 0 0.5rem 0 !important;
    }

    .patch-modal-card {
        width: 95% !important;
        max-width: 95% !important;
        padding: 0 !important;
        max-height: 90vh !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
    }

    .patch-modal-body {
        padding: 1.25rem 1rem !important;
    }

    .patch-modal-header {
        text-align: center !important;
        padding-bottom: 0.85rem !important;
        margin-bottom: 1rem !important;
    }

    .patch-modal-header h2 {
        font-size: 1.25rem !important;
        margin-top: 0.4rem !important;
        line-height: 1.3 !important;
    }

    .patch-modal-close {
        top: 0.75rem !important;
        right: 0.75rem !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1.1rem !important;
    }

    .whats-new-version-tab {
        padding: 0.65rem 0.85rem !important;
        font-size: 0.82rem !important;
    }

    #majorVersionTabs {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    /* DELETE ACCOUNT MODAL SPECIFIC OVERRIDES */
    .patch-modal-card.delete-modal-card {
        padding: 1.25rem 1rem !important;
        width: 92% !important;
        max-width: 92% !important;
        box-sizing: border-box !important;
    }

    .delete-modal-title {
        font-size: 0.98rem !important;
        line-height: 1.35 !important;
        padding-right: 2.2rem !important;
        margin-bottom: 0.4rem !important;
        word-break: break-word !important;
    }

    .delete-modal-desc {
        font-size: 0.78rem !important;
        line-height: 1.45 !important;
        margin-bottom: 1rem !important;
    }
}

/* CUSTOM LUXURY DARK-GOLD SCROLLBAR (No white browser scrollbars) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(11, 8, 6, 0.95);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-primary) 0%, rgba(139, 101, 8, 0.9) 100%);
    border-radius: 10px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Firefox custom scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) rgba(11, 8, 6, 0.95);
}

#staticHexCanvas,
.hex-background-container {
    max-width: 100vw !important;
    overflow: hidden !important;
}
