/* === Voltage Kinetic Design System ===
 * Brutalist, high-contrast dark UI for SweatSquad Academy.
 */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: #131313;
    /* Subtle asphalt noise texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    color: #e4e2e1;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.font-headline,
.font-display {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.font-label-caps {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Material Symbols helpers */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.material-symbols-outlined.fill-icon {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Hide scrollbar for a cleaner mobile feel */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #444933;
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: #c3f400;
}

/* Selection */
::selection {
    background: #c3f400;
    color: #161e00;
}

/* === Messages === */
.message-error {
    background: #1a0a0a;
    border-left-color: #ffb4ab;
    color: #ffb4ab;
}
.message-success {
    background: #0f1a0e;
    border-left-color: #c3f400;
    color: #c3f400;
}
.message-info,
.message-warning {
    background: #1a1a1a;
    border-left-color: #e4e2e1;
    color: #e4e2e1;
}

/* === Brutalist Cards === */
.card-brutal {
    background-color: #1f2020;
    border: 1px solid #2a2a2a;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-brutal:hover {
    border-color: #c3f400;
}

/* === Volt Highlight === */
.volt-highlight {
    background-color: #c3f400;
    color: #161e00;
    padding: 2px 8px;
    display: inline-block;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    font-family: 'Anton', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: #c3f400;
    color: #161e00;
    border-color: #c3f400;
}

.btn-primary:hover {
    background: #131313;
    color: #c3f400;
}

.btn-secondary {
    background: transparent;
    color: #e4e2e1;
    border-color: #e4e2e1;
}

.btn-secondary:hover {
    background: #e4e2e1;
    color: #131313;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* === Forms / Inputs === */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    background: #1b1c1c;
    border: 2px solid #444933;
    color: #e4e2e1;
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    border-radius: 0;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #c3f400;
}

label {
    display: block;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: #c4c9ac;
    margin-bottom: 6px;
}

/* === Progress Bars === */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #2a2a2a;
    overflow: hidden;
}

.progress-bar > div {
    height: 100%;
    background: #c3f400;
    transition: width 0.5s ease;
}

/* === Badges === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
}

.badge-done {
    background: #c3f400;
    color: #161e00;
    border-color: #c3f400;
}

.badge-open {
    background: transparent;
    color: #c3f400;
    border-color: #c3f400;
}

.badge-locked {
    background: transparent;
    color: #666;
    border-color: #444;
}

/* === Video Wrapper === */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 2px solid #2a2a2a;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.no-video {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #0e0e0e;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* === Utilities === */
.text-balance { text-wrap: balance; }
