/* Fonts */
@font-face {
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bebas-neue-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/nunito-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                   U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Good Dog Plain';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/gooddog-plain.woff') format('woff');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/inter-900.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                   U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Base ─────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background: #fff;
    color: #111;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1rem;
    line-height: 1.6;
}

/* ─── Navbar — mobile ───────────────────────────────────── */
.navbar {
    border-bottom: 1px solid #e5e5e5;
    padding: 0.75rem 1rem;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #111;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-login {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #111;
}

.nav-login:hover { color: #555; }

.nav-login-label { display: none; }

/* ─── Navbar — desktop ──────────────────────────────────── */
@media (min-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .nav-login-label { display: inline; }

    .logo {
        font-size: 1.6rem;
    }
}

/* ─── Coming soon — mobile ──────────────────────────────── */
.coming-soon {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
}

.coming-soon img {
    max-width: 900px;
    width: 100%;
    height: auto;
}

.coming-soon h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2.5rem, 12vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: center;
}

/* ─── Coming soon — desktop ─────────────────────────────── */
@media (min-width: 768px) {
    .coming-soon {
        gap: 2rem;
        padding: 4rem 2rem;
    }
}

/* ─── Footer — mobile ───────────────────────────────────── */
.site-footer {
    border-top: 1px solid #e5e5e5;
    padding: 1.25rem 1rem;
    font-size: 0.8rem;
    color: #888;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.hosted-by {
    font-size: 0.75rem;
    color: #bbb;
    text-decoration: none;
}

.hosted-by:hover {
    color: #888;
}

/* ─── Footer — desktop ──────────────────────────────────── */
@media (min-width: 768px) {
    .site-footer {
        padding: 1.5rem 2rem;
        font-size: 0.85rem;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ─── Auth pages — mobile ───────────────────────────────── */
.auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 420px;
}

.auth-card h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.auth-intro {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.form-group label small {
    font-weight: 400;
    color: #888;
}

.form-group input {
    padding: 0.6rem 0.75rem;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #111;
    transition: border-color 0.15s;
}

.form-group input:focus {
    outline: none;
    border-color: #111;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    margin-top: 0.5rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary:hover { background: #333; }

.auth-error {
    background: #fff2f2;
    border: 1px solid #f5c6c6;
    border-radius: 5px;
    color: #c0392b;
    font-size: 0.875rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 1rem;
}

.auth-success {
    background: #f2fff5;
    border: 1px solid #b7e4c7;
    border-radius: 5px;
    color: #1a7340;
    font-size: 0.875rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 1rem;
}

.auth-footer-link {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    text-align: center;
    color: #888;
}

.auth-footer-link a { color: #111; }

/* ─── Auth pages — desktop ──────────────────────────────── */
@media (min-width: 768px) {
    .auth-card {
        padding: 2.5rem 2rem;
    }
}

/* ─── Featured hero — mobile ────────────────────────────── */
.featured {
    min-height: 100vh;
    min-height: 100svh;
    padding: 2rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-align: center;
    margin: 0 0 1.5rem;
}

.sticker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sticker-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sticker-img {
    aspect-ratio: 1;
    background: #efefef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ccc;
}

.sticker-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #111;
    text-align: center;
}

/* ─── Featured hero — desktop ───────────────────────────── */
@media (min-width: 768px) {
    .featured {
        min-height: 100vh;
        min-height: 100svh;
        padding: 4rem 2rem;
    }

    .featured-heading {
        font-size: 6rem;
        max-width: 900px;
        margin: 0 auto 2.5rem;
    }

    .sticker-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
        max-width: 900px;
        margin: 0 auto;
    }

    .sticker-name {
        font-size: 1.25rem;
    }
}

/* ─── Categories — mobile ───────────────────────────────── */
.categories {
    margin: 0 1rem 1.5rem;
    padding: 1rem 1.25rem;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.categories-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0 0 0.75rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.category-card {
    text-decoration: none;
    color: inherit;
}

.category-img {
    aspect-ratio: 1;
    width: 100%;
    background: #efefef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    transition: background 0.15s;
}

.category-card:hover .category-img { background: #e0e0e0; }

.category-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-align: center;
    color: #555;
    line-height: 1.2;
}

/* ─── Categories — desktop ──────────────────────────────── */
@media (min-width: 768px) {
    .categories {
        width: 900px;
        max-width: 900px;
        margin: 0 auto 2rem;
        padding: 1.25rem 2.5rem;
    }

    .categories-heading {
        font-size: 1.75rem;
    }

    .category-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }

    .category-name {
        font-size: 0.8rem;
    }
}

/* ─── Social panel — mobile ─────────────────────────────── */
.social-panel {
    margin: 0 1rem 1.5rem;
    padding: 1rem 1.25rem;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.social-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0 0 0.75rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: inherit;
}

.social-img {
    aspect-ratio: 1;
    width: 100%;
    background: #efefef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    transition: background 0.15s;
}

.social-card:hover .social-img { background: #e0e0e0; }

.social-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-align: center;
    color: #555;
}

/* ─── Social panel — desktop ────────────────────────────── */
@media (min-width: 768px) {
    .social-panel {
        width: 900px;
        max-width: 900px;
        margin: 0 auto 2rem;
        padding: 1.25rem 2.5rem;
    }

    .social-heading {
        font-size: 1.75rem;
    }

    .social-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }

    .social-img {
        font-size: 2.75rem;
    }

    .social-name {
        font-size: 0.85rem;
    }
}

/* ─── Featured — desktop ────────────────────────────────── */
@media (min-width: 768px) {
    .featured {
        max-width: 900px;
        margin: 2.5rem auto;
        padding: 1.25rem 2.5rem;
    }

    .featured-heading {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .sticker-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .sticker-name {
        font-size: 1.25rem;
    }
}
