    /* Consolidated CSS with improved responsiveness */
    
     :root {
        --primary-color: #8a1254;
        --secondary-color: #696cc8;
        --dark-color: #21362a;
        --darker-color: #133aa7;
        --light-color: #263f57;
        --success-color: #28a745;
        --danger-color: #dc3545;
        --warning-color: #ffc107;
        --info-color: #17a2b8;
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Poppins', 'Segoe UI', sans-serif;
    }
    
    body {
        background: linear-gradient(135deg, var(--dark-color), var(--darker-color));
        color: rgb(22, 74, 55);
        min-height: 100vh;
        line-height: 1.6;
        overflow-x: hidden;
    }
    /* Rain Animation */
    
    .rain-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }
    
    .rain-drop {
        position: absolute;
        width: 2px;
        background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
        border-radius: 0 0 5px 5px;
        animation: rain 5s linear infinite;
        opacity: 0.7;
    }
    
    @keyframes rain {
        0% {
            transform: translateY(0) scale(1);
            opacity: 0.7;
        }
        70% {
            opacity: 0.6;
        }
        100% {
            transform: translateY(100vh) scale(0.2);
            opacity: 0;
        }
    }
    /* Navigation */
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.9);
        backdrop-filter: blur(10px);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(214, 197, 197, 0.922);
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 10px;
    }
    
    .logo span {
        font-weight: 600;
        font-size: 1.2rem;
        color: white;
    }
    
    .nav-links {
        display: flex;
        align-items: center;
    }
    
    .nav-link {
        color: white;
        text-decoration: none;
        margin: 0 15px;
        font-size: 0.9rem;
        transition: color 0.3s;
        display: flex;
        align-items: center;
    }
    
    .nav-link i {
        margin-right: 5px;
    }
    
    .nav-link:hover {
        color: var(--secondary-color);
    }
    
    .signup-btn {
        background: var(--primary-color);
        padding: 8px 15px;
        border-radius: 5px;
        margin-left: 10px;
    }
    
    .signup-btn:hover {
        background: #4348a8;
        color: white;
    }
    
    .mobile-menu-btn {
        display: none;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .mobile-menu {
        /* display: none; */
        background: var(--dark-color);
        padding: 20px;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;

        /* Hide off screen initially */
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .mobile-menu.active{
        transform: translateY(0%);
    }
    
    .mobile-nav-link {
        display: block;
        color: white;
        text-decoration: none;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-nav-link i {
        margin-right: 10px;
    }
    /* Main Content */
    
    .main-content {
        position: relative;
        z-index: 2;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .page-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 30px 20px;
    }
    
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
        text-align: center;
        position: relative;
        padding-bottom: 15px;
    }
    
    .page-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    }
    /* Home Page Styles */
    
    .logo-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 40px;
        text-align: center;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .logo-img img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .welcome-text {
        margin-bottom: 30px;
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .action-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 25px;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .action-btn i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }
    
    .action-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    
    .action-btn:hover i {
        transform: translateX(5px);
    }
    
    .secondary-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .secondary-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    /* Games Grid */
    
    .games-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 30px;
    }
    
    .game-card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s;
    }
    
    .game-card:hover {
        transform: translateY(-5px);
    }
    
    .game-image {
        height: 180px;
        background-size: cover;
        background-position: center;
    }
    
    .game-info {
        padding: 20px;
    }
    
    .game-info h3 {
        margin-bottom: 10px;
        font-size: 1.3rem;
    }
    
    .game-info p {
        margin-bottom: 15px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
    }
    
    .play-btn {
        display: inline-block;
        padding: 8px 20px;
        background: var(--primary-color);
        color: white;
        text-decoration: none;
        border-radius: 5px;
        font-size: 0.9rem;
        transition: background 0.3s;
    }
    
    .play-btn:hover {
        background: #4348a8;
    }
    /* Gallery Styles */
    
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
        justify-items: center;
    }
    
    .gallery-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        width: 100%;
        max-width: 300px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .image-container {
        position: relative;
        width: 100%;
        height: 180px;
        overflow: hidden;
    }
    
    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .gallery-item:hover .image-container img {
        transform: scale(1.05);
    }
    
    .play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        background: rgba(89, 30, 147, 0.8);
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 2;
    }
    
    .play-btn i {
        font-size: 20px;
        color: #000;
    }
    
    .play-btn-text {
        font-size: 10px;
        font-weight: bold;
        color: #000;
        margin-top: 2px;
    }
    
    .gallery-item:hover .play-btn {
        opacity: 1;
    }
    
    .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        padding: 15px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover .image-overlay {
        transform: translateY(0);
    }
    
    .game-title {
        font-size: 1.1rem;
        margin: 15px 15px 5px;
        color: #fff;
    }
    
    .game-category {
        font-size: 0.8rem;
        margin: 0 15px 15px;
        color: #610ed5;
        opacity: 0.8;
    }
    /* Auth Pages */
    
    .auth-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 40px 20px;
    }
    
    .auth-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        padding: 35px 30px;
        width: 100%;
        max-width: 450px;
        transition: transform 0.3s ease;
    }
    
    .auth-card:hover {
        transform: translateY(-5px);
    }
    
    .auth-title {
        text-align: center;
        color: #2c3e50;
        margin-bottom: 25px;
        font-size: 28px;
        font-weight: 600;
    }
    
    .auth-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .form-group label {
        font-weight: 500;
        color: #2c3e50;
        font-size: 16px;
    }
    
    .form-group input {
        padding: 14px 16px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .form-group input:focus {
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        outline: none;
    }
    
    .form-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 10px 0;
    }
    
    .remember-me {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #2c3e50;
        font-size: 14px;
    }
    
    .forgot-password {
        color: #3498db;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }
    
    .forgot-password:hover {
        color: #2980b9;
        text-decoration: underline;
    }
    
    .auth-btn {
        background: linear-gradient(to right, #3498db, #2980b9);
        color: white;
        border: none;
        padding: 14px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 10px;
    }
    
    .auth-btn:hover {
        background: linear-gradient(to right, #2980b9, #3498db);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .auth-footer {
        text-align: center;
        margin-top: 25px;
        color: #2c3e50;
        font-size: 15px;
    }
    
    .auth-footer a {
        color: #3498db;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }
    
    .auth-footer a:hover {
        color: #2980b9;
        text-decoration: underline;
    }
    /* Footer */
    
    .main-footer {
        background: rgba(26, 26, 46, 0.9);
        padding: 50px 0 0;
        position: relative;
        z-index: 2;
    }
    
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: var(--secondary-color);
    }
    
    .footer-section p {
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .footer-section ul {
        list-style-type: none;
    }
    
    .footer-section ul li {
        margin-bottom: 10px;
    }
    
    .footer-section ul li a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .footer-section ul li a:hover {
        color: var(--secondary-color);
    }
    
    .social-icons {
        display: flex;
        gap: 15px;
    }
    
    .social-icons a {
        color: white;
        font-size: 1.2rem;
        transition: color 0.3s;
    }
    
    .social-icons a:hover {
        color: var(--secondary-color);
    }
    
    .footer-bottom {
        text-align: center;
        padding: 20px 0;
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        margin: 0 10px;
        font-size: 0.8rem;
    }
    
    .footer-links a:hover {
        color: var(--secondary-color);
    }
    /* Responsive Styles */
    
    @media (max-width: 1200px) {
        .container,
        .page-container {
            padding: 0 15px;
        }
    }
    
    @media (max-width: 992px) {
        .nav-links {
            display: none;
        }
        .mobile-menu-btn {
            display: block;
        }
        .games-grid {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }
        .gallery {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }
        .footer-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .page-title {
            font-size: 2rem;
        }
        .logo-card {
            padding: 30px 20px;
        }
        .logo-img img {
            width: 120px;
            height: 120px;
        }
        .action-buttons {
            flex-direction: column;
            gap: 10px;
        }
        .action-btn {
            width: 100%;
        }
        .auth-card {
            padding: 25px 20px;
        }
        .auth-title {
            font-size: 24px;
        }
        .form-options {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        .games-grid {
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 15px;
        }
        .gallery {
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 15px;
        }
        .footer-container {
            grid-template-columns: 1fr;
        }
    }
    
    @media (max-width: 576px) {
        .nav-container {
            padding: 15px;
        }
        .page-title {
            font-size: 1.8rem;
        }
        .game-info h3 {
            font-size: 1.1rem;
        }
        .auth-card {
            padding: 20px 15px;
        }
        .auth-title {
            font-size: 22px;
        }
        .form-group input {
            padding: 12px;
        }
        .auth-btn {
            padding: 12px;
        }
        .games-grid {
            grid-template-columns: 1fr;
        }
        .gallery {
            grid-template-columns: 1fr;
        }
        .gallery-item {
            max-width: 100%;
        }
    }
    
    @media (max-width: 480px) {
        .page-title {
            font-size: 1.5rem;
        }
        .logo-card {
            padding: 20px 15px;
        }
        .logo-img img {
            width: 100px;
            height: 100px;
        }
        .welcome-text {
            font-size: 1rem;
        }
        .auth-container {
            padding: 20px 10px;
        }
    }