/* Base styles and layout */
body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    transition: background-color 0.5s, color 0.5s;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--surface-color);
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: background-color 0.5s, box-shadow 0.5s, border-color 0.5s;
    border: 1px solid var(--border-color);
}

.header-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 3px solid var(--border-color);
    transition: border-color 0.5s;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.vs-rodrick-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.2s;
}

.vs-rodrick-btn:hover {
    background-color: #ff5252;
    transform: scale(1.05);
}

header h1 {
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    color: #d9534f;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 2px 2px #444;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.generator {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

textarea#prompt {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

textarea#prompt:focus {
    outline: none;
    border-color: var(--primary-color);
}

.hidden {
    display: none !important;
}

/* Background Audio Styles */
#background-audio {
    position: fixed;
    top: -1000px;
    left: -1000px;
    opacity: 0;
    pointer-events: none;
}