* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

@font-face {
    font-family: 'Helmet';
    src: url('../fonts/Helmet-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: url('../space.jpg') center center fixed;
    background-size: 105%;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    animation: subtleDrift 120s ease-in-out infinite alternate;
}

@keyframes subtleDrift {
    0% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 52% 48%;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero {
    padding: 60px 20px 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    height: 80%;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 40px;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.logo {
    max-width: 120px;
    height: auto;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.site-title {
    font-family: 'Helmet', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.2;
}

.subtitle {
    font-family: 'Helmet', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    align-self: center;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.games-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.game-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 35px 90px rgba(0,0,0,0.5);
}

.game-card:hover .game-icon {
    transform: scale(1.05) rotate(2deg);
}

.game-icon-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
    font-weight: 800;
}

.game-content {
    padding: 30px;
}

.game-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    text-align: center;
}

.game-description {
    font-size: 0.95rem;
    color: #4a5568;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ios-btn {
    background: #000;
    color: #fff;
}

.ios-btn:hover {
    background: #333;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.android-btn {
    background: #01875f;
    color: #fff;
}

.android-btn:hover {
    background: #019f6d;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(1,135,95,0.3);
}

.youtube-btn {
    background: #FF0000;
    color: #fff;
}

.youtube-btn:hover {
    background: #CC0000;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,0,0,0.3);
}

.discord-btn {
    background: #5865F2;
    color: #fff;
}

.discord-btn:hover {
    background: #4752C4;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(88,101,242,0.3);
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 215, 0, 0.95);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

.icon {
    width: 24px;
    height: 24px;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0,0,0,0.2);
    font-size: 0.9rem;
}

nav {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        max-width: 80px;
    }

    .title-container {
        align-items: center;
    }

    h1 {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }

    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .games-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .game-card {
        padding: 30px 20px;
    }

    .game-title {
        font-size: 1.6rem;
    }
}
