        /* Snake game style */
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Primary Brand Colors */
            --primary-orange: #ff6a00;
            --primary-pink: #ee0979;
            --primary-purple: #6a11cb;
            --primary-blue: #2575fc;
            --snake-color-1: #ff6a00;  /* Theme based colors */
            --snake-color-2: #ee0979;
            --food-red: #ef4444;

            /* Neutrals */
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --white: #ffffff;
        }

        body {
            font-family: "Segoe UI", Arial, sans-serif;
            background: #f4f7fb;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header - Same as Tic Tac Toe */
        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 30px;
            background: var(--white);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        header img {
            height: 55px;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 20px;
        }

        nav ul li a {
            text-decoration: none;
            font-weight: bold;
            color: #444;
            position: relative;
            transition: color 0.3s ease, transform 0.3s ease;
            padding: 5px 10px;
        }

        nav ul li a:hover {
            color: var(--primary-orange);
            transform: translateY(-2px);
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary-orange);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            font-size: 24px;
            background: none;
            border: none;
            color: #444;
            cursor: pointer;
            z-index: 1001;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .menu-toggle:hover {
            color: var(--primary-orange);
            transform: rotate(90deg);
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--white);
                box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
                transform: translateX(-100%);
                transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
                opacity: 0;
            }

            nav.active {
                display: block;
                transform: translateX(0);
                opacity: 1;
            }

            nav ul {
                flex-direction: column;
                padding: 20px;
                gap: 15px;
            }

            nav ul li {
                text-align: center;
                opacity: 0;
                transform: translateY(20px);
                transition: opacity 0.3s ease, transform 0.3s ease;
            }

            nav.active ul li {
                opacity: 1;
                transform: translateY(0);
            }
            
            header {
                padding: 15px 20px;
            }
            
            header img {
                height: 45px;
            }
        }

        /* Main content wrapper to push footer to bottom */
        .main-content {
            flex: 1 0 auto;
            width: 100%;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: var(--white);
            text-align: center;
            padding: 70px 20px;
        }

        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 12px;
            animation: fadeInDown 1s ease;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
            position: relative;
            display: inline-block;
        }

        .hero h1::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 4px;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .hero p {
            font-size: 1.2rem;
            animation: fadeInUp 1.2s ease;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        @media (max-width: 768px) {
            .hero {
                padding: 40px 15px;
            }
            
            .hero h1 {
                font-size: 2rem;
                line-height: 1.2;
            }
            
            .hero p {
                font-size: 1rem;
                padding: 0 10px;
            }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Tools Heading */
        .tools-heading {
            text-align: center;
            margin: 30px auto;
            animation: fadeInDown 1s ease;
            width: 100%;
            max-width: 1400px;
            padding: 0 20px;
        }

        .tools-heading h2 {
            font-size: 2.8rem;
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 15px;
        }

        .tools-heading h2::after {
            content: "";
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            border-radius: 2px;
            transition: width 0.4s ease;
        }

        .tools-heading h2:hover::after {
            width: 140px;
        }

        .tools-heading p {
            font-size: 1.1rem;
            color: var(--gray);
            max-width: 800px;
            margin: 15px auto 0;
            line-height: 1.6;
        }
        
        @media (max-width: 768px) {
            .tools-heading {
                padding: 0 15px;
                margin: 20px auto;
            }
            
            .tools-heading h2 {
                font-size: 1.8rem;
            }
            
            .tools-heading p {
                font-size: 1rem;
                padding: 0 10px;
            }
        }

        /* Brand Highlight */
        .brand-highlight {
            color: var(--primary-orange);
            font-weight: 700;
        }

        /* Container - 40% larger */
        .container {
            width: 100%;
            max-width: 1400px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            margin: 20px auto;
        }
        
        @media (max-width: 768px) {
            .container {
                margin: 20px 10px;
                width: calc(100% - 20px);
            }
        }

        .tool-container {
            padding: 35px;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        @media (max-width: 768px) {
            .tool-container {
                padding: 20px;
            }
        }

        /* Snake Game Card */
        .snake-game-card {
            background: linear-gradient(135deg, #ffffff, #f8f9fa);
            border-radius: 20px;
            padding: 35px;
            transition: transform 0.3s ease;
            border: 2px solid rgba(255, 106, 0, 0.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        @media (max-width: 768px) {
            .snake-game-card {
                padding: 20px;
            }
        }

        .snake-game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(255, 106, 0, 0.1);
        }

        .snake-game-card h2 {
            font-size: 2.2rem;
            color: var(--primary-orange);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            justify-content: center;
        }

        .snake-game-card h2 i {
            font-size: 2.2rem;
        }

        .game-subtitle {
            color: var(--gray);
            margin-bottom: 30px;
            font-size: 1.1rem;
            text-align: center;
        }

        /* Game Container - 40% larger */
        .game-container {
            display: grid;
            grid-template-columns: 1fr 450px;
            gap: 40px;
            margin-top: 20px;
        }

        @media (max-width: 1100px) {
            .game-container {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .game-board-container {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
            }
        }

        /* Game Board - 40% larger */
        .game-board-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .game-board {
            display: grid;
            grid-template-columns: repeat(20, 1fr);
            grid-template-rows: repeat(20, 1fr);
            gap: 1px;
            width: 700px;
            height: 700px;
            background: linear-gradient(135deg, #0f172a, #1e293b);
            padding: 15px;
            border-radius: 15px;
            box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.3),
                        0 8px 20px rgba(0, 0, 0, 0.2);
            margin-bottom: 30px;
            border: 3px solid rgba(255, 106, 0, 0.15);
            position: relative;
            overflow: hidden;
        }

        @media (max-width: 770px) {
            .game-board {
                width: 100%;
                max-width: 500px;
                height: auto;
                aspect-ratio: 1 / 1;
                margin: 0 auto 20px;
            }
        }

        @media (max-width: 550px) {
            .game-board {
                max-width: 400px;
            }
        }

        @media (max-width: 450px) {
            .game-board {
                max-width: 350px;
            }
        }
        
        @media (max-width: 380px) {
            .game-board {
                max-width: 300px;
            }
        }

        .cell {
            background: rgba(30, 41, 59, 0.7);
            border-radius: 2px;
            transition: all 0.15s ease-out;
        }

        /* Snake Head - Fixed rotation and theme colors */
        .snake-head {
            background: linear-gradient(135deg, var(--snake-color-1), var(--snake-color-2));
            border-radius: 4px;
            box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
            z-index: 2;
            position: relative;
            transition: all 0.15s ease-out;
        }

        /* Removed rotation transform for snake head */
        .snake-head::after {
            content: '';
            position: absolute;
            width: 40%;
            height: 40%;
            background: #000;
            border-radius: 50%;
            top: 30%;
            left: 30%;
            box-shadow: 0 0 5px rgba(255, 106, 0, 0.5);
        }

        /* Snake Body - Theme colors */
        .snake-body {
            background: linear-gradient(135deg, var(--snake-color-1), var(--snake-color-2));
            border-radius: 3px;
            box-shadow: 0 0 5px rgba(255, 106, 0, 0.3);
            transition: all 0.15s ease-out;
        }

        .food {
            background: linear-gradient(135deg, var(--food-red), #dc2626);
            border-radius: 50%;
            animation: pulse 1s infinite alternate;
            box-shadow: 0 0 15px rgba(239, 68, 68, 0.7);
            position: relative;
            transition: all 0.15s ease-out;
        }

        .food::after {
            content: '';
            position: absolute;
            width: 30%;
            height: 30%;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            top: 20%;
            left: 20%;
        }

        @keyframes pulse {
            from {
                transform: scale(0.9);
            }
            to {
                transform: scale(1.1);
            }
        }

        @keyframes scorePop {
            0% { transform: scale(1); }
            50% { transform: scale(1.3); }
            100% { transform: scale(1); }
        }

        /* Game Controls Panel - 40% larger */
        .game-controls-panel {
            background: linear-gradient(135deg, #f8f9fa, #f0f5ff);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
            border: 1px solid rgba(255, 106, 0, 0.1);
        }
        
        @media (max-width: 768px) {
            .game-controls-panel {
                padding: 20px;
            }
        }

        .game-info, .game-settings, .score-board {
            margin-bottom: 30px;
        }

        .game-controls-panel h3 {
            color: var(--primary-orange);
            margin-bottom: 15px;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .game-controls-panel h3 i {
            font-size: 1.3rem;
        }

        /* Game Info Display */
        .game-info-display {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        
        @media (max-width: 768px) {
            .game-info-display {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .game-info-display {
                grid-template-columns: 1fr;
            }
        }

        .info-item {
            background: var(--white);
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            border-left: 3px solid var(--primary-orange);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        }

        .info-label {
            font-size: 0.95rem;
            color: var(--gray);
            margin-bottom: 5px;
        }

        .info-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-orange);
            transition: transform 0.2s ease-out;
        }

        /* Settings Buttons */
        .settings-buttons {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        
        @media (max-width: 768px) {
            .settings-buttons {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .settings-buttons {
                grid-template-columns: 1fr;
            }
        }

        .setting-btn, .action-btn {
            padding: 12px 18px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .setting-btn {
            background: var(--light);
            color: var(--dark);
            border: 1px solid #dee2e6;
        }

        .setting-btn.active {
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: var(--white);
            border-color: var(--primary-orange);
            box-shadow: 0 3px 8px rgba(255, 106, 0, 0.25);
        }

        /* Score Board */
        .score-board {
            background: var(--white);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
        }

        .score-display {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            text-align: center;
        }
        
        @media (max-width: 768px) {
            .score-display {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .score-display {
                grid-template-columns: 1fr;
            }
        }

        .score-item {
            padding: 15px;
            border-radius: 10px;
            background: var(--light);
        }

        .score-item.active {
            background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(255, 106, 0, 0.03));
            border: 1px solid var(--primary-orange);
        }

        .score-label {
            font-size: 0.95rem;
            color: var(--gray);
            margin-bottom: 5px;
        }

        .score-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-orange);
            transition: transform 0.2s ease-out;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 25px;
        }

        .action-btn {
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: var(--white);
            font-size: 1.05rem;
            padding: 15px;
        }

        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 12px rgba(255, 106, 0, 0.3);
        }

        .action-btn.reset {
            background: linear-gradient(135deg, #6c757d, #495057);
        }

        .action-btn.reset:hover {
            box-shadow: 0 5px 12px rgba(108, 117, 125, 0.3);
        }

        .action-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
            box-shadow: none !important;
        }

        /* Game Status */
        .game-status {
            text-align: center;
            margin-top: 25px;
            padding: 20px;
            background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(37, 117, 252, 0.08));
            border-radius: 12px;
            border-left: 4px solid var(--primary-orange);
            min-height: 100px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .status-text {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 8px;
        }

        .game-over {
            color: var(--food-red);
            font-size: 1.5rem;
        }

        .controls-info {
            font-size: 1rem;
            color: var(--gray);
            margin-top: 5px;
        }

        /* Game Instructions */
        .game-instructions {
            background: linear-gradient(135deg, #f8f9fa, #f0f5ff);
            border-radius: 15px;
            padding: 25px;
            margin-top: 30px;
            border: 1px solid rgba(255, 106, 0, 0.1);
        }

        .game-instructions h3 {
            color: var(--primary-orange);
            margin-bottom: 15px;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .instructions-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
        }

        .instruction-item {
            background: var(--white);
            padding: 15px;
            border-radius: 10px;
            border-left: 3px solid var(--primary-orange);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
            font-size: 1rem;
        }

        .instruction-item i {
            color: var(--primary-orange);
            margin-right: 8px;
            font-size: 1.1rem;
        }

        /* Tool Info */
        .tool-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 25px;
            padding: 20px;
            background: #f0f8ff;
            border-radius: 10px;
        }
        
        @media (max-width: 768px) {
            .tool-info {
                flex-direction: column;
                text-align: center;
                gap: 20px;
                padding: 20px 15px;
            }
        }

        .tool-info h3 {
            color: var(--primary-orange);
            margin-bottom: 5px;
            font-size: 1.3rem;
        }

        .tool-info p {
            color: var(--gray);
            font-size: 1rem;
        }

        .tool-stats {
            display: flex;
            gap: 25px;
        }
        
        @media (max-width: 768px) {
            .tool-stats {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            
            .stat {
                min-width: 100px;
            }
        }

        .stat {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-orange);
        }

        .stat-label {
            font-size: 1rem;
            color: var(--gray);
        }

        /* How to Use Section - 40% larger */
        .how-to-use {
            width: 100%;
            max-width: 1400px;
            margin: 40px auto;
            padding: 0 20px;
        }
        
        @media (max-width: 768px) {
            .how-to-use {
                padding: 0 10px;
                margin: 30px auto;
            }
            
            /* Mobile में heading alignment fix */
            .how-to-use-card h2 {
                font-size: 1.8rem;
                text-align: center;
                justify-content: center;
                flex-direction: column;
                gap: 8px;
                padding: 0 10px;
                line-height: 1.3;
            }
            
            .how-to-use-card h2 i {
                font-size: 1.8rem;
                margin-bottom: 5px;
            }
        }

        .how-to-use-card {
            background: var(--white);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 35px;
            margin-bottom: 40px;
            transition: transform 0.3s ease;
        }
        
        @media (max-width: 768px) {
            .how-to-use-card {
                padding: 25px 15px;
                margin: 0 10px 30px;
                width: calc(100% - 20px);
            }
        }

        .how-to-use-card:hover {
            transform: translateY(-5px);
        }

        .how-to-use-card h2 {
            font-size: 2.2rem;
            color: var(--primary-orange);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .how-to-use-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }

        .step {
            background: var(--light);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
            border-left: 4px solid var(--primary-orange);
        }
        
        @media (max-width: 768px) {
            .step {
                padding: 20px 15px;
            }
        }

        .step:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .step-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: var(--white);
            border-radius: 50%;
            font-weight: bold;
            margin: 0 auto 15px;
            font-size: 1.2rem;
        }

        .step h3 {
            font-size: 1.4rem;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .step p {
            color: var(--gray);
            line-height: 1.5;
            font-size: 1rem;
        }

        /* ========================= */
        /* ENHANCED FOOTER STYLES - Same as Tic Tac Toe */
        /* ========================= */
        footer {
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            color: var(--white);
            padding: 20px 15px;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            width: 100%;
            margin-top: auto;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink), #00c4cc);
            z-index: 1;
        }

        .footer-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .footer-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .footer-logo {
            margin-bottom: 15px;
            transition: transform 0.5s ease;
        }

        .footer-logo:hover {
            transform: translateY(-5px);
        }

        .footer-logo img {
            height: 60px;
            transition: transform 0.3s ease;
            border-radius: 8px;
            background: var(--white);
            padding: 5px;
        }

        .footer-logo img:hover {
            transform: scale(1.05);
        }

        .footer-description {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 15px;
            max-width: 100%;
            opacity: 0.9;
        }

        .footer-heading {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 15px;
            position: relative;
            padding-bottom: 8px;
            display: inline-block;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
            transition: width 0.4s ease;
        }

        .footer-heading:hover::after {
            width: 50px;
        }

        .footer-tools ul,
        .footer-quick-links ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            padding: 0;
            margin: 0;
        }

        .footer-tools ul li a,
        .footer-quick-links ul li a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.9;
            transition: opacity 0.3s ease, color 0.3s ease;
            font-size: 0.95rem;
        }

        .footer-tools ul li a:hover,
        .footer-quick-links ul li a:hover {
            opacity: 1;
            color: #ffcc00;
        }

        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 15px;
            justify-content: center;
            align-items: center;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: var(--white);
            font-size: 18px;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .footer-social a::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.3s ease;
            z-index: -1;
        }

        .footer-social a:hover {
            transform: translateY(-3px);
            color: var(--white);
        }

        .footer-social a:hover::after {
            transform: scale(1);
        }

        .footer-social a i {
            transition: transform 0.3s ease;
        }

        .footer-social a:hover i {
            transform: scale(1.2);
        }

        .footer-contact {
            margin-top: 15px;
        }

        .footer-contact p {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            opacity: 0.9;
            font-size: 1rem;
        }

        .footer-contact i {
            margin-right: 8px;
            color: #ffcc00;
            font-size: 18px;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 20px;
            font-size: 0.95rem;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            padding-top: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            grid-column: 1 / -1;
        }

        .footer-bottom p {
            margin-bottom: 12px;
            opacity: 0.9;
            width: 100%;
        }

        .footer-legal {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            width: 100%;
        }

        .footer-legal a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s ease, color 0.3s ease;
            font-size: 0.95rem;
            position: relative;
            white-space: nowrap;
        }

        .footer-legal a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            background: #ffcc00;
            bottom: -2px;
            left: 0;
            transition: width 0.3s ease;
        }

        .footer-legal a:hover {
            opacity: 1;
            color: #ffcc00;
        }

        .footer-legal a:hover::after {
            width: 100%;
        }

        .footer-bubble {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            animation: float 8s infinite ease-in-out;
        }

        .footer-bubble:nth-child(1) {
            width: 60px;
            height: 60px;
            top: 20%;
            left: 5%;
            animation-delay: 0s;
        }

        .footer-bubble:nth-child(2) {
            width: 40px;
            height: 40px;
            top: 60%;
            left: 8%;
            animation-delay: 1s;
        }

        .footer-bubble:nth-child(3) {
            width: 50px;
            height: 50px;
            top: 30%;
            right: 5%;
            animation-delay: 2s;
        }

        .footer-bubble:nth-child(4) {
            width: 30px;
            height: 30px;
            top: 70%;
            right: 10%;
            animation-delay: 3s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-15px) rotate(10deg);
            }
        }

        .footer-newsletter {
            margin-top: 15px;
            width: 100%;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
        }

        .newsletter-input {
            padding: 12px 18px;
            border: none;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.12);
            color: var(--white);
            font-size: 15px;
            transition: background 0.3s ease, box-shadow 0.3s ease;
            width: 100%;
            max-width: 280px;
        }

        .newsletter-input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.18);
            box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.5);
        }

        .newsletter-input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .newsletter-btn {
            padding: 12px 18px;
            border: none;
            border-radius: 6px;
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: var(--white);
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            width: 100%;
            max-width: 280px;
            font-size: 15px;
        }

        .newsletter-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
        }

        @media (min-width: 769px) {
            .footer-container {
                grid-template-columns: repeat(4, 1fr);
            }

            .footer-bottom {
                grid-column: 1 / span 4;
            }
        }

        @media (max-width: 480px) {
            .footer-logo img {
                height: 45px;
            }

            .footer-heading {
                font-size: 1.2rem;
            }

            .footer-tools ul,
            .footer-quick-links ul {
                grid-template-columns: 1fr;
            }

            .footer-social a {
                width: 36px;
                height: 36px;
                font-size: 16px;
            }

            .footer-contact p {
                font-size: 0.9rem;
            }

            .footer-contact i {
                font-size: 16px;
            }

            .footer-legal a {
                font-size: 0.9rem;
            }

            .newsletter-input,
            .newsletter-btn {
                padding: 10px 14px;
                font-size: 14px;
                max-width: 220px;
            }
        }

        /* Mobile Controls Overlay */
        .mobile-controls {
            display: none;
            margin-top: 25px;
            width: 100%;
            max-width: 280px;
        }
        
        @media (max-width: 768px) {
            .mobile-controls {
                display: block;
                width: 100%;
                max-width: 280px;
                margin: 25px auto 0;
            }
        }
        
        @media (max-width: 480px) {
            .mobile-controls {
                max-width: 250px;
            }
        }

        .mobile-controls-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(3, 1fr);
            gap: 12px;
        }
        
        @media (max-width: 768px) {
            .mobile-controls-grid {
                gap: 10px;
            }
        }

        .mobile-control-btn {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: white;
            border: none;
            font-size: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        @media (max-width: 768px) {
            .mobile-control-btn {
                width: 65px;
                height: 65px;
                font-size: 24px;
            }
        }
        
        @media (max-width: 480px) {
            .mobile-control-btn {
                width: 60px;
                height: 60px;
                font-size: 22px;
            }
        }

        .mobile-control-btn:active {
            transform: scale(0.9);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .mobile-control-btn.up {
            grid-column: 2;
            grid-row: 1;
        }

        .mobile-control-btn.down {
            grid-column: 2;
            grid-row: 3;
        }

        .mobile-control-btn.left {
            grid-column: 1;
            grid-row: 2;
        }

        .mobile-control-btn.right {
            grid-column: 3;
            grid-row: 2;
        }