/* Gaming Theme CSS for Induslila Website */

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

body {
    font-family: 'Galindo', cursive;
    line-height: 1.6;
    color: #362604;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 25%, #2d1b5a 50%, #362604 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(54, 38, 4, 0.9) 100%);
    border-bottom: 3px solid #FFD700;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="%23FFD700" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.logo {
    font-family: 'Galindo', cursive;
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFD700;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    position: relative;
}

.logo::after {
    content: '⚡';
    position: absolute;
    right: -40px;
    top: -10px;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Navigation Styles */
nav {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(54, 38, 4, 0.7) 100%);
    padding: 1rem 0;
    border-bottom: 2px solid #8B4513;
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #FFD700;
    font-weight: 600;
    font-family: 'Galindo', cursive;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

nav a:hover, nav a.active {
    color: #000;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

nav a:hover::before {
    opacity: 1;
}

/* Main Content Styles */
main {
    padding: 3rem 0;
    min-height: 70vh;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(54, 38, 4, 0.1);
    backdrop-filter: blur(10px);
}

.page-title {
    font-family: 'Galindo', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #FFD700;
    font-weight: 700;
    text-shadow: 
        0 0 25px rgba(255, 215, 0, 0.8),
        0 0 50px rgba(255, 215, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Game Cards */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.game-card {
    background: linear-gradient(145deg, rgba(15, 15, 35, 0.9) 0%, rgba(54, 38, 4, 0.8) 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover::after {
    left: 100%;
}

.game-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.game-card h3 {
    font-family: 'Galindo', cursive;
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.download-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%);
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Galindo', cursive;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 
        0 6px 20px rgba(255, 107, 53, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    border: 2px solid #FFD700;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '🎮';
    margin-right: 8px;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 107, 53, 0.6),
        0 0 20px rgba(255, 215, 0, 0.8),
        inset 0 2px 15px rgba(255, 255, 255, 0.4);
}

.download-btn:hover::after {
    left: 100%;
}

.coming-soon {
    background: rgba(248, 249, 250, 0.8);
    opacity: 0.9;
}

.coming-soon h3 {
    color: #6c757d;
}

.coming-soon-badge {
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #FF1744 0%, #FF5722 50%, #FFC107 100%);
    color: #000;
    border-radius: 25px;
    font-family: 'Galindo', cursive;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border: 2px solid #FF1744;
    box-shadow: 
        0 4px 15px rgba(255, 23, 68, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    animation: comingSoonPulse 2s infinite;
}

@keyframes comingSoonPulse {
    0%, 100% { 
        box-shadow: 
            0 4px 15px rgba(255, 23, 68, 0.4),
            inset 0 2px 10px rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 6px 25px rgba(255, 23, 68, 0.8),
            0 0 20px rgba(255, 193, 7, 0.6),
            inset 0 2px 15px rgba(255, 255, 255, 0.4);
    }
}

.coming-soon-badge::before {
    content: '⏰';
    margin-right: 8px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #362604 100%);
    color: #FFD700;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 3px solid #FFD700;
    box-shadow: 0 -4px 20px rgba(255, 215, 0, 0.3);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerStars" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="3" cy="3" r="0.8" fill="%23FFD700" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23footerStars)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 215, 0, 0.8);
    text-decoration: none;
    font-family: 'Galindo', cursive;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 15px;
}

.footer-nav a:hover {
    color: #000;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #362604;
    font-weight: 600;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Galindo', cursive;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
input[type="file"]:focus {
    outline: none;
    border-color: #362604;
}

textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #362604 0%, #8b4513 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(54, 38, 4, 0.3);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54, 38, 4, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .logo {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .logo::after {
        right: -25px;
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    nav a {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .game-card h3 {
        font-size: 1.6rem;
    }
    
    .download-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .game-card {
        padding: 1rem;
    }
    
    .game-image {
        width: 120px;
        height: 120px;
    }
}

/* Floating Play Today Button (Mobile Only) */
.floating-play-btn {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    text-decoration: none;
    padding: 18px 0;
    font-family: 'Galindo', cursive;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    animation: bottomPulse 3s infinite;
    border-top: 3px solid #362604;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
}

.floating-play-btn:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

.floating-play-btn::before {
    content: '🎮 ';
    margin-right: 8px;
    font-size: 20px;
}

.floating-play-btn::after {
    content: ' 🎯';
    margin-left: 8px;
    font-size: 16px;
}

@keyframes bottomPulse {
    0%, 100% {
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.8);
    }
}

/* Show floating button only on mobile devices */
@media (max-width: 768px) {
    .floating-play-btn {
        display: block;
    }
    
    /* Add bottom padding to body to prevent content being hidden behind the button */
    body {
        padding-bottom: 70px;
    }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
    .floating-play-btn {
        font-size: 16px;
        padding: 16px 0;
    }
    
    body {
        padding-bottom: 65px;
    }
}