
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: url('bg.jpg') no-repeat center center fixed;
            background-size: cover;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
        }

        /* Animated Background */
        body::before {
            content: '';
            position: absolute;
          
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: bgMove 20s linear infinite;
        }

        @keyframes bgMove {
            0% {
                transform: translate(0, 0);
            }

            100% {
                transform: translate(50px, 50px);
            }
        }

        /* Preloader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('bg.jpg') no-repeat center center fixed;
            background-size: cover;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        #preloader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader {
            position: relative;
            width: 120px;
            height: 120px;
        }

        .loader-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 4px solid transparent;
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 1.5s linear infinite;
        }

        .loader-ring:nth-child(2) {
            width: 80%;
            height: 80%;
            top: 10%;
            left: 10%;
            border-top-color: #ffd700;
            animation-duration: 2s;
        }

        .loader-ring:nth-child(3) {
            width: 60%;
            height: 60%;
            top: 20%;
            left: 20%;
            border-top-color: #ff6b6b;
            animation-duration: 2.5s;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .loader-text {
            color: white;
            font-size: 24px;
            font-weight: 600;
            margin-top: 150px;
            animation: pulse 1.5s ease-in-out infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        /* Game Container */
        #game-container {
            position: relative;
            z-index: 1;
            opacity: 0;
            animation: fadeIn 1s ease forwards;
            animation-delay: 0.5s;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        /* Header */
        .game-header {
            text-align: center;
            margin-bottom: 30px;
            animation: slideDown 0.8s ease;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .game-title {
            font-size: 42px;
            font-weight: 700;
            color: white;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
            margin-bottom: 10px;
        }

        .game-subtitle {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 300;
        }

        /* Score Panel */
        #score-panel {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 20px 40px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-bottom: 40px;
            animation: scaleIn 0.5s ease;
            animation-delay: 0.3s;
            opacity: 0;
            animation-fill-mode: forwards;
        }

        @keyframes scaleIn {
            from {
                transform: scale(0.8);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .score-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .score-label {
            font-size: 12px;
            color: #666;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .score-value {
            font-size: 28px;
            font-weight: 700;
            color: #667eea;
        }

        .stars {
            display: flex;
            gap: 8px;
        }

        .stars i {
            font-size: 24px;
            color: #ffd700;
            transition: all 0.3s ease;
        }

        .stars i.fa-star-o {
            color: #ddd;
        }

        /* Game Canvas */
        #canves {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 30px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: slideUp 0.8s ease;
            animation-delay: 0.5s;
            opacity: 0;
            animation-fill-mode: forwards;
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .towers-container {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 40px;
            min-height: 280px;
        }

        .tower {
            width: 140px;
            height: 240px;
            position: relative;
            display: flex;
            flex-direction: column-reverse;
            align-items: center;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .tower:hover {
            transform: translateY(-5px);
        }

        .tower-base {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 8px;
            background: linear-gradient(to right, #667eea, #764ba2);
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .tower-pole {
            position: absolute;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 230px;
            background: linear-gradient(to bottom, #667eea, #764ba2);
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .disk {
            height: 22px;
            border-radius: 12px;
            position: relative;
            z-index: 20;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            cursor: grab;
            border: 3px solid rgba(255, 255, 255, 0.3);
        }

        .disk:active {
            cursor: grabbing;
        }

        .disk.hold {
            position: absolute;
            top: -60px;
            left: 50%;
            transform: translateX(-50%) scale(1.1) rotate(5deg);
            animation: float 0.6s ease-in-out infinite;
            z-index: 100;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        @keyframes float {

            0%,
            100% {
                transform: translateX(-50%) scale(1.1) rotate(5deg) translateY(0);
            }

            50% {
                transform: translateX(-50%) scale(1.1) rotate(5deg) translateY(-10px);
            }
        }

        .disk-1 {
            width: 50px;
            background: linear-gradient(135deg, #e91e63, #f06292);
        }

        .disk-2 {
            width: 70px;
            background: linear-gradient(135deg, #673ab7, #9575cd);
        }

        .disk-3 {
            width: 90px;
            background: linear-gradient(135deg, #3f51b5, #7986cb);
        }

        .disk-4 {
            width: 110px;
            background: linear-gradient(135deg, #00bcd4, #4dd0e1);
        }

        .disk-5 {
            width: 130px;
            background: linear-gradient(135deg, #8bc34a, #aed581);
        }

        .disk-6 {
            width: 150px;
            background: linear-gradient(135deg, #ffc107, #ffd54f);
        }

        .disk-7 {
            width: 170px;
            background: linear-gradient(135deg, #ff9800, #ffb74d);
        }

        .disk:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        /* Controls */
        .controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 15px 35px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            font-family: 'Poppins', sans-serif;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-level {
            background: linear-gradient(135deg, #4facfe, #00f2fe);
            color: white;
        }

        .btn-level:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
        }

        .btn-restart {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }

        .btn-restart:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .btn-sound {
            background: linear-gradient(135deg, #f093fb, #f5576c);
            color: white;
        }

        .btn-sound:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
        }

        .btn-sound.muted {
            opacity: 0.6;
        }

        /* Particle Effect */
        .particle {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #ffd700;
            border-radius: 50%;
            pointer-events: none;
            animation: particle-float 1s ease-out forwards;
        }

        @keyframes particle-float {
            0% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }

            100% {
                transform: translateY(-100px) scale(0);
                opacity: 0;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .game-title {
                font-size: 32px;
            }

            .towers-container {
                gap: 20px;
            }

            .tower {
                width: 100px;
            }

            #canves {
                padding: 20px;
            }

            .controls {
                gap: 10px;
            }

            .btn {
                padding: 12px 25px;
                font-size: 14px;
            }
        }
