/* 
   UIUX Promax Design System 
   Theme: Modern Dark Gaming (Cyberpunk/Glassmorphism)
*/

:root {
    /* Color Palette */
    --bg-primary: #0f172a;        /* Slate 900 - Deep Background */
    --bg-secondary: #1e293b;      /* Slate 800 - Card Background */
    --bg-glass: rgba(30, 41, 59, 0.7); /* Glassmorphism Base */
    --text-primary: #f8fafc;      /* Slate 50 - Main Text */
    --text-secondary: #94a3b8;    /* Slate 400 - Subtitles */
    --accent-blue: #3b82f6;       /* Blue 500 - Primary Action */
    --accent-cyan: #06b6d4;       /* Cyan 500 - Secondary Action */
    --accent-glow: #60a5fa;       /* Blue 400 - Glow Effects */
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --card-radius: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease-in-out;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; background: linear-gradient(135deg, #fff 0%, var(--accent-blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-blue);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.1), transparent 40%);
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-cyan));
    filter: blur(80px);
    opacity: 0.2;
    z-index: 1;
    border-radius: 50%;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Featured Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    group: 'card';
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-blue);
}

.card-image {
    height: 200px;
    background: #2d3748;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.game-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-blue);
    font-weight: 600;
}

.card-link i {
    margin-left: 5px;
    transition: margin 0.2s;
}

.card-link:hover i {
    margin-left: 10px;
}

/* Footer */
footer {
    background: #0b1120;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    padding-bottom: 40px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .nav-links {
        display: none; /* TODO: Add mobile menu toggle */
    }
    
    .hero {
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 20px;
    }
}
