:root {
    --primary: #2E8B57; /* Aloe Green */
    --primary-hover: #246B43;
    --text-dark: #1F2937;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/y76z8h/site/media/6a2713b893cff7.21222236.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.background-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(31,41,55,0.7) 100%);
    z-index: -1;
}

.page-wrapper {
    max-width: 1200px;
    margin: auto auto;
    padding: 60px 20px;
    width: 100%;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 900px) {
    .content-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 80px;
    }
}

/* Glass Card Component */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
}

@media (max-width: 600px) {
    .glass-card {
        padding: 24px;
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #FFB7B2, #A8E6CF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.description {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    max-width: 550px;
}

/* Featured Products */
.featured-products {
    margin: 30px 0 40px 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.products-title {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: white;
    background: rgba(0, 0, 0, 0.35);
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-item:hover {
    background: rgba(0, 0, 0, 0.55);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.product-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.product-info {
    flex: 1;
}

.product-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.product-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Countdown */
.countdown-label {
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.15rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.countdown-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 14px 10px;
    min-width: 75px;
    flex: 1;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.cd-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cd-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Form Styles */
.form-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255,255,255,0.95);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4);
}

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

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Post Entry / Success */
.success-icon {
    width: 72px;
    height: 72px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

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

.success-text {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Share & Follow Panels - Improved Tap Targets */
.share-box {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    padding: 28px;
    margin-top: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.share-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.share-desc {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 20px;
}

.share-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.share-input-group input {
    flex: 1;
    padding: 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: inherit;
    background: white;
    font-size: 1rem;
    color: #4b5563;
    min-width: 0;
}

.share-input-group button {
    padding: 0 28px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Poppins', sans-serif;
    min-height: 56px;
}

.share-input-group button:hover {
    background: #000;
}

.social-share, .social-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 600px) {
    .social-share {
        flex-direction: row;
    }
}

.social-btn {
    flex: 1;
    padding: 16px 20px;
    min-height: 56px;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    opacity: 0.95;
}

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

.social-btn svg {
    flex-shrink: 0;
}

.social-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.social-btn.fb { background: #1877f2; }
.social-btn.tw { background: #000000; }
.social-btn.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-btn.tt { background: #000000; }

/* Status State */
#status-container {
    text-align: center;
    margin: auto;
    max-width: 600px;
}

#status-message {
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* Powered By slot placement */
#wbx-powered-by-slot {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

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

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