:root {
    --primary: #FF6B00;
    --primary-hover: #E65A00;
    --secondary: #FFD600;
    --dark: #1A1A1A;
    --text: #333333;
    --text-light: #666666;
    --bg-color: #F8F9FA;
    --card-bg: rgba(255, 255, 255, 0.98);
    --border: #E5E7EB;
    --error: #DC2626;
    --success: #16A34A;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hidden { 
    display: none !important; 
}

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

/* HERO SECTION */
.hero {
    position: relative;
    padding: 120px 20px 100px;
    text-align: center;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/k2ocrv/site/media/69d8618e8783f6.16067899.jpg');
    background-size: cover;
    background-position: center;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0.8) 0%, rgba(26,26,26,0.4) 100%);
    z-index: 1;
}

/* LOGO */
.site-logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.site-logo img {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--secondary);
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

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

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
}

/* MAIN LAYOUT */
.main-container {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: -80px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.status-card h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    margin-bottom: 12px;
}

/* CONTENT ANIMATION */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content {
    animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* COUNTDOWN */
.countdown-container {
    background: #FFF3E0;
    border: 1px solid #FFE0B2;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.countdown-labels {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    min-width: 80px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.countdown-item span:first-child {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 6px;
}

.countdown-item span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ended-message {
    font-weight: 700;
    color: var(--error);
    font-size: 1.25rem;
    padding: 20px 0;
}

/* INSTRUCTIONS */
.instructions-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.instruction-step {
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instruction-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
}

.step-icon-wrapper {
    width: 56px;
    height: 56px;
    background: #e0f2fe;
    color: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.15);
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-number {
    font-size: 0.85rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.step-text {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.4;
}

.form-divider {
    height: 1px;
    background: var(--border);
    margin: 0 0 32px 0;
}

/* FORMS */
.form-header {
    text-align: center;
    margin-bottom: 36px;
}

.form-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.95rem;
}

input[type="text"], 
input[type="email"], 
input[type="tel"] {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--text);
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

/* FILE UPLOAD */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: #FAFAFA;
    transition: all 0.3s ease;
    overflow: hidden;
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: #FFF;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.file-upload-display {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

/* BUTTONS */
.btn-primary {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), #FF8C00);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 107, 0, 0.35);
}

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

.btn-secondary {
    padding: 14px 28px;
    background: #F3F4F6;
    color: var(--dark);
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.loader {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* SUCCESS / SHARE */
.success-header {
    text-align: center;
    margin-bottom: 32px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-header h2 { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 2.2rem; 
    margin-bottom: 12px; 
    color: var(--dark); 
}

.share-panel {
    background: #FAFAFA;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 32px;
}

.share-link-wrapper {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.share-link-wrapper input {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text-light);
    font-size: 1rem;
}

.social-share {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-social {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-social:hover { opacity: 0.9; }
.btn-fb { background: #1877F2; }
.btn-x { background: #000000; }

/* ERROR */
.error-message {
    background: rgba(220, 38, 38, 0.1);
    color: var(--error);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero { padding-top: 100px; }
    .site-logo img { height: 60px; }
    .hero h1 { font-size: 3rem; }
    .card { padding: 32px 24px; }
    .main-container { margin-top: -60px; }
    .form-header h2, .success-header h2 { font-size: 1.8rem; }
    .countdown { gap: 10px; }
    .countdown-item { min-width: 60px; padding: 10px; }
    .countdown-item span:first-child { font-size: 1.6rem; }
}

@media (max-width: 640px) {
    .instructions-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .instruction-step {
        flex-direction: row;
        padding: 16px 20px;
        text-align: left;
    }
    .step-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        margin-right: 16px;
        flex-shrink: 0;
    }
    .step-number {
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .card { padding: 24px 16px; }
}

#wbx-powered-by-slot { 
    margin-top: 40px; 
    padding-bottom: 24px; 
}