:root {
    --primary-color: #ff3366;
    --secondary-color: #00f0ff;
    --bg-dark: #000000;
    /* Changed to black */
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --glass-bg: rgba(25, 25, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    /* background-color: var(--bg-dark); REMOVED - background image will handle */
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/willj_post_1.jpeg');
    /* Updated background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark overlay on top of the image */
    z-index: -1;
}

/* Subtle animated background shapes */
.background-overlay::before,
.background-overlay::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out alternate;
}

.background-overlay::before {
    background: var(--primary-color);
    top: -200px;
    left: -200px;
}

.background-overlay::after {
    background: var(--secondary-color);
    bottom: -200px;
    right: -200px;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 100px);
    }
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

header {
    margin-bottom: 4rem;
    width: 100%;
    /* Ensure header takes full width for text-align to be effective */
    text-align: left;
    /* Left-justify content inside the header */
}

.logo {
    width: 250px;
    /* Adjust size as needed */
    height: auto;
    margin-bottom: 1.5rem;
    /* Space between logo and subtitle */
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.signup-section,
.social-media-section { /* Added social-media-section for consistent styling */
    /* Apply glassmorphism to both sections */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.social-media-section {
    display: flex;
    justify-content: center; /* Center the social links inside this section */
    align-items: center;
}

.signup-section:hover,
.social-media-section:hover { /* Added social-media-section for consistent hover effect */
    transform: translateY(-5px);
}

.signup-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-section p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group textarea {
    /* Added textarea here */
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
    /* Allow vertical resizing for textarea */
}

.input-group input:focus,
.input-group textarea:focus {
    /* Added textarea here */
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.2);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), #ff6b8b);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
    transform: scale(1.02);
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

.hidden {
    display: none;
}

#form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(0, 255, 100, 0.1);
    color: #00ff80;
    border: 1px solid rgba(0, 255, 100, 0.2);
    animation: fadeIn 0.5s ease;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transform: translateY(-3px);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 1.5rem; /* Added margin-top to separate copyright from previous content */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .logo {
        width: 180px;
    }

    .signup-section,
    .social-media-section { /* Added social-media-section to media query */
        padding: 2rem;
    }
}