:root {
    --primary-color: #ff4500;
    --primary-hover: #ff5e1f;
    --secondary-color: #ffd700;
    --bg-dark: #110e0d;
    --text-light: #f5f5f5;
    --text-muted: #a39d9a;
    --glass-bg: rgba(20, 15, 12, 0.75);
    --glass-border: rgba(255, 69, 0, 0.2);
    --error-color: #ff4d4d;
    
    --font-display: 'Alfa Slab One', cursive;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

/* Background Setup */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/sdbwb8/site/media/6aba956aafbac0.28835608.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(17, 14, 13, 0.6) 0%, rgba(17, 14, 13, 0.95) 100%);
    z-index: -1;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.yellow-text {
    color: var(--secondary-color);
}

/* Layout */
.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    width: 100%;
}

.content-wrapper {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--secondary-color);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.headline {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
    margin-bottom: 8px;
}

.sub-headline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.9;
}

.description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 90%;
}

.merch-preview {
    margin-top: 10px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(255, 69, 0, 0.15);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 400px;
}

.merch-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.merch-preview:hover img {
    transform: scale(1.03);
}

/* Right Column / Forms */
.interaction-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.glass-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 1px;
}

.form-instructions {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Form Styles */
#sweepstakes-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ffb300);
    color: #110e0d;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #ffdf33, #ffc107);
}

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

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(17, 14, 13, 0.2);
    border-radius: 50%;
    border-top-color: #110e0d;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Messages */
.error-message {
    padding: 12px 16px;
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-left: 4px solid var(--error-color);
    border-radius: 8px;
    color: #ffb3b3;
    font-size: 0.9rem;
}

/* Success State */
#success-container {
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 215, 0, 0.15);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

#success-container p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Bonus Entries Panel */
.share-panel {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.divider {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}

.divider span {
    position: relative;
    background: var(--bg-dark);
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 10px;
}

.share-panel h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

.share-panel h4 span {
    color: var(--secondary-color);
}

.share-input-group {
    display: flex;
    margin: 20px 0;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    overflow: hidden;
}

.share-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    border-radius: 0;
}

.share-input-group input:focus {
    box-shadow: none;
    border-color: transparent;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: none;
    padding: 0 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

.back-btn {
    width: 100%;
    margin-top: 30px;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
}

.social-shares {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.2s, opacity 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-btn.fb { background: #1877F2; }
.social-btn.tw { background: #000000; border: 1px solid rgba(255,255,255,0.2); }

/* Powered By Badge */
#wbx-powered-by-slot {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Status Card */
.status-card {
    text-align: center;
    padding: 60px 40px;
}

.status-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-column {
        text-align: center;
        align-items: center;
    }

    .headline {
        font-size: 3rem;
    }

    .description {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .glass-card {
        padding: 25px;
    }

    .headline {
        font-size: 2.5rem;
    }
}