/* ==========================================================================
   BOY PAGEANT - MINIMAL TEASER LANDING PAGE
   Boy Scouts of America Uniform Aesthetic
   Author: Michael Aylesworth
   ========================================================================== */

:root {
    --color-khaki-light: #e8dbbe;
    --color-khaki-base: #cbb48f;
    --color-khaki-dark: #a68e69;
    --color-pine-dark: #1b2a1d;
    --color-pine-base: #2c422f;
    --color-scarlet-base: #a62424;
    --color-scarlet-dark: #7a1515;
    --color-brass-base: #c29b38;
    --color-brass-shine: #fae188;
    --color-paper-light: #f9f5ec;
    --color-ink-black: #161816;

    --font-heading: 'Graduate', serif;
    --font-typewriter: 'Courier Prime', monospace;
    --font-body: 'Outfit', sans-serif;

    --shadow-pocket: 0 15px 40px rgba(0, 0, 0, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body.scout-theme {
    background-color: #172218;
    background-image: 
        radial-gradient(circle at 50% 30%, rgba(62, 89, 66, 0.45), transparent 70%),
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 2px, transparent 2px, transparent 4px);
    color: var(--color-ink-black);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    padding: 2rem 1rem;
}

/* Background Fabric Texture */
.canvas-shirt-backdrop {
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(203, 180, 143, 0.95), rgba(166, 142, 105, 0.92)),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04) 1px, transparent 1px, transparent 3px);
    z-index: -1;
    pointer-events: none;
}

/* Main Teaser Container */
.teaser-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 820px;
    margin: auto 0;
}

.stitched-border-container {
    width: 100%;
    border: 3px dashed rgba(74, 52, 28, 0.5);
    border-radius: 16px;
    padding: 2rem;
    background: rgba(203, 180, 143, 0.3);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.15);
}

.main-teaser-card {
    background: linear-gradient(160deg, #d8c3a2, #beaa88);
    border: 2px solid rgba(80, 56, 30, 0.4);
    border-radius: 14px;
    position: relative;
    box-shadow: var(--shadow-pocket);
    padding: 3.5rem 2.5rem 3rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.main-teaser-card::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1.5px dashed rgba(80, 56, 30, 0.4);
    border-radius: 10px;
    pointer-events: none;
}

/* Pocket Flap & Brass Button */
.pocket-flap {
    position: absolute;
    top: -1px;
    left: 25%;
    right: 25%;
    height: 42px;
    background: linear-gradient(180deg, #bfa986, #a48f6e);
    border: 2px solid rgba(80, 56, 30, 0.5);
    border-top: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 10;
}

.brass-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--color-brass-shine), var(--color-brass-base), #785d19);
    border: 1px solid #57400d;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.6);
    position: relative;
}

.brass-button::before {
    content: '••';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    color: #4a360a;
    letter-spacing: -1px;
}

/* Header Text */
.book-teaser-header {
    margin-top: 0.5rem;
}

.book-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    color: var(--color-pine-dark);
    line-height: 1.05;
    letter-spacing: 4px;
    text-shadow: 2px 2px 0px rgba(238, 223, 202, 0.9), 4px 4px 12px rgba(0, 0, 0, 0.15);
}

.book-author {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    color: #3b2b18;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.book-author span {
    font-weight: 700;
    color: var(--color-scarlet-dark);
    font-family: var(--font-heading);
}

/* Patch Image Display */
.patch-container {
    position: relative;
    display: inline-block;
    padding: 0.5rem;
}

.scout-patch-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 14px 35px rgba(0,0,0,0.55), inset 0 0 20px rgba(0,0,0,0.4);
    border: 7px solid var(--color-pine-dark);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.scout-patch-img:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 18px 40px rgba(0,0,0,0.65);
}

.patch-stitch-ring {
    position: absolute;
    inset: 14px;
    border: 2px dashed var(--color-brass-shine);
    border-radius: 50%;
    pointer-events: none;
}

/* Status Badge */
.status-badge-row {
    margin-top: 0.5rem;
}

.status-badge {
    background: linear-gradient(135deg, var(--color-scarlet-base), var(--color-scarlet-dark));
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 0.6rem 2rem;
    border-radius: 30px;
    letter-spacing: 3px;
    border: 1.5px solid var(--color-brass-shine);
    box-shadow: 0 4px 15px rgba(166, 36, 36, 0.4);
    display: inline-block;
}

/* Minimal Footer */
.minimal-footer {
    font-family: var(--font-typewriter);
    font-size: 0.8rem;
    color: #9cb5a0;
    text-align: center;
    margin-top: 2rem;
    letter-spacing: 1px;
}

/* Responsive Scaling */
@media (max-width: 600px) {
    .book-title {
        font-size: 2.6rem;
    }
    .book-author {
        font-size: 1rem;
    }
    .scout-patch-img {
        width: 240px;
        height: 240px;
    }
    .pocket-flap {
        left: 15%;
        right: 15%;
    }
}
