:root {
    --color-bg: #050a14;
    --color-surface: #0f192b;
    --color-primary: #00d2ff;
    --color-primary-dark: #009ecc;
    --color-secondary: #3a7bd5;
    --color-text: #e0e6ed;
    --color-text-muted: #94a3b8;
    --color-white: #ffffff;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;

    --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-dark: linear-gradient(180deg, rgba(5, 10, 20, 0) 0%, #050a14 100%);

    --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.logo .highlight {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--color-bg) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-bg .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 10, 20, 0.3), var(--color-bg));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
    transition: var(--transition);
}

.btn-cta:hover {
    color: var(--color-bg);
}

.btn-cta:hover::before {
    left: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Games Section */
.games-section {
    padding: 8rem 0;
    background: var(--color-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 0 auto;
}

.game-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .game-card {
        flex-direction: row;
        align-items: center;
    }

    .game-image {
        width: 50%;
        height: 400px;
    }

    .game-info {
        width: 50%;
        padding: 4rem;
    }
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.game-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.badge {
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(5px);
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.badge-dev {
    color: #ffd700;
    /* Gold for In Development */
    border-color: rgba(255, 215, 0, 0.3);
}

/* Subscription Form Styles */
.subscribe-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    max-width: 400px;
}

.subscribe-form input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

.subscribe-form button {
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.subscribe-form button:disabled {
    background: var(--color-surface);
    color: var(--color-text-muted);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
    filter: grayscale(1);
}

/* Mobile responsive adjustment for form */
@media (max-width: 500px) {
    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form button {
        width: 100%;
    }
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 210, 255, 0.2);
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.game-info .subtitle {
    font-size: 1.1rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.game-info .description {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.game-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, #081020 100%);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.about-content p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    text-align: center;
    background: #081020;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.email-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: 1rem 2rem;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.email-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--color-bg);
    box-shadow: var(--shadow-glow);
}

.email-link:hover::before {
    left: 0;
}

/* Footer */
footer {
    background: #02040a;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
}

.footer-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links a:hover {
    color: var(--color-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simple hide for now, could actuate with checkbox hack */
    }
}