/* 
    Nye Norge Spill - Social Gaming Hub 
    Theme: Neon Tokyo
    Colors: BG:#0f0518, Pri:#f700ff, Acc:#00f7ff
*/

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

:root {
    --c5fzbm-bg-dark: #0f0518;
    --c5fzbm-bg-card: rgba(26, 11, 46, 0.8);
    --c5fzbm-primary: #f700ff;
    --c5fzbm-accent: #00f7ff;
    --c5fzbm-text-light: #ffffff;
    --c5fzbm-text-muted: #b0a3c4;
    --c5fzbm-glass: rgba(255, 255, 255, 0.05);
    --c5fzbm-border: rgba(247, 0, 255, 0.2);
    --c5fzbm-font-family: 'Cabin', sans-serif;
}

body {
    background-color: var(--c5fzbm-bg-dark);
    color: var(--c5fzbm-text-light);
    font-family: var(--c5fzbm-font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout Helpers */
.c5fzbm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.c5fzbm-header-c-l-r {
    background: rgba(15, 5, 24, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--c5fzbm-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.c5fzbm-desktop-nav ul {
    display: flex;
    gap: 30px;
}

.c5fzbm-desktop-nav a:hover {
    color: var(--c5fzbm-accent);
}

.c5fzbm-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.c5fzbm-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.c5fzbm-age-flag {
    background: var(--c5fzbm-glass);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--c5fzbm-border);
}

.c5fzbm-hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
}

/* Mobile Menu Overlay */
.c5fzbm-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c5fzbm-bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.c5fzbm-mobile-menu ul {
    text-align: center;
}

.c5fzbm-mobile-menu li {
    margin: 20px 0;
}

.c5fzbm-mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
}

.c5fzbm-close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid var(--c5fzbm-primary);
    color: var(--c5fzbm-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
}

/* Hero Section */
.c5fzbm-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    gap: 40px;
    background: radial-gradient(circle at top right, rgba(247, 0, 255, 0.1), transparent);
}

.c5fzbm-hero-text {
    flex: 1;
    min-width: 300px;
}

.c5fzbm-hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--c5fzbm-accent);
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.c5fzbm-hero-text p {
    font-size: 1.2rem;
    color: var(--c5fzbm-text-muted);
    margin-bottom: 30px;
}

.c5fzbm-hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.c5fzbm-hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(247, 0, 255, 0.3);
    border: 1px solid var(--c5fzbm-border);
}

/* Button Styles */
.c5fzbm-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.c5fzbm-btn-primary {
    background: var(--c5fzbm-primary);
    color: white;
    box-shadow: 0 0 15px rgba(247, 0, 255, 0.4);
}

.c5fzbm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(247, 0, 255, 0.6);
}

/* Game Grid */
.c5fzbm-game-section {
    padding: 60px 0;
}

.c5fzbm-section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--c5fzbm-text-light);
}

.c5fzbm-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.c5fzbm-game-card {
    background: var(--c5fzbm-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--c5fzbm-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.c5fzbm-game-card:hover {
    transform: scale(1.03);
    border-color: var(--c5fzbm-accent);
}

.c5fzbm-game-card-img {
    width: 100%;
    height: 200px;
    background: #1e0b36;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.c5fzbm-game-card-img svg {
    width: 80px;
    height: 80px;
    opacity: 0.8;
}

.c5fzbm-game-card-content {
    padding: 20px;
    flex-grow: 1;
}

.c5fzbm-game-card h3 {
    margin-bottom: 10px;
    color: var(--c5fzbm-accent);
}

.c5fzbm-game-card p {
    font-size: 0.9rem;
    color: var(--c5fzbm-text-muted);
    margin-bottom: 20px;
}

/* Footer Styles */
.c5fzbm-footer-cols {
    background: #08030d;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid var(--c5fzbm-border);
}

.c5fzbm-footer-brand h3 {
    color: var(--c5fzbm-accent);
    margin-bottom: 15px;
}

.c5fzbm-footer-links h4 {
    margin-bottom: 20px;
    color: var(--c5fzbm-primary);
}

.c5fzbm-footer-links li {
    margin-bottom: 10px;
}

.c5fzbm-footer-links a:hover {
    color: var(--c5fzbm-accent);
    padding-left: 5px;
}

/* Game Interface */
.c5fzbm-game-viewport {
    background: #000;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    margin: 40px 0;
    border: 2px solid var(--c5fzbm-border);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

#game-canvas {
    width: 100%;
    max-width: 800px;
    height: 400px;
    display: block;
    margin: 0 auto;
    background: #111;
    border-radius: 8px;
    cursor: pointer;
}

.c5fzbm-game-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    background: var(--c5fzbm-glass);
    padding: 20px;
    border-radius: 12px;
}

.c5fzbm-stat-box {
    text-align: center;
}

.c5fzbm-stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--c5fzbm-text-muted);
}

.c5fzbm-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c5fzbm-accent);
}

/* Age Gate Modal */
.c5fzbm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 5, 24, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.c5fzbm-modal-content {
    background: var(--c5fzbm-bg-card);
    border: 2px solid var(--c5fzbm-primary);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 50px rgba(247, 0, 255, 0.3);
}

.c5fzbm-modal-content h2 {
    color: var(--c5fzbm-accent);
    margin-bottom: 20px;
}

.c5fzbm-modal-content p {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .c5fzbm-desktop-nav {
        display: none;
    }
    .c5fzbm-hamburger {
        display: block;
    }
    .c5fzbm-hero-text {
        text-align: center;
    }
    .c5fzbm-game-viewport {
        padding: 10px;
    }
    #game-canvas {
        height: 250px;
    }
    .c5fzbm-game-controls {
        flex-direction: column;
        gap: 15px;
    }
}