/**
 * Header Component Styles
 * Game title, instructions, and problem counter
 */

/* ==================== */
/* GAME HEADER          */
/* ==================== */

.game-header {
    text-align: center;
    background: transparent;
    /* Removed background */
    /* border-radius: var(--radius-lg); */
    padding: var(--space-sm) var(--space-lg);
    /* box-shadow: var(--shadow-md); */
    width: fit-content;
    max-width: 90%;
    margin: 0 auto var(--space-xs);
}

/* ==================== */
/* TITLE                */
/* ==================== */

.game-title {
    font-size: var(--title-size);
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
    /* Cartoon Font */
    font-weight: 800;
    color: #FF9800;
    /* Bright Orange */
    margin-bottom: var(--space-xs);
    /* Pop-out Shadow */
    text-shadow:
        2px 2px 0px #fff,
        4px 4px 0px rgba(0, 0, 0, 0.15);
    letter-spacing: 1px;
    visibility: hidden;
    /* Hide title but keep layout space */
}

/* Quotation marks styling */
.game-title::before,
.game-title::after {
    color: var(--text-header);
}

/* ==================== */
/* PROBLEM COUNTER      */
/* ==================== */

/* Problem counter in header is hidden - moved to bottom left panel */
.game-header .problem-counter {
    display: none;
}

/* ==================== */
/* INSTRUCTION TEXT     */
/* ==================== */

.game-instruction {
    font-size: var(--instruction-size);
    color: var(--text-secondary);
    margin-top: var(--space-xs);
    line-height: 1.4;
}

/* ==================== */
/* SECTION LABELS       */
/* ==================== */

.problem-label {
    font-size: var(--label-size);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    background: var(--panel-bg);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: var(--z-labels);
    white-space: nowrap;
}

/* Label with decorative underline */
.problem-label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--dirt-secondary),
            transparent);
    border-radius: 1px;
}

/* ==================== */
/* WELCOME SCREEN       */
/* ==================== */

.start-container .game-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    /* Increased size significantly */
    margin-bottom: var(--space-lg);
    visibility: visible;
    /* Override global hidden state for splash screens */
}

.start-container .game-instruction {
    margin-bottom: var(--space-xl);
}