@font-face {
    font-family: 'Fredoka One';
    src: url('/christmas/css/fonts/fredoka-one-latin.woff2') format('woff2');
    font-display: swap;
}

#falling-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}

.b1 {
    width: 42vw;
    height: 42vw;
    left: -10vw;
    top: -12vh;
    background: #ff5e8a;
}

.b2 {
    width: 36vw;
    height: 36vw;
    right: -12vw;
    top: -8vh;
    background: #ffb347;
}

.b3 {
    width: 30vw;
    height: 30vw;
    left: 8vw;
    bottom: -16vh;
    background: #a86bff;
}

.b4 {
    width: 34vw;
    height: 34vw;
    right: -6vw;
    bottom: -14vh;
    background: #6bcaff;
}

.b5 {
    width: 18vw;
    height: 18vw;
    left: 34vw;
    top: 22vh;
    background: #7be0a0;
}

.b6 {
    width: 16vw;
    height: 16vw;
    right: 30vw;
    bottom: 8vh;
    background: #ff9bd2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Fredoka One', 'Arial Rounded MT Bold', 'Comic Sans MS', sans-serif;
    background: linear-gradient(160deg, #FFDCE9 0%, #FFF3D1 45%, #CDEAFF 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4a3a2a;
}

.main-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 3rem 1.2rem 1.5rem;
    max-width: 720px;
}

.main-header h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: #5b2a86;
    text-shadow: 0 3px 0 rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem;
}

.main-header .tagline {
    font-size: clamp(1rem, 2.6vw, 1.3rem);
    color: #6e5b7e;
    margin: 0;
}

.grid-holder {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    width: 90%;
    max-width: 1040px;
    padding: 20px 0;
}

.card {
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 12px 24px rgba(74, 58, 42, 0.12);
    text-align: center;
    padding: 2.2rem 1.4rem 1.8rem;
    text-decoration: none;
    color: inherit;
    border: 4px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
}

.card:hover,
.card:focus-visible {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 22px 34px rgba(74, 58, 42, 0.18);
    outline: none;
}

.card:focus-visible {
    outline: 4px solid #5b2a86;
    outline-offset: 3px;
}

.card-image {
    font-size: clamp(58px, 12vw, 88px);
    line-height: 1;
    margin-bottom: 0.7rem;
    filter: drop-shadow(0 8px 10px rgba(74, 58, 42, 0.18));
}

.card h2 {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    margin: 0.4rem 0 0.25rem;
}

.card-tag {
    display: block;
    font-family: "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.35;
    color: #7a6b5c;
    max-width: 19rem;
    margin: 0 auto 1rem;
}

.play-btn,
.soon-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1.15rem;
    font-weight: 400;
    color: #fff;
    border-radius: 50px;
    margin-top: auto;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18);
}

.halloween-card {
    border-top: 8px solid #ff8c1a;
}
.halloween-card h2 { color: #8e4400; }
.halloween-card .play-btn { background: #7b2ff7; box-shadow: 0 5px 0 #5a1fb0; }
.halloween-card:hover { border-color: #ff8c1a; }

.christmas-card {
    border-top: 8px solid #c3073f;
}
.christmas-card h2 { color: #a00b34; }
.christmas-card .play-btn { background: #2f7a44; box-shadow: 0 5px 0 #1f5830; }
.christmas-card:hover { border-color: #c3073f; }

.easter-card {
    border-top: 8px solid #4ba3e3;
}
.easter-card h2 { color: #d2589c; }
.soon-btn { background: #9aa3ad; box-shadow: 0 5px 0 #707983; }

.coming-soon {
    opacity: 0.75;
    filter: saturate(0.25);
}

.more {
    position: relative;
    z-index: 1;
    color: #6e5b7e;
    font-size: 1rem;
    margin: 0.4rem 0 2rem;
}

.about {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 1.2rem 2.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border: 2px dashed #c9b8d8;
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
}

.about h2 {
    color: #5b2a86;
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.about p {
    font-family: "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #5b4a3a;
    margin: 0;
}

footer {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    color: #6e5b7e;
    font-size: 0.95rem;
}

footer nav {
    margin-bottom: 0.5rem;
}

footer nav a {
    color: #5b2a86;
    margin: 0 0.7rem;
    text-decoration: none;
    font-size: 1rem;
}

footer nav a:hover {
    text-decoration: underline;
}

footer .credit {
    font-family: "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem;
    margin: 0.4rem 0 0;
}

footer .credit a {
    color: #5b2a86;
    text-decoration: none;
}

footer .credit a:hover {
    text-decoration: underline;
}

.faq {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid #c9b8d8;
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
}

.faq h2 {
    color: #5b2a86;
    font-size: 1.25rem;
    text-align: center;
    margin: 0 0 0.75rem;
}

.faq details {
    border-top: 1px dashed #e0d3ec;
    padding: 0.6rem 0;
}

.faq details:first-of-type {
    border-top: none;
}

.faq summary {
    cursor: pointer;
    font-size: 1.02rem;
    color: #4a3a2a;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::before {
    content: "\25B6";
    font-size: 0.7rem;
    color: #a86bff;
    transition: transform 0.2s ease;
}

.faq details[open] summary::before {
    transform: rotate(90deg);
}

.faq p {
    font-family: "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #5b4a3a;
    margin: 0.5rem 0 0 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
    .card {
        transition: none;
    }
    .card:hover,
    .card:focus-visible {
        transform: none;
        box-shadow: 0 12px 24px rgba(74, 58, 42, 0.12);
    }
}