/* Memphis Design Classless CSS Framework */

:root {
    --primary: #ff006e;
    --secondary: #00d9ff;
    --accent-yellow: #ffbe0b;
    --accent-green: #08ffc8;
    --text: #001d3d;
    --text-secondary: #4a5568;
    --bg: #fff5f7;
    --bg-secondary: #ffffff;
    --border: #ff006e;
    --max-width: 900px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: linear-gradient(135deg, #fff5f7 0%, #f0e7ff 50%, #e7f5ff 100%);
    background-attachment: fixed;
}

.selector-container {
    background-color: var(--bg-secondary);
    border: 6px solid var(--primary);
    color: var(--text);
    border-radius: 30px;
    box-shadow: 12px 12px 0 rgba(0, 217, 255, 0.3);
    transform: rotate(-1deg);
}

.selector-container h2 {
    color: var(--primary);
    border-bottom: 4px dashed var(--accent-yellow);
    padding-bottom: 0.75rem;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 900;
}

.selector-container label {
    color: var(--text);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 0.85rem;
}

.selector-container select {
    background-color: var(--accent-yellow);
    color: var(--text);
    border: 4px solid var(--primary);
    border-radius: 16px;
    font-weight: bold;
}

.selector-container select:focus {
    border-color: var(--secondary);
    outline: none;
    background-color: #ffeb3b;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.3);
}

.status {
    background-color: var(--accent-green);
    border-left: 6px solid var(--primary);
    color: var(--text);
    border-radius: 16px;
}

.demo-content {
    background-color: var(--bg-secondary);
    border: 6px solid var(--secondary);
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 12px 12px 0 rgba(255, 0, 110, 0.3);
    transform: rotate(1deg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: 900;
    line-height: 1.2;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    transform: skewY(-2deg);
}

h1 {
    font-size: 2.4rem;
    margin-top: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 { font-size: 1.7rem; color: var(--primary); }
h3 { font-size: 1.4rem; color: var(--secondary); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

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

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 900;
    border-bottom: 3px dotted var(--secondary);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--secondary);
    border-bottom-color: var(--accent-yellow);
}

strong, b {
    font-weight: 900;
    color: var(--secondary);
    background-color: var(--accent-yellow);
    padding: 2px 4px;
}

em, i {
    font-style: italic;
    color: #001d3d;
    font-weight: 600;
}

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

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

ul li::marker {
    font-size: 1.5em;
    color: var(--accent-yellow);
}

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

/* Forms */
select, button {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1rem;
}

button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent-yellow));
    color: white;
    border: 4px dashed var(--secondary);
    cursor: pointer;
    margin: 1rem 0.5rem 1rem 0;
    font-weight: 900;
    transition: all 0.2s ease;
    border-radius: 16px;
    text-transform: uppercase;
    box-shadow: 6px 6px 0 var(--secondary);
    transform: rotate(-2deg);
}

button:hover {
    transform: rotate(-2deg) translateY(-3px);
    box-shadow: 8px 8px 0 var(--secondary);
}

button:active {
    transform: rotate(-2deg) translateY(0);
    box-shadow: 4px 4px 0 var(--secondary);
}

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

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

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

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.15rem; }

    .selector-container,
    .demo-content {
        transform: none;
    }

    button {
        transform: none;
    }

    button:hover {
        transform: translateY(-2px);
    }
}
