:root {
    /* Lighter, airy palette pulled from the Impostitute hero image:
       Marquee gold, lipstick red, sticky-note cream, and crisp charcoal. */
    /* Scrolling banner - Marquee Gold anchored with Lipstick Red border & stronger shadow */
    --scrolling-banner-back-color: #F4C04D;
    --scrolling-banner-fore-color: #1E1E1E;
    --scrolling-banner-border-color: #CE3235;
    --scrolling-banner-shadow: rgba(0, 0, 0, 0.15);
    /* Primary buttons (.custom) - Warm Lipstick Red */
    --hot-button-back-color: #CE3235;
    --hot-button-fore-color: #FFFFFF;
    --hot-button-border-color: #B8282B;
    --hot-button-shadow-color: rgba(206, 50, 53, 0.25);
    /* Secondary buttons - Crisp taupe borders & high-contrast charcoal text */
    --button-back-color: #FFFFFF;
    --button-fore-color: #2D2A24;
    --button-border-color: #A8A296;
    --button-shadow-color: rgba(0, 0, 0, 0.08);
    /* Page & Container - Soft, warm studio light */
    --page-back-color: #F6F5F2;
    --panel-back-color: #FFFFFF;
    --gold-accent-color: #F4C04D;
}

/* --------------------------------------------------
   Base Layout
-------------------------------------------------- */

html {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: var(--page-back-color);
    overflow-y: auto;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--page-back-color) 100%);
    color: #333333;
    font-family: 'Fredoka', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .05em;
    overflow-y: auto;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    background: transparent;
}

.banner {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------------
   Scrolling Banner
-------------------------------------------------- */

.header {
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    background: var(--scrolling-banner-back-color);
    color: var(--scrolling-banner-fore-color);
    border-top: 2px solid var(--scrolling-banner-border-color);
    border-bottom: 2px solid var(--scrolling-banner-border-color);
    box-shadow: 0 4px 14px var(--scrolling-banner-shadow);
}

#ScrollingBanner {
    margin: 0;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    line-height: 36px;
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    user-select: none;
}

/* --------------------------------------------------
   Main Content
-------------------------------------------------- */

.main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 24px 40px;
    box-sizing: border-box;
    background: transparent;
}

.button-container {
    margin-bottom: 20px;
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */

.styled-button {
    width: 100%;
    margin-top: 16px;
    padding: 16px 20px;
    box-sizing: border-box;
    background: var(--button-back-color);
    color: var(--button-fore-color);
    border: 2px solid var(--button-border-color);
    border-radius: 14px;
    font-family: 'Fredoka', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-align: center;
    cursor: default;
    transition: all .2s ease;
    box-shadow: 0 4px 12px var(--button-shadow-color);
}

.custom {
    background: linear-gradient(180deg, #D6383B 0%, var(--hot-button-back-color) 100%);
    color: var(--hot-button-fore-color);
    border-color: var(--hot-button-border-color);
    cursor: pointer;
    box-shadow: 0 4px 14px var(--hot-button-shadow-color);
}

    .custom:hover {
        transform: translateY(-2px);
        background: linear-gradient(180deg, #E04346 0%, #D6383B 100%);
        border-color: #A01F22;
        box-shadow: 0 6px 18px rgba(206, 50, 53, 0.35);
    }

    .custom:active {
        transform: translateY(1px);
        box-shadow: 0 2px 8px rgba(206, 50, 53, 0.2);
    }

/* --------------------------------------------------
   Scroller spacing
-------------------------------------------------- */

.scroll {
    padding-left: 50px;
    padding-right: 50px;
}

/* --------------------------------------------------
   Custom Modal
-------------------------------------------------- */

.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 20px;
    background: rgba(0, 0, 0, .60);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

    .custom-modal.show {
        display: flex;
    }

.custom-modal-dialog {
    width: min(720px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #FFFFFF;
    color: #333333;
    border: 2px solid var(--hot-button-border-color);
    border-radius: 20px;
    padding: 32px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    font-family: 'Fredoka', sans-serif;
    animation: modalPop .20s ease-out;
}

.custom-modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 40px;
    height: 40px;
    border: none;
    background: #F4F2EE;
    border-radius: 50%;
    color: #666666;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: all .15s ease;
}

    .custom-modal-close:hover {
        background: #CE3235;
        color: #FFFFFF;
    }

#CustomAlertBody {
    line-height: 1.6;
    letter-spacing: .03em;
}

    #CustomAlertBody a {
        color: #CE3235;
        text-decoration-color: #CE3235;
        font-weight: 600;
    }

    #CustomAlertBody hr {
        border: none;
        border-top: 2px dashed #E0DCD5;
        margin: 24px 0;
    }

/* Modal Scrollbar */

.custom-modal-dialog::-webkit-scrollbar {
    width: 10px;
}

.custom-modal-dialog::-webkit-scrollbar-track {
    background: #F6F5F2;
}

.custom-modal-dialog::-webkit-scrollbar-thumb {
    background: #DCD9D2;
    border-radius: 999px;
}

    .custom-modal-dialog::-webkit-scrollbar-thumb:hover {
        background: #B0ADA6;
    }

/* --------------------------------------------------
   Animation
-------------------------------------------------- */

@keyframes modalPop {

    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 600px) {

    .main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .styled-button {
        font-size: 17px;
        padding: 14px 16px;
        border-radius: 12px;
    }

    #ScrollingBanner {
        font-size: 20px;
        line-height: 30px;
    }

    .custom-modal {
        padding: 12px;
    }

    .custom-modal-dialog {
        padding: 24px 20px;
        border-radius: 16px;
    }
}
