  :root {
            --primary-color: #6c5ce7;
            --secondary-color: #a29bfe;
            --accent-color: #fd79a8;
            --text-color: #2d3436;
            --light-text: #636e72;
            --bg-color: #f5f6fa;
            --sidebar-bg: #ffffff;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        .dark-mode {
            --primary-color: #a29bfe;
            --secondary-color: #6c5ce7;
            --text-color: #f5f6fa;
            --light-text: #dfe6e9;
            --bg-color: #2d3436;
            --sidebar-bg: #1e272e;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            transition: var(--transition);
        }

        .container {
            display: flex;
            min-height: 100vh;
        }

        /* Sidebar Styles */
        .sidebar {
            width: 250px;
            background-color: var(--sidebar-bg);
            color: var(--text-color);
            padding: 20px 0;
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow);
            transition: var(--transition);
            z-index: 10;
        }

        .logo {
            display: flex;
            align-items: center;
            padding: 0 20px 30px;
            font-size: 22px;
            font-weight: 600;
        }

        .logo i {
            margin-right: 10px;
            color: var(--primary-color);
            font-size: 28px;
        }

        .nav-links {
            flex: 1;
            list-style: none;
        }

        .nav-links li a {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            text-decoration: none;
            color: var(--light-text);
            transition: var(--transition);
        }

        .nav-links li a i {
            margin-right: 10px;
            font-size: 18px;
        }

        .nav-links li a:hover, .nav-links li a.active {
            color: var(--primary-color);
            background-color: rgba(108, 92, 231, 0.1);
        }

        .nav-links li a.active {
            border-left: 4px solid var(--primary-color);
        }

        .sidebar-footer {
            padding: 20px;
            display: flex;
            justify-content: space-between;
        }

        .sound-btn, .theme-toggle {
            background: none;
            border: none;
            color: var(--light-text);
            font-size: 18px;
            cursor: pointer;
            transition: var(--transition);
        }

        .sound-btn:hover, .theme-toggle:hover {
            color: var(--primary-color);
        }

        /* Main Content Styles */
        .main-content {
            flex: 1;
            padding: 30px;
            overflow-y: auto;
        }

        .page {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .page.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        h1 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-size: 2.2rem;
        }

        p {
            color: var(--light-text);
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .content-box {
            background-color: var(--sidebar-bg);
            padding: 25px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
        }

        /* Wheel Styles */
        .wheel-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 40px 0;
        }

        .wheel {
            position: relative;
            width: 500px;
            height: 500px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #wheelCanvas {
            position: relative;
            z-index: 1;
            transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
            transform: rotate(0deg);
            border-radius: 50%;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        }

        .wheel-center {
            position: absolute;
            width: 60px;
            height: 60px;
            background-color: var(--sidebar-bg);
            border-radius: 50%;
            z-index: 2;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        }

        .pointer {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background-color: var(--accent-color);
            clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
            z-index: 3;
        }

        .spin-btn {
            position: absolute;
            width: 80px;
            height: 80px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 4;
            cursor: pointer;
            box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
            transition: var(--transition);
        }

        .spin-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(108, 92, 231, 0.7);
        }

        .spin-btn i {
            font-size: 30px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Result Modal */
        .result-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 100;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: var(--sidebar-bg);
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
            animation: modalFadeIn 0.4s ease;
        }

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

        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 24px;
            cursor: pointer;
            color: var(--light-text);
            transition: var(--transition);
        }

        .close-modal:hover {
            color: var(--accent-color);
        }

        .winner-image {
            width: 150px;
            height: 150px;
            margin: 20px auto;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid var(--primary-color);
            box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
        }

        .winner-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        #claimBtn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 16px;
            margin-top: 20px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
        }

        #claimBtn:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(108, 92, 231, 0.4);
        }

        /* Prize Page Styles */
        .video-container {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
        }

        #prize-video {
            width: 100%;
            border-radius: 10px;
            box-shadow: var(--shadow);
            background-color: #000;
        }

        .duration-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
            justify-content: center;
            align-items: center;
        }

        .duration-btn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            transition: var(--transition);
            border-radius: 10px;
            overflow: hidden;
            width: 80px;
            height: 80px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            box-shadow: var(--shadow);
        }

        .duration-btn img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .dark-mode .duration-btn img {
            filter: brightness(1) invert(1);
        }

        .duration-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .duration-btn:hover img {
            transform: scale(1.05);
        }

       /* .duration-btn::after {
            content: attr(data-duration) "s";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 3px;
            font-size: 12px;
            text-align: center;
            transition: var(--transition);
        }*/

        .duration-btn[data-duration="0"]::after {
            content: "Full";
        }

        #prize-name {
            color: var(--accent-color);
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                height: auto;
                padding: 15px 0;
            }
            
            .logo {
                padding: 0 15px 15px;
                font-size: 20px;
            }
            
            .nav-links {
                display: flex;
                overflow-x: auto;
                padding-bottom: 10px;
            }
            
            .nav-links li {
                flex: 0 0 auto;
            }
            
            .nav-links li a {
                padding: 10px 15px;
                white-space: nowrap;
            }
            
            .nav-links li a.active {
                border-left: none;
                border-bottom: 3px solid var(--primary-color);
            }
            
            .wheel {
                width: 300px;
                height: 300px;
            }
            
            #wheelCanvas {
                width: 300px;
                height: 300px;
            }
            
            .spin-btn {
                width: 60px;
                height: 60px;
            }
            
            .spin-btn i {
                font-size: 24px;
            }
            
            .pointer {
                top: -15px;
                width: 30px;
                height: 30px;
            }
            
            .main-content {
                padding: 20px;
            }

            .duration-btn {
                width: 60px;
                height: 60px;
            }
            .ads-main{
           
              display: flex;

  align-items: center;
  flex-direction: column;
          }