/* Color Palette */
:root {
    --orange: #cd5d19;
    --cyan: #94dfe6;
    --lime: #c2ff02;
    --red: #ff0900;
}

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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--orange) 0%, var(--cyan) 25%, var(--lime) 50%, var(--red) 75%, var(--orange) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #ffffff;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(205, 93, 25, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(148, 223, 230, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(194, 255, 2, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 60% 60%, rgba(255, 9, 0, 0.2) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Glass Morphism Effect */
.glass-nav,
.glass-card,
.glass-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--lime);
    text-shadow: 0 0 20px var(--lime);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--cyan);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: var(--cyan);
    color: var(--orange);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(148, 223, 230, 0.5);
}

/* Main Container */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
}

/* Hero Section */
.hero {
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--lime), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero .description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-btn.instagram {
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: #ffffff;
    border: 2px solid transparent;
}

.social-btn.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(205, 93, 25, 0.5);
    border-color: var(--lime);
}

.social-btn.github {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid var(--cyan);
}

.social-btn.github:hover {
    background: var(--cyan);
    color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(148, 223, 230, 0.5);
}

/* Stats Section */
.stats {
    border-radius: 20px;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(194, 255, 2, 0.3);
    border-color: var(--lime);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--lime);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Games Section */
.games {
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.games h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--cyan);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(255, 9, 0, 0.3);
    border-color: var(--red);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 5px 15px rgba(194, 255, 2, 0.5));
}

.game-card h3 {
    font-size: 1.5rem;
    color: var(--lime);
    margin-bottom: 1rem;
    font-weight: 600;
}

.game-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.download-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(205, 93, 25, 0.6);
    border-color: var(--cyan);
}

/* About Section */
.about {
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--lime);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.glass-footer {
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.glass-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lime);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--lime);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    main {
        padding: 80px 1rem 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Black text outline for all text elements - automatically applied to any text */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, label, li, td, th, input, textarea, select, option, blockquote, cite, q, code, pre, em, strong, b, i, u, small, sub, sup, time, mark, figcaption, legend, address, dd, dt, dl, ul, ol {
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 -1px 0 #000,
        0 1px 0 #000,
        -1px 0 0 #000,
        1px 0 0 #000;
}

/* Selection Color */
::selection {
    background: var(--lime);
    color: var(--orange);
}

::-moz-selection {
    background: var(--lime);
    color: var(--orange);
}
