:root {
    /* Brand Colors */
    --color-bg-dark: #0a0a0a;
    --color-bg-card: rgba(20, 20, 20, 0.7);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-xbox-green: #107C10;
    --color-neon-green: #9BF00B;
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-error: #ff4d4d;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --radius-lg: 16px;
    --radius-md: 8px;
    --radius-sm: 6px;
}

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

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

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

.background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.9) 100%);
    z-index: -1;
}

.hidden {
    display: none !important;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.brand-badge {
    background: rgba(16, 124, 16, 0.2);
    border: 1px solid var(--color-xbox-green);
    color: var(--color-neon-green);
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

/* Main Layout */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards (Glassmorphism) */
.card {
    background: var(--color-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 124, 16, 0.1);
    position: relative;
    overflow: hidden;
}

/* Neon Top Border Effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-neon-green), transparent);
}

.card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.text-neon {
    color: var(--color-neon-green);
    text-shadow: 0 0 20px rgba(155, 240, 11, 0.4);
}

.subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-main);
}

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

input:focus {
    outline: none;
    border-color: var(--color-neon-green);
    box-shadow: 0 0 15px rgba(155, 240, 11, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

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

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 1.25rem;
    background: var(--color-xbox-green);
    background: linear-gradient(135deg, var(--color-xbox-green) 0%, #17a317 100%);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(16, 124, 16, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(16, 124, 16, 0.4);
    background: linear-gradient(135deg, #17a317 0%, var(--color-neon-green) 100%);
    color: #000;
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* Error/Status Messages */
.error-msg {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: var(--color-error);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.status-message {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    width: 100%;
}

/* Countdown */
.countdown-wrapper {
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.countdown-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neon-green);
    margin-bottom: 1rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    min-width: 70px;
}

.time-block span {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.time-block small {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 124, 16, 0.2);
    color: var(--color-neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(16, 124, 16, 0.3);
}

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

/* Share Panel */
.share-panel {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.share-panel h3 {
    font-family: var(--font-heading);
    color: var(--color-neon-green);
    margin-bottom: 0.5rem;
}

.share-panel p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

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

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

/* Footer & Modal */
.footer {
    margin-top: 3rem;
    text-align: center;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-text-muted);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.btn-link:hover {
    color: var(--color-text-main);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.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(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    z-index: 101;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.btn-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

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

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    white-space: pre-wrap;
}

/* Powered by slot spacing */
#wbx-powered-by-slot {
    margin-top: 2rem;
    width: 100%;
}

/* Responsive */
@media (max-width: 600px) {
    .card {
        padding: 2rem 1.5rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .time-block {
        padding: 0.5rem;
        min-width: 60px;
    }
    
    .time-block span {
        font-size: 1.5rem;
    }
}