/* Socialjoygames - Modern Gaming Platform Styles */
/* Dark theme + Glassmorphism */

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

:root {
    --background: #12141a;
    --background-alt: #1a1d24;
    --text: #e8eaed;
    --text-muted: #9aa0a6;
    --accent: #00d4aa;
    --accent-hover: #00e6b8;
    --card: rgba(255, 255, 255, 0.06);
    --card-light: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.12);
    --border-light: rgba(255, 255, 255, 0.06);
    --button: #00d4aa;
    --button-hover: #00e6b8;
    --secondary: rgba(255, 255, 255, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
}

/* Background Pattern */
.tausta-kuvio {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 212, 170, 0.05) 0%, transparent 50%),
        var(--background);
    background-attachment: fixed;
}

/* ==================== */
/* HEADER / NAVIGATION */
/* ==================== */
.paanavigaatio {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 20, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-sisalto {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.logo-kuva {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.nav-linkit {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-linkki {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-linkki::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-linkki:hover {
    color: var(--accent);
}

.nav-linkki:hover::after {
    width: 100%;
}

.nav-oikea {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-merkki {
    background: var(--accent);
    color: #12141a;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

@media (max-width: 768px) {
    .nav-merkki {
        display: none;
    }
}

.nav-valikko {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-valikko span {
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Panel */
.mobiili-panel {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(18, 20, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.mobiili-panel.acik {
    display: block;
}

.panel-sisalto {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-linkki {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s;
}

.panel-linkki:hover {
    color: var(--accent);
    padding-left: 1rem;
}

.panel-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

/* ==================== */
/* HERO / INTRO SECTION */
/* ==================== */
.esittely {
    padding: 10rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.esittely-sisalto {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.esittely-merkki {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.esittely-otsikko {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.esittely-teksti {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.esittely-oikea {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.esittely-kortti {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.esittely-kortti:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.esittely-kortti:active {
    transform: translateY(-1px);
}

.kortti-numero {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.kortti-teksti {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==================== */
/* HERO BLOCK (NEW) */
/* ==================== */
.hero-block {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 10rem 2rem 6rem;
    overflow: hidden;
}

.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 20, 26, 0.92) 0%, rgba(18, 20, 26, 0.6) 100%);
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text);
    max-width: 700px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: var(--button);
    color: #12141a;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(0, 212, 170, 0.35);
}

.btn-hero:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.4);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    list-style: none;
}

.hero-stats li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-stats strong {
    display: block;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* ==================== */
/* FEATURES STRIP (NEW) */
/* ==================== */
.features-strip {
    padding: 4rem 2rem;
    background: var(--background-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-wrap {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s;
    backdrop-filter: blur(12px);
}

.feature-row:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 212, 170, 0.2);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.12);
    border-radius: 14px;
    color: var(--accent);
    font-size: 1.5rem;
}

.feature-icon-wrap .bi {
    font-size: 1.5rem;
}

.feature-body {
    flex: 1;
}

.feature-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem 0;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==================== */
/* GAMES SECTION (NEW) */
/* ==================== */
.games-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.games-section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.games-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.games-section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 170, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.game-card-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.game-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.game-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.25rem 0;
    flex: 1;
}

.game-card-btn {
    display: block;
    text-align: center;
    padding: 1rem;
    background: var(--button);
    color: #12141a;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.game-card-btn:hover {
    background: var(--button-hover);
    transform: translateY(-1px);
}

.games-section-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--button);
    color: #12141a;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
}

/* ==================== */
/* FAQ SECTION (NEW) */
/* ==================== */
.faq-section {
    padding: 5rem 2rem;
    background: var(--secondary);
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-label {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.faq-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.faq-intro {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(12px);
}

.faq-item:hover {
    border-color: rgba(0, 212, 170, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.2);
    color: var(--accent);
    border-radius: 8px;
    font-size: 0.85rem;
}

.faq-arrow {
    margin-left: auto;
    color: var(--accent);
    font-size: 1rem;
    transition: transform 0.3s;
}

.faq-item--open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    margin: 0;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-item--open .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    padding-left: calc(28px + 1rem);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .faq-answer p {
        padding-left: 0;
        padding-top: 0.5rem;
    }
}

/* ==================== */
/* ABOUT SECTION (NEW) */
/* ==================== */
.about-section {
    padding: 6rem 2rem;
    background: var(--background-alt);
    border-top: 1px solid var(--border);
}

.about-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    max-width: 560px;
}

.about-label {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.about-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 1.25rem 0;
}

.about-p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 1rem 0;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-card {
    padding: 1.25rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(12px);
}

.about-card strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.about-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

@media (max-width: 900px) {
    .about-inner {
        grid-template-columns: 1fr;
    }
    .about-visual {
        order: -1;
        max-height: 280px;
    }
    .about-visual img {
        min-height: 240px;
    }
}

/* ==================== */
/* DISCLAIMER BAND (NEW) */
/* ==================== */
.disclaimer-band {
    padding: 3rem 2rem;
}

.disclaimer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    backdrop-filter: blur(16px);
}

.disclaimer-badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #12141a;
    font-weight: 900;
    font-size: 1.25rem;
    border-radius: 12px;
}

.disclaimer-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.disclaimer-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==================== */
/* RESPONSIBLE SECTION (NEW) */
/* ==================== */
.responsible-section {
    padding: 4rem 2rem;
    background: var(--secondary);
}

.responsible-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.responsible-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.responsible-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.5rem 0;
}

.responsible-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.responsible-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.responsible-logos a,
.responsible-logos img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

.responsible-logos a:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-block {
        min-height: 70vh;
        padding: 8rem 1.5rem 4rem;
    }
    .hero-stats {
        gap: 1.25rem;
    }
}

/* ==================== */
/* PROMISE BAR - ÖZGÜN TASARIM */
/* ==================== */
.lupaus {
    background: var(--secondary);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.lupaus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.lupaus::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.lupaus-sisalto {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.lupaus-kohde {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.lupaus-kohde:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.lupaus-kohde:active {
    transform: translateY(-2px);
}

.lupaus-ikoni {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 170, 0.15);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s;
    color: var(--accent);
}

.lupaus-ikoni i {
    font-size: 1.5rem;
}

.lupaus-kohde:hover .lupaus-ikoni {
    transform: scale(1.05);
    background: rgba(0, 212, 170, 0.2);
}

.lupaus-ikoni svg,
.lupaus-ikoni i {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.lupaus-teksti {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.lupaus-teksti strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.lupaus-teksti span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* ==================== */
/* GAME COLLECTION */
/* ==================== */
.kokoelma {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.kokoelma-otsikko {
    text-align: center;
    margin-bottom: 4rem;
}

.kokoelma-otsikko h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}

.kokoelma-otsikko p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Single Game Card */
.tek-peli-alue {
    max-width: 1000px;
    margin: 0 auto;
}

.tek-peli-kortti {
    background: var(--card);
    border-radius: 24px;
    overflow: hidden;
    border: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: all 0.4s;
    /* Soft UI - Raised effect */
    box-shadow: 
        10px 10px 20px var(--shadow-soft-dark),
        -10px -10px 20px var(--shadow-soft-light);
}

.tek-peli-kortti:hover {
    transform: translateY(-5px);
    box-shadow: 
        15px 15px 30px var(--shadow-soft-dark),
        -15px -15px 30px var(--shadow-soft-light);
}

.tek-peli-kuva {
    position: relative;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.tek-peli-kuva img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tek-peli-kortti:hover .tek-peli-kuva img {
    transform: scale(1.1);
}

.peli-merkki {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--card);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    color: var(--text);
    box-shadow: 
        4px 4px 8px var(--shadow-soft-dark),
        -4px -4px 8px var(--shadow-soft-light);
}

.tek-peli-sisalto {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.tek-peli-sisalto .peli-nimi {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0;
}

.tek-peli-sisalto .peli-kuvaus {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0;
}

.peli-tagit {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tagi {
    padding: 0.5rem 1rem;
    background: var(--card);
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 
        inset 2px 2px 4px var(--shadow-pressed-dark),
        inset -2px -2px 4px var(--shadow-pressed-light);
}

.tek-pelaa-nappi {
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
    margin-top: 0.5rem;
}

/* Games Grid */
.pelit-ruudukko {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.peli-kortti {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.peli-kortti:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.peli-kuva {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.peli-kuva img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.peli-kortti:hover .peli-kuva img {
    transform: scale(1.15);
}

.peli-sisalto {
    padding: 2rem;
}

.peli-nimi {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.peli-kuvaus {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pelaa-nappi {
    display: block;
    width: 100%;
    padding: 1.1rem;
    background: var(--button);
    color: #12141a;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.pelaa-nappi:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 212, 170, 0.4);
}

.pelaa-nappi:active {
    transform: translateY(0);
}

/* ==================== */
/* ABOUT SECTION */
/* ==================== */
.tietoa {
    padding: 6rem 2rem;
    background: var(--secondary);
}

.tietoa-sisalto {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: start;
}

.tietoa-merkki {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tietoa-teksti h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.tietoa-teksti p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.tietoa-laatikot {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tietoa-laatikko {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.tietoa-laatikko:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.15);
}

.laatikko-otsikko {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.tietoa-laatikko p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* ==================== */
/* NOTICE SECTION */
/* ==================== */
.huomautus {
    padding: 4rem 2rem;
}

.huomautus-sisalto {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.huomautus-ikoni {
    background: var(--accent);
    color: #12141a;
    font-weight: 900;
    font-size: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 
        4px 4px 8px var(--shadow-soft-dark),
        -4px -4px 8px var(--shadow-soft-light);
}

.huomautus-teksti strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.huomautus-teksti p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* ==================== */
/* BUTTONS */
/* ==================== */
.nappi {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.nappi-ensisijainen {
    background: var(--button);
    color: #12141a;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.nappi-ensisijainen:hover {
    background: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(0, 212, 170, 0.4);
}

.nappi-ensisijainen:active {
    transform: translateY(0);
}

/* ==================== */
/* FOOTER */
/* ==================== */
.alapalkki {
    padding: 5rem 2rem 2rem;
    background: var(--background-alt);
    border-top: 1px solid var(--border);
    margin-top: 5rem;
}

.alapalkki-sisalto {
    max-width: 1400px;
    margin: 0 auto;
}

.alapalkki-ylä {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.alapalkki-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alapalkki-logo-kuva {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.alapalkki-brand-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alapalkki-brand-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.alapalkki-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
    line-height: 1.7;
}

.alapalkki-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.alapalkki-ryhma {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ryhma-otsikko {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.alapalkki-ryhma a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.alapalkki-ryhma a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.alapalkki-vastuuvapaus {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.alapalkki-vastuuvapaus p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.alapalkki-vastuuvapaus strong {
    color: var(--text);
    font-weight: 700;
}

.alapalkki-ala {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.alapalkki-ala span:first-child {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.alapalkki-merkit {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.alapalkki-merkit span {
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 
        inset 2px 2px 4px var(--shadow-pressed-dark),
        inset -2px -2px 4px var(--shadow-pressed-light);
}

/* ==================== */
/* COOKIE & AGE NOTICES */
/* ==================== */
.evaste-ilmoitus {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 480px;
    background: rgba(26, 29, 36, 0.92);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0;
    z-index: 2000;
    display: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.evaste-ilmoitus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.evaste-ilmoitus.nakyvissa {
    display: block;
    animation: slideUpCookie 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpCookie {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.evaste-sisalto-detayli {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.evaste-ikon-ve-teksti {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.evaste-ikon-kontti {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 170, 0.15);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.evaste-ikon-kontti svg,
.evaste-ikon-kontti i,
.evaste-ikon-kontti .bi {
    width: 24px;
    height: 24px;
    font-size: 1.5rem;
    color: var(--accent);
}

.evaste-teksti-detayli {
    flex: 1;
}

.evaste-teksti-detayli h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.evaste-teksti-detayli p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.evaste-nappi-ryhma {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.evaste-nappi-ensisijainen {
    flex: 1;
    min-width: 120px;
    padding: 0.875rem 1.5rem;
    background: var(--button);
    color: #12141a;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.evaste-nappi-ensisijainen:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 212, 170, 0.4);
}

.evaste-nappi-ensisijainen:active {
    transform: translateY(0);
}

.evaste-nappi-toissijainen {
    flex: 1;
    min-width: 120px;
    padding: 0.875rem 1.5rem;
    background: var(--glass-bg);
    color: var(--text);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.evaste-nappi-toissijainen:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.3);
    color: var(--accent);
}

.ika-ilmoitus {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2001;
    display: none;
    align-items: center;
    justify-content: center;
}

.ika-ilmoitus.nakyvissa {
    display: flex;
}

.ika-ilmoitus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.ika-sisalto {
    background: rgba(26, 29, 36, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ika-numero {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: #12141a;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.ika-teksti strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ika-teksti p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ika-sisalto button {
    width: 100%;
    padding: 1rem;
    background: var(--button);
    color: #12141a;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.ika-sisalto button:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 212, 170, 0.4);
}

.ika-sisalto button:active {
    transform: translateY(0);
}

/* ==================== */
/* GAME PAGE */
/* ==================== */
.peli-sayfa {
    padding: 6rem 2rem 3rem;
    min-height: 100vh;
}

.peli-alue {
    max-width: 1200px;
    margin: 0 auto;
}

.peli-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.peli-baslik h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
}

.takaisin-linkki {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s;
}

.takaisin-linkki:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--secondary);
}

.takaisin-linkki svg {
    width: 18px;
    height: 18px;
}

.peli-kehys-kontti {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: var(--card);
    margin-bottom: 2rem;
    box-shadow: 
        10px 10px 20px var(--shadow-soft-dark),
        -10px -10px 20px var(--shadow-soft-light);
}

.lataus {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10;
}

.lataus-pyora {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lataus-teksti {
    color: var(--text-muted);
    font-weight: 600;
}

.peli-kehys {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .peli-kehys {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .peli-kehys {
        height: 400px;
    }
}

.peli-disclaimer {
    background: var(--card);
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 
        inset 4px 4px 8px var(--shadow-pressed-dark),
        inset -4px -4px 8px var(--shadow-pressed-light);
}

.disclaimer-ika {
    background: var(--accent);
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 
        4px 4px 8px var(--shadow-soft-dark),
        -4px -4px 8px var(--shadow-soft-light);
}

.peli-disclaimer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ==================== */
/* CONTENT PAGES */
/* ==================== */
.sivu-sisalto {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.sivu-otsikko {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.sivu-teksti {
    color: var(--text-muted);
    line-height: 1.8;
}

.sivu-teksti h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.sivu-teksti p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.sivu-teksti ul {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.sivu-teksti li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.sivu-teksti a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s;
}

.sivu-teksti a:hover {
    color: var(--text);
    text-decoration: underline;
}

.yhteydenotto-laatikko {
    background: var(--card);
    border: none;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 
        8px 8px 16px var(--shadow-soft-dark),
        -8px -8px 16px var(--shadow-soft-light);
}

.yhteydenotto-ikoni {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.yhteydenotto-laatikko h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.yhteydenotto-laatikko a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.yhteydenotto-laatikko a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* Legal Pages */
.oikeudellinen-sivu {
    padding: 6rem 2rem 4rem;
}

.oikeudellinen-sisalto {
    max-width: 900px;
    margin: 0 auto;
}

.oikeudellinen-sisalto h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}

.oikeudellinen-paivitys {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.oikeudellinen-osio {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.oikeudellinen-osio:last-child {
    border-bottom: none;
}

.oikeudellinen-osio h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.oikeudellinen-osio p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.oikeudellinen-osio ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.oikeudellinen-osio li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 1rem;
}

.oikeudellinen-osio a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s;
}

.oikeudellinen-osio a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* ==================== */
/* SECTION HEADERS */
/* ==================== */
.osio-otsikko {
    text-align: center;
    margin-bottom: 4rem;
}

.osio-merkki {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.osio-nimi {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}

.osio-kuvaus {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== */
/* FAQ SECTION */
/* ==================== */
.ukk {
    padding: 5rem 2rem;
    background: var(--secondary);
}

.ukk-sisalto {
    max-width: 900px;
    margin: 0 auto;
}

.ukk-otsikko {
    text-align: center;
    margin-bottom: 3rem;
}

.ukk-merkki {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.ukk-otsikko h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.ukk-otsikko p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.ukk-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ukk-kysymys {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.ukk-kysymys:hover {
    border-color: rgba(0, 212, 170, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.ukk-kysymys-otsikko {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
}

.ukk-kysymys-otsikko:hover {
    background: rgba(255, 255, 255, 0.04);
}

.ukk-kysymys-otsikko h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.ukk-ikoni {
    width: 20px;
    height: 20px;
    font-size: 1.25rem;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.ukk-kysymys.ukk-avoin .ukk-ikoni {
    transform: rotate(180deg);
}

.ukk-vastaus {
    display: none;
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ukk-kysymys.ukk-avoin .ukk-vastaus {
    display: block;
}

/* ==================== */
/* STATS SECTION */
/* ==================== */
.tilastot {
    padding: 4rem 2rem;
    background: var(--secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tilastot-sisalto {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tilasto-kortti {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card);
    border: none;
    border-radius: 20px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 
        6px 6px 12px var(--shadow-soft-dark),
        -6px -6px 12px var(--shadow-soft-light);
}

.tilasto-kortti:hover {
    transform: translateY(-5px);
    box-shadow: 
        10px 10px 20px var(--shadow-soft-dark),
        -10px -10px 20px var(--shadow-soft-light);
}

.tilasto-numero {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.tilasto-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */
@media (max-width: 1024px) {
    .esittely-sisalto,
    .tietoa-sisalto {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .esittely-oikea {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .alapalkki-ylä {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-linkit {
        display: none;
    }
    
    .nav-valikko {
        display: flex;
    }
    
    .logo-kuva {
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .alapalkki-logo-kuva {
        height: 60px;
    }
    
    .alapalkki-brand-text {
        font-size: 1.25rem;
    }
    
    .esittely {
        padding: 8rem 1.5rem 4rem;
    }
    
    .esittely-oikea {
        grid-template-columns: 1fr;
    }
    
    .lupaus {
        padding: 3rem 1.5rem;
    }
    
    .lupaus-sisalto {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .lupaus-kohde {
        padding: 2rem 1.5rem;
    }
    
    .lupaus-ikoni {
        width: 70px;
        height: 70px;
    }
    
    .lupaus-ikoni svg {
        width: 32px;
        height: 32px;
    }
    
    .lupaus-teksti strong {
        font-size: 1.1rem;
    }
    
    .tek-peli-kortti {
        grid-template-columns: 1fr;
    }
    
    .tek-peli-kuva {
        min-height: 250px;
    }
    
    .tek-peli-sisalto {
        padding: 2rem;
    }
    
    .pelit-ruudukko {
        grid-template-columns: 1fr;
    }
    
    .alapalkki-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .alapalkki-ala {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .peli-kehys {
        height: 500px;
    }
    
    .ika-sisalto {
        max-width: 90%;
        padding: 2rem 1.5rem;
    }
    
    .evaste-ilmoitus {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: 100%;
    }
    
    .evaste-sisalto-detayli {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .evaste-ikon-ve-teksti {
        gap: 1rem;
    }
    
    .evaste-ikon-kontti {
        width: 40px;
        height: 40px;
    }
    
    .evaste-ikon-kontti svg {
        width: 20px;
        height: 20px;
    }
    
    .evaste-teksti-detayli h4 {
        font-size: 1.05rem;
    }
    
    .evaste-teksti-detayli p {
        font-size: 0.85rem;
    }
    
    .evaste-nappi-ryhma {
        flex-direction: column;
    }
    
    .evaste-nappi-ensisijainen,
    .evaste-nappi-toissijainen {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .nav-sisalto {
        padding: 1rem 1.5rem;
    }
    
    .esittely-otsikko {
        font-size: 2rem;
    }
    
    .kokoelma-otsikko h2 {
        font-size: 1.8rem;
    }
    
    .peli-kehys {
        height: 400px;
    }
    
    .lupaus-sisalto {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .lupaus-kohde {
        padding: 1.75rem 1.25rem;
    }
    
    .lupaus-ikoni {
        width: 60px;
        height: 60px;
    }
    
    .lupaus-ikoni svg {
        width: 28px;
        height: 28px;
    }
    
    .tilastot-sisalto {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .ukk-kysymys-otsikko {
        padding: 1.25rem 1.5rem;
    }
    
    .ukk-kysymys-otsikko h3 {
        font-size: 1rem;
    }
    
    .ukk-vastaus {
        padding: 0 1.5rem 1.25rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tilastot-sisalto {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tilasto-kortti {
        padding: 1.5rem 1rem;
    }
    
    .tilasto-numero {
        font-size: 2.5rem;
    }
}

/* Safe Gaming Block */
.felelos-jatek {
    padding: 4rem 2rem;
    background: var(--secondary);
}

.felelos-jatek h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    text-align: center;
}

.felelos-jatek p {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
}

.felelos-jatek-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.felelos-jatek-logos a,
.felelos-jatek-logos img {
    width: 150px;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.felelos-jatek-logos a:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .felelos-jatek {
        padding: 3rem 1.5rem;
    }
    
    .felelos-jatek-logos {
        gap: 2rem;
    }
    
    .felelos-jatek-logos a,
    .felelos-jatek-logos img {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .felelos-jatek {
        padding: 2rem 1rem;
    }
    
    .felelos-jatek-logos {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .felelos-jatek-logos a,
    .felelos-jatek-logos img {
        width: 100px;
    }
}
