:root {
    /* TrumpTrousers.com palette pulled toward the hero image:
       deep navy, campaign red, clean white, and badge gold. */

    /* Scrolling banner */
    --scrolling-banner-back-color: #0B1F46;
    --scrolling-banner-fore-color: #FFFFFF;
    --scrolling-banner-border-color: #D61F2C;
    --scrolling-banner-glow-color: rgba(214,31,44,.55);

    /* Primary buttons */
    --hot-button-back-color: #0B1F46;
    --hot-button-fore-color: #FFFFFF;
    --hot-button-border-color: #D61F2C;
    --hot-button-shadow-color: rgba(214,31,44,.45);

    /* Secondary buttons */
    --button-back-color: #FFFFFF;
    --button-fore-color: #0B1F46;
    --button-border-color: #D61F2C;
    --button-shadow-color: rgba(0,0,0,.35);

    /* Page */
    --page-back-color: #050A14;
    --panel-back-color: #07152F;
    --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:
        radial-gradient(circle at top center, rgba(17,52,113,.55) 0%, rgba(5,10,20,1) 55%),
        var(--page-back-color);
    color: #FFFFFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .08em;
    overflow-y: auto;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    background: #061029;
    border-left: 1px solid rgba(255,255,255,.12);
    border-right: 1px solid rgba(255,255,255,.12);
}

.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: linear-gradient(90deg, #07152F 0%, var(--scrolling-banner-back-color) 50%, #07152F 100%);
    color: var(--scrolling-banner-fore-color);
    border-top: 4px solid var(--scrolling-banner-border-color);
    border-bottom: 4px solid var(--scrolling-banner-border-color);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 18px var(--scrolling-banner-glow-color);
}

#ScrollingBanner {
    margin: 0;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    line-height: 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #D61F2C, 0 0 8px rgba(255,255,255,.35);
    user-select: none;
}

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

.main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 26px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #050A14 0%, #07152F 100%);
    border-left: 1px solid rgba(255,255,255,.12);
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

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

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

.styled-button {
    width: 100%;
    margin-top: 20px;
    padding: 12px 0;
    box-sizing: border-box;
    background: linear-gradient(180deg, #FFFFFF 0%, #DDE6F7 100%);
    color: var(--button-fore-color);
    border: 3px solid var(--button-border-color);
    border-radius: 16px;
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
    cursor: default;
    box-shadow: 0 5px 0 #7F1219, 0 10px 18px var(--button-shadow-color);
}

.custom {
    background: linear-gradient(180deg, #0E3275 0%, var(--hot-button-back-color) 100%);
    color: var(--hot-button-fore-color);
    border-color: var(--hot-button-border-color);
    cursor: pointer;
    transition: all .25s ease;
    text-shadow: 2px 2px 0 rgba(0,0,0,.65);
    box-shadow: 0 5px 0 #7F1219, 0 0 18px var(--hot-button-shadow-color), 0 12px 22px rgba(0,0,0,.50);
}

    .custom:hover {
        transform: translateY(-2px);
        background: linear-gradient(180deg, #D61F2C 0%, #9E151F 100%);
        border-color: #FFFFFF;
        box-shadow: 0 7px 0 #061029, 0 0 22px rgba(255,255,255,.35), 0 14px 26px rgba(0,0,0,.60);
    }

    .custom:active {
        transform: translateY(2px);
        box-shadow: 0 2px 0 #061029, 0 0 12px rgba(214,31,44,.45);
    }

/* --------------------------------------------------
   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,.78);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

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

.custom-modal-dialog {
    width: min(760px,100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: linear-gradient(180deg, #07152F 0%, #050A14 100%);
    color: #FFFFFF;
    border: 3px solid #D61F2C;
    border-radius: 18px;
    padding: 28px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 0 0 2px rgba(255,255,255,.20), 0 18px 60px rgba(0,0,0,.70);
    font-family: 'Orbitron', sans-serif;
    animation: modalPop .20s ease-out;
}

.custom-modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: #FFFFFF;
    font-size: 34px;
    font-weight: 700;
    cursor: pointer;
    z-index: 5;
}

    .custom-modal-close:hover {
        color: #F4C04D;
    }

#CustomAlertBody {
    line-height: 1.65;
    letter-spacing: .04em;
}

    #CustomAlertBody a {
        color: #FFFFFF;
        text-decoration-color: #D61F2C;
    }

    #CustomAlertBody hr {
        border: none;
        border-top: 2px solid #D61F2C;
        margin: 20px 0;
    }

/* Modal Scrollbar */

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

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

.custom-modal-dialog::-webkit-scrollbar-thumb {
    background: #D61F2C;
    border-radius: 999px;
    border: 2px solid #050A14;
}

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

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

@keyframes modalPop {

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

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

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

@media (max-width:600px) {

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

    .styled-button {
        font-size: 16px;
        letter-spacing: .06em;
        border-radius: 14px;
    }

    #ScrollingBanner {
        font-size: 21px;
        letter-spacing: .08em;
    }

    .custom-modal {
        padding: 10px;
    }

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