@import url('../assets/styles.css');

/* ==========================================
   DEDICATED PAGE - Modern Redesign 2026
   ========================================== */

:root {
    --bg-primary: #060a14;
    --bg-secondary: #0a0e1a;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent: #4da6ff;
    --accent-light: #70baff;
    --accent-gradient: linear-gradient(135deg, #4da6ff 0%, #0066ff 100%);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(15, 23, 42, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Hero for Dedicated */
.hero-section {
    padding: 8rem 5% 4rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(6, 10, 20, 0.2) 0%, var(--bg-primary) 100%),
                url('https://images4.alphacoders.com/134/thumb-1920-1343608.jpeg') center/cover no-repeat;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6, 10, 20, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1;
}

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

.hero-section h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Game Grid */
.game-list {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.game-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    border: 2px solid var(--text-secondary);
    transition: var(--transition);
    background: var(--bg-secondary);
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.game-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to top, rgba(6, 10, 20, 0.95) 0%, transparent 70%);
    z-index: 1;
}

.game-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
}

.game-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: white;
}

.game-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 3;
}

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

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Footer reuse */
footer {
    background: var(--footer-bg);
    padding: 6rem 5% 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-logo-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--accent-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 4rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}
/* Responsive Fixes */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .close-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hardware-grid {
        grid-template-columns: 1fr;
    }
}
.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
}