/* Game Page Specific Styles */

:root {
    --game-bg-dark: #0a0b14;
    --game-card-bg: #131525;
    --game-accent: #00ff88;
    /* Cyber Green */
    --game-accent-glow: rgba(0, 255, 136, 0.4);
    --game-text-primary: #ffffff;
    --game-text-secondary: #a0a5b9;
}

.game-page {
    background-color: var(--game-bg-dark);
    color: var(--game-text-primary);
    font-family: 'Inter', sans-serif;
}

/* Header Overrides */
.game-header {
    background: rgba(10, 11, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.game-header .logo-text .logo-main {
    color: white;
}

.game-header .logo-text .logo-sub {
    color: var(--game-accent);
}

.btn-accent {
    background: var(--game-accent);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    box-shadow: 0 0 15px var(--game-accent-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.game-hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a2035 0%, var(--game-bg-dark) 70%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 255, 136, 0.1);
    color: var(--game-accent);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--game-accent-glow);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.neon-text {
    color: transparent;
    -webkit-text-stroke: 2px var(--game-accent);
    text-shadow: 0 0 20px var(--game-accent-glow);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--game-text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--game-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Game Embed */
.game-embed-section {
    padding-bottom: 80px;
}

.game-frame-wrapper {
    background: var(--game-card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.game-controls-bar {
    background: #0f101a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.control-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
    margin-right: 6px;
}

.control-dots span:nth-child(1) {
    background: #ff5f56;
}

.control-dots span:nth-child(2) {
    background: #ffbd2e;
}

.control-dots span:nth-child(3) {
    background: #27c93f;
}

.control-status {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--game-accent);
}

.expand-btn {
    color: var(--game-text-secondary);
    transition: color 0.2s;
}

.expand-btn:hover {
    color: white;
}

.iframe-container {
    position: relative;
    padding-bottom: 60%;
    /* Aspect ratio */
    height: 0;
    background: #000;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-compatibility-note {
    text-align: center;
    margin-top: 16px;
    color: var(--game-text-secondary);
    font-size: 0.9rem;
}

.game-compatibility-note a {
    color: var(--game-accent);
    text-decoration: none;
}

/* Features */
.game-features {
    padding: 80px 0;
    background: #0f101a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.cyber-card {
    background: var(--game-card-bg);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.cyber-card:hover {
    transform: translateY(-5px);
    border-color: var(--game-accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cyber-card h3 {
    margin-bottom: 16px;
    color: white;
}

.cyber-card p {
    color: var(--game-text-secondary);
    line-height: 1.6;
}

/* Footer Override */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--game-bg-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats-row {
        flex-direction: column;
        gap: 24px;
    }

    .game-frame-wrapper {
        border-radius: 0;
    }
}