/* Core Setup */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #FAF9F6;
    /* Off-White Background */
    --text-color: #1A1A1A;
    /* Dark Charcoal Text */
    --primary-color: #C04E01;
    /* Burnt Orange from Logo */
    --secondary-color: #2D2D2D;
    /* Darker Slate/Black */
    --glass-bg: rgba(255, 255, 255, 0.7);
    /* Light Glass */
    --glass-border: rgba(0, 0, 0, 0.05);
    --blur-strength: 12px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    /* Game fills screen */
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Background Game Canvas */
#gameCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Main Content Overlay */
.content-wrapper {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through to game where possible */
    perspective: 1000px;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border: 1px solid var(--glass-border);
    padding: 3rem 4rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    /* Deeper shadow for 3D feel */
    pointer-events: auto;
    /* Re-enable clicks for form */
    max-width: 600px;
    width: 90%;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    transform-style: preserve-3d;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    /* Solid Primary Color */
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
    display: none;
    /* Hide H1 if it still exists cleanly, or just keep it for semantics if I hadn't removed it. But I removed it. So let's just replace the block. */
}

/* Replaced by Logo */
.logo-img {
    max-width: 100%;
    height: auto;
    width: 400px;
    /* Adjust based on preference */
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.subtitle {
    font-size: 1.25rem;
    color: #52525b;
    /* Zinc 600 - darker grey for subtitle */
    margin-bottom: 2rem;
    font-weight: 300;
}

.brand-name {
    color: var(--primary-color);
    font-weight: 600;
}

/* Email Form */
.input-group {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

input {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 78, 1, 0.1);
}

input::placeholder {
    color: #a1a1aa;
}

button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(192, 78, 1, 0.2);
}

button:hover {
    background: #a04101;
    /* Darker shade of burnt orange */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(192, 78, 1, 0.3);
}

/* Game HUD */
.hud {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 20;
    font-size: 1.5rem;
    font-weight: 700;
    pointer-events: none;
    color: var(--secondary-color);
}

.hud span {
    color: var(--primary-color);
}

.shout-out {
    position: absolute;
    z-index: 15;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    pointer-events: none;
    animation: fadeAndRise 1s forwards;
}

@keyframes fadeAndRise {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.5);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .glass-card {
        padding: 2rem;
    }

    .input-group {
        flex-direction: column;
    }
}