/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Root variables for black and red vibe */
:root {
    --primary-bg: #000000; /* Pure black */
    --secondary-bg: #1a1a1a; /* Dark gray for inputs */
    --accent-red: #ff0000; /* Bold, true red */
    --accent-dark-red: #cc0000; /* Deeper red for hover/active */
    --text-light: #ffffff;
    --text-muted: #a0a0a0; /* Subtle gray for placeholder */
    --transition: all 0.3s ease;
}

/* Hero section */
.hero {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(45deg, var(--primary-bg), #2b0000); /* Black to dark red gradient */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
    position: relative;
}

/* Subtle overlay for depth */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for contrast */
    z-index: 0;
}

.hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.8125rem);
    font-weight: 600; /* Bolder for intensity */
    margin: -3.125rem 0 3.125rem;
    text-align: center;
    color: var(--accent-red); /* Red headline */
    text-shadow: 0 2px 6px rgba(255, 0, 0, 0.5); /* Red glow effect */
    position: relative;
    z-index: 1;
}

.hero h1 span {
    color: #ff4d4d; /* Lighter red for contrast */
}

/* Textarea */
textarea {
    width: min(100%, 37.5rem);
    height: 15.625rem;
    background: var(--secondary-bg);
    color: var(--text-light);
    font-size: 0.9375rem;
    border: 1px solid rgba(255, 0, 0, 0.3); /* Faint red border */
    outline: none;
    padding: 1.25rem;
    border-radius: 0.625rem;
    resize: none;
    margin-bottom: 1.875rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

textarea:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.5); /* Red glow */
}

textarea::placeholder {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Row layout */
.row {
    width: min(100%, 37.5rem);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

/* Button */
button {
    background: linear-gradient(45deg, var(--accent-red), var(--accent-dark-red)); /* Red gradient */
    color: var(--text-light);
    font-size: 1rem;
    padding: 0.625rem 0.9375rem;
    border: 0;
    outline: 0;
    cursor: pointer;
    border-radius: 2.1875rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4); /* Red shadow */
}

button:hover {
    background: linear-gradient(45deg, #ff3333, #e60000); /* Brighter red */
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

button:active {
    background: var(--accent-dark-red);
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
    transition: all 0.1s ease;
}

/* Select dropdown */
select {
    flex: 1;
    color: var(--text-light);
    background: var(--secondary-bg);
    height: 3.125rem;
    padding: 0 1.25rem;
    border: 1px solid rgba(255, 0, 0, 0.3);
    outline: none;
    border-radius: 2.1875rem;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ff0000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .row {
        flex-direction: column;
    }

    button, select {
        width: 100%;
    }
}

/* Animation for extra flair */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
}

.hero > * {
    animation: fadeIn 0.5s ease-in-out;
}