        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        
        html, body {
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: fixed;
            /* Fullscreen CSS for PWA */
            -webkit-user-select: none;
            user-select: none;
            touch-action: none;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            overflow: hidden;
            font-family: 'Arial', sans-serif;
            background: linear-gradient(to bottom, #1a4d6d 0%, #0a2540 100%);
            touch-action: none;
            -webkit-user-select: none;
            user-select: none;
            position: fixed;
            width: 100%;
            height: 100%;
        }

        #gameCanvas {
            display: block;
            background: radial-gradient(ellipse at center, #1e5a7a 0%, #0d3d5c 100%);
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1;
        }

        #lobby {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, #2d5a7b 0%, #1a3d5c 50%, #0a1e2e 100%);
            color: white;
            text-align: center;
            z-index: 100;
            display: none;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
        }
        
        /* Parallax Background Layers */
        .parallax-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }
        
        .parallax-bubbles {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
            animation: floatUp linear infinite;
            bottom: 0;
            transform: translateY(100%);
        }
        
        @keyframes floatUp {
            0% {
                transform: translateY(0) translateX(0);
                opacity: 0;
            }
            5% {
                opacity: 0.6;
            }
            95% {
                opacity: 0.6;
            }
            100% {
                transform: translateY(calc(-100vh - 50px)) translateX(var(--drift, 0px));
                opacity: 0;
            }
        }
        
        .light-ray {
            position: absolute;
            top: -50%;
            width: 2px;
            height: 150%;
            background: linear-gradient(180deg, 
                rgba(79, 195, 247, 0) 0%,
                rgba(79, 195, 247, 0.08) 30%,
                rgba(79, 195, 247, 0.05) 70%,
                rgba(79, 195, 247, 0) 100%);
            animation: sway 6s ease-in-out infinite;
            transform-origin: top center;
        }
        
        @keyframes sway {
            0%, 100% { transform: rotate(-2deg); }
            50% { transform: rotate(2deg); }
        }
        
        /* Lobby Content Container */
        .lobby-content {
            position: relative;
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 20px;
            padding-bottom: 100px;
            animation: fadeIn 0.6s ease-out;
        }
        
        /* Mobile: Compact layout */
        @media (max-width: 768px) {
            .lobby-content {
                padding: 15px 10px;
                padding-top: 70px;
                padding-bottom: 80px;
            }
        }
        
        /* Large screens: Center content vertically if it fits */
        @media (min-height: 900px) and (min-width: 769px) {
            .lobby-content {
                min-height: 100vh;
                justify-content: center;
                padding-top: 40px;
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        #lobby h1 {
            font-size: 56px;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #4fc3f7 0%, #26c6da 50%, #00acc1 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: bold;
            letter-spacing: 2px;
            animation: slideUp 0.5s ease-out 0.2s both;
        }
        
        /* Mobile: Smaller title */
        @media (max-width: 768px) {
            #lobby h1 {
                font-size: 28px;
                margin-bottom: 5px;
                letter-spacing: 0.5px;
                line-height: 1.2;
            }
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #lobby .tagline {
            font-size: 18px;
            margin-bottom: 50px;
            color: rgba(255, 255, 255, 0.7);
            font-style: italic;
            letter-spacing: 1px;
            animation: slideUp 0.5s ease-out 0.4s both;
        }
        
        /* Mobile: Smaller tagline */
        @media (max-width: 768px) {
            #lobby .tagline {
                font-size: 12px;
                margin-bottom: 15px;
                letter-spacing: 0.5px;
            }
        }
        
        .character-selection-title {
            font-size: 20px;
            color: #4fc3f7;
            margin-bottom: 30px;
            font-weight: 600;
            animation: slideUp 0.5s ease-out 0.6s both;
        }
        
        /* Mobile: Smaller selection title */
        @media (max-width: 768px) {
            .character-selection-title {
                font-size: 14px;
                margin-bottom: 10px;
                font-weight: 500;
            }
        }

        #joinButton {
            padding: 20px 40px;
            font-size: 24px;
            background: #4fc3f7;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            color: white;
            font-weight: bold;
        }

        #joinButton:active {
            background: #29b6f6;
        }

        .mode-button {
            padding: 20px 40px;
            font-size: 24px;
            background: linear-gradient(135deg, #4fc3f7 0%, #26c6da 100%);
            border: none;
            border-radius: 16px;
            cursor: pointer;
            color: white;
            font-weight: bold;
            margin: 10px;
            width: 280px;
            max-width: 90%;
            box-shadow: 0 8px 24px rgba(79, 195, 247, 0.4);
            transition: all 0.3s ease;
            animation: slideUp 0.5s ease-out 1.2s both, buttonPulse 2s ease-in-out 2s infinite;
        }
        
        /* Mobile: Smaller button */
        @media (max-width: 768px) {
            .mode-button {
                padding: 14px 30px;
                font-size: 18px;
                width: 220px;
                margin: 8px;
                border-radius: 12px;
                box-shadow: 0 4px 16px rgba(79, 195, 247, 0.4);
            }
        }
        
        @keyframes buttonPulse {
            0%, 100% {
                box-shadow: 0 8px 24px rgba(79, 195, 247, 0.4);
            }
            50% {
                box-shadow: 0 8px 32px rgba(79, 195, 247, 0.7);
            }
        }

        .mode-button:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(79, 195, 247, 0.6);
        }
        
        .mode-button:active {
            transform: translateY(0);
            box-shadow: 0 4px 16px rgba(79, 195, 247, 0.4);
        }
        
        .install-button {
            padding: 16px 32px;
            font-size: 18px;
            background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
            border: none;
            border-radius: 16px;
            cursor: pointer;
            color: white;
            font-weight: bold;
            margin: 10px;
            width: 280px;
            max-width: 90%;
            box-shadow: 0 4px 16px rgba(38, 198, 218, 0.3);
            transition: all 0.3s ease;
            animation: slideUp 0.5s ease-out 1.3s both;
        }
        
        /* Mobile: Smaller install button */
        @media (max-width: 768px) {
            .install-button {
                padding: 12px 24px;
                font-size: 16px;
                width: 220px;
                margin: 6px;
                border-radius: 12px;
            }
        }
        
        .install-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(38, 198, 218, 0.5);
        }
        
        .install-button:active {
            transform: translateY(0);
            box-shadow: 0 2px 12px rgba(38, 198, 218, 0.3);
        }
        
        .settings-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: rgba(96, 125, 139, 0.6);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 24px;
            cursor: pointer;
            color: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(4px);
            transition: all 0.3s ease;
            z-index: 20;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.5s ease-out 1.3s both;
        }
        
        .settings-button:hover {
            background: rgba(96, 125, 139, 0.8);
            transform: rotate(90deg) scale(1.1);
        }
        
        /* Mobile: Smaller settings button */
        @media (max-width: 768px) {
            .settings-button {
                width: 40px;
                height: 40px;
                font-size: 18px;
                bottom: 15px;
                right: 15px;
            }
        }
        
        /* Pause Button */
        .pause-button {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, rgba(79, 195, 247, 0.25) 0%, rgba(79, 195, 247, 0.15) 100%);
            border: 2px solid rgba(79, 195, 247, 0.6);
            border-radius: 12px;
            width: 50px;
            height: 50px;
            cursor: pointer;
            color: #4fc3f7;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            z-index: 15;
            box-shadow: 0 4px 16px rgba(79, 195, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            -webkit-tap-highlight-color: rgba(79, 195, 247, 0.3);
            touch-action: manipulation;
            user-select: none;
            -webkit-user-select: none;
        }
        
        .pause-button:hover {
            background: linear-gradient(135deg, rgba(79, 195, 247, 0.35) 0%, rgba(79, 195, 247, 0.25) 100%);
            border-color: #4fc3f7;
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(79, 195, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }
        
        .pause-button:active {
            transform: scale(0.95);
        }
        
        @media (max-width: 768px) {
            .pause-button {
                width: 44px;
                height: 44px;
                top: 15px;
                right: 15px;
            }
            
            .pause-button svg {
                width: 20px;
                height: 20px;
            }
        }
        
        /* Pause Menu Button Styles */
        .pause-menu-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(79, 195, 247, 0.4);
        }
        
        .pause-menu-button:active {
            transform: translateY(0);
        }

        /* Character Selection */
        .character-scroll-container {
            width: 100%;
            max-width: 900px;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(79, 195, 247, 0.5) rgba(255, 255, 255, 0.1);
            padding: 20px 0;
            margin: 0 auto 40px;
        }
        
        /* Mobile: Less padding */
        @media (max-width: 768px) {
            .character-scroll-container {
                padding: 10px 0;
                margin: 0 auto 25px; /* Increased from 15px to 25px */
            }
        }
        
        .character-scroll-container::-webkit-scrollbar {
            height: 6px;
        }
        
        .character-scroll-container::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }
        
        .character-scroll-container::-webkit-scrollbar-thumb {
            background: rgba(79, 195, 247, 0.5);
            border-radius: 3px;
        }
        
        .character-scroll-container::-webkit-scrollbar-thumb:hover {
            background: rgba(79, 195, 247, 0.8);
        }
        
        .character-scroll-wrapper {
            display: flex;
            gap: 30px;
            padding: 0 20px;
            justify-content: center;
            min-width: min-content;
        }
        
        /* Mobile: Smaller gap */
        @media (max-width: 768px) {
            .character-scroll-wrapper {
                gap: 15px;
                padding: 0 10px;
            }
        }
        
        .character-card {
            background: rgba(20, 50, 70, 0.6);
            border: 3px solid transparent;
            border-radius: 20px;
            padding: 24px;
            width: 220px;
            min-width: 220px;
            flex-shrink: 0;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            -webkit-tap-highlight-color: rgba(79, 195, 247, 0.3);
            touch-action: manipulation;
            user-select: none;
            -webkit-user-select: none;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
            animation: cardSlideUp 0.5s ease-out both;
        }
        
        /* Mobile: Much more compact cards */
        @media (max-width: 768px) {
            .character-card {
                width: 130px;
                min-width: 130px;
                padding: 12px;
                border-radius: 12px;
                border-width: 2px;
            }
        }
        
        .character-card:nth-child(1) {
            animation-delay: 0.7s;
        }
        
        .character-card:nth-child(2) {
            animation-delay: 0.8s;
        }
        
        .character-card:nth-child(3) {
            animation-delay: 0.9s;
        }
        
        @keyframes cardSlideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Breathing animation for cards */
        .character-card {
            animation: cardSlideUp 0.5s ease-out both, breathe 2s ease-in-out infinite;
        }
        
        .character-card:nth-child(1) {
            animation: cardSlideUp 0.5s ease-out 0.7s both, breathe 2s ease-in-out 0s infinite;
        }
        
        .character-card:nth-child(2) {
            animation: cardSlideUp 0.5s ease-out 0.8s both, breathe 2s ease-in-out 0.3s infinite;
        }
        
        .character-card:nth-child(3) {
            animation: cardSlideUp 0.5s ease-out 0.9s both, breathe 2s ease-in-out 0.6s infinite;
        }
        
        @keyframes breathe {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.02);
            }
        }
        
        /* Mobile-specific adjustments */
        @media (max-width: 768px) {
            #lobby h1 {
                font-size: 40px;
            }
            
            .character-scroll-wrapper {
                gap: 20px;
            }
            
            .character-card {
                width: 180px;
                min-width: 180px;
                padding: 20px;
            }
            
            .character-preview {
                width: 100px !important;
                height: 100px !important;
            }
        }
        
        .character-card:hover {
            transform: scale(1.05) !important;
            border-color: rgba(79, 195, 247, 0.5);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        }
        
        .character-card.selected {
            border-color: #4fc3f7;
            background: rgba(79, 195, 247, 0.2);
            box-shadow: 0 0 30px rgba(79, 195, 247, 0.6);
            animation: cardSlideUp 0.5s ease-out both, selectedGlow 1.5s ease-in-out infinite;
        }
        
        @keyframes selectedGlow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(79, 195, 247, 0.4);
            }
            50% {
                box-shadow: 0 0 40px rgba(79, 195, 247, 0.8);
            }
        }
        
        .character-preview {
            background: rgba(10, 50, 80, 0.5);
            border-radius: 10px;
            margin-bottom: 15px;
            display: block;
        }
        
        /* Mobile: Smaller character preview */
        @media (max-width: 768px) {
            .character-preview {
                width: 90px !important;
                height: 90px !important;
                margin-bottom: 8px;
                border-radius: 8px;
            }
        }
        
        .character-name {
            font-size: 18px;
            font-weight: bold;
            color: #4fc3f7;
            margin: 10px 0 8px 0;
        }
        
        /* Mobile: Smaller text */
        @media (max-width: 768px) {
            .character-name {
                font-size: 13px;
                margin: 6px 0 4px 0;
            }
        }
        
        .character-stats {
            font-size: 14px;
            color: #80deea;
            margin: 5px 0;
        }
        
        /* Mobile: Smaller stats */
        @media (max-width: 768px) {
            .character-stats {
                font-size: 10px;
                margin: 3px 0;
            }
        }
        
        .character-special {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            font-style: italic;
            margin-top: 5px;
        }
        
        /* Mobile: Smaller special text */
        @media (max-width: 768px) {
            .character-special {
                font-size: 9px;
                margin-top: 3px;
            }
        }
        
        /* Difficulty Selection */

        #ui {
            position: absolute;
            top: 20px;
            left: 20px;
            color: white;
            font-size: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            z-index: 10;
        }

        #gameOver {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 30, 46, 0.95);
            backdrop-filter: blur(10px);
            color: white;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            visibility: hidden;
            z-index: 200;
        }
        
        @keyframes gameOverSlide {
            from {
                opacity: 0;
                transform: translate(-50%, -45%);
            }
            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }

        #gameOver h2 {
            font-size: 48px;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #4fc3f7 0%, #26c6da 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
            font-weight: bold;
            letter-spacing: 1px;
        }
        
        #gameOver p {
            color: rgba(255, 255, 255, 0.9);
        }

        #gameOver button {
            margin-top: 20px;
            padding: 16px 32px;
            font-size: 18px;
            background: linear-gradient(135deg, #4fc3f7 0%, #26c6da 100%);
            border: none;
            border-radius: 12px;
            cursor: pointer;
            color: white;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
        }
        
        #gameOver button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(79, 195, 247, 0.5);
        }
        
        #gameOver button:active {
            transform: translateY(0);
        }

        .mobile-controls {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 10;
        }

        .joystick-container {
            width: 120px;
            height: 120px;
            background: rgba(79, 195, 247, 0.2);
            border: 3px solid rgba(79, 195, 247, 0.4);
            border-radius: 50%;
            position: fixed;
            transform: translate(-50%, -50%);
            touch-action: none;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.15s ease-out;
            z-index: 1000;
        }

        .joystick-knob {
            width: 50px;
            height: 50px;
            background: rgba(79, 195, 247, 0.6);
            border: 3px solid rgba(79, 195, 247, 0.9);
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
        }

        #gameOver button {
            margin: 10px;
            padding: 15px 30px;
            font-size: 18px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            color: white;
            font-weight: bold;
            transition: all 0.3s ease;
            min-width: 180px;
            /* Mobile improvements */
            touch-action: manipulation;
            -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
        }
        
        #gameOver button:active {
            transform: scale(0.95);
        }

        /* Toggle Switch */
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 34px;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.4s;
            border-radius: 34px;
        }
        
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
        }
        
        input:checked + .toggle-slider {
            background-color: #4fc3f7;
        }
        
        input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }

        /* Splash Screen - Fullscreen Image */
        #splashScreen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, #2d5a7b 0%, #1a3d5c 50%, #0a1e2e 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.3s ease-out;
        }

        #splashScreen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .splash-title {
            font-size: 48px;
            background: linear-gradient(135deg, #4fc3f7 0%, #26c6da 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: bold;
            letter-spacing: 2px;
            margin-bottom: 40px;
        }
        
        @media (max-width: 768px) {
            .splash-title {
                font-size: 32px;
                letter-spacing: 1px;
            }
        }

        .splash-loader {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(79, 195, 247, 0.2);
            border-top-color: #4fc3f7;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }


        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Game Setup Screen */
        #gameSetup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, #0a1e2e 0%, #1a3a4a 100%);
            overflow-y: auto;
            z-index: 30;
        }
        
        .game-setup-content {
            position: relative;
            z-index: 5;
            max-width: 900px;
            margin: 0 auto;
            padding: 60px 20px;
            text-align: center;
        }
        
        @media (max-width: 768px) {
            .game-setup-content {
                padding: 40px 15px;
            }
        }
        
        .setup-section {
            margin: 40px 0;
        }
        
        .setup-section-title {
            font-size: 24px;
            color: #4fc3f7;
            margin-bottom: 25px;
            font-weight: 600;
            text-shadow: 0 2px 10px rgba(79, 195, 247, 0.3);
        }
        
        @media (max-width: 768px) {
            .setup-section-title {
                font-size: 20px;
                margin-bottom: 20px;
            }
        }
        
        .setup-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            max-width: 800px;
            margin: 0 auto;
        }
        
        @media (max-width: 768px) {
            .setup-options {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
        }
        
        .setup-card {
            background: linear-gradient(135deg, rgba(20, 50, 70, 0.7) 0%, rgba(30, 60, 80, 0.7) 100%);
            border: 2px solid rgba(79, 195, 247, 0.3);
            border-radius: 16px;
            padding: 24px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }
        
        @media (max-width: 768px) {
            .setup-card {
                padding: 18px 12px;
                border-radius: 12px;
            }
        }
        
        .setup-card:hover {
            transform: translateY(-4px);
            border-color: rgba(79, 195, 247, 0.6);
            box-shadow: 0 6px 20px rgba(79, 195, 247, 0.3);
        }
        
        .setup-card.selected {
            border-color: #4fc3f7;
            background: linear-gradient(135deg, rgba(79, 195, 247, 0.25) 0%, rgba(79, 195, 247, 0.15) 100%);
            box-shadow: 0 0 30px rgba(79, 195, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transform: scale(1.05);
        }
        
        .setup-card-icon {
            font-size: 48px;
            margin-bottom: 12px;
        }
        
        @media (max-width: 768px) {
            .setup-card-icon {
                font-size: 36px;
                margin-bottom: 8px;
            }
        }
        
        .setup-card-name {
            font-size: 20px;
            font-weight: bold;
            color: #4fc3f7;
            margin-bottom: 8px;
        }
        
        @media (max-width: 768px) {
            .setup-card-name {
                font-size: 16px;
            }
        }
        
        .setup-card-desc {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 12px;
            min-height: 32px;
        }
        
        @media (max-width: 768px) {
            .setup-card-desc {
                font-size: 11px;
                min-height: 28px;
            }
        }
        
        .setup-card-highscore {
            font-size: 12px;
            color: #80deea;
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            .setup-card-highscore {
                font-size: 10px;
            }
        }
        
        .setup-mode-options {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            max-width: 600px;
            margin: 0 auto;
        }
        
        @media (max-width: 768px) {
            .setup-mode-options {
                gap: 12px;
            }
        }
        
        .setup-mode-card {
            background: linear-gradient(135deg, rgba(20, 50, 70, 0.7) 0%, rgba(30, 60, 80, 0.7) 100%);
            border: 2px solid rgba(79, 195, 247, 0.3);
            border-radius: 16px;
            padding: 30px 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }
        
        @media (max-width: 768px) {
            .setup-mode-card {
                padding: 24px 16px;
                border-radius: 12px;
            }
        }
        
        .setup-mode-card:hover {
            transform: translateY(-4px);
            border-color: rgba(79, 195, 247, 0.6);
            box-shadow: 0 6px 20px rgba(79, 195, 247, 0.3);
        }
        
        .setup-mode-card.selected {
            border-color: #4fc3f7;
            background: linear-gradient(135deg, rgba(79, 195, 247, 0.25) 0%, rgba(79, 195, 247, 0.15) 100%);
            box-shadow: 0 0 30px rgba(79, 195, 247, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transform: scale(1.05);
        }
        
        .setup-mode-icon {
            font-size: 56px;
            margin-bottom: 15px;
        }
        
        @media (max-width: 768px) {
            .setup-mode-icon {
                font-size: 44px;
                margin-bottom: 12px;
            }
        }
        
        .setup-mode-name {
            font-size: 22px;
            font-weight: bold;
            color: #4fc3f7;
            margin-bottom: 10px;
        }
        
        @media (max-width: 768px) {
            .setup-mode-name {
                font-size: 18px;
            }
        }
        
        .setup-mode-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }
        
        @media (max-width: 768px) {
            .setup-mode-desc {
                font-size: 12px;
            }
        }
        
        .setup-button-primary {
            flex: 1;
            padding: 18px 32px;
            background: linear-gradient(135deg, #4fc3f7 0%, #3aa0d0 100%);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(79, 195, 247, 0.4);
        }
        
        .setup-button-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(79, 195, 247, 0.6);
        }
        
        .setup-button-secondary {
            flex: 1;
            padding: 18px 32px;
            background: rgba(79, 195, 247, 0.1);
            border: 2px solid rgba(79, 195, 247, 0.4);
            border-radius: 12px;
            color: #4fc3f7;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .setup-button-secondary:hover {
            background: rgba(79, 195, 247, 0.2);
            border-color: #4fc3f7;
        }
        
        @media (max-width: 768px) {
            .setup-button-primary,
            .setup-button-secondary {
                padding: 14px 24px;
                font-size: 16px;
            }
        }
