/* Shared site shell: design tokens, reset, header, nav, buttons.
   Loaded before page-specific styles on /demo/ and /demo-images/. */
:root {
    --bg: #0B0B0C;
    --surface: #111113;
    --surface-elevated: #1a1a1d;
    --muted: #BFBFBF;
    --muted-light: #E8E8E8;
    --accent-red: #ED1C24;
    --accent-red-glow: rgba(237, 28, 36, 0.3);
    --accent-gold: #FFC90E;
    --accent-gold-glow: rgba(255, 201, 14, 0.25);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-heavy: rgba(255, 255, 255, 0.06);
    --card: linear-gradient(135deg, rgba(255, 255, 255, 0.02)0%, rgba(0, 0, 0, 0.03)100%);
    --card-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.04)0%, rgba(0, 0, 0, 0.05)100%);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --maxw: 1200px;
    --header-height: 72px;
    --footer-height: 50px;
}

/* === GLOBAL RESET & TYPOGRAPHY === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    color: #F4F4F4;
    line-height: 1.6;
    font-family: 'Inter', system-ui, sans-serif;
    color-scheme: dark;
    overflow: hidden;
    /* Prevent body scroll */
}

body {
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(237, 28, 36, 0.15), transparent 50%), radial-gradient(ellipse 50% 30% at 100% 100%, rgba(255, 201, 14, 0.1), transparent 50%), linear-gradient(180deg, var(--bg)0%, #080809 100%);
    background-attachment: fixed;
    position: relative;
}

/* Subtle Dither Noise to prevent banding */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site {
    height: calc(100vh - var(--header-height, 72px));
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Buttons (from main page) */
.btn{
    display:inline-flex;align-items:center;justify-content:center;
    padding:12px 20px;border-radius:12px;border:0;cursor:pointer;
    font-weight:600;font-size:13px;transition:all .3s;
    position:relative;overflow:hidden;backdrop-filter:blur(10px);
    text-decoration:none;white-space:nowrap
}
.btn::before{
    content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);
    transition:left .6s
}
.btn:hover::before{left:100%}
.btn-primary{
    background:linear-gradient(135deg,var(--accent-red),#d0181f);
    color:#fff;box-shadow:0 8px 25px rgba(237,28,36,.25)
}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(237,28,36,.35)}
.btn-outline{
    background:transparent;border:1.5px solid rgba(255,201,14,.25);
    color:var(--accent-gold);box-shadow:0 4px 15px rgba(255,201,14,.1)
}
.btn-outline:hover{border-color:rgba(255,201,14,.4);box-shadow:0 8px 25px rgba(255,201,14,.2);background:rgba(255,201,14,.05)}
.btn-sm{padding:10px 16px;font-size:12px}

