/*
    SteveKraft.com Shared Seasonal System
    full    = major brand / entry pages
    subtle  = content pages
    utility = config / admin / file pages
*/

body {
    --seasonal-image: none;
    --seasonal-overlay-top: rgba(4,10,18,.68);
    --seasonal-overlay-bottom: rgba(4,10,18,.88);
}

body[data-website-theme="newyear"] {
    --seasonal-image: url("/Graphics/Holidays/NewYear/newyear-background.jpg");
}

body[data-website-theme="valentines"] {
    --seasonal-image: url("/Graphics/Holidays/Valentines/valentines-background.jpg");
}

body[data-website-theme="presidents"] {
    --seasonal-image: url("/Graphics/Holidays/Presidents/presidents-background.jpg");
}

body[data-website-theme="stpatricks"] {
    --seasonal-image: url("/Graphics/Holidays/StPatricks/stpatricks-background.jpg");
}

body[data-website-theme="memorial"] {
    --seasonal-image: url("/Graphics/Holidays/MemorialDay/memorial-background.jpg");
}

body[data-website-theme="fourthofjuly"] {
    --seasonal-image: url("/Graphics/Holidays/FourthOfJuly/fourth-background.jpg");
}

body[data-website-theme="laborday"] {
    --seasonal-image: url("/Graphics/Holidays/LaborDay/labor-day-background.jpg");
}

body[data-website-theme="halloween"] {
    --seasonal-image: url("/Graphics/Holidays/Halloween/halloween-background.png");
}

body[data-website-theme="thanksgiving"] {
    --seasonal-image: url("/Graphics/Holidays/Thanksgiving/thanksgiving-background.jpg");
}

body[data-website-theme="christmas"] {
    --seasonal-image: url("/Graphics/Holidays/Christmas/christmas-background.jpg");
}

/* SPORTS / 2J ------------------------------------------------ */

body[data-website-theme="sports2j"] {
    --green: #f2d100;
    --sports-yellow: #f2d100;
    --sports-yellow-bright: #ffe600;
    --sports-black: #080909;
    --sports-white: #f7f7f4;

    border: 5px solid var(--sports-yellow);
    box-shadow:
        inset 0 0 0 3px #080909,
        inset 0 0 0 5px rgba(242,209,0,.78),
        0 0 34px rgba(242,209,0,.20);

    background-image:
        linear-gradient(
            135deg,
            rgba(242,209,0,.05) 0,
            rgba(242,209,0,.05) 12px,
            transparent 12px,
            transparent 28px
        );
}

body[data-website-theme="sports2j"]::before {
    content: "2J   •   630 AUTO";
    position: fixed;
    top: 8px;
    right: 12px;
    z-index: 99999;
    pointer-events: none;

    padding: 6px 13px;

    color: #080909;
    background:
        linear-gradient(
            135deg,
            #ffe600,
            #f2d100 60%,
            #d5b900
        );

    border: 2px solid #080909;
    border-radius: 5px;

    box-shadow:
        0 0 0 2px #f2d100,
        0 6px 22px rgba(0,0,0,.55);

    font-family: "Segoe UI",Arial,sans-serif;
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body[data-website-theme="sports2j"]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;

    border: 2px solid rgba(8,9,9,.95);

    background:
        linear-gradient(
            90deg,
            #f2d100 0 18%,
            #080909 18% 25%,
            #f2d100 25% 43%,
            transparent 43%
        )
        top left / 240px 4px no-repeat,

        linear-gradient(
            90deg,
            transparent 0 57%,
            #f2d100 57% 75%,
            #080909 75% 82%,
            #f2d100 82% 100%
        )
        bottom right / 240px 4px no-repeat;
}

body[data-website-theme="sports2j"] .site-header {
    border-bottom-color: rgba(242,209,0,.60);
    box-shadow: 0 8px 28px rgba(0,0,0,.30);
}

body[data-website-theme="sports2j"] .brand-badge,
body[data-website-theme="sports2j"] .ai-logo,
body[data-website-theme="sports2j"] .assistant .avatar {
    color: #080909;
    background:
        linear-gradient(
            135deg,
            #ffe600,
            #d7ba00
        );
}

body[data-website-theme="sports2j"] .eyebrow,
body[data-website-theme="sports2j"] .card-link {
    color: #ffe600;
}

body[data-website-theme="sports2j"] .button.primary,
body[data-website-theme="sports2j"] #send {
    color: #080909;
    background:
        linear-gradient(
            135deg,
            #ffe600,
            #d7ba00
        );
}

body[data-website-theme="sports2j"] .card:hover {
    border-color: rgba(242,209,0,.58);
}

body[data-seasonal-content="home"][data-website-theme="sports2j"] .hero h1 {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #ffe600 38%,
            #f2d100 68%,
            #ffffff
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-website-theme="sports2j"] .seasonal-symbols {
    color: #ffe600;
    font-weight: 900;
    font-style: italic;
    letter-spacing: .16em;

    text-shadow:
        3px 3px 0 #080909,
        0 0 20px rgba(242,209,0,.32);
}

/* SPORTS / 2J HOMEPAGE -------------------------------------- */

.sports2j-home {
    display:none;
}

body[data-website-theme="sports2j"] .sports2j-home {
    display:block;
}

body[data-website-theme="sports2j"] main > .hero {
    display:none;
}

body[data-website-theme="sports2j"]::before {
    content:none !important;
    display:none !important;
}

/* APPROVED RESPONSIVE ARTWORK */

body[data-website-theme="sports2j"] .sports2j-showcase {
    position:relative;
    width:min(1672px,100%);
    margin:0 auto;
    overflow:hidden;
    background:#050708;
    border-bottom:2px solid #ffe600;

    box-shadow:
        0 18px 50px rgba(0,0,0,.48),
        0 0 28px rgba(255,220,0,.10);
}

body[data-website-theme="sports2j"]
.sports2j-showcase-image {
    display:block;
    width:100%;
    height:auto;
}

/* CLICKABLE AREAS OVER ARTWORK */

body[data-website-theme="sports2j"]
.sports2j-hotspot {
    position:absolute;
    z-index:5;
    display:block;
    border-radius:8px;
    cursor:pointer;
}

body[data-website-theme="sports2j"]
.sports2j-hotspot:hover {
    background:rgba(255,230,0,.06);

    box-shadow:
        inset 0 0 0 2px rgba(255,230,0,.50),
        0 0 16px rgba(255,230,0,.12);
}

body[data-website-theme="sports2j"]
.sports2j-hotspot:focus-visible {
    outline:3px solid #ffe600;
    outline-offset:-3px;
}

/* LOGO */

.sports2j-hs-brand {
    left:3.2%;
    top:3.1%;
    width:26.5%;
    height:9.7%;
}

/* ARTWORK TOP NAV */

.sports2j-hs-ai-nav {
    left:33.4%;
    top:4.4%;
    width:5.3%;
    height:7.5%;
}

.sports2j-hs-stream-nav {
    left:39.3%;
    top:4.4%;
    width:7.1%;
    height:7.5%;
}

.sports2j-hs-explore-nav {
    left:46.5%;
    top:4.4%;
    width:5.5%;
    height:7.5%;
}

.sports2j-hs-radio-nav {
    left:52.3%;
    top:4.4%;
    width:4.6%;
    height:7.5%;
}

.sports2j-hs-email-nav {
    left:57.3%;
    top:4.4%;
    width:5.2%;
    height:7.5%;
}

.sports2j-hs-ftp-nav {
    left:62.8%;
    top:4.4%;
    width:4.6%;
    height:7.5%;
}

/* FOUR ILLUSTRATED FEATURE PANELS */

.sports2j-hs-ai-card {
    left:2.9%;
    top:55.2%;
    width:22.6%;
    height:32.7%;
}

.sports2j-hs-stream-card {
    left:26.2%;
    top:55.2%;
    width:22.7%;
    height:32.7%;
}

.sports2j-hs-radio-card {
    left:49.8%;
    top:55.2%;
    width:22.5%;
    height:32.7%;
}

.sports2j-hs-media-card {
    left:73.2%;
    top:55.2%;
    width:22.6%;
    height:32.7%;
}

/* REAL MOBILE TAP TARGETS */

body[data-website-theme="sports2j"]
.sports2j-mobile-links {
    display:none;
}

/* EXISTING WEBSITE CONTENT SPORTS ACCENTS */

body[data-website-theme="sports2j"]
.section-heading h2 {
    color:#fff;
}

body[data-website-theme="sports2j"]
.ai-shell,
body[data-website-theme="sports2j"]
.feature-box,
body[data-website-theme="sports2j"]
.card {
    border-color:rgba(255,230,0,.28);
}

body[data-website-theme="sports2j"] footer {
    border-top-color:rgba(255,230,0,.42);
}

/* MOBILE */

@media (max-width:700px) {

    /*
       Image remains responsive, but tiny image-map controls
       are disabled in favor of large accessible buttons.
    */

    body[data-website-theme="sports2j"]
    .sports2j-image-links {
        display:none;
    }

    body[data-website-theme="sports2j"]
    .sports2j-mobile-links {
        display:grid;
        grid-template-columns:1fr;
        gap:10px;

        width:min(94%,600px);

        padding-top:14px;
        padding-bottom:10px;
    }

    body[data-website-theme="sports2j"]
    .sports2j-mobile-links a {
        display:flex;
        flex-direction:column;
        gap:3px;

        padding:14px 16px;

        border:1px solid rgba(255,230,0,.62);
        border-radius:12px;

        background:
            linear-gradient(
                145deg,
                rgba(14,19,23,.98),
                rgba(5,9,12,.98)
            );
    }

    body[data-website-theme="sports2j"]
    .sports2j-mobile-links strong {
        color:#fff;
        font-size:17px;
    }

    body[data-website-theme="sports2j"]
    .sports2j-mobile-links span {
        color:#ffe600;
        font-size:11px;
        font-weight:800;
        letter-spacing:.06em;
        text-transform:uppercase;
    }
}
/* FULL HERO */
body[data-seasonal-level="full"][data-website-theme]:not([data-website-theme="normal"]) .hero {
    background:
        linear-gradient(
            var(--seasonal-overlay-top),
            var(--seasonal-overlay-bottom)
        ),
        var(--seasonal-image)
        center center / cover no-repeat;
}

/* SUBTLE HERO */
body[data-seasonal-level="subtle"][data-website-theme]:not([data-website-theme="normal"]) .hero {
    position: relative;
}

body[data-seasonal-level="subtle"][data-website-theme]:not([data-website-theme="normal"]) .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(4,10,18,.84),
            rgba(4,10,18,.94)
        ),
        var(--seasonal-image)
        center center / cover no-repeat;
    opacity: .45;
    pointer-events: none;
}

body[data-seasonal-level="subtle"] .hero > * {
    position: relative;
    z-index: 1;
}

/* UTILITY */
body[data-seasonal-level="utility"][data-website-theme]:not([data-website-theme="normal"]) {
    border-top: 3px solid var(--green,#5ebcff);
}

/* SHARED BADGE */
.site-seasonal-badge {
    display: none;
    margin: 8px 0 14px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .85;
}

body[data-website-theme]:not([data-website-theme="normal"]) .site-seasonal-badge {
    display: inline-block;
}

/* HOMEPAGE ARTWORK / SYMBOLS */
#seasonal-artwork {
    display: none;
    margin: 0 auto 18px;
}

#seasonal-artwork.active {
    display: block;
}

#seasonal-artwork img {
    display: block;
    max-width: min(620px,94%);
    max-height: 220px;
    width: auto;
    height: auto;
    margin: 0 auto 12px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.45));
}

.seasonal-symbols {
    font-size: clamp(42px,8vw,78px);
    line-height: 1.2;
    letter-spacing: .12em;
    margin-bottom: 8px;
    filter: drop-shadow(0 8px 22px rgba(0,0,0,.35));
}

/* HOLIDAY ACCENTS */
body[data-website-theme="newyear"] {
    --green: #f4d35e;
}

body[data-website-theme="valentines"] {
    --green: #fb7185;
}

body[data-website-theme="stpatricks"] {
    --green: #22c55e;
}

body[data-website-theme="presidents"],
body[data-website-theme="memorial"],
body[data-website-theme="fourthofjuly"] {
    --green: #3b82f6;
}

body[data-website-theme="laborday"] {
    --green: #60a5fa;
}

body[data-website-theme="thanksgiving"] {
    --green: #ea8a2f;
}

body[data-website-theme="halloween"] {
    --green: #ff8a1f;
}

body[data-website-theme="christmas"] {
    --green: #32c766;
}

body[data-website-theme="newyear"] .eyebrow,
body[data-website-theme="newyear"] .card-link {
    color: #f4d35e;
}

body[data-website-theme="valentines"] .eyebrow,
body[data-website-theme="valentines"] .card-link {
    color: #fda4af;
}

body[data-website-theme="stpatricks"] .eyebrow,
body[data-website-theme="stpatricks"] .card-link {
    color: #86efac;
}

body[data-website-theme="presidents"] .eyebrow,
body[data-website-theme="memorial"] .eyebrow,
body[data-website-theme="fourthofjuly"] .eyebrow,
body[data-website-theme="presidents"] .card-link,
body[data-website-theme="memorial"] .card-link,
body[data-website-theme="fourthofjuly"] .card-link {
    color: #93c5fd;
}

body[data-website-theme="laborday"] .eyebrow,
body[data-website-theme="laborday"] .card-link {
    color: #93c5fd;
}

body[data-website-theme="thanksgiving"] .eyebrow,
body[data-website-theme="thanksgiving"] .card-link {
    color: #fdba74;
}

body[data-website-theme="halloween"] .eyebrow,
body[data-website-theme="halloween"] .card-link {
    color: #ffb25e;
}

body[data-website-theme="christmas"] .eyebrow,
body[data-website-theme="christmas"] .card-link {
    color: #8fe3ad;
}

/* HOMEPAGE TITLE GRADIENTS */
body[data-seasonal-content="home"][data-website-theme="newyear"] .hero h1 {
    background: linear-gradient(90deg,#fff,#f4d35e,#93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-seasonal-content="home"][data-website-theme="valentines"] .hero h1 {
    background: linear-gradient(90deg,#fff,#fda4af,#f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-seasonal-content="home"][data-website-theme="stpatricks"] .hero h1 {
    background: linear-gradient(90deg,#fff,#86efac,#facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-seasonal-content="home"][data-website-theme="presidents"] .hero h1,
body[data-seasonal-content="home"][data-website-theme="memorial"] .hero h1,
body[data-seasonal-content="home"][data-website-theme="fourthofjuly"] .hero h1 {
    background: linear-gradient(90deg,#ef4444,#fff,#60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-seasonal-content="home"][data-website-theme="laborday"] .hero h1 {
    background: linear-gradient(90deg,#fff,#93c5fd,#fca5a5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-seasonal-content="home"][data-website-theme="thanksgiving"] .hero h1 {
    background: linear-gradient(90deg,#fff,#fdba74,#facc15);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-seasonal-content="home"][data-website-theme="halloween"] .hero h1 {
    background: linear-gradient(90deg,#fff,#ffb347,#b690ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-seasonal-content="home"][data-website-theme="christmas"] .hero h1 {
    background: linear-gradient(90deg,#fff,#70e59a,#f4d35e,#ff6b72);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-website-theme="halloween"] .brand-badge,
body[data-website-theme="halloween"] .ai-logo,
body[data-website-theme="halloween"] .assistant .avatar {
    background: linear-gradient(135deg,#ffb347,#ff8a1f);
    color: #190c02;
}

body[data-website-theme="christmas"] .brand-badge,
body[data-website-theme="christmas"] .ai-logo,
body[data-website-theme="christmas"] .assistant .avatar {
    background: linear-gradient(135deg,#45d483,#198754);
    color: #04150b;
}

body[data-website-theme="halloween"] #send,
body[data-website-theme="halloween"] .button.primary {
    background: linear-gradient(135deg,#ff8a1f,#d85b13);
}

body[data-website-theme="christmas"] #send,
body[data-website-theme="christmas"] .button.primary {
    background: linear-gradient(135deg,#1f9d55,#13763f);
}

/* AI THINKING */
#status.ai-thinking {
    color: #ffd166 !important;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .3px;
    text-shadow:
        0 0 8px rgba(255,209,102,.85),
        0 0 18px rgba(255,209,102,.45);
    animation: aiThinkingPulse 1s ease-in-out infinite;
}

@keyframes aiThinkingPulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(1.04);
    }
}

@media (max-width:760px) {
    #seasonal-artwork img {
        max-width: 90%;
        max-height: 170px;
    }

    .seasonal-symbols {
        letter-spacing: .04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    #status.ai-thinking {
        animation: none;
    }
}
/* SPORTS2J MOBILE CONTAINMENT FIX */

@media (max-width:700px) {

    /*
       Keep every Sports / 2J element inside the actual
       mobile viewport. Desktop is intentionally untouched.
    */

    body[data-website-theme="sports2j"] {
        width:100%;
        max-width:100vw;
        min-width:0;
        overflow-x:hidden;
    }

    body[data-website-theme="sports2j"] main,
    body[data-website-theme="sports2j"] .sports2j-home,
    body[data-website-theme="sports2j"] .section,
    body[data-website-theme="sports2j"] footer {
        width:100%;
        max-width:100%;
        min-width:0;
        overflow-x:hidden;
    }

    /*
       The approved 1672px artwork becomes a normal
       responsive image instead of influencing page width.
    */

    body[data-website-theme="sports2j"]
    .sports2j-showcase {
        display:block;

        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;

        margin:0 !important;
        padding:0 !important;

        overflow:hidden !important;
    }

    body[data-website-theme="sports2j"]
    .sports2j-showcase-image {
        display:block;

        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;

        height:auto !important;

        margin:0 !important;

        object-fit:contain;
    }

    /*
       Hotspots inside the graphic are deliberately disabled
       on phones. Large touch controls below replace them.
    */

    body[data-website-theme="sports2j"]
    .sports2j-image-links {
        display:none !important;
    }

    /*
       Restore ordinary responsive containers for all of the
       real homepage content underneath the artwork.
    */

    body[data-website-theme="sports2j"]
    .container {
        width:92% !important;
        max-width:92% !important;
        min-width:0 !important;

        margin-left:auto !important;
        margin-right:auto !important;
    }

    /*
       Four proper phone-sized Sports buttons.
    */

    body[data-website-theme="sports2j"]
    .sports2j-mobile-links {
        display:grid !important;
        grid-template-columns:1fr !important;

        width:92% !important;
        max-width:560px !important;
        min-width:0 !important;

        gap:10px !important;

        margin:0 auto !important;

        padding:
            14px 0
            8px !important;
    }

    body[data-website-theme="sports2j"]
    .sports2j-mobile-links a {
        display:flex !important;
        flex-direction:column !important;

        width:100% !important;
        min-width:0 !important;

        gap:4px !important;

        padding:
            15px
            16px !important;

        border:
            1px solid
            rgba(255,230,0,.72) !important;

        border-radius:12px !important;

        background:
            linear-gradient(
                145deg,
                #10161c,
                #070a0d
            ) !important;

        box-shadow:
            0 7px 20px rgba(0,0,0,.30) !important;
    }

    body[data-website-theme="sports2j"]
    .sports2j-mobile-links strong {
        display:block;

        color:#ffffff !important;

        font-size:17px !important;
        line-height:1.2 !important;
    }

    body[data-website-theme="sports2j"]
    .sports2j-mobile-links span {
        display:block;

        color:#ffe600 !important;

        font-size:11px !important;
        line-height:1.35 !important;

        font-weight:800 !important;

        letter-spacing:.06em !important;
    }

    /*
       Functional areas below the graphic.
    */

    body[data-website-theme="sports2j"]
    .ai-shell,
    body[data-website-theme="sports2j"]
    #chat,
    body[data-website-theme="sports2j"]
    .chat-input,
    body[data-website-theme="sports2j"]
    .stream-feature,
    body[data-website-theme="sports2j"]
    .feature-box,
    body[data-website-theme="sports2j"]
    .grid,
    body[data-website-theme="sports2j"]
    .card {
        max-width:100% !important;
        min-width:0 !important;
    }

    body[data-website-theme="sports2j"]
    .stream-feature {
        grid-template-columns:1fr !important;
    }

    body[data-website-theme="sports2j"]
    .grid {
        grid-template-columns:1fr !important;
    }

    /*
       Slightly reduce the decorative outer frame on a phone
       so it cannot consume or extend the viewport.
    */

    body[data-website-theme="sports2j"] {
        border-width:2px;
    }
}
