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

:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --secondary: #ec4899;
    --secondary-dark: #be185d;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --bg-white: #f8fafc;
    --bg-soft: #f1f5f9;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #ec4899 50%, #f59e0b 75%, #06b6d4 100%);
    --bg-gradient-subtle: linear-gradient(135deg, #eef2ff 0%, #fdf2f8 25%, #fef3c7 50%, #ecfeff 75%, #f0fdf4 100%);
    --text-dark: #1e293b;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
    --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.3);
    --border-radius: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient-subtle);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

/* View Management */
.view {
    display: none;
    min-height: 100vh;
}

.view.active {
    display: block;
}

/* Login View */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, #eef2ff 0%, #fdf2f8 25%, #fef3c7 50%, #ecfeff 75%, #f0fdf4 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
}

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

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.login-card {
    background: var(--bg-white);
    backdrop-filter: blur(20px);
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    width: 100%;
    max-width: 440px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.login-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.login-lang-toggles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 16px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.login-lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    transition: var(--transition);
}

.login-lang-btn:hover {
    color: var(--primary);
    background: rgba(124, 58, 237, 0.15);
}

.login-lang-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.login-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.login-prompt {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #cbd5e1;
    border-radius: 14px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 1rem;
    display: none;
    text-align: center;
}

.error-message.show {
    display: block;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--bg-soft) 0%, #e2e8f0 100%);
    color: var(--text-dark);
    border: 2px solid #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(239, 68, 68, 0.4);
}

.btn-full {
    width: 100%;
}

.btn-logout {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 10px;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--text-white);
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img-small {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.nav-logo-link {
    display: block;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.nav-logo-link:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.nav-logo-link:hover .logo-img-small {
    transform: scale(1.05);
}

.nav-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-toggles {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--primary);
    background: rgba(124, 58, 237, 0.15);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.lang-separator {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 10px;
    transition: var(--transition);
}

.hamburger:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger:hover span {
    background: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-top: 1px solid #e2e8f0;
    box-shadow: var(--shadow-xl);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.open {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    transition: var(--transition);
    font-size: 1rem;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--primary);
    padding-left: 0.5rem;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.05), transparent);
}

.mobile-nav-link.active {
    color: var(--primary);
    font-weight: 700;
    padding-left: 0.5rem;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.1), transparent);
}

.mobile-lang-toggles {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
}

.mobile-lang-btn {
    flex: 1;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.mobile-lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.mobile-lang-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.mobile-logout {
    width: 100%;
    margin-top: 1.5rem;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* Hero Section */
.hero-section {
    margin-bottom: 3.5rem;
}

.hero-content {
    margin-bottom: 2.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientText 5s ease infinite;
}

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

.featured-game {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: var(--transition);
    border: 1px solid rgba(124, 58, 237, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.featured-game:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), 0 0 50px rgba(124, 58, 237, 0.4);
}

.featured-game-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.featured-game:hover .featured-game-image {
    transform: scale(1.05);
}

.featured-game-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-soft) 100%);
}

.featured-game-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    width: fit-content;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.featured-game-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Services Section */
.services-section {
    margin-bottom: 4rem;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Filters Section */
.filters-section {
    margin-bottom: 2.5rem;
}

.filters-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    background: var(--bg-white);
    border: 2px solid #cbd5e1;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.filter-btn:hover::before {
    width: 200px;
    height: 200px;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

/* Games Grid */
.games-section {
    margin-bottom: 3.5rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

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

.game-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(124, 58, 237, 0.3);
}

.game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-card-image {
    transform: scale(1.1);
}

.game-card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.game-card-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #e2e8f0 100%);
    color: var(--text-light);
    padding: 0.35rem 0.875rem;
    border-radius: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    width: fit-content;
    margin-bottom: 0.875rem;
    transition: var(--transition);
}

.game-card:hover .game-card-category {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
}

.game-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    letter-spacing: -0.3px;
    transition: var(--transition);
}

.game-card:hover .game-card-title {
    color: var(--primary);
}

/* Game Details View */
.game-details-content {
    max-width: 1200px;
}

#back-btn {
    margin-bottom: 2.5rem;
}

.game-details {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.game-details-header {
    padding: 2.5rem 3rem;
    border-bottom: 1px solid #cbd5e1;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-soft) 100%);
}

.game-details-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-details-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    box-shadow: var(--shadow-sm);
}

.game-details-description {
    padding: 2.5rem 3rem;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    background: var(--bg-soft);
}

.game-iframe-container {
    padding: 0 3rem 3rem;
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 16px;
    background: #000;
    box-shadow: var(--shadow-lg);
}

/* Account View */
.account-content {
    max-width: 800px;
}

.account-container {
    padding: 2.5rem 0;
}

.account-header {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.account-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.account-status {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    font-size: 1.35rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-label {
    color: var(--text-light);
    font-weight: 600;
}

.status-value {
    font-weight: 800;
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
}

.status-value.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--text-white);
}

.btn-unsub {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 1rem 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .featured-game {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
    
    .featured-game-image {
        height: 280px;
    }
    
    .featured-game-content {
        padding: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .main-content {
        padding: 2rem 1.5rem;
    }
    
    .nav-brand {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: flex;
        gap: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .main-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .featured-game {
        max-width: 100%;
        border-radius: 20px;
    }
    
    .featured-game-image {
        height: 240px;
    }
    
    .featured-game-content {
        padding: 1.75rem;
    }
    
    .featured-game-title {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .game-card-image {
        height: 220px;
    }
    
    .game-card-content {
        padding: 1.25rem;
    }
    
    .game-card-title {
        font-size: 1.1rem;
    }
    
    .filters-container {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .game-details-title {
        font-size: 2rem;
    }
    
    .game-details-header,
    .game-details-description,
    .game-iframe-container {
        padding: 1.5rem;
    }
    
    .game-iframe {
        height: 450px;
    }
    
    .account-header {
        font-size: 2rem;
    }
    
    .account-card {
        padding: 2rem;
    }
    
    .account-status {
        font-size: 1.15rem;
        padding: 1.25rem;
    }
    
    .login-card {
        padding: 2.5rem 2rem;
    }
    
    .login-title {
        font-size: 2.25rem;
    }
    
    .logo-img-small {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .game-card-image {
        height: 200px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .featured-game-title {
        font-size: 1.35rem;
    }
    
    .featured-game-content {
        padding: 1.5rem;
    }
    
    .featured-game-image {
        height: 200px;
    }
    
    .game-iframe {
        height: 350px;
    }
    
    .game-details-title {
        font-size: 1.75rem;
    }
    
    .game-details-header,
    .game-details-description,
    .game-iframe-container {
        padding: 1.25rem;
    }
    
    .account-header {
        font-size: 1.75rem;
    }
    
    .account-card {
        padding: 1.5rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .login-title {
        font-size: 2rem;
    }
    
    .login-logo-img {
        height: 50px;
    }
    
    .logo-img-small {
        height: 28px;
    }
}

@media (min-width: 1400px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .featured-game-image {
        height: 500px;
    }
}
