.aryen-game-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}

.aryen-game-overlay[data-open="true"] {
    display: flex;
}

.aryen-game-dialog {
    width: min(900px, 94vw);
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    color: #fff;
    box-shadow: 0 35px 80px -40px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.aryen-game-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.aryen-game-body {
    display: grid;
    gap: 1rem;
}

.aryen-game-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: start;
}

.aryen-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.aryen-game-grid span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tetris-board {
    border-radius: 24px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: min(340px, 80vw);
    height: min(520px, 110vw);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.tetris-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(20, 1fr);
    height: 100%;
}

.tetris-cell {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 15, 15, 0.35);
    position: relative;
}

.tetris-block {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.aryen-game-status {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
}

.aryen-game-status strong {
    font-size: 1.2rem;
    color: #e2e8f0;
}

.aryen-game-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    background: #00dc82;
    color: #050505;
    font-weight: 600;
    text-transform: uppercase;
}

.aryen-game-log {
    min-height: 60px;
    font-size: 0.85rem;
    color: #cbd5f5;
}

