/* brick-game.css - 벽돌깨기 게임 (Galaxy Theme) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.brick-game-container {
    text-align: center;
    max-width: 100vw;
    padding: 10px;
}

.brick-game-container h1 {
    color: var(--title-color);
    font-family: var(--galaxy-font);
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: clamp(20px, 5vw, 28px);
}

.info-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: var(--panel-color);
    border: 1px solid var(--game-grid-color);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    color: var(--text-color);
    font-size: clamp(12px, 3vw, 15px);
    font-family: var(--galaxy-font);
    font-weight: 700;
}

.info-bar span {
    display: flex;
    align-items: center;
    gap: 5px;
}

#gameCanvas {
    display: block;
    background: linear-gradient(180deg, #e8e5d8 0%, #ddd8c8 100%);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--card-shadow);
    max-width: 100%;
    touch-action: none;
}

.canvas-wrapper {
    position: relative;
    display: inline-block;
}

.start-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px 44px;
    font-size: clamp(14px, 4vw, 20px);
    font-family: var(--galaxy-font);
    font-weight: 800;
    background: var(--accent-color);
    border: none;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
    letter-spacing: 1px;
}

.start-btn-overlay:hover {
    transform: translate(-50%, -50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    background: var(--accent-hover);
}

.active-items {
    margin-top: 10px;
    min-height: 30px;
    color: var(--text-color);
    font-size: clamp(13px, 3vw, 16px);
    font-family: var(--galaxy-font);
    padding: 0 10px;
}

.multi-ball {
    background: #e07070;
    box-shadow: 0 0 8px #e07070;
}

.wide-paddle {
    background: #5cc99b;
    box-shadow: 0 0 8px #5cc99b;
}

.slow-ball {
    background: #f5a623;
    box-shadow: 0 0 8px #f5a623;
}

.extra-life {
    background: #e885a0;
    box-shadow: 0 0 8px #e885a0;
}