/* Base Variables */
:root {
    --primary: #1e3a5f;      /* Deep Mendocino ocean blue */
    --primary-light: #3b5998;
    --accent: #d4af37;       /* Gold/sand accent */
    --accent-hover: #b5952f;
    --bg-color: #f4f6f9;     /* Light airy background */
    --text-dark: #2d3748;
    --text-light: #718096;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius: 12px;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Utilities */
.hidden { display: none !important; }

/* Main Wrapper */
.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
    box-shadow: 0 0 50px rgba(0,0,0,0.03);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/sw4s4i/site/media/6a79debe63aef8.22578216.jpg');
    background-size: cover;
    background-position: center 30%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 3rem 2rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Moody gradient overlay */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 95, 0.6) 100%);
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInDown 0.8s ease-out;
}

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Content Area */
.main-content {
    padding: 5rem 2rem;
    flex: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1050px;
    margin: 0 auto;
}

@media (min-width: 800px) {
    .content-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

/* Prize Information Column */
.prize-info h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.prize-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.prize-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 2.5rem;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.prize-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.prize-list {
    list-style: none;
}

.prize-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.prize-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--accent);
    font-size: 1.1rem;
}

/* Form Container Column */
.form-container {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
    height: fit-content;
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.form-container h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.form-container p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

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

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #f8fafc;
    color: var(--text-dark);
}

input::placeholder {
    color: #94a3b8;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
    background: #ffffff;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.125rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.25);
    margin-top: 1rem;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.35);
}

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

.btn-secondary {
    background: #e2e8f0;
    color: var(--text-dark);
    padding: 0.875rem;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #f0f9ff; color: #075985; border: 1px solid #bae6fd; }

/* Success View */
#success-section {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

#success-section p {
    margin-bottom: 1rem;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

/* Share Box */
.share-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.share-box h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.share-box p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem !important;
    color: var(--text-light);
}

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

.share-input-group input {
    flex: 1;
    margin-bottom: 0;
    background: #ffffff;
}

.share-input-group .btn-secondary {
    width: auto;
    padding: 0 1.5rem;
}

/* Footer / Powered By */
#wbx-powered-by-slot {
    margin: auto auto 2rem auto;
    text-align: center;
    padding-top: 2rem;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
