/**
 * Arkanoid Premium Styles
 */

#zetpy-arkanoid-container {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-light: #f8fafc;

    max-width: 420px;
    width: 100%;
    max-height: 85vh;
    margin: 1rem auto;
    background: var(--bg-dark);
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.zetpy-game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.zetpy-game-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zetpy-game-stats {
    display: flex;
    gap: 20px;
    font-weight: 600;
}

.zetpy-game-canvas-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    min-height: 0;
}

#arkanoidCanvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

/* Overlays */
.arkanoid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.arkanoid-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.arkanoid-screen {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.arkanoid-screen.active {
    display: flex;
}

.zetpy-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 210, 255, 0.4);
}

.zetpy-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 210, 255, 0.5);
}

.zetpy-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.zetpy-btn-secondary:hover {
    background: var(--primary-color);
}

.arkanoid-msg {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 2px;
}

.arkanoid-hint {
    color: #94a3b8;
    font-size: 0.9rem;
}

.zetpy-game-footer {
    padding-top: 10px;
    text-align: center;
    color: #475569;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* Responsive Scaling */
@media (max-width: 600px) {
    #zetpy-arkanoid-container {
        padding: 10px;
        margin: 1rem;
    }

    .arkanoid-msg {
        font-size: 1.8rem;
    }
}