/* ADD THIS TO THE VERY TOP OF STYLE.CSS */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Stops horizontal scrolling on mobile */
    width: 100%;
}
/* NEO-BRUTALIST THEME */
:root {
    --bg-color: #FDFBF7;
    --text-color: #1A1A1A;
    --accent-red: #C04030;
    --border-thick: 3px solid #1A1A1A;
    --shadow-hard: 6px 6px 0px #1A1A1A;
    --shadow-deep: 12px 12px 0px #1A1A1A;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier Prime', monospace;
    margin: 0;
    padding: 20px;
    padding-bottom: 60px; /* Space for ticker */
}

h1, h2, h3 { font-family: 'Playfair Display', serif; margin: 0; }

/* HEADER */
.header-section { margin-bottom: 30px; position: relative; }
.header-top { 
    background: var(--accent-red); 
    color: white; 
    padding: 10px; 
    display: flex; 
    justify-content: space-between; 
    border: var(--border-thick);
}
.header-icons .square { 
    width: 10px; height: 10px; background: white; 
    display: inline-block; margin-right: 5px; 
    border: 1px solid black;
}
.main-title { font-size: 3rem; margin-top: 20px; }

/* TYPEIT LOCK (Prevents Jitter) */
.sub-headline { 
    font-size: 1.2rem; 
    min-height: 3.2em; 
    display: flex; 
    align-items: center; 
}

.urgent-stamp {
    position: absolute; top: 60px; right: 10px;
    border: 3px solid var(--accent-red);
    color: var(--accent-red);
    padding: 5px 15px;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    transform: rotate(-10deg);
    background: rgba(255,255,255,0.8);
}

/* FORM CONTAINER */
.container {
    max-width: 600px; margin: 0 auto;
    background: white;
    border: var(--border-thick);
    box-shadow: var(--shadow-deep);
    padding: 30px;
}
.form-header { text-align: center; margin-bottom: 20px; }
.dashed { border: 0; border-top: 2px dashed #000; margin: 20px 0; }

/* INPUTS */
label { display: block; font-weight: bold; margin-bottom: 8px; font-size: 0.9rem; }
input[type="text"], input[type="email"], textarea, select {
    width: 100%; padding: 12px;
    border: var(--border-thick);
    font-family: 'Courier Prime', monospace;
    box-sizing: border-box;
    margin-bottom: 10px;
    background: #fff;
}
textarea { min-height: 150px; }

/* SLIDER */
.slider-group { margin: 20px 0; }
.slider { 
    -webkit-appearance: none; width: 100%; height: 10px; 
    background: #ddd; border: 2px solid black; outline: none; 
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 25px; height: 25px; background: var(--accent-red);
    border: 2px solid black; cursor: pointer;
}
.slider-values { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: bold; margin-top: 5px; }

/* BUTTONS */
.main-btn {
    width: 100%; background: var(--accent-red); color: white;
    border: none; padding: 15px; font-size: 1.2rem; font-weight: bold;
    font-family: 'Courier Prime', monospace;
    border: var(--border-thick);
    box-shadow: var(--shadow-hard);
    cursor: pointer; margin-top: 20px;
}
.main-btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0px black; }

/* QUEUE & LINKS */
.queue-section { text-align: center; margin-top: 20px; font-size: 0.9rem; }
.queue-section span { background: black; color: white; padding: 2px 5px; }
.secondary-link { color: black; text-decoration: underline; display: block; margin-top: 10px; }
.bribe-text a { color: var(--accent-red); font-weight: bold; }
.fine-print { font-size: 0.7rem; text-align: center; margin-top: 20px; opacity: 0.7; }

/* TICKER */
.ticker-wrap {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: black; overflow: hidden; height: 40px;
    border-top: var(--border-thick);
}
.ticker { display: flex; width: max-content; }
.ticker__item {
    color: #00FF00; font-family: 'Courier Prime', monospace;
    font-size: 1rem; line-height: 40px; white-space: nowrap;
    padding-right: 50px;
    animation: ticker 30s linear infinite;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* FOOTER */
footer { text-align: center; margin-top: 50px; margin-bottom: 50px; }
.status-box {
    display: inline-block; border: var(--border-thick);
    padding: 10px; background: white; margin-top: 10px;
}
.highlight { background: var(--accent-red); color: white; padding: 2px 5px; }
.handwritten-footer {
    font-family: 'Permanent Marker', cursive; color: var(--accent-red);
    margin-top: 20px; font-size: 1.2rem;
    display: flex; justify-content: center; gap: 20px;
}

/* MODAL */
dialog { border: var(--border-thick); padding: 30px; max-width: 400px; text-align: center; box-shadow: var(--shadow-deep); }
.urgent-text { color: var(--accent-red); }
.share-btn { width: 100%; margin-bottom: 10px; padding: 10px; border: 2px solid black; cursor: pointer; font-weight: bold; }
.share-btn.twitter { background: #1DA1F2; color: white; }
.share-btn.linkedin { background: #0077b5; color: white; }
.close-btn { background: transparent; border: none; text-decoration: underline; cursor: pointer; margin-top: 10px; }

/* MOBILE */
@media (max-width: 600px) {
    .main-title { font-size: 2rem; }
    .handwritten-footer { flex-direction: column; gap: 5px; }
    .urgent-stamp { position: relative; top: 0; right: 0; display: inline-block; margin-bottom: 10px; }
}