/* ===================================
   CSS Variables
   =================================== */

:root {
    --bg-deep: #0a0a0f;
    --bg-card: rgba(15, 15, 25, 0.95);
    --primary: #f5a623;
    --primary-glow: rgba(245, 166, 35, 0.4);
    --secondary: #4a9eff;
    --secondary-glow: rgba(74, 158, 255, 0.4);
    --accent: #dc3545;
    --success: #28a745;
    --text-cream: #f5f5dc;
    --text-muted: rgba(245, 245, 220, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ===================================
   Reset & Base
   =================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-cream);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    color: var(--primary);
    text-shadow: 0 0 60px var(--primary-glow);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero-quote {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 3rem;
    position: relative;
}

.hero-quote::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    line-height: 1.8;
    min-height: 120px;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.quote-author {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 1s ease;
}

.quote-author.visible {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(10px) rotate(45deg); }
}

/* ===================================
   Skills Grid
   =================================== */

.competencies {
    padding: 4rem 2rem;
    min-height: 100vh;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===================================
   Skill Cards
   =================================== */

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-glow), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--primary-glow);
}

.skill-card:hover::before {
    opacity: 0.1;
}

.skill-card:hover .card-icon {
    transform: scale(1.2);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: block;
}

.skill-card h2 {
    color: var(--text-cream);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.skill-card:hover h2 {
    color: var(--primary);
}

.card-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.practiced-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.skill-card.practiced .practiced-badge {
    opacity: 1;
    transform: scale(1);
}

/* ===================================
   Modal
   =================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-cream);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
}

.modal-title {
    text-align: center;
    color: var(--primary);
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

/* ===================================
   Form Elements
   =================================== */

button {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-bg);
    color: var(--text-cream);
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
}

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

button.primary {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
}

button.primary:hover {
    background: #ffb84d;
}

button.success {
    background: var(--success);
    border-color: var(--success);
}

input[type="text"],
input[type="number"],
textarea,
select {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-cream);
    transition: all 0.2s ease;
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--glass-bg);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="color"] {
    -webkit-appearance: none;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: 2px solid var(--glass-border);
    border-radius: 6px;
}

/* ===================================
   Simulation Common Styles
   =================================== */

.sim-section {
    margin-bottom: 1rem;
}

.sim-section:last-child {
    margin-bottom: 0;
}

.sim-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.sim-row:last-child {
    margin-bottom: 0;
}

.sim-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-width: 80px;
}

.sim-value {
    font-family: var(--font-mono);
    color: var(--primary);
}

.sim-canvas {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: block;
}

.sim-stats {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem;
    background: var(--glass-bg);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.sim-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sim-output {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 1rem;
    min-height: 100px;
    font-family: var(--font-display);
    font-style: italic;
    line-height: 1.8;
}

.status-good {
    color: var(--success);
}

.status-bad {
    color: var(--accent);
}

/* ===================================
   Specific Simulations
   =================================== */

/* Diaper - Drag & Drop */
.diaper-baby {
    font-size: 5rem;
    text-align: center;
    margin: 1rem 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.diaper-dropzone {
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diaper-dropzone.drag-over {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.diaper-dropzone.success {
    border-color: var(--success);
    background: rgba(40, 167, 69, 0.2);
}

.diaper-supplies {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.supply-item {
    padding: 0.75rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s ease;
    user-select: none;
}

.supply-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.supply-item.used {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.supply-item.dragging {
    opacity: 0.7;
    transform: scale(1.05);
}

/* Strategy Map */
.strategy-canvas {
    background: linear-gradient(135deg, #1a3a1a, #2d4a2d);
}

/* Hog Diagram */
.hog-diagram {
    background: #f9f6f0;
    border-radius: 12px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.hog-svg {
    width: 100%;
    max-height: 180px;
}

.hog-cut {
    fill: rgba(200, 150, 120, 0.3);
    stroke: #8b7355;
    stroke-width: 1;
    stroke-dasharray: 4 2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hog-cut:hover {
    fill: rgba(245, 166, 35, 0.4);
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: none;
}

.cut-info {
    text-align: center;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 8px;
}

.cut-info h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Compass */
.compass-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.compass-canvas {
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* Code Editor */
.code-editor {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    background: #1e1e2e;
    color: #a6e3a1;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    min-height: 150px;
    resize: none;
    line-height: 1.5;
}

.code-output {
    background: #0d0d15;
    border-radius: 8px;
    padding: 0.75rem;
}

.code-output-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.code-result {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    white-space: pre-wrap;
    min-height: 40px;
}

/* Reaction Zone */
.reaction-zone {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 1rem auto;
    user-select: none;
    font-family: var(--font-display);
    text-align: center;
    padding: 1rem;
}

.reaction-zone.waiting {
    background: rgba(220, 53, 69, 0.3);
}

.reaction-zone.ready {
    background: var(--success);
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(40, 167, 69, 0); }
}

/* Isolation Timer */
.isolation-display {
    text-align: center;
    padding: 2rem;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8), transparent);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}

.isolation-timer {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--primary);
}

/* Recipe Display */
.recipe-display {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 1rem;
}

.recipe-display h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.recipe-ingredients {
    list-style: none;
    margin-bottom: 1rem;
}

.recipe-ingredients li {
    padding: 0.25rem 0;
    border-bottom: 1px dotted var(--glass-border);
}

.recipe-ingredients li::before {
    content: '• ';
    color: var(--primary);
}

/* Final Words */
.final-words-display {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 8px;
}

.final-quote {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.final-author {
    color: var(--text-muted);
}

/* Equation Steps */
.equation-steps {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 1rem;
    font-family: var(--font-mono);
    min-height: 100px;
}

.equation-step {
    padding: 0.5rem;
    border-left: 2px solid var(--primary);
    margin-bottom: 0.5rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.equation-result {
    color: var(--success);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mind Map */
.mindmap-svg {
    width: 100%;
    height: 200px;
    background: var(--glass-bg);
    border-radius: 8px;
}

.mindmap-node circle {
    fill: var(--primary);
    stroke: var(--text-cream);
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mindmap-node:hover circle {
    fill: var(--secondary);
}

.mindmap-node.selected circle {
    fill: var(--secondary);
    stroke-width: 3;
}

.mindmap-node text {
    fill: var(--text-cream);
    font-size: 11px;
    text-anchor: middle;
    pointer-events: none;
}

.mindmap-line {
    stroke: var(--glass-border);
    stroke-width: 2;
}

/* Wall Canvas */
.wall-canvas {
    background: linear-gradient(to bottom,
        #4a7ab0 0%,
        #7ab0d4 30%,
        #5a8a5a 30%,
        #4a7a4a 100%
    );
}

/* Manure Canvas */
.manure-canvas {
    background: linear-gradient(to bottom,
        #87ceeb 0%,
        #87ceeb 60%,
        #8b4513 60%,
        #654321 100%
    );
}

/* Bone X-Ray */
.xray-container {
    background: #000;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.bone-svg {
    max-width: 150px;
}

.bone-piece {
    fill: none;
    stroke: #88ccff;
    stroke-width: 3;
    filter: drop-shadow(0 0 5px #88ccff);
}

/* Collab Canvas */
.collab-canvas {
    background: #1a1a2a;
    cursor: crosshair;
}

/* Ledger Table */
.ledger-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.ledger-table th,
.ledger-table td {
    padding: 0.5rem;
    border: 1px solid var(--glass-border);
    text-align: right;
}

.ledger-table th {
    background: var(--glass-bg);
    color: var(--primary);
}

.ledger-table th:first-child,
.ledger-table td:first-child {
    text-align: left;
}

.ledger-table input {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: inherit;
    text-align: inherit;
    color: inherit;
    width: 100%;
}

.ledger-table tfoot td {
    font-weight: 600;
    background: var(--glass-bg);
}

/* Soundscape */
.soundscape-visual {
    height: 80px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--secondary-glow), var(--primary-glow), transparent);
    opacity: 0.3;
    animation: wave 4s ease-in-out infinite;
}

.wave:nth-child(2) { animation-delay: -1.5s; animation-duration: 5s; }
.wave:nth-child(3) { animation-delay: -3s; animation-duration: 6s; }

@keyframes wave {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.soundscape-visual.active .wave {
    opacity: 0.6;
}

/* Order Queue */
.order-queue {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 0.75rem;
    min-height: 100px;
    max-height: 150px;
    overflow-y: auto;
}

.order-item {
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.order-item:first-child {
    border-left: 3px solid var(--primary);
}

/* Org Chart */
.org-chart {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 1rem;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.org-node {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.org-node.commander {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.org-level {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.progress-summary {
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.progress-summary > span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.progress-bar {
    height: 10px;
    background: var(--glass-bg);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 5px;
    transition: width 0.5s ease;
}

.badge-area {
    min-height: 50px;
    margin-bottom: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 25px;
    font-weight: 600;
    animation: badgePop 0.5s ease;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.footer-quote {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===================================
   Challenge Styles
   =================================== */

.challenge-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.challenge-header h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.challenge-result {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    background: var(--glass-bg);
}

.challenge-result.success {
    border: 2px solid var(--success);
    background: rgba(40, 167, 69, 0.1);
}

.challenge-result.fail {
    border: 2px solid var(--accent);
    background: rgba(220, 53, 69, 0.1);
}

.success-message {
    color: var(--success);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.fail-message {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.score-display {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0.5rem 0;
}

.score-breakdown {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.challenge-feedback {
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 0.75rem;
    font-weight: 500;
}

.challenge-feedback.correct {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success);
}

.challenge-feedback.wrong {
    background: rgba(220, 53, 69, 0.2);
    color: var(--accent);
}

.challenge-feedback.partial {
    background: rgba(245, 166, 35, 0.2);
    color: var(--primary);
}

/* Timer and Progress Bars */
.timer-bar, .mood-bar {
    height: 8px;
    background: var(--glass-bg);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.timer-fill, .mood-fill {
    height: 100%;
    background: var(--success);
    transition: width 0.3s ease, background 0.3s ease;
}

/* Diaper Challenge */
.diaper-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.baby-container {
    text-align: center;
}

.baby-sprite {
    font-size: 4rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-5px) rotate(-5deg); }
    75% { transform: translateX(5px) rotate(5deg); }
}

.diaper-dropzone.error {
    border-color: var(--accent);
    background: rgba(220, 53, 69, 0.2);
}

/* Quiz Styles (Butcher, etc) */
.hog-cut.correct {
    fill: var(--success) !important;
    stroke: var(--success);
}

.hog-cut.wrong {
    fill: var(--accent) !important;
    stroke: var(--accent);
}

/* Sonnet Workspace */
.sonnet-workspace {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.sonnet-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-family: var(--font-display);
    font-style: italic;
}

.rhyme-input {
    width: 100px !important;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
}

.rhyme-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: normal;
}

.rhyme-guide {
    font-size: 0.85rem;
}

/* Word bank for sonnet */
.word-options {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.word-option {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
}

.word-option:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.word-option.selected {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
}

.word-option.correct {
    background: rgba(40, 167, 69, 0.3);
    border-color: var(--success);
}

.word-option.wrong {
    background: rgba(220, 53, 69, 0.3);
    border-color: var(--accent);
}

.line-text {
    font-family: var(--font-display);
    font-style: italic;
}

/* Accounts Challenge */
.ledger-table tr.selected {
    background: rgba(245, 166, 35, 0.2);
}

.select-row-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Command Memory Game */
.command-display-area {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 12px;
    margin: 1rem 0;
}

.command-display {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--primary);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.command-display.flash {
    animation: flash 0.4s ease;
}

@keyframes flash {
    0%, 100% { color: var(--primary); }
    50% { color: var(--text-cream); background: var(--primary); border-radius: 8px; }
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.command-btn {
    padding: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.command-btn.correct {
    background: var(--success);
    border-color: var(--success);
}

/* Give Orders - Team Layout */
.orders-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.team-roster h5, .mission-list h5 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.team-member {
    background: var(--glass-bg);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--secondary);
}

.team-member.exhausted {
    opacity: 0.5;
    border-left-color: var(--accent);
}

.member-name {
    font-weight: 600;
}

.member-skills {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.member-stamina {
    font-size: 0.9rem;
    color: var(--success);
}

.mission-item {
    background: var(--glass-bg);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.mission-name {
    font-weight: 500;
}

.mission-requires {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.mission-assign {
    width: 100%;
}

/* Comfort Scenarios */
.comfort-scenario {
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.scenario-context {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.scenario-statement {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-cream);
}

.comfort-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.comfort-option {
    text-align: left;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.comfort-option:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.comfort-option.correct {
    border-color: var(--success);
    background: rgba(40, 167, 69, 0.2);
}

.comfort-option.chosen {
    border-color: var(--accent);
}

/* Analysis Scenarios */
.analysis-symptoms {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.analysis-symptoms h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.analysis-symptoms ul {
    list-style: none;
}

.analysis-symptoms li {
    padding: 0.25rem 0;
    color: var(--text-muted);
}

.cause-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cause-option {
    text-align: left;
    padding: 0.75rem 1rem;
}

.cause-option.correct {
    background: rgba(40, 167, 69, 0.3);
    border-color: var(--success);
}

.cause-option.wrong {
    background: rgba(220, 53, 69, 0.3);
    border-color: var(--accent);
}

/* Equation Challenge */
.equation-display {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 12px;
    margin: 1rem 0;
}

.equation-text {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: var(--primary);
}

.equation-input {
    width: 100px !important;
    font-size: 1.2rem;
    text-align: center;
}

.hint-display {
    text-align: center;
    padding: 0.5rem;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.9rem;
}

/* Programming Challenge */
.test-results {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.75rem;
}

.test-case {
    padding: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-radius: 4px;
    margin-bottom: 0.25rem;
}

.test-case.pass {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success);
}

.test-case.fail {
    background: rgba(220, 53, 69, 0.2);
    color: var(--accent);
}

.test-success {
    text-align: center;
    padding: 0.75rem;
    color: var(--success);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Cooking Challenge */
.kitchen-timer {
    text-align: center;
    margin: 1rem 0;
}

.elapsed-time {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timer-progress {
    height: 100%;
    background: var(--primary);
    transition: width 1s linear;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}

.dish-station {
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.dish-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.dish-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dish-progress {
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.dish-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.dish-status {
    font-size: 0.8rem;
    min-height: 1.2rem;
}

.start-dish-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    font-size: 0.85rem;
}

/* Mortality Scenarios */
.mortality-scenario {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), var(--glass-bg));
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.scenario-situation {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.mortality-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.mortality-option {
    text-align: left;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
}

.mortality-option:hover:not(:disabled) {
    border-color: var(--primary);
    transform: translateX(5px);
}

.mortality-option.gallant {
    border-color: var(--success);
    background: rgba(40, 167, 69, 0.2);
}

.mortality-option.chosen {
    border-color: var(--accent);
    background: rgba(220, 53, 69, 0.2);
}

/* Combat Training */
.combat-display {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 12px;
    margin: 1rem 0;
}

.pattern-show {
    font-size: 1.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: font-size 0.2s ease;
}

.combat-btn {
    font-size: 1.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    transition: all 0.1s ease;
}

.combat-btn:hover:not(:disabled) {
    background: var(--primary-glow);
    border-color: var(--primary);
    transform: scale(1.05);
}

.combat-btn:disabled {
    opacity: 0.4;
}

/* Focus Challenge (Alone) */
.focus-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: radial-gradient(circle at center, #1a1a2a, #0a0a0f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.focus-target {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 3px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.focus-target.active {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.focus-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--glass-border);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.focus-center {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.focus-target.active .focus-center {
    color: var(--primary);
}

.distraction-popup {
    position: absolute;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    animation: popIn 0.3s ease, pulse 0.5s ease infinite;
    z-index: 10;
}

@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* Patient stability bar for Bone */
.patient-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.stability-bar {
    flex: 1;
    height: 10px;
    background: var(--glass-bg);
    border-radius: 5px;
    overflow: hidden;
}

.stability-fill {
    height: 100%;
    width: 100%;
    background: var(--success);
    transition: width 0.3s ease, background 0.3s ease;
}

/* Building Floor Plan */
.building-layout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.room-palette {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 120px;
}

.room-option {
    padding: 0.5rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.room-option:hover:not(.placed) {
    transform: translateX(5px);
}

.room-option.selected {
    border-width: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.room-option.placed {
    opacity: 0.4;
    cursor: not-allowed;
}

.room-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.room-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

#floor-canvas {
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    cursor: crosshair;
}

/* Responsive for new components */
@media (max-width: 600px) {
    .orders-layout {
        grid-template-columns: 1fr;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
    }

    .command-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .building-layout {
        flex-direction: column;
    }

    .room-palette {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: auto;
    }
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {
    .hero-quote {
        padding: 1.5rem;
    }

    .modal {
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        padding: 1.5rem;
    }
}

/* ===================================
   Command Center (Give Orders)
   =================================== */

.command-center {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.squad-panel h5,
.missions-panel h5 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.squad-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.squad-member {
    padding: 0.75rem;
    background: var(--glass-bg);
    border-radius: 8px;
    cursor: grab;
    transition: all 0.2s ease;
}

.squad-member:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1);
}

.squad-member.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.member-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.member-skills {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.skill-tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    background: var(--secondary-glow);
    border-radius: 4px;
    color: var(--secondary);
}

.member-stamina {
    font-size: 0.8rem;
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.mission-slot {
    background: var(--glass-bg);
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.mission-slot.drag-over {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.mission-icon {
    font-size: 1.5rem;
}

.mission-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.mission-requires {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.mission-progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.mission-progress-fill {
    height: 100%;
    width: 0%;
    transition: width 0.1s ease;
}

.mission-urgency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.urgency-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.urgency-fill {
    height: 100%;
    background: var(--success);
    transition: width 0.1s ease, background 0.3s ease;
}

.mission-assigned {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.assigned-member {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    border-left: 3px solid var(--primary);
}

.mission-status {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 1.2rem;
}

/* ===================================
   Investigation Board (Analyze)
   =================================== */

.investigation-board {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 1rem;
    margin: 1rem 0;
}

.clue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.clue-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clue-card:hover:not(.investigated) {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.clue-card.investigated {
    cursor: default;
    background: rgba(0, 0, 0, 0.3);
}

.clue-card.relevant {
    border-color: var(--success);
    box-shadow: 0 0 10px var(--success-glow, rgba(40, 167, 69, 0.3));
}

.clue-icon {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.clue-label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.clue-finding {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--glass-border);
}

.clue-finding.hidden {
    display: none;
}

.investigation-notes {
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 1rem;
}

.investigation-notes h5 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
}

.note-item {
    font-size: 0.8rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    line-height: 1.4;
}

.note-item.relevant {
    border-left: 3px solid var(--success);
    background: rgba(40, 167, 69, 0.1);
}

.hypothesis-section {
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.hypothesis-section h5 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hypothesis-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hypothesis-btn {
    padding: 0.75rem;
    text-align: left;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
}

.hypothesis-btn:hover:not(:disabled) {
    border-color: var(--primary);
    transform: translateX(3px);
}

.hypothesis-btn.correct {
    background: rgba(40, 167, 69, 0.3);
    border-color: var(--success);
}

.hypothesis-btn.wrong {
    background: rgba(220, 53, 69, 0.3);
    border-color: var(--accent);
}

/* ===================================
   Enhanced Canvas Games
   =================================== */

#battle-canvas,
#fight-canvas {
    border: 2px solid var(--glass-border);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hp-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hp-bar-container span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Fight game specific */
.fight-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

/* Responsive adjustments for new components */
@media (max-width: 700px) {
    .command-center {
        grid-template-columns: 1fr;
    }

    .squad-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .squad-member {
        flex: 1 1 45%;
    }

    .investigation-board {
        grid-template-columns: 1fr;
    }

    .clue-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hypothesis-options {
        grid-template-columns: 1fr;
    }

    .missions-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Butcher Drawing Canvas
   =================================== */

#butcher-canvas {
    border: 3px solid #8b7355;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: #f5deb3;
}

.cut-instruction {
    font-size: 0.95rem;
}

/* ===================================
   Unit Buttons
   =================================== */

.unit-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    transition: all 0.2s ease;
}

.unit-btn.active {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.unit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

/* ===================================
   Common Sim Improvements
   =================================== */

.sim-canvas {
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.sim-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.sim-label {
    min-width: 70px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sim-value {
    font-family: var(--font-mono);
    color: var(--primary);
    min-width: 50px;
}

.sim-section {
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 1rem;
    margin: 0.75rem 0;
}

.sim-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sim-stats {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

/* Status indicators */
.status-good { color: var(--success); }
.status-warn { color: var(--primary); }
.status-bad { color: var(--accent); }

/* Ledger row selection */
.ledger-table tr.selected {
    background: var(--primary-glow);
}

.select-row-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid var(--glass-border);
}

.select-row-btn:hover {
    background: var(--primary-glow);
    border-color: var(--primary);
}

/* ===================================
   Die Gallantly - Last Stand Game
   =================================== */

#stand-canvas {
    cursor: crosshair;
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.3);
}

.stand-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.stand-controls > div {
    text-align: center;
    min-width: 80px;
}

#quip-display {
    font-size: 1.1rem;
    text-shadow: 0 0 10px var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
