/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --accent-primary: #0066ff;
    --accent-secondary: #004db3;
    --accent-gradient: linear-gradient(135deg, #0066ff, #004db3);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #333333;
    --shadow-primary: 0 10px 40px rgba(0, 102, 255, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-text .accent {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(0, 102, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

/* Enhanced Interactive Auth Buttons - Actual Button Styling */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px !important;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.auth-btn:hover::before {
    left: 100%;
}

.login-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.12)) !important;
    color: var(--text-primary) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

.login-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.2)) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
    color: var(--text-primary) !important;
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.register-btn {
    background: var(--accent-gradient) !important;
    color: white !important;
    border: 2px solid var(--accent-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.register-btn:hover {
    background: linear-gradient(135deg, #1a75ff, #0052cc) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
    border-color: #1a75ff !important;
    color: white !important;
}

.register-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.auth-btn:hover .btn-icon {
    transform: scale(1.1);
}

/* Override any conflicting nav-link styles for auth buttons */
.auth-btn.nav-link,
.auth-btn:link,
.auth-btn:visited {
    background: inherit !important;
    color: inherit !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
}

/* User Profile Dropdown */
.user-profile {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-item.logout-item:hover {
    background: rgba(255, 70, 85, 0.1);
    color: #ff4655;
}

.dropdown-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character {
    max-width: 400px;
    width: 100%;
}

.hero-character img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

/* Featured Games Section */
.featured-games {
    padding: 120px 0;
    background: var(--secondary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.games-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.game-card.large {
    grid-row: span 2;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.game-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.game-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-badge.featured {
    background: var(--accent-gradient);
    color: white;
}

.game-badge.new {
    background: #00d4aa;
    color: white;
}

.game-badge.popular {
    background: #ff6b35;
    color: white;
}

.game-info {
    align-self: flex-end;
    width: 100%;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.game-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.game-features {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.feature {
    background: rgba(0, 102, 255, 0.2);
    color: var(--accent-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.game-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary);
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: var(--primary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--primary-bg);
    text-align: center;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary.large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-description {
    color: var(--text-secondary);
    margin-top: 15px;
    line-height: 1.6;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .game-card.large {
        grid-row: span 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--accent-primary);
    color: white;
}

::-moz-selection {
    background: var(--accent-primary);
    color: white;
}

/* ===== Navbar auth visibility guards (session-based) =====
   Ensure only one block is visible:
   - Logged in  => show avatar/profile, hide Login/Register
   - Logged out => show Login/Register, hide avatar/profile
   You can toggle by setting body class to 'logged-in' or 'logged-out' in PHP.
*/
body.logged-in .auth-buttons { display: none !important; }
body.logged-out .user-profile { display: none !important; }


/* ===== NEW HOMEPAGE DESIGN - PROFESSIONAL ===== */

/* Hero Section - Enhanced Professional Design */
.hero-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 255, 204, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #0f0f1e 50%, #1a1a2e 100%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,102,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: 1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 0, 100px 100px; }
}

.hero-container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-brand {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #00ffcc 0%, #00d4ff 50%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: heroTextFloat 6s ease-in-out infinite, gradientShift 8s ease infinite;
    background-size: 200% 200%;
    filter: drop-shadow(0 0 40px rgba(0, 255, 204, 0.4)) drop-shadow(0 0 80px rgba(0, 102, 255, 0.3));
}

.hero-brand::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ffcc 0%, #00d4ff 50%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
    animation: glowPulse 3s ease-in-out infinite;
}

.brand-accent {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

@keyframes heroTextFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        filter: blur(20px);
    }
    50% {
        opacity: 0.8;
        filter: blur(30px);
    }
}

.hero-characters {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    animation: characterFloat 8s ease-in-out infinite;
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

.hero-character-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 102, 255, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 204, 0.2);
    position: relative;
    animation: imageGlow 4s ease-in-out infinite;
}

@keyframes imageGlow {
    0%, 100% {
        box-shadow: 
            0 30px 90px rgba(0, 0, 0, 0.6),
            0 0 60px rgba(0, 102, 255, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 30px 90px rgba(0, 0, 0, 0.6),
            0 0 80px rgba(0, 255, 204, 0.6),
            inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    }
}

/* Catalog Section - Enhanced */
.catalog-section {
    padding: 120px 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(0, 102, 255, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #0f0f1e 100%);
    position: relative;
    overflow: hidden;
}

.catalog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.5), transparent);
}

.catalog-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.catalog-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.5));
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
}

.catalog-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.title-accent {
    background: linear-gradient(135deg, #00ffcc 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 255, 204, 0.5));
    animation: accentPulse 3s ease-in-out infinite;
}

@keyframes accentPulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(0, 255, 204, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(0, 255, 204, 0.8)); }
}

.catalog-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0.9;
}

.btn-catalog {
    background: linear-gradient(135deg, #00ffcc 0%, #00cc99 100%);
    color: #0a0a0a;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 40px rgba(0, 255, 204, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-catalog::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-catalog:hover::before {
    left: 100%;
}

.btn-catalog:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 255, 204, 0.6),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.btn-catalog:active {
    transform: translateY(-1px) scale(1.02);
}

.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 30, 0.9));
    border: 2px solid rgba(0, 102, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.game-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 102, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.game-thumb:hover::before {
    opacity: 1;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.game-thumb:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #00ffcc;
    box-shadow: 
        0 20px 60px rgba(0, 255, 204, 0.4),
        0 0 40px rgba(0, 102, 255, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.game-thumb:hover img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.game-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.game-thumb:hover .game-thumb-overlay {
    transform: translateY(0);
}

.game-thumb-title {
    color: white;
    font-weight: 700;
    font-size: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

/* Convenience Section - Enhanced */
.convenience-section {
    padding: 120px 0;
    background: 
        radial-gradient(ellipse at 50% 100%, rgba(0, 255, 204, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #0f0f1e 0%, #111111 100%);
    position: relative;
}

.convenience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.5), transparent);
}

.convenience-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out;
}

.convenience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.convenience-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(15, 15, 30, 0.9));
    border-radius: 20px;
    padding: 50px 35px;
    border: 2px solid rgba(0, 102, 255, 0.2);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.convenience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffcc, #00d4ff, #0066ff);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.convenience-card:hover::before {
    transform: scaleX(1);
}

.convenience-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.convenience-card:hover::after {
    width: 500px;
    height: 500px;
}

.convenience-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00ffcc;
    box-shadow: 
        0 20px 60px rgba(0, 255, 204, 0.3),
        0 0 40px rgba(0, 102, 255, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.convenience-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
    animation: iconBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.4));
    position: relative;
    z-index: 1;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.convenience-card:hover .convenience-icon {
    animation: iconSpin 0.6s ease-in-out;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.convenience-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.convenience-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* Savings Section - Enhanced */
.savings-section {
    padding: 120px 0;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #0f0f1e 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.savings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.5), transparent);
}

.savings-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out;
}

.savings-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px;
    line-height: 1.8;
    opacity: 0.9;
}

.savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto 80px;
}

.savings-stat {
    text-align: center;
    padding: 45px 30px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(15, 15, 30, 0.9));
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.savings-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffcc, #00d4ff, #0066ff);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.savings-stat:hover::before {
    transform: scaleX(1);
}

.savings-stat::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.savings-stat:hover::after {
    width: 400px;
    height: 400px;
}

.savings-stat:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00ffcc;
    box-shadow: 
        0 20px 60px rgba(0, 255, 204, 0.3),
        0 0 40px rgba(0, 102, 255, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.savings-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.4));
    position: relative;
    z-index: 1;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.savings-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ffcc 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.3));
}

.savings-label {
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.promo-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.promo-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.08));
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 20px;
    padding: 50px 35px;
    position: relative;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.promo-card:hover::before {
    width: 500px;
    height: 500px;
}

.promo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(255, 107, 53, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cashback-card {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.15), rgba(0, 255, 204, 0.08));
    border-color: rgba(0, 255, 204, 0.4);
}

.cashback-card::before {
    background: radial-gradient(circle, rgba(0, 255, 204, 0.2), transparent);
}

.cashback-card:hover {
    box-shadow: 
        0 20px 60px rgba(0, 255, 204, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.promo-badge {
    position: absolute;
    top: -18px;
    left: 30px;
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    animation: badgeBounce 2s ease-in-out infinite;
}

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

.promo-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconRotate 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.4));
    position: relative;
    z-index: 1;
}

@keyframes iconRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

.promo-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.promo-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.promo-link {
    color: #00ffcc;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 255, 204, 0.3);
}

.promo-link:hover {
    color: #00ff99;
    border-bottom-color: #00ff99;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

/* Social Section - Enhanced */
.social-section {
    padding: 120px 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(0, 102, 255, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #0f0f1e 100%);
    position: relative;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.5), transparent);
}

.social-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(15, 15, 30, 0.9));
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 40px 35px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5865F2, #7289DA);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.social-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.social-card:hover::before {
    transform: scaleX(1);
}

.social-card:hover::after {
    width: 500px;
    height: 500px;
}

.social-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.discord-card {
    border-color: rgba(88, 101, 242, 0.3);
}

.discord-card::before {
    background: linear-gradient(90deg, #5865F2, #7289DA);
}

.discord-card::after {
    background: radial-gradient(circle, rgba(88, 101, 242, 0.15), transparent);
}

.discord-card:hover {
    border-color: #5865F2;
    box-shadow: 
        0 20px 60px rgba(88, 101, 242, 0.5),
        0 0 40px rgba(88, 101, 242, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.telegram-card {
    border-color: rgba(0, 136, 204, 0.3);
}

.telegram-card::before {
    background: linear-gradient(90deg, #0088cc, #00aaff);
}

.telegram-card::after {
    background: radial-gradient(circle, rgba(0, 136, 204, 0.15), transparent);
}

.telegram-card:hover {
    border-color: #0088cc;
    box-shadow: 
        0 20px 60px rgba(0, 136, 204, 0.5),
        0 0 40px rgba(0, 136, 204, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.social-icon {
    font-size: 3.5rem;
    color: var(--text-primary);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.discord-card .social-icon {
    color: #5865F2;
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.5));
}

.telegram-card .social-icon {
    color: #0088cc;
    filter: drop-shadow(0 0 20px rgba(0, 136, 204, 0.5));
}

.social-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.social-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.social-desc {
    font-size: 15px;
    color: var(--text-secondary);
    opacity: 0.9;
}

.btn-social {
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, #00ffcc 0%, #00cc99 100%);
    color: #0a0a0a;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 40px rgba(0, 255, 204, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-social:hover::before {
    left: 100%;
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 255, 204, 0.6),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.btn-social:active {
    transform: translateY(-1px) scale(1.02);
}

/* Responsive adjustments for new design */
@media (max-width: 768px) {
    .hero-brand {
        font-size: 3rem;
    }
    
    .games-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .savings-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-section {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .games-showcase {
        grid-template-columns: 1fr;
    }
    
    .convenience-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== MILLEX LAYOUT STYLES ===== */

/* Hero Section - Millex Style */
.hero-millex {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-brand-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #00ffcc 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(0, 255, 204, 0.5));
}

.brand-dot {
    color: #00ffcc;
}

.brand-domain {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-character-placeholder {
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 102, 255, 0.1));
    border: 2px dashed rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.placeholder-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(0, 255, 204, 0.7);
}

.placeholder-dimensions {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Catalog Section - Millex Style */
.catalog-millex {
    padding: 80px 20px;
    background: #0d1117;
}

.container-millex {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.catalog-left {
    position: sticky;
    top: 100px;
}

.catalog-icon-badge {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.catalog-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
}

.catalog-accent {
    color: #00ffcc;
}

.catalog-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-catalog-main {
    background: linear-gradient(135deg, #00ffcc, #00cc99);
    color: #0a0a0a;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
}

.btn-catalog-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.5);
}

.catalog-right {
    width: 100%;
}

.games-grid-millex {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.game-card-millex {
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 30, 0.9));
    border: 2px solid rgba(0, 102, 255, 0.2);
}

.game-card-millex:hover {
    transform: translateY(-5px);
    border-color: #00ffcc;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.05), rgba(0, 102, 255, 0.05));
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Convenience Section - Millex Style */
.convenience-millex {
    padding: 80px 20px;
    background: #161b22;
}

.container-millex-center {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading-millex {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
}

.section-accent {
    color: #00ffcc;
}

.convenience-grid-millex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.convenience-item {
    text-align: center;
    padding: 40px 20px;
}

.convenience-icon-millex {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.convenience-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

/* Savings Section - Millex Style */
.savings-millex {
    padding: 80px 20px;
    background: #0d1117;
    position: relative;
}

.section-subtitle-millex {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.stats-grid-millex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.stat-item-millex {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 30, 0.9));
    border-radius: 16px;
    border: 2px solid rgba(0, 102, 255, 0.2);
}

.stat-icon-millex {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number-millex {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ffcc;
    margin-bottom: 10px;
}

.stat-label-millex {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Promo Grid - Millex Style */
.promo-grid-millex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.promo-card-left,
.promo-card-right {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 30, 0.9));
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
}

.promo-badge-millex {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 800;
}

.promo-icon-large {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.promo-title-millex {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.promo-text-millex {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.promo-link-millex {
    color: #00ffcc;
    text-decoration: underline;
    cursor: pointer;
}

.discount-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.discount-badge {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.discount-badge.green {
    background: rgba(0, 255, 204, 0.2);
    color: #00ffcc;
}

.promo-character-placeholder {
    position: absolute;
    right: -100px;
    bottom: 0;
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), rgba(0, 102, 255, 0.1));
    border: 2px dashed rgba(0, 255, 204, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.placeholder-text-small {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(0, 255, 204, 0.7);
}

.placeholder-dimensions-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.percentage-badges {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.percent-badge {
    background: rgba(0, 255, 204, 0.2);
    color: #00ffcc;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.3rem;
}

/* Social Section - Millex Style */
.social-millex {
    padding: 80px 20px;
    background: #161b22;
    position: relative;
}

.social-grid-millex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.social-card-millex {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 30, 0.9));
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-card-millex.discord {
    border-color: rgba(88, 101, 242, 0.3);
}

.social-card-millex.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.social-card-millex.telegram {
    border-color: rgba(0, 136, 204, 0.3);
}

.social-card-millex.telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

.social-icon-large {
    flex-shrink: 0;
}

.social-icon-large svg {
    color: #5865F2;
}

.social-card-millex.telegram .social-icon-large svg {
    color: #0088cc;
}

.social-text {
    flex: 1;
}

.social-name-millex {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
}

.social-desc-millex {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-social-main {
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, #00ffcc, #00cc99);
    color: #0a0a0a;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.3);
}

.btn-social-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.5);
}

.social-icons-floating {
    position: absolute;
    right: 100px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floating-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(15, 15, 30, 0.9));
    border: 2px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-icon.discord-float {
    border-color: rgba(88, 101, 242, 0.3);
}

.floating-icon.discord-float svg {
    color: #5865F2;
}

.floating-icon.telegram-float {
    border-color: rgba(0, 136, 204, 0.3);
}

.floating-icon.telegram-float svg {
    color: #0088cc;
}

.floating-icon:hover {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .container-millex {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .catalog-left {
        position: static;
    }
    
    .promo-character-placeholder,
    .percentage-badges {
        display: none;
    }
    
    .social-icons-floating {
        display: none;
    }
}

@media (max-width: 768px) {
    .games-grid-millex {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .promo-grid-millex {
        grid-template-columns: 1fr;
    }
    
    .social-grid-millex {
        grid-template-columns: 1fr;
    }
}

/* Video Showcase Section */
.video-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Pricing Special Offer Styles */
.pricing-card.special-offer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.4);
}

.pricing-badge.discount {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(255, 107, 53, 0);
    }
}

.pricing-price .price-old {
    display: block;
    font-size: 18px;
    color: #888;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.pricing-savings {
    color: #00d4aa;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 212, 170, 0.8);
    }
}

.btn-pricing.special {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 24px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.btn-pricing.special:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

/* Responsive Video */
@media (max-width: 768px) {
    .video-showcase {
        padding: 60px 0;
    }
    
    .video-container {
        border-radius: 10px;
    }
    
    .pricing-card.special-offer {
        transform: scale(1);
        margin-top: 20px;
    }
}
