/* Snarf Off '26 (30th Anniversary) landing page styles.
   Sky-blue accent extracted from the "Snarf Off '26" PDF artwork.
   Borrows layout patterns from snarfboard-2019.css. */

:root {
    --so-blue:        #4FC3F7;
    --so-blue-deep:   #1E88E5;
    --so-blue-dark:   #0D47A1;
    --so-yellow:      #ffde16;
    --so-cream:       #fff8e1;
    --so-ink:         #0a1f44;
}

.toast {
    color: #000;
    background-color: #fff;
}

#snarfoff {
    background: var(--so-cream);
    padding-top: 48px;
}
@media only screen and (min-width: 481px) {
    #snarfoff { padding-top: 56px; }
}
@media only screen and (min-width: 601px) {
    #snarfoff { padding-top: 64px; }
}
@media only screen and (min-width: 993px) {
    #snarfoff { padding-top: 120px; }
}

/* ---------- HERO ---------- */
#snarfoff .so-hero {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
}
#snarfoff .so-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    /* filter: blur(3px) brightness(.78); */
    transform: scale(1.04); /* hide blur edge bleed */
    z-index: 0;
}
#snarfoff .so-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    /* background:
        linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.30) 100%),
        linear-gradient(180deg, rgba(13,71,161,.55) 0%, rgba(30,136,229,.40) 60%, rgba(79,195,247,.50) 100%);
    */
        z-index: 1;
}
#snarfoff .so-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 1rem 3rem;
}
#snarfoff .so-lockup {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
#snarfoff .so-eyebrow {
    display: inline-block;
    background: var(--so-yellow);
    color: var(--so-ink);
    text-shadow: none;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: .85rem;
    margin-bottom: 1rem;
}
#snarfoff .so-eyebrow sup { font-size: .65em; }
#snarfoff .so-title {
    font-family: 'snarfs', Arial, sans-serif;
    font-weight: 400;
    font-size: 5rem;
    letter-spacing: .04em;
    margin: 0 0 .25rem;
    text-transform: uppercase;
}
#snarfoff .so-title .so-year {
    color: var(--so-yellow);
}
#snarfoff .so-tagline {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.25;
    margin: .25rem 0 1rem;
}
#snarfoff .so-tagline em {
    font-style: italic;
    color: var(--so-yellow);
    text-shadow: 0 2px 6px rgba(0,0,0,.55);
}
#snarfoff .so-dates {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
}
#snarfoff .so-cta {
    background-color: var(--so-yellow) !important;
    color: var(--so-ink) !important;
    text-shadow: none;
    font-weight: 700;
    letter-spacing: .05em;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
#snarfoff .so-cta:hover {
    background-color: #fff176 !important;
}

/* ---------- INTRO ---------- */
#snarfoff .so-intro {
    background: #fff;
    padding: 3rem 0;
    color: var(--so-ink);
}
#snarfoff .so-intro h2 {
    font-weight: 700;
    color: var(--so-blue-dark);
    margin-top: 0;
}
#snarfoff .so-intro .celebrating {
    font-family: 'snarfs', Arial, sans-serif;
    font-size: 125%;
}
#snarfoff .so-intro .so-window {
    margin-top: 1.5rem;
    color: var(--so-blue-dark);
    font-weight: 700;
}

#snarfoff .plax-burst {
    position: relative;
    margin: 8rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#snarfoff .plax-burst svg {
    position: absolute;
    z-index: 1;
    height: 350%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#snarfoff .plax-burst svg .burst {
    fill: #ffde16;
}

#snarfoff .plax-burst h3 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    text-shadow: -5px 5px 2px #fff;
    margin: 0;
    max-width: 600px;
}

/* ---------- FORM ---------- */
#snarfoff .so-form-section {
    background: var(--so-blue);
    background-image: linear-gradient(180deg, var(--so-blue) 0%, var(--so-blue-deep) 100%);
    padding: 3rem 0 4rem;
    color: #fff;
}
#snarfoff .so-form-section h3,
#snarfoff .so-form-section h5,
#snarfoff .so-form-section h6,
#snarfoff .so-form-section p,
#snarfoff .so-form-section label,
#snarfoff .so-form-section i {
    color: #fff;
}
#snarfoff .so-form-section .rules a,
#snarfoff .so-form-section a { color: var(--so-yellow); text-decoration: underline; }

/* ---------- FORM FIELDS (plain, non-Materialize) ---------- */
#snarfoff .so-form-section .so-field {
    margin: 0 0 1.25rem;
}
#snarfoff .so-form-section .so-field > label {
    display: block;
    color: #fff !important;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
    margin-bottom: .35rem;
}
#snarfoff .so-form-section .so-field > label sup {
    color: var(--so-yellow);
    font-weight: 700;
}
#snarfoff .so-form-section .so-field input[type=text],
#snarfoff .so-form-section .so-field input[type=email],
#snarfoff .so-form-section .so-field select,
#snarfoff .so-form-section .so-field textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    background: #fff;
    color: var(--so-ink);
    border: 1px solid var(--so-blue-dark);
    border-radius: 6px;
    padding: .65rem .75rem;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    box-shadow: 0 1px 0 rgba(0,0,0,.05) inset;
    transition: border-color .15s ease, box-shadow .15s ease;
}
#snarfoff .so-form-section .so-field textarea {
    resize: vertical;
    min-height: 120px;
}
#snarfoff .so-form-section .so-field input[type=text]:focus,
#snarfoff .so-form-section .so-field input[type=email]:focus,
#snarfoff .so-form-section .so-field select:focus,
#snarfoff .so-form-section .so-field textarea:focus {
    border-color: var(--so-yellow);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,222,22,.45);
}
#snarfoff .so-form-section .so-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--so-blue-dark) 50%),
        linear-gradient(135deg, var(--so-blue-dark) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 55%,
        calc(100% - 12px) 55%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.25rem;
}

/* ---------- INGREDIENT CHECKBOXES (plain, custom styled) ---------- */
#snarfoff .so-form-section label.so-ingredient {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: .25rem .25rem;
    color: #fff !important;
    cursor: pointer;
    user-select: none;
    line-height: 1.3;
}
#snarfoff .so-form-section label.so-ingredient input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: static;
    opacity: 1;
    pointer-events: auto;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--so-blue-dark);
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0,0,0,.1) inset;
    cursor: pointer;
    transform: none;
}
#snarfoff .so-form-section label.so-ingredient input[type=checkbox]:checked {
    background: var(--so-yellow);
    border-color: var(--so-blue-dark);
}
#snarfoff .so-form-section label.so-ingredient input[type=checkbox]:checked::after {
    content: '';
    display: block;
    width: 5px;
    height: 10px;
    margin: 1px auto 0;
    border: solid var(--so-ink);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
#snarfoff .so-form-section label.so-ingredient input[type=checkbox]:focus-visible {
    outline: 3px solid rgba(255,222,22,.7);
    outline-offset: 2px;
}
#snarfoff .so-form-section label.so-ingredient span {
    color: #fff;
}

/* Legal disclaimer above the submit button */
#snarfoff .so-form-section .so-legal {
    margin: 1.5rem auto .75rem;
    max-width: 640px;
    font-size: .9rem;
    color: rgba(255,255,255,.95) !important;
    line-height: 1.5;
}

#snarfoff .so-required-note {
    display: inline-block;
    margin-bottom: .5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.85);
}
#snarfoff .so-required-note sup { color: var(--so-yellow); }

/* Ingredient checklist layout */
#snarfoff .so-ingredient-group {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}
#snarfoff .so-group-label {
    margin: 0 0 .75rem;
    color: var(--so-yellow) !important;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}
#snarfoff .so-ingredient-list {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
}
#snarfoff .so-form-section label.so-ingredient {
    flex: 0 0 auto;
    min-width: 180px;
}

/* Concluded state */
#snarfoff .so-concluded {
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

/* ---------- RULES PAGE ---------- */
#snarfoff.snarfoff-rules .so-hero {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#snarfoff.snarfoff-rules .so-hero-content {
    width: 100%;
    padding: 1.5rem 1rem;
}
#snarfoff.snarfoff-rules .so-title {
    font-size: 2.5rem;
}
#snarfoff .so-rules-body {
    background: #fff;
    padding: 3rem 0;
    color: var(--so-ink);
}
#snarfoff .so-rules-body p { line-height: 1.6; }
#snarfoff .so-rules-body a { color: var(--so-blue-deep); }

/* ---------- RESPONSIVE ---------- */
@media only screen and (max-width: 992px) {
    #snarfoff .so-title { font-size: 3.5rem; }
    #snarfoff .so-tagline { font-size: 1.65rem; }
    #snarfoff .so-hero { min-height: 380px; }
    #snarfoff .so-lockup { max-width: 560px; }
    #snarfoff .plax-burst { margin: 5rem 0; }
    #snarfoff .plax-burst svg { height: 200px; }
    #snarfoff .plax-burst h3 { font-size: 2rem; text-shadow: -3px 3px 2px #fff; max-width: 500px; }
}
@media only screen and (max-width: 600px) {
    #snarfoff .so-title { font-size: 2.4rem; }
    #snarfoff .so-tagline { font-size: 1.25rem; }
    #snarfoff .so-hero { min-height: 320px; }
    #snarfoff .so-hero-content { padding: 2.5rem 1rem 2rem; }
    #snarfoff .so-lockup { max-width: 360px; margin-bottom: .75rem; }
    #snarfoff .plax-burst { margin: 4rem 0; }
    #snarfoff .plax-burst svg { height: 150px; }
    #snarfoff .plax-burst h3 { font-size: 1.5rem; text-shadow: -2px 2px 2px #fff; max-width: 350px; }
    #snarfoff .so-form-section label.so-ingredient { min-width: 140px; }
    #snarfoff.snarfoff-rules .so-title { font-size: 1.7rem; }
}
