/*
FreeCasualGames.online - Premium Gaming Portal
Copyright (c) 2025. All rights reserved.
Licensed under GNU GPL v3.0 for non-commercial use only.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f1419 0%, #1a202c 50%, #2d3748 100%);
    min-height: 100vh;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

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

/* Header Styles */
header {
    background: rgba(26, 32, 44, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6b46c1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    margin: 0 0 0.3rem 0;
}

.logo-tagline {
    font-size: 0.9rem;
    color: #a0aec0;
    margin: 0;
    text-align: left;
    font-weight: 400;
}

.logo::before {
    content: "🎮";
    font-size: 1.8rem;
}

nav {
    align-self: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Navigation hover effects */
nav a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

nav a:hover {
    color: #8b5cf6;
    transform: translateY(-1px);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

.features-section {
    background: rgba(26, 32, 44, 0.6);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.game-controls-section {
    background: rgba(26, 32, 44, 0.6);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.game-controls-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

/* Scroll offset for fixed header */
section {
    scroll-margin-top: 100px;
}

/* Main Content */
main {
    padding: 2rem 0;
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(26, 32, 44, 0.6);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.4);
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6b46c1;
    margin: 0;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1rem;
    position: relative;
}

h3::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    border-radius: 2px;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.game-subtitle {
    font-size: 1.3rem;
    color: #a0aec0;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Container */
.game-container {
    background: rgba(26, 32, 44, 0.65);
    backdrop-filter: blur(35px) saturate(160%);
    -webkit-backdrop-filter: blur(35px) saturate(160%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Game Info Grid */
.game-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.info-card {
    background: rgba(26, 32, 44, 0.6);
    backdrop-filter: blur(25px) saturate(140%);
    -webkit-backdrop-filter: blur(25px) saturate(140%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border: 1px solid rgba(139, 92, 246, 0.4);
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1rem;
    position: relative;
}

h2::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    border-radius: 2px;
}

/* Game Description */
.game-description {
    background: rgba(26, 32, 44, 0.6);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(26, 32, 44, 0.5);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.25);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #a0aec0;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6, #a78bfa);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 15px 40px rgba(107, 70, 193, 0.4);
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: rgba(26, 32, 44, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2rem 0;
    text-align: center;
    color: #a0aec0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .game-subtitle {
        font-size: 1.1rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .game-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .game-header,
    .game-container,
    .info-card,
    .game-description {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .game-frame {
        height: 350px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
    }
}