/* Import fonts */
@font-face {
    font-family: 'Conthrax';
    src: url('assets/fonts/conthrax-sb.otf') format('opentype');
}

@font-face {
    font-family: 'Jura';
    src: url('assets/fonts/Jura-VariableFont_wght.ttf') format('truetype');
}

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

/* Base */
body {
    font-family: 'Jura', sans-serif;
    background: #000000;
    color: #FFFFFF;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Hero Section - Full Screen */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* Title */
.title {
    width: 100%;
    max-width: 400px; /* Match the new card width */
    height: auto;
    max-height: 200px;
    margin-bottom: 20px;
    /* No glow or animation - just the clean title */
}

/* Tagline */
.tagline {
    font-size: 1.4rem;
    color: #B0B0B0;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section - Styled as Game Card */
.cta-section {
    position: relative;
    background: #02081C; /* Game card dark background */
    border: 2px solid rgba(255, 255, 255, 0.18); /* Game card border */
    border-radius: 12px;
    padding: 0; /* Remove padding for card structure */
    max-width: 400px; /* Card width */
    width: 100%;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.7); /* Card shadow */
    animation: fadeInUp 1s ease-out 0.7s both;
    overflow: hidden;
}

/* Card Image Container */
.card-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, #02081C);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Animated holographic gradient overlay */
.cta-section::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        135deg,
        rgba(3, 124, 118, 0.2),
        rgba(250, 64, 142, 0.2),
        rgba(250, 217, 26, 0.2),
        rgba(3, 124, 118, 0.2),
        rgba(250, 64, 142, 0.2),
        rgba(250, 217, 26, 0.2),
        rgba(3, 124, 118, 0.2)
    );
    animation: holographicShimmer 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes holographicShimmer {
    0% {
        transform: translate(0%, 0%);
    }
    50% {
        transform: translate(-33%, -33%);
    }
    100% {
        transform: translate(0%, 0%);
    }
}

.cta-section > *:not(.card-image-container) {
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-family: 'Conthrax', sans-serif;
    font-size: 1.8rem;
    color: #FA408E;
    margin: 20px 30px 10px 30px; /* Top, right, bottom, left margins */
    text-shadow: 0 0 20px rgba(250, 64, 142, 0.5);
}

.cta-subtext {
    font-size: 1.1rem;
    color: #B0B0B0;
    margin: 0 30px 30px 30px; /* Add side margins, keep bottom spacing */
}

/* Form */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 30px 30px 30px; /* Bottom padding for card */
}

.email-input {
    width: 100%;
    max-width: 350px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(3, 124, 118, 0.5);
    color: #FFFFFF;
    font-size: 1rem;
    font-family: 'Jura', sans-serif;
    border-radius: 8px;
    transition: all 0.3s;
}

.email-input:focus {
    outline: none;
    border-color: #037C76;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 0 3px rgba(3, 124, 118, 0.2);
}

.email-input::placeholder {
    color: #666;
}

.submit-btn {
    width: 100%;
    max-width: 350px;
    padding: 16px 30px;
    background: linear-gradient(135deg, #037C76, #FA408E);
    border: none;
    color: #FFFFFF;
    font-family: 'Conthrax', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(250, 64, 142, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

/* Message */
.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    font-size: 0.95rem;
}

.form-message.success {
    display: block;
    color: #00FF88;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.form-message.error {
    display: block;
    color: #FF4444;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
}


/* Mobile */
@media (max-width: 768px) {
    .title {
        max-height: 150px;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .cta-section {
        padding: 0; /* Keep card structure on mobile */
    }
    
    .card-image-container {
        height: 150px; /* Smaller on mobile */
    }
    
    .cta-heading {
        font-size: 1.5rem;
    }
    
    .cta-subtext {
        font-size: 1rem;
    }
}