:root {
    --primary: #f5af19;
    --primary-gradient: linear-gradient(135deg, #f12711 0%, #f5af19 100%);
    --bg-dark: #12100e;
    --card-bg: rgba(26, 22, 20, 0.85);
    --card-border: rgba(245, 175, 25, 0.2);
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(18, 16, 14, 0.8), rgba(18, 16, 14, 0.9)), url('https://offertabs.s3.amazonaws.com/offer/a3au3k/site/media/69e79f6cd19020.97375705.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.main-content {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

.text-accent {
    color: var(--primary);
}

.mute-text {
    color: var(--text-muted);
}

.small-text {
    font-size: 0.85rem;
}

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

.mt-3 {
    margin-top: 15px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0 40px;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(241, 39, 17, 0.15);
    border: 1px solid rgba(245, 175, 25, 0.3);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

.subhead {
    font-size: 1rem;
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    background: rgba(245, 175, 25, 0.05);
    border: 1px solid rgba(245, 175, 25, 0.2);
    border-radius: 12px;
    padding: 25px;
}

.countdown-section h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
}

.countdown-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(245, 175, 25, 0.3);
    border-radius: 12px;
    padding: 15px 12px;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.countdown-item span:first-child {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 800px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Columns */
.info-column,
.form-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.prize-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-section.callout {
    background: rgba(245, 175, 25, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 12px 12px 0;
}

.check-list {
    list-style: none;
    margin-bottom: 15px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.steps-list {
    padding-left: 20px;
    font-size: 1.05rem;
}

.steps-list li {
    margin-bottom: 12px;
    padding-left: 10px;
}

.steps-list li::marker {
    font-weight: bold;
    color: var(--primary);
}

/* Retailers Grid */
.retailer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.retailer-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    gap: 12px;
    text-align: center;
}

.retailer-card:hover {
    background: rgba(245, 175, 25, 0.15);
    border-color: rgba(245, 175, 25, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.retailer-logo-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.retailer-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.retailer-card span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Form Container */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-instructions {
    color: var(--text-muted);
    margin-bottom: 25px;
}

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

.form-group.row {
    display: flex;
    gap: 15px;
}

.form-group.row .col {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e0e0;
}

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

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 175, 25, 0.2);
}

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

/* Custom File Upload */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.file-input {
    display: none;
}

.file-name {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(241, 39, 17, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 39, 17, 0.4);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    padding: 10px 20px;
}

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

.btn-block {
    width: 100%;
}

.legal-footnote {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
    line-height: 1.4;
}

.legal-footnote a {
    color: var(--text-muted);
    text-decoration: underline;
}

/* Success State */
.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
    text-align: center;
}

#success-container {
    text-align: center;
}

.reward-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.reward-box h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.reward-box p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Share section */
.share-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.share-section h4 {
    margin-bottom: 10px;
}

.share-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.share-row input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Status / Error Messages */
.status-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}
.status-ended {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ff5252;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border-left: 4px solid #f44336;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #ffcdd2;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: underline;
}

.site-footer a:hover {
    color: #fff;
}

#wbx-powered-by-slot {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--bg-dark);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
}

.modal-body h2 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.modal-body h3 {
    font-size: 1.1rem;
    margin: 20px 0 10px;
    color: var(--primary);
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ccc;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .form-group.row {
        flex-direction: column;
        gap: 0;
    }
    
    .file-upload-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .file-upload-wrapper .btn {
        width: 100%;
    }
    
    .countdown-wrapper {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 10px;
    }
    
    .countdown-item span:first-child {
        font-size: 1.5rem;
    }
}
