/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Modern blue gradient background */
body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a1428;
    background-image:
        radial-gradient(circle at 25% 25%, #1e40af 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #3b82f6 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #60a5fa 0%, transparent 60%),
        linear-gradient(135deg, #0a1428 0%, #1e293b 25%, #0f172a 50%, #1e293b 75%, #0a1428 100%);
    background-size: 300px 300px, 400px 400px, 350px 350px, 100% 100%;
    background-position: 0 0, 150px 150px, 300px 75px, 0 0;
    animation: modernBlueFlow 30s ease-in-out infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes modernBlueFlow {
    0%, 100% {
        background-position: 0 0, 150px 150px, 300px 75px, 0 0;
    }
    33% {
        background-position: 100px 75px, 250px 200px, 400px 125px, 0 0;
    }
    66% {
        background-position: 200px 150px, 350px 250px, 500px 175px, 0 0;
    }
}

/* Modern blue particle system */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(1.5px 1.5px at 20px 30px, #3b82f6, transparent),
        radial-gradient(2px 2px at 40px 70px, #60a5fa, transparent),
        radial-gradient(1px 1px at 90px 40px, #1e40af, transparent),
        radial-gradient(1px 1px at 130px 80px, #2563eb, transparent),
        radial-gradient(1.5px 1.5px at 160px 30px, #60a5fa, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: modernSparkles 12s linear infinite;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

@keyframes modernSparkles {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100px) translateX(25px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Modern blue header */
header {
    background: rgba(10, 20, 40, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.6rem;
    background: linear-gradient(45deg, #1e40af, #60a5fa, #3b82f6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blueGradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
    margin-bottom: 0.2rem;
}

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

.logo .tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
    transform: translateY(-2px);
}

nav a:hover::before {
    width: 100%;
}

/* Prevent fixed header from covering content when navigating */
section {
    scroll-margin-top: 90px;
}

/* Modern blue hero section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
    animation: heroBlueGlow 10s ease-in-out infinite alternate;
}

@keyframes heroBlueGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.01); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(255, 48, 48, 0.5);
    animation: titlePulse 6s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.005); }
}

.hero-content .highlight {
    background: linear-gradient(45deg, #1e40af, #60a5fa, #3b82f6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blueGradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.8);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    background-clip: padding-box;
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 20px 40px rgba(30, 64, 175, 0.4),
        0 0 30px rgba(96, 165, 250, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

.cta-button:hover::before {
    left: 100%;
}

/* Games section with modern blue styling */
.games {
    padding: 80px 0;
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(96, 165, 250, 0.03) 50%, transparent 70%);
    animation: gamesSectionFlow 10s ease-in-out infinite;
}

@keyframes gamesSectionFlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.games h2 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        rgba(29, 78, 216, 0.1) 0%,
        rgba(59, 130, 246, 0.1) 50%,
        rgba(96, 165, 250, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card > * {
    position: relative;
    z-index: 2;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

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

.game-card.featured {
    border: 2px solid #60a5fa;
    box-shadow:
        0 0 30px rgba(96, 165, 250, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(96, 165, 250, 0.05);
}

.game-icon {
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    overflow: hidden;
}

.game-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tinttap-icon {
    position: relative;
    width: 60px;
    height: 60px;
}

.tinttap-icon .circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    animation: float 3s ease-in-out infinite;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tinttap-icon .red {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.6);
}

.tinttap-icon .blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    bottom: 0;
    left: 0;
    animation-delay: -1s;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.tinttap-icon .yellow {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    bottom: 0;
    right: 0;
    animation-delay: -2s;
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.6);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.game-icon.placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.game-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.game-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    transform: scale(1.05);
}

.game-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-link {
    display: inline-block;
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.game-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.game-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.game-link:hover::before {
    width: 100px;
    height: 100px;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 8px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.download-btn:hover img {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
}

.coming-soon-text {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    text-align: center;
    align-self: flex-start;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    animation: comingSoonGlow 2s ease-in-out infinite alternate;
}

@keyframes comingSoonGlow {
    0% {
        border-color: rgba(255, 255, 255, 0.3);
        color: rgba(255, 255, 255, 0.6);
    }
    100% {
        border-color: rgba(96, 165, 250, 0.5);
        color: rgba(96, 165, 250, 0.8);
    }
}

/* About section */
.about {
    padding: 80px 0;
    color: white;
    position: relative;
}

.about h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.7;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.2);
}

.stat:hover::before {
    left: 100%;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #1e40af, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact section */
.contact {
    padding: 80px 0;
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(20px);
    color: white;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.contact h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        rgba(29, 78, 216, 0.05) 0%,
        rgba(59, 130, 246, 0.05) 50%,
        rgba(96, 165, 250, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item > * {
    position: relative;
    z-index: 2;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 15px 35px rgba(96, 165, 250, 0.2);
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.8);
}

.contact-item a:hover::before {
    width: 100%;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    color: white;
    padding: 2rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

.footer-nav a:hover::before {
    width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        flex-direction: row;
        justify-content: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .games, .about, .contact {
        padding: 60px 0;
    }

    .game-card {
        padding: 1.5rem;
    }

    .stats {
        flex-direction: column;
    }

    body::before {
        background-size: 100px 50px;
    }
}