/* ==========================================================================
   Superfonik — General base styles
   Shared across superfonik pages: fonts, resets, typography, button, and the
   responsive visibility helpers (mobile -> 600px -> 1366px).
   Load this BEFORE any page-specific superfonik stylesheet.
   ========================================================================== */

@font-face {
    font-family: 'CCWhatchamacallit Condensed';
    src: url('/fonts/superfonik/CCWhatchamacallit-Condensed-Regular.otf') format('opentype');
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: 'SagoMini Rounded Regular';
    src: url('/fonts/SagoMiniRounded-Regular_v2.otf') format('opentype'),
         url('/fonts/SagoMiniRounded-Regular_v2.woff2') format('woff2');
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: 'SagoMini Rounded Bold';
    src: url('/fonts/SagoMiniRounded-Bold_v2.otf') format('opentype'),
         url('/fonts/SagoMiniRounded-Bold_v2.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .header-font {
    font-family: 'CCWhatchamacallit Condensed';
    font-stretch: condensed;
    font-weight: 400;
    line-height: normal;
}

p, span, label, a {
    font-family: 'SagoMini Rounded Regular';
}

button {
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    outline: none;
    cursor: pointer;
    background: none;
    padding: 0;
}

/* Responsive visibility helpers ------------------------------------------- */
.desktop-tablet-only { display: none; }
.tablet-only         { display: none; }
.desktop-only        { display: none; }
.mobile-only         { display: block; }
.mobile-tablet-only  { display: block; }

@media (min-width: 768px) {
    .mobile-only         { display: none; }
    .desktop-tablet-only { display: block; }
    .tablet-only         { display: block; }
}

@media (min-width: 1366px) {
    .desktop-only       { display: block; }
    .tablet-only        { display: none; }
    .mobile-tablet-only { display: none; }
}

/* Shared CTA button ------------------------------------------------------- */
.superfonik-button-container {
    width: fit-content;
    margin: auto;
}

.superfonik-custom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FF9E12;
    border: solid 2px #000000;
    border-radius: 999px;
    padding: 8px 24px;
    cursor: pointer;
    outline: none;
    position: relative;
    box-shadow: 3px 3px 0px 0px #000000;
    color: #000000;
}

.superfonik-custom-button:visited { color: #000000; }
.superfonik-custom-button:active  { background: #FFA82B; }
.superfonik-custom-button:hover   { background: #FFA82B; }

.superfonik-custom-button span {
    font-family: 'CCWhatchamacallit Condensed';
    font-stretch: condensed;
    font-weight: 400;
    font-size: 24.7px;
    line-height: 26px;
}

.superfonik-custom-button .button-shine {
    width: 28px;
    top: 4px;
    left: 10px;
    position: absolute;
}

@media (min-width: 768px) {
    .superfonik-custom-button {
        padding: 8px 30px;
    }

    .superfonik-custom-button span {
        font-size: 24.7px;
        line-height: 26px;
    }
}

@media (min-width: 768px) {
    .superfonik-custom-button {
        padding: 12px 30px;
    }

    .superfonik-custom-button span {
        font-size: 30px;
        line-height: 100%;
    }

    .superfonik-custom-button .button-shine {
        width: 25px;
        top: 4px;
        left: 9px;
    }

}

.superfonik-header-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'SagoMini Rounded Regular';
    font-size: 20px;
    white-space: nowrap;
}

.superfonik-header-link:hover {
    text-decoration: underline;
}


@media (min-width: 768px) {
    .superfonik-header-actions {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .superfonik-header-actions .superfonik-button-container {
        margin: 0;
    }
}

@media (min-width: 1366px) {
    .superfonik-header-link {
        font-size: 24px;
    }
}

/* Mobile hamburger menu --------------------------------------------------- */
@media (max-width: 767px) {
    .superfonik-mobile-nav {
        display: flex;
        align-items: center;
    }
}

.superfonik-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 37px;
    height: 37px;
    padding: 7px 5.76px;
    background: none;
    border: none;
    cursor: pointer;
}

.superfonik-hamburger-bar {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Morph the bars into an X while open */
.superfonik-hamburger.is-open .superfonik-hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.superfonik-hamburger.is-open .superfonik-hamburger-bar:nth-child(2) {
    opacity: 0;
}
.superfonik-hamburger.is-open .superfonik-hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Dim the page behind the open menu */
.superfonik-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: #000000;
    opacity: 0.35;
}

.superfonik-menu-overlay[hidden] {
    display: none;
}

.superfonik-mobile-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    margin: auto;
    z-index: 30;
    min-height: 150px;
    padding: 25px;
    background: #FBF3DE;
    border: solid 2px #000000;
    border-radius: 24px;
    box-shadow: 3px 3px 0px 0px #000000;
    max-width: 345px;
    display: flex;
    align-items: center;
}

.superfonik-mobile-menu[hidden] {
    display: none;
}

.superfonik-mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 180px;
}

.superfonik-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #000000;
    text-decoration: none;
}

.superfonik-menu-item span {
    font-family: 'SagoMini Rounded Regular';
    font-size: 24px;
    line-height: 35px;
}

.superfonik-menu-item img {
    width: 28px;
    height: 28px;
    transition: transform 0.15s ease;
}

.superfonik-menu-item:active img {
    transform: scale(0.92);
}

.superfonik-menu-racoon {
    position: absolute;
    right: 25px;
    bottom: 0;
    width: 86px;
    height: 125px;
    height: auto;
    pointer-events: none;
}

/* Shared copyright footer -------------------------------------------------- */
/* Used by both the superfonik landing and the for-schools landing (both load
   this base stylesheet). Keep the markup in sync across those pages. */
.superfonik-school-copyright-footer {
    margin-top: 50px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.superfonik-school-copyright-footer-links {
    margin-bottom: 11px;
}

.superfonik-school-kidsafe-badge {
    width: 170px;
    margin-bottom: 30px;
}

.superfonik-school-copyright-footer-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.superfonik-school-copyright-footer-text,
.superfonik-school-copyright-footer-links a,
.superfonik-school-copyright-footer-copyright {
    font-size: 16px;
    line-height: 35px;
    margin: 0;
}

.superfonik-school-copyright-footer-text-container .piknik-footer-logo {
    width: 70px;
    height: auto;
    display: block;
    margin-bottom: 5px;
}

.superfonik-school-copyright-footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.superfonik-school-copyright-footer-links .superfonik-school-copyright-footer-links-separator {
    margin: 0 4px;
}

@media (min-width: 768px) {
    .superfonik-school-copyright-footer {
        margin-top: 50px;
        padding: 25px;
        gap: 0;
    }

    .superfonik-school-copyright-footer-links {
        margin-bottom: 0px;
    }

    .superfonik-school-kidsafe-badge {
        width: 124px;
        margin-bottom: 20px;
    }

    .superfonik-school-copyright-footer-text,
    .superfonik-school-copyright-footer-links a,
    .superfonik-school-copyright-footer-copyright {
        font-size: 14px;
    }

    .superfonik-school-copyright-footer-text-container .piknik-footer-logo {
        width: 59px;
    }

    .superfonik-school-footer-links-container {
        display: flex;
        gap: 30px;
    }
}

@media (min-width: 1366px) {
    .superfonik-school-copyright-footer {
        margin-top: 40px;
        padding: 30px;
        gap: 40px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .superfonik-school-kidsafe-badge {
        width: 170px;
        margin-bottom: 0;
    }

    .superfonik-school-copyright-footer-text,
    .superfonik-school-copyright-footer-links a,
    .superfonik-school-copyright-footer-copyright {
        font-size: 16px;
        line-height: 35px;
    }

    .superfonik-school-copyright-footer-text-container .piknik-footer-logo {
        width: 59px;
    }

    .superfonik-school-footer-links-container {
        display: flex;
        gap: 30px;
    }
}