/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.nav-logo h3:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.3));
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff6b6b;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff6b6b;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 30%, #2a2a2a 70%, #1a1a1a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ff6b6b" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ff6b6b" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    padding: 0 2rem;
    margin-top: 80px; /* Account for fixed navbar */
}

.hero-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6rem;
    height: 300px;
}

.hero-logo {
    max-width: clamp(300px, 50vw, 500px);
    height: 150%;
    opacity: 0;
    transition: opacity 2.5s ease-out;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.3));
}

.hero-logo.animate-in {
    opacity: 1;
}

/* Starry Background */
.starry-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 4s ease-in-out infinite;
}

.star.small {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
}

.star.medium {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 1);
}

.star.large {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 1);
}

.star.moving {
    animation: twinkle 4s ease-in-out infinite, drift 25s linear infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes drift {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(15px) translateY(-8px);
    }
    50% {
        transform: translateX(-8px) translateY(15px);
    }
    75% {
        transform: translateX(-15px) translateY(-8px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 3rem;
    color: #e0e0e0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}


.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    animation: bounce 2s infinite;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
}

.scroll-indicator i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.03), transparent);
    animation: shimmer 8s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ffffff, #ff6b6b, #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    position: relative;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-text {
    max-width: 600px;
    margin: 0 auto;
}

.about-quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2rem;
    color: #ff6b6b;
    line-height: 1.4;
}

.about-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
}

/* Games Section */
.games {
    background: #0a0a0a;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.game-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.1), rgba(74, 144, 226, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 107, 107, 0.25), 0 0 30px rgba(74, 144, 226, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
}

.game-card:hover::before {
    opacity: 1;
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.game-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.game-info p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-platforms {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.status {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.platform {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.3);
}


/* Contact Section */
.contact {
    background: #0a0a0a;
    border-top: 2px solid rgba(255, 107, 107, 0.3);
    border-bottom: 2px solid rgba(255, 107, 107, 0.3);
    position: relative;
}


.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1rem;
}

.contact-email {
    font-size: 1.2rem;
}

.contact-email a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #4a90e2;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: linear-gradient(45deg, #ff6b6b, #4a90e2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    padding: 3rem 0;
    border-top: 2px solid rgba(255, 107, 107, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.footer-text p {
    color: #888888;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-platforms h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.platforms {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.platforms span {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }



    .games-grid {
        grid-template-columns: 1fr;
    }


    .social-links {
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .platforms {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        margin-top: 70px;
    }
    
    .hero-logo-container {
        height: 220px;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        margin-top: 60px; /* Smaller margin for mobile */
    }

    .hero-logo {
        max-width: 250px;
        max-height: 100px;
    }
    
    .hero-logo-container {
        height: 150px;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-quote {
        font-size: 1.3rem;
    }



    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
