/* --- 2012 ERA AESTHETIC --- */
        :root {
            --bg-color: #d3d3d3; /* 2012 main background */
            --header-blue: #1e3d75;
            --header-gradient: linear-gradient(to bottom, #305590 0%, #193870 100%);
            --link-blue: #0055b3;
            --text-dark: #333;
            --btn-green: linear-gradient(to bottom, #02b002 0%, #018001 100%);
            --btn-grey: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
            --content-bg: #fff;
        }

        body {
            margin: 0;
            padding: 0;
            background-color: var(--bg-color);
            color: var(--text-dark);
            font-family: Verdana, sans-serif;
            font-size: 11px;
        }

        a { color: var(--link-blue); text-decoration: none; cursor: pointer; }
        a:hover { text-decoration: underline; }

        /* Main Container - Spread out */
        #container {
            width: 1100px;
            margin: 0 auto;
            background: transparent;
            min-height: 100vh;
        }

        /* 2012 Header */
        #header {
            background: var(--header-gradient);
            border-bottom: 3px solid #fff;
            height: 40px;
            display: flex;
            align-items: center;
            padding: 0 10px;
            color: white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.4);
            position: relative;
            z-index: 10;
        }

        .logo {
            font-size: 20px;
            font-family: "Arial Black", sans-serif;
            margin-right: 20px;
            color: white;
            text-shadow: 1px 1px 0 #000;
            transform: skew(-5deg);
            background: white;
            color: #e22;
            padding: 0 5px;
            border: 1px solid #999;
            cursor: pointer;
        }

        #nav-links {
            display: none; /* Hidden by default, toggled via JS */
            gap: 12px;
            list-style: none;
            padding: 0;
            margin: 0;
            font-weight: bold;
            font-family: Arial, sans-serif;
        }

        #nav-links li { 
            cursor: pointer; 
            color: white; 
            text-shadow: 1px 1px 1px #000;
            font-size: 13px;
        }
        #nav-links li:hover { text-decoration: underline; }

        #user-bar {
            margin-left: auto;
            font-size: 11px;
            display: flex;
            gap: 15px;
            align-items: center;
        }

        /* Sub-Header Menu */
        #sub-menu {
            display: none; /* Hidden by default, toggled via JS */
            background: #fff;
            border-bottom: 1px solid #aaa;
            padding: 8px 10px;
            justify-content: center;
            gap: 10px;
            font-family: Arial, sans-serif;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .sub-link { color: #666; font-size: 12px; }
        .sub-link:hover { color: #1e3d75; }

        /* Page Layouts */
        .page-section { display: none; padding: 0 10px; }
        .page-section.active { display: block; }

        .content-box {
            background: #fff;
            border: 1px solid #aaa;
            margin-bottom: 15px;
        }
        .box-header {
            background: linear-gradient(to bottom, #eee 0%, #dcdcdc 100%);
            padding: 6px 10px;
            border-bottom: 1px solid #aaa;
            font-weight: bold;
            font-size: 14px;
        }
        .box-content { padding: 10px; }

        h1 { font-size: 24px; margin: 10px 0; font-family: Arial, sans-serif; font-weight: normal; }

        /* Buttons */
        .btn {
            background: var(--btn-grey);
            border: 1px solid #999;
            color: #333;
            padding: 4px 12px;
            font-weight: bold;
            font-size: 11px;
            cursor: pointer;
            border-radius: 2px;
        }
        .btn:hover { border-color: #666; }
        .btn.green {
            background: var(--btn-green);
            color: white;
            border: 1px solid #005500;
            text-shadow: 1px 1px 0 #004400;
        }
        .btn.red {
            background: linear-gradient(to bottom, #d00, #a00);
            color: white;
            border: 1px solid #900;
        }
        .btn.play-lg {
            font-size: 18px;
            padding: 10px 40px;
        }

        /* Login Layout */
        .login-layout { display: flex; gap: 20px; }
        .login-hero { flex: 2; border: 1px solid #aaa; background: #fff; padding: 20px; }
        .login-box {
            flex: 1;
            border: 1px solid #a4c3f5;
            background: #e1ecfc;
            padding: 15px;
        }

        /* Games Grids */
        .games-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; } 
        
        .games-grid-small {
            display: grid; 
            grid-template-columns: repeat(7, 1fr); 
            gap: 10px; 
        }

        .horizontal-games {
            display: flex;
            overflow-x: auto;
            gap: 10px;
            padding-bottom: 10px;
        }
        .horizontal-games .game-card {
            min-width: 140px;
            width: 140px;
            flex-shrink: 0;
        }

        .game-card { 
            border: 1px solid #ccc; 
            background: #fff; 
            padding: 0; 
            cursor: pointer; 
            overflow: hidden; 
            position: relative; 
        }
        .game-card:hover { border-color: #1e3d75; }
        .game-thumb { width: 100%; height: 100px; background: #eee; border-bottom: 1px solid #ccc; object-fit: cover; }
        .game-info-card { padding: 5px; }
        .game-title { font-weight: bold; color: var(--link-blue); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .game-stats { font-size: 9px; color: #666; margin-top: 2px; }
        
        /* Game Hover Effect */
        .game-hover-details {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.85);
            color: white;
            padding: 5px;
            font-size: 9px;
            display: none;
            z-index: 5;
        }
        .game-card:hover .game-hover-details { display: block; }
        .game-hover-row { margin-bottom: 1px; }

        /* Game Details */
        .game-details-main { display: flex; gap: 20px; background: #fff; border: 1px solid #aaa; padding: 20px; }
        .game-img-lg { width: 500px; height: 320px; border: 1px solid #666; background: #000; object-fit: cover; }
        
        /* Stats Sidebar */
        .stats-sidebar { width: 200px; font-size: 11px; }
        .stat-row { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding: 4px 0; }

        /* Footer */
        #footer { margin-top: 40px; border-top: 1px solid #aaa; background: #fff; padding: 20px; text-align: center; font-size: 10px; color: #666; }

        .currency-label {
            background: #fff;
            color: green;
            padding: 1px 6px;
            border: 1px solid #ccc;
            font-weight: bold;
            font-size: 10px;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* Profile Styles */
        .profile-header { display: flex; gap: 20px; margin-bottom: 20px; }
        .profile-avatar { width: 150px; height: 150px; background: #eee; border: 1px solid #999; }
        .profile-info { flex: 1; }
        .profile-bio { 
            background: #f9f9f9; border: 1px solid #ddd; padding: 10px; 
            margin-top: 10px; min-height: 60px; font-style: italic; color: #555;
        }
        
        /* Feed Items */
        .feed-item {
            padding: 8px 0;
            border-bottom: 1px dashed #ccc;
            display: flex;
            gap: 10px;
        }
        .feed-item:last-child { border-bottom: none; }
        .feed-game-thumb { width: 60px; height: 60px; border: 1px solid #999; object-fit: cover; }

        /* Banned Overlay - Redesigned */
        #banned-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.85);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }
        .banned-box {
            background: #fff;
            border: 4px solid #b30000;
            border-radius: 5px;
            padding: 0;
            width: 500px;
            text-align: center;
            box-shadow: 0 0 50px rgba(0,0,0,0.8);
            font-family: Arial, sans-serif;
        }
        .banned-header {
            background: #b30000;
            color: white;
            padding: 10px;
            font-size: 18px;
            font-weight: bold;
            text-transform: uppercase;
        }
        .banned-body {
            padding: 30px;
        }
        .banned-reason-box {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
            padding: 15px;
            margin: 20px 0;
            font-size: 13px;
            border-radius: 3px;
            text-align: left;
        }

        /* Info Document Styling */
        .info-doc h2 { font-size: 18px; border-bottom: 1px solid #ccc; padding-bottom: 5px; margin-top: 20px; }
        .info-doc p { line-height: 1.6; font-size: 12px; margin-bottom: 10px; }
        .info-doc ul { padding-left: 20px; line-height: 1.6; font-size: 12px; }
        .info-doc li { margin-bottom: 5px; }
        .info-doc strong { color: #333; }