/* ============================================================
   FUNWEEKNORD.COM - NORDIC WEEK FESTIVAL DESIGN
   Tema: Fargerik, rolig, moderne, festivalaktig nordisk stil
   Farger: blå, korall, mint, gul i mild skandinavisk palett
   ============================================================ */

:root {
    /* Nordic Week Festival Fargepalett */
    --festival-blue: #4A90E2;
    --festival-coral: #FF6B6B;
    --festival-mint: #4ECDC4;
    --festival-yellow: #FFD93D;
    --festival-white: #FAFBFC;
    --festival-gray: #F5F7FA;
    --festival-dark: #2C3E50;
    --festival-light: #ECF0F1;
    
    /* Glow Effects */
    --blue-glow: 0 0 20px rgba(74, 144, 226, 0.3);
    --coral-glow: 0 0 20px rgba(255, 107, 107, 0.3);
    --mint-glow: 0 0 20px rgba(78, 205, 196, 0.3);
    --yellow-glow: 0 0 20px rgba(255, 217, 61, 0.3);
    
    /* Shadows */
    --soft-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --button-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--festival-white) 0%, var(--festival-gray) 100%);
    color: var(--festival-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--festival-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--festival-blue), var(--festival-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: var(--festival-blue);
}

h3 {
    font-size: 1.5rem;
    color: var(--festival-coral);
}

p {
    margin-bottom: 1rem;
    color: var(--festival-dark);
    opacity: 0.8;
}

a {
    color: var(--festival-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--festival-coral);
    text-shadow: var(--coral-glow);
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-light {
    background: var(--festival-gray);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--soft-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--festival-blue), var(--festival-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--festival-blue);
    color: white;
    box-shadow: var(--blue-glow);
}

.header-badge {
    background: linear-gradient(135deg, var(--festival-coral), var(--festival-yellow));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--coral-glow);
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */

.hero {
    background: linear-gradient(135deg, var(--festival-blue) 0%, var(--festival-mint) 50%, var(--festival-coral) 100%);
    color: white;
    text-align: center;
    padding: 8rem 0 6rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.15)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="2.5" fill="rgba(255,255,255,0.08)"/></svg>');
    animation: festivalFloat 20s ease-in-out infinite;
}

@keyframes festivalFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--festival-blue), var(--festival-mint));
    color: white;
    box-shadow: var(--button-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: var(--festival-white);
    color: var(--festival-blue);
    border: 2px solid var(--festival-blue);
}

.btn-secondary:hover {
    background: var(--festival-blue);
    color: white;
    box-shadow: var(--blue-glow);
}

.btn-coral {
    background: linear-gradient(135deg, var(--festival-coral), var(--festival-yellow));
    color: white;
    box-shadow: var(--coral-glow);
}

.btn-coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   GAMES GRID
   ============================================================ */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--festival-blue);
}

.game-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--festival-blue), var(--festival-mint));
}

.game-content {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--festival-blue);
}

.game-description {
    color: var(--festival-dark);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.age-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--festival-coral), var(--festival-yellow));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--coral-glow);
}

/* ============================================================
   GAME WARNING & DISCLAIMERS
   ============================================================ */

.game-warning {
    background: linear-gradient(135deg, var(--festival-yellow), var(--festival-coral));
    color: white;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    margin: 2rem 0;
    box-shadow: var(--yellow-glow);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--festival-dark);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--festival-mint);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--festival-mint);
    text-shadow: var(--mint-glow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer {
    background: rgba(255, 107, 107, 0.1);
    color: var(--festival-coral);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-weight: 500;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes festivalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes festivalGlow {
    0%, 100% { box-shadow: var(--blue-glow); }
    25% { box-shadow: var(--coral-glow); }
    50% { box-shadow: var(--mint-glow); }
    75% { box-shadow: var(--yellow-glow); }
}

.festival-pulse {
    animation: festivalPulse 2s ease-in-out infinite;
}

.festival-glow {
    animation: festivalGlow 4s ease-in-out infinite;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* ============================================================
   COOKIE BANNER STYLES
   ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--festival-mint);
    color: white;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-accept:hover {
    background: var(--festival-blue);
    box-shadow: var(--blue-glow);
}

.cookie-decline:hover {
    background: white;
    color: var(--festival-dark);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
