:root {
    --primary: #c0392b; /* Vintage Red */
    --primary-dark: #962d22;
    --secondary: #2c3e50;
    --accent: #d4af37; /* Gold */
    --text-dark: #222f3e;
    --text-light: #f5f5f5;
    --bg-overlay: rgba(20, 20, 25, 0.7);
    --glass-bg: rgba(30, 30, 35, 0.65);
    --glass-border: rgba(255, 255, 255, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/vh8v39/site/media/6a5d9cd166bb95.99522635.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: auto 0;
    gap: 4rem;
    flex: 1;
}

@media (min-width: 768px) {
    .content-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.header {
    flex: 1.2;
    text-align: center;
}

@media (min-width: 768px) {
    .header {
        text-align: left;
        padding-right: 2rem;
    }
}

.eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    h1 {
        font-size: 4rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), #ffeb9b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.subtitle small {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.countdown-wrapper {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--accent);
}

.countdown {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.cd-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    color: white;
}

.cd-label {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.form-section {
    flex: 1;
    width: 100%;
    max-width: 420px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.glass-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.social-requirements {
    margin-bottom: 1.5rem;
    text-align: center;
}

.req-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.req-desc {
    font-size: 0.95rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    flex: 1;
    min-width: 110px;
    justify-content: center;
}

.social-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-btn.yt:hover { border-color: #ff0000; color: #ff0000; }
.social-btn.fb:hover { border-color: #1877f2; color: #1877f2; }
.social-btn.x:hover { border-color: #ffffff; color: #ffffff; }
.social-btn.spotify:hover { border-color: #1ed760; color: #1ed760; }

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ddd;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: white;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.btn-primary {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: 1px solid #e74c3c;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.6);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ffcccc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.text-center {
    text-align: center;
}

.share-panel {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.share-panel h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.share-panel p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.share-input-group {
    display: flex;
    gap: 0.5rem;
}

.share-input-group input {
    flex: 1;
    padding: 0.8rem;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 6px;
}

.btn-secondary {
    padding: 0 1.2rem;
    background: var(--secondary);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #34495e;
}

#status-message {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin: 2rem auto;
    max-width: 600px;
}

.site-footer {
    width: 100%;
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.modal.hidden {
    display: none !important;
}

.modal-content {
    background: #1a1a1f;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: white;
}

.rules-text {
    color: #e0e0e0;
}

.rules-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    line-height: 1.3;
}

.rules-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.rules-text strong {
    color: white;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

#wbx-powered-by-slot {
    margin-top: 1rem;
    width: 100%;
}
