:root {
    --bg-color: #0a0a0f;
    --text-color: #e0e0e0;
    --accent-color: #00f3ff;
    --secondary-accent: #bc13fe;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 20%);
    animation: bgPulse 10s infinite alternate;
}

@keyframes bgPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Header */
#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    letter-spacing: 1px;
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
#hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.glitch-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.glitch {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn {
    padding: 0.8rem 2rem;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-color);
}

/* Sections */
section {
    padding: 4rem 5%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    border-left: 5px solid var(--secondary-accent);
    padding-left: 1rem;
    color: white;
}

/* Content Blocks */
.content-block {
    max-width: 1200px;
}

.content-block h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: var(--accent-color);
}

.content-block ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* Games List */
#games-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Game Cards - Horizontal Layout */
.game-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.game-card:hover {
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: var(--accent-color);
}

.card-image {
    flex: 0 0 320px;
    max-width: 320px;
    min-height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s;
}

.card-image img:hover {
    opacity: 0.85;
}

.card-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    flex: 1;
}

.card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.card-buttons .play-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* Launcher Section */
.launcher-intro {
    margin-bottom: 3rem;
}

.launcher-downloads {
    margin-top: 2rem;
}

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

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: var(--accent-color);
}

.download-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.download-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.download-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    text-align: center;
}

/* Contact */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info address {
    font-style: normal;
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.contact-info a {
    color: var(--accent-color);
}

.support-section {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}

.support-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.support-section p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.coffee-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #FFDD00;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.coffee-btn:hover {
    background: #FFE84D;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 221, 0, 0.4);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-color);
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: white;
    font-family: var(--font-body);
    border-radius: 4px;
    transition: border 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-accent);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Lightbox for full-size screenshots */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(0, 243, 255, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
    }

    #main-header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    /* Stack game cards vertically on mobile */
    .game-card {
        flex-direction: column;
    }

    .card-image {
        flex: none;
        max-width: 100%;
    }

    .card-image img {
        max-height: 250px;
        object-fit: cover;
    }
}
