/* Premium JLPT LP Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Anuphan:wght@300;400;600;700&display=swap');

:root {
    --primary: #FF3366;
    --primary-dark: #D81B60;
    --secondary: #4A90E2;
    --accent: #FFD700;
    --bg-dark: #0F172A;
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Anuphan', 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    padding: 120px 5% 60px;
    background: linear-gradient(135deg, #FFF5F8 0%, #E0F2FE 100%);
    text-align: center;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Content Layout */
.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 5%;
}

article section {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 5px solid var(--primary);
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 30px 0 15px;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin: 20px 0 10px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFF;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px -5px rgba(255, 51, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(255, 51, 102, 0.6);
}

/* Responsive Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-card {
    background: #FFF;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
}

/* Footer Styles */
footer {
    background: var(--bg-dark);
    color: #FFF;
    padding: 80px 5% 40px;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .hero {
        padding-top: 100px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}

/* Game Mockup Component */
.mockup-container {
    margin: 30px 0 40px;
    border: 3px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: #000;
    aspect-ratio: 16/9;
    position: relative;
}

.game-mockup {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.game-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: transform 0.6s ease;
}

.game-char {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
    z-index: 1;
}

.mockup-container:hover .game-bg {
    transform: scale(1.02);
}

.mockup-container:hover .game-char {
    transform: translateX(-50%) scale(1.02);
}

.game-ui {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 90%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 15px;
    color: #FFF;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.game-name {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 2px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
    color: #FFF;
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.3);
}

.game-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #FFF;
}

.game-text span {
    display: block;
    margin-top: 5px;
    color: var(--accent);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .game-ui {
        padding: 10px;
        bottom: 5%;
    }

    .game-text {
        font-size: 0.6rem;
    }

    .game-text span {
        font-size: 0.55rem;
    }

    .game-name {
        font-size: 0.55rem;
        top: -10px;
        left: 10px;
        padding: 2px 8px;
    }
}