/* Retro Classless CSS Framework - 70s/80s Style */

:root {
    --primary: #d97706;
    --primary-dark: #b45309;
    --secondary: #f59e0b;
    --accent: #8b5cf6;
    --text: #292524;
    --text-secondary: #78716c;
    --bg: #fef3c7;
    --bg-secondary: #fde68a;
    --border: #d97706;
    --max-width: 900px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: 'Courier New', 'Lucida Console', monospace;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(217, 119, 6, 0.03) 35px,
            rgba(217, 119, 6, 0.03) 70px
        );
}

.selector-container {
    background-color: var(--bg-secondary);
    border: 4px solid var(--primary);
    color: var(--text);
    border-radius: 12px;
    box-shadow: 8px 8px 0 rgba(217, 119, 6, 0.2);
}

.selector-container h2 {
    color: var(--primary);
    border-bottom: 3px dotted var(--accent);
    padding-bottom: 0.75rem;
    font-size: 1.6rem;
    text-shadow: 2px 2px 0 rgba(139, 92, 246, 0.1);
}

.selector-container label {
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.selector-container select {
    background-color: #fff8dc;
    color: var(--text);
    border: 3px solid var(--primary);
    border-radius: 6px;
}

.selector-container select:focus {
    border-color: var(--accent);
    outline: none;
    background-color: #fffacd;
}

.status {
    background-color: rgba(245, 158, 11, 0.2);
    border-left: 5px solid var(--accent);
    color: var(--text);
    border-radius: 6px;
}

.demo-content {
    background-color: var(--bg-secondary);
    border: 4px solid var(--primary);
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 8px 8px 0 rgba(217, 119, 6, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Courier New', monospace;
    font-weight: 900;
    line-height: 1.3;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(139, 92, 246, 0.1);
}

h1 {
    font-size: 2.2rem;
    margin-top: 0;
    border: 3px solid var(--primary);
    padding: 0.5rem;
    background-color: rgba(217, 119, 6, 0.05);
}

h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; color: var(--accent); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: underline wavy var(--accent);
    font-weight: bold;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent);
    text-decoration: underline double;
}

strong, b {
    font-weight: 900;
    color: var(--primary);
    text-shadow: 1px 1px 0 var(--secondary);
}

em, i {
    font-style: italic;
    color: var(--accent);
}

small {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

li {
    margin: 0.75rem 0;
    color: var(--text-secondary);
}

/* Forms */
select, button {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: 3px solid var(--text);
    cursor: pointer;
    margin: 1rem 0.5rem 1rem 0;
    font-weight: 900;
    transition: all 0.2s ease;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 var(--accent);
}

button:hover {
    background-color: var(--secondary);
    border-color: var(--primary);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--accent);
}

button:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--accent);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 900;
    color: var(--text);
    font-size: 0.9rem;
}

/* Utilities */
[hidden] {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
}
