:root {
    --bg: #FBF8F3;
    --bg-alt: #F5EFE6;
    --card: #FFFFFF;
    --pink: #F4B8C5;
    --peach: #F8C9A4;
    --lavender: #C9BFE8;
    --text: #4A3A2E;
    --text-soft: #7A6A5C;
    --border: #EADFD0;
    --accent: #E89AAA;
    --shadow: 0 4px 20px rgba(74, 58, 46, 0.06);
    --shadow-hover: 0 8px 28px rgba(74, 58, 46, 0.10);
    --radius: 20px;
    --radius-sm: 12px;
    --max-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 17px;
    font-weight: 500;
    overflow-x: hidden;
    min-height: 100vh;
}

img, svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #d27d8e;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.01em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.site-header {
    padding: 22px 0;
    position: relative;
    z-index: 5;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.logo svg {
    width: 36px;
    height: 36px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-soft);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--text);
}

/* HERO */
.hero {
    padding: 40px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.65;
}

.hero-decor.cloud-1 { top: 60px; left: 6%; width: 80px; }
.hero-decor.cloud-2 { top: 130px; right: 8%; width: 100px; }
.hero-decor.star-1 { top: 50px; right: 25%; width: 24px; opacity: 0.7; }
.hero-decor.star-2 { bottom: 80px; left: 15%; width: 20px; opacity: 0.6; }
.hero-decor.dot-1 { top: 200px; left: 22%; width: 12px; opacity: 0.5; }
.hero-decor.dot-2 { bottom: 120px; right: 18%; width: 14px; opacity: 0.5; }

.mochi-wrap {
    width: min(280px, 70vw);
    margin: 0 auto 36px;
    animation: float 5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
    .mochi-wrap { animation: none; }
    html { scroll-behavior: auto; }
    .fade-in { opacity: 1 !important; transform: none !important; }
}

h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    margin-bottom: 16px;
}

.hero p.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-soft);
    margin-bottom: 14px;
    font-weight: 600;
}

.hero p.subtitle {
    max-width: 540px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.05rem;
}

/* SECTIONS */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    text-align: center;
    margin-bottom: 14px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-soft);
    max-width: 580px;
    margin: 0 auto 56px;
    font-size: 1.05rem;
}

/* ABOUT / FEATURES */
.about {
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin: 0 24px;
    padding: 70px 24px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    background: var(--card);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-soft);
    font-size: 0.97rem;
    line-height: 1.55;
}

/* COMING SOON */
.games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.game-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.game-art {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-art.colors { background: linear-gradient(135deg, #F4B8C5, #F8C9A4); }
.game-art.puzzle { background: linear-gradient(135deg, #C9BFE8, #B8D4E8); }
.game-art.idle   { background: linear-gradient(135deg, #F8D9A4, #F4C9C5); }

.game-art svg {
    width: 90px;
    height: 90px;
}

.game-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.game-status {
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--bg-alt);
    color: var(--text-soft);
    margin-top: auto;
}

.game-card p.game-desc {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* FOOTER */
footer {
    background: var(--bg-alt);
    padding: 60px 0 40px;
    text-align: center;
    margin-top: 40px;
}

.footer-logo {
    justify-content: center;
    margin-bottom: 18px;
}

footer p {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

footer .footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 16px 0 24px;
}

footer .footer-links a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

footer .copyright {
    color: var(--text-soft);
    font-size: 0.88rem;
    margin-top: 12px;
}

/* PRIVACY PAGE */
.privacy-page {
    padding: 60px 0 80px;
}

.privacy-page .container {
    max-width: 760px;
}

.privacy-page h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 8px;
}

.privacy-page .updated {
    color: var(--text-soft);
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.privacy-page h2 {
    font-size: 1.35rem;
    margin: 36px 0 12px;
}

.privacy-page p, .privacy-page li {
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.75;
}

.privacy-page ul {
    padding-left: 24px;
    margin-bottom: 14px;
}

.privacy-page li {
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-weight: 600;
    color: var(--text-soft);
}

.back-link:hover {
    color: var(--text);
}

/* FADE-IN ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    body { font-size: 16px; }
    section { padding: 60px 0; }
    .hero { padding: 20px 0 60px; }
    .about { margin: 0 12px; padding: 50px 16px; }
    .container { padding: 0 18px; }
    .hero-decor.cloud-1, .hero-decor.cloud-2 { width: 60px; }
}
