/* Enhanced Brick Breaker Game - Visual Effects & Bug-Free */

.game-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: transparent;
    width: 100%;
    position: relative;
}

.game-wrapper {
    position: relative;
    width: 100%; /* Changed from 90% to 100% */
    max-width: 1200px;
    aspect-ratio: 16 / 10;
    min-height: 600px;
    background: transparent;
    overflow: hidden;
    /* Mobile viewport stability */
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#game-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
    border-radius: 15px;
    padding: 0; /* Remove any padding */
}

/* REMOVE this entire block: */
/*
#game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent;
    border: 2px solid rgba(0, 174, 255, 0.1);
    border-radius: 17px;
    pointer-events: none;
    z-index: 1;
}
*/

/* Glow segment styles */


#gameCanvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    border-radius: 15px;
}

/* Fully transparent overlays - NO BLACK BLOCKS */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Completely transparent */
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: none; /* No blur */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 15px;
}

/* Ensure start overlay is visible by default */
#start-overlay {
    display: flex; /* Visible by default, can be overridden by JS */
    z-index: 1000; /* High z-index to ensure visibility */
}

#game-over-overlay {
    display: none; /* Default hidden state */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 15px;
    padding: 1rem; /* Add padding for very small screens */
}

/* Enhanced status bar */
.game-status {
    position: absolute;
    bottom: 2px; /* Even closer to paddle */
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 12px 20px;
    border-radius: 25px;
    z-index: 20;
    border: 1px solid rgba(0, 174, 255, 0.2);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 8px rgba(255, 255, 255, 0.1);
}

.game-status span {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* Enhanced glowing button */
/* Enhanced responsive play button */
/* Ensure restart button scales properly */
.play-button {
    background: linear-gradient(135deg, rgba(0, 174, 255, 0.9), rgba(0, 122, 255, 0.9));
    border: 2px solid rgba(0, 174, 255, 0.8);
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 20px rgba(0, 174, 255, 0.8),
        0 0 40px rgba(0, 174, 255, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: buttonNeonGlow 3s ease-in-out infinite;
    white-space: nowrap;
    text-align: center;
    z-index: 1002 !important; /* Above the preview */
    
    /* FIXED: Responsive sizing */
    padding: clamp(10px, 3vw, 18px) clamp(20px, 6vw, 36px);
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    min-width: clamp(100px, 25vw, 140px);
}

@keyframes buttonNeonGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(0, 174, 255, 0.8),
            0 0 40px rgba(0, 174, 255, 0.4),
            inset 0 2px 8px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(0, 174, 255, 1),
            0 0 60px rgba(0, 174, 255, 0.6),
            inset 0 2px 12px rgba(255, 255, 255, 0.3);
    }
}

.play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.play-button:hover::before {
    left: 100%;
}

.play-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 40px rgba(0, 174, 255, 1),
        0 0 80px rgba(0, 174, 255, 0.6),
        inset 0 2px 15px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 174, 255, 1), rgba(0, 122, 255, 1));
}

/* Responsive button adjustments */
@media (max-width: 768px) {
    .play-button {
        padding: clamp(10px, 4vw, 15px) clamp(20px, 8vw, 30px);
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .play-button {
        padding: clamp(8px, 5vw, 12px) clamp(16px, 10vw, 24px);
        font-size: clamp(0.8rem, 5vw, 1rem);
        min-width: 100px;
        border-radius: 25px;
    }
}

@media (max-width: 360px) {
    .play-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 90px;
    }
}

/* Enhanced game over content */
/* Enhanced responsive game over content */
.game-over-content {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: clamp(1rem, 5vh, 2.5rem) clamp(1.5rem, 8vw, 3rem);
    border-radius: clamp(12px, 2vw, 20px);
    border: 1px solid rgba(0, 174, 255, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 2px 15px rgba(255, 255, 255, 0.1);
    max-width: min(90vw, 400px);
    max-height: min(85vh, 600px);
    min-width: clamp(280px, 85vw, 350px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.8rem, 3vh, 1.5rem);
}

.game-over-content h2 {
    font-size: clamp(1.4rem, 6vw, 2.8rem);
    margin: 0;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
    animation: titlePulse 2s ease-in-out infinite;
    line-height: 1.2;
}

.game-over-content p {
    font-size: clamp(0.9rem, 4vw, 1.3rem);
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Enhanced responsive scaling */
@media (max-width: 768px) {
    .game-over-content {
        padding: clamp(0.8rem, 4vh, 2rem) clamp(1rem, 6vw, 2rem);
        min-width: clamp(260px, 88vw, 320px);
        gap: clamp(0.6rem, 2.5vh, 1.2rem);
    }
    
    .game-over-content h2 {
        font-size: clamp(1.3rem, 7vw, 2.2rem);
    }
    
    .game-over-content p {
        font-size: clamp(0.85rem, 4.5vw, 1.1rem);
    }
}

@media (max-width: 480px) {
    .game-over-content {
        padding: clamp(0.7rem, 3vh, 1.5rem) clamp(0.8rem, 5vw, 1.5rem);
        min-width: clamp(240px, 92vw, 300px);
        max-width: 95vw;
        gap: clamp(0.5rem, 2vh, 1rem);
    }
    
    .game-over-content h2 {
        font-size: clamp(1.2rem, 8vw, 1.8rem);
    }
    
    .game-over-content p {
        font-size: clamp(0.8rem, 5vw, 1rem);
    }
}

@media (max-width: 360px) {
    .game-over-content {
        padding: clamp(0.6rem, 2.5vh, 1.2rem) clamp(0.6rem, 4vw, 1.2rem);
        min-width: clamp(220px, 94vw, 280px);
        max-width: 98vw;
    }
    
    .game-over-content h2 {
        font-size: clamp(1.1rem, 9vw, 1.6rem);
    }
    
    .game-over-content p {
        font-size: clamp(0.75rem, 5.5vw, 0.9rem);
    }
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 107, 107, 0.8); }
    50% { text-shadow: 0 0 30px rgba(255, 107, 107, 1); }
}

#final-score {
    color: #00ff88;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
}

/* Victory state */
.victory {
    color: #00ff88 !important;
    text-shadow: 0 0 25px rgba(0, 255, 136, 0.9) !important;
}

/* Countdown Timer */


/* Enhanced animation classes */
.score-update {
    animation: scoreFlash 0.5s ease;
}

@keyframes scoreFlash {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: #00ff88; }
    100% { transform: scale(1); }
}

.lives-lost {
    animation: livesLost 0.6s ease;
}

@keyframes livesLost {
    0% { transform: scale(1); color: #ff6b6b; }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); color: #ff6b6b; }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Lightning flash effect */
.lightning-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 15;
    pointer-events: none;
    animation: lightning 0.2s ease-out;
}

@keyframes lightning {
    0% { opacity: 0; }
    50% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* FIXED: Make mobile game container taller for more vertical space */
@media (max-width: 768px) {
    .game-wrapper {
        width: 95%;
        min-height: 700px;
        aspect-ratio: 4 / 5; /* Taller aspect ratio */
    }
    
    .game-status {
        bottom: 5px; /* closer */
        left: 15px;
        right: 15px;
        padding: 10px 16px;
    }
    
    .game-status span {
        font-size: 1rem;
    }
    
    .play-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .game-wrapper {
        width: 98%;
        min-height: 800px;
        aspect-ratio: 3 / 4; /* Even taller for small screens */
    }
    
    .game-status {
        bottom: 4px; /* closer */
        left: 10px;
        right: 10px;
        padding: 8px 12px;
    }
    
    .game-status span {
        font-size: 0.9rem;
    }
    
    .play-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .game-wrapper {
        width: 100%;
        min-height: 500px;
        aspect-ratio: 3 / 4; /* Even taller for tiny screens */
    }
}

/* Enhanced trail effects */
.ball-trail-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.8), transparent);
    pointer-events: none;
    z-index: 3;
    animation: trailFade 0.5s ease-out forwards;
}

@keyframes trailFade {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.3); }
}

.paddle-trail-element {
    position: absolute;
    background: rgba(0, 174, 255, 0.4);
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
    animation: paddleTrailFade 0.3s ease-out forwards;
}

@keyframes paddleTrailFade {
    0% { opacity: 0.6; }
    100% { opacity: 0; }
}

/* Particle effects */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    animation: particleFade 1s ease-out forwards;
}

@keyframes particleFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Localized Container Glow Effects */
.wall-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
    animation: wallGlowEffect 0.6s ease-out forwards;
}

.wall-glow.left {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.8), transparent);
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
}

.wall-glow.right {
    background: radial-gradient(circle, rgba(255, 202, 87, 0.8), transparent);
    box-shadow: 0 0 40px rgba(255, 202, 87, 0.6);
}

.wall-glow.top {
    background: radial-gradient(circle, rgba(72, 219, 251, 0.8), transparent);
    box-shadow: 0 0 40px rgba(72, 219, 251, 0.6);
}

@keyframes wallGlowEffect {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Neon Glow Effects */
.neon-glow {
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(0, 255, 136, 0.8),
            0 0 40px rgba(0, 255, 136, 0.6),
            0 0 60px rgba(0, 255, 136, 0.4);
    }
    50% {
        box-shadow:
            0 0 30px rgba(0, 255, 136, 1),
            0 0 60px rgba(0, 255, 136, 0.8),
            0 0 90px rgba(0, 255, 136, 0.6);
    }
}

/* Enhanced button neon */
.play-button {
    background: linear-gradient(135deg, rgba(0, 174, 255, 0.9), rgba(0, 122, 255, 0.9));
    border: 2px solid rgba(0, 174, 255, 0.8);
    box-shadow:
        0 0 20px rgba(0, 174, 255, 0.8),
        0 0 40px rgba(0, 174, 255, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.2);
    animation: buttonNeonGlow 3s ease-in-out infinite;
}

@keyframes buttonNeonGlow {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(0, 174, 255, 0.8),
            0 0 40px rgba(0, 174, 255, 0.4),
            inset 0 2px 8px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow:
            0 0 30px rgba(0, 174, 255, 1),
            0 0 60px rgba(0, 174, 255, 0.6),
            inset 0 2px 12px rgba(255, 255, 255, 0.3);
    }
}



/* FIXED: Make game container border invisible by default */
#game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent;
    border: 2px solid transparent; /* Changed from visible border */
    border-radius: 17px;
    pointer-events: none;
    z-index: 1;
}

/* 🎮 Game Loading Animation */
.game-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 15px;
    overflow: hidden;
}

.loading-content {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 15, 40, 0.8);
    padding: 2rem;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/* Simplified, Smooth Loading Animation */
.loading-animation {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.loading-orb {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    animation: smoothOrbit 2s ease-in-out infinite;
}

.loading-orb:nth-child(1) {
    animation-delay: 0s;
}

.loading-orb:nth-child(2) {
    animation-delay: 0.66s;
}

.loading-orb:nth-child(3) {
    animation-delay: 1.33s;
}

.loading-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-top: 2px solid #00ff88;
    border-radius: 50%;
    animation: smoothSpin 1.5s linear infinite;
}

@keyframes smoothOrbit {
    0% {
        transform: rotate(0deg) translateX(20px) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: rotate(360deg) translateX(20px) rotate(-360deg);
        opacity: 1;
    }
}

@keyframes smoothSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Loading Text */
.loading-text {
    max-width: 250px;
}

.loading-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff88;
    display: block;
    margin-bottom: 0.5rem;
}

.loading-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    display: block;
}

/* Simplified Progress Bar */
.loading-progress {
    width: 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0.5rem auto;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00aeff);
    border-radius: 2px;
    animation: smoothProgress 1.2s ease-out;
    transform: translateX(-100%);
}

@keyframes smoothProgress {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Game Preview Background Elements */
.game-preview-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4; /* Subtle visibility */
    z-index: 1; /* BELOW the play button */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Centered Bricks Container */
.preview-bricks-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 100px;
    width: 100%;
    max-width: 500px;
    align-items: center;
}

.preview-brick-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

/* Animated Bricks Preview */
.preview-brick {
    width: 70px;
    height: 30px;
    border-radius: 5px;
    animation: brickFloat 3s ease-in-out infinite;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.preview-brick:nth-child(1) {
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
    animation-delay: 0s;
}

.preview-brick:nth-child(2) {
    background: linear-gradient(45deg, #4ecdc4, #6bcf7f);
    animation-delay: 0.1s;
}

.preview-brick:nth-child(3) {
    background: linear-gradient(45deg, #45b7d1, #74c0fc);
    animation-delay: 0.2s;
}

.preview-brick:nth-child(4) {
    background: linear-gradient(45deg, #96ceb4, #b8e6d0);
    animation-delay: 0.3s;
}

.preview-brick:nth-child(5) {
    background: linear-gradient(45deg, #feca57, #ffd93d);
    animation-delay: 0.4s;
}

.preview-brick:nth-child(6) {
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    animation-delay: 0.5s;
}

/* Second row colors */
.preview-brick-row:nth-child(2) .preview-brick:nth-child(1) {
    background: linear-gradient(45deg, #a55eea, #c44569);
    animation-delay: 0.6s;
}

.preview-brick-row:nth-child(2) .preview-brick:nth-child(2) {
    background: linear-gradient(45deg, #26de81, #20bf6b);
    animation-delay: 0.7s;
}

.preview-brick-row:nth-child(2) .preview-brick:nth-child(3) {
    background: linear-gradient(45deg, #fd79a8, #e84393);
    animation-delay: 0.8s;
}

.preview-brick-row:nth-child(2) .preview-brick:nth-child(4) {
    background: linear-gradient(45deg, #fdcb6e, #e17055);
    animation-delay: 0.9s;
}

.preview-brick-row:nth-child(2) .preview-brick:nth-child(5) {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    animation-delay: 1.0s;
}

/* Third row colors */
.preview-brick-row:nth-child(3) .preview-brick:nth-child(1) {
    background: linear-gradient(45deg, #00b894, #00cec9);
    animation-delay: 1.1s;
}

.preview-brick-row:nth-child(3) .preview-brick:nth-child(2) {
    background: linear-gradient(45deg, #e17055, #d63031);
    animation-delay: 1.2s;
}

.preview-brick-row:nth-child(3) .preview-brick:nth-child(3) {
    background: linear-gradient(45deg, #0984e3, #74b9ff);
    animation-delay: 1.3s;
}

.preview-brick-row:nth-child(3) .preview-brick:nth-child(4) {
    background: linear-gradient(45deg, #00b894, #55a3ff);
    animation-delay: 1.4s;
}

/* Centered Game Elements Container */
.preview-game-elements {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
}

/* Animated Paddle Preview */
.preview-paddle {
    width: 140px;
    height: 15px;
    background: linear-gradient(45deg, #00aeff, #74c0fc);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 174, 255, 0.5);
    animation: paddleGlow 2s ease-in-out infinite;
}

/* Animated Ball Preview */
.preview-ball {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #ffffff, #00ff88);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.7);
    animation: ballBounce 2s ease-in-out infinite;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes brickFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
}

@keyframes paddleGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 174, 255, 0.4);
        transform: translateX(-50%) scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 174, 255, 0.6);
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes ballBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    }
    50% {
        transform: translateX(-50%) translateY(-25px);
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
    }
}

/* Mobile Responsiveness for Loading */
@media (max-width: 768px) {
    .loading-content {
        padding: 1.5rem;
        gap: 0.8rem;
    }
    
    .loading-animation {
        width: 50px;
        height: 50px;
    }
    
    .loading-ring {
        width: 40px;
        height: 40px;
    }
    
    .loading-orb {
        width: 6px;
        height: 6px;
    }
    
    @keyframes simpleOrbit {
        0% {
            transform: rotate(0deg) translateX(15px) rotate(0deg);
            opacity: 1;
        }
        50% {
            opacity: 0.6;
        }
        100% {
            transform: rotate(360deg) translateX(15px) rotate(-360deg);
            opacity: 1;
        }
    }
    
    .loading-title {
        font-size: 1rem;
    }
    
    .loading-progress {
        width: 120px;
    }
    
    /* Mobile game preview adjustments */
    .preview-bricks-container {
        gap: 6px;
        margin-bottom: 60px;
        max-width: 300px;
    }
    
    .preview-brick {
        width: 45px;
        height: 20px;
    }
    
    .preview-paddle {
        width: 90px;
        height: 10px;
    }
    
    .preview-ball {
        width: 12px;
        height: 12px;
        top: -30px;
    }
    
    .preview-game-elements {
        gap: 25px;
    }
}
