/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #c41e3a;
    --primary-green: #2d5016;
    --light-red: #f8e8eb;
    --light-green: #e8f5e9;
    --dark-text: #2c3e50;
    --light-text: #6c757d;
    --white: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-red) 0%, var(--light-green) 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(45, 80, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-image {
    margin: 30px auto;
    max-width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.4) 0%, rgba(45, 80, 22, 0.3) 50%, transparent 70%);
    filter: blur(25px);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.tagline-chip {
    display: inline-block;
    background-color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtext {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--dark-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-subtext strong {
    color: var(--primary-red);
    font-weight: 600;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
}

.cta-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.cta-primary:hover {
    background-color: #a01729;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background-color: var(--primary-green);
    color: var(--white);
}

.cta-secondary:hover {
    background-color: #1f3a0f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-submit {
    width: 100%;
    background-color: var(--primary-red);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.cta-submit:hover {
    background-color: #a01729;
}

/* Event Details Section */
.event-details {
    padding: 60px 20px;
    background-color: var(--white);
}

.event-details h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark-text);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.event-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-green);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.event-item:hover {
    transform: translateY(-5px);
}

.event-item i {
    font-size: 36px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.event-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.event-item p {
    font-size: 16px;
    color: var(--dark-text);
    line-height: 1.5;
}

.promo-note {
    text-align: center;
    font-size: 16px;
    color: var(--light-text);
    margin-top: 20px;
}

.promo-note strong {
    color: var(--primary-red);
    font-weight: 600;
}

.promo-note a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.promo-note a:hover {
    text-decoration: underline;
}

/* Giveaway Alert Section */
.giveaway-alert {
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff5f7 0%, #f0fff4 100%);
    border-top: 3px solid var(--primary-red);
    border-bottom: 3px solid var(--primary-green);
}

.giveaway-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-red);
}

.giveaway-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.giveaway-box h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
    line-height: 1.3;
}

.giveaway-description {
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.giveaway-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.giveaway-detail-item {
    background-color: var(--light-green);
    padding: 25px;
    border-radius: 10px;
}

.giveaway-detail-item strong {
    display: block;
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.giveaway-detail-item ol,
.giveaway-detail-item ul {
    margin-left: 20px;
    color: var(--dark-text);
}

.giveaway-detail-item li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.cta-giveaway {
    background: linear-gradient(135deg, var(--primary-red) 0%, #d32f2f 100%);
    color: var(--white);
    font-size: 20px;
    padding: 18px 45px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.cta-giveaway:hover {
    background: linear-gradient(135deg, #a01729 0%, #b71c1c 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

/* Product Showcase Section */
.product-showcase {
    padding: 60px 20px;
    background-color: var(--white);
}

.product-showcase h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--dark-text);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-item {
    text-align: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.showcase-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 20px 20px 10px;
}

.showcase-item p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.5;
    padding: 0 20px 25px;
}

/* Features Section */
.features {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-red) 100%);
}

.features h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 0;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    color: var(--dark-text);
    line-height: 1.5;
    padding: 20px;
}

/* Incentive Section */
.incentive {
    padding: 60px 20px;
    background-color: var(--light-red);
}

.incentive-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.incentive h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-text);
}

.incentive-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.incentive-list li {
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.incentive-list i {
    color: var(--primary-green);
    font-size: 24px;
    flex-shrink: 0;
}

/* Signup Section */
.signup {
    padding: 80px 20px;
    background-color: var(--white);
}

.signup-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-green);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.signup-box h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.signup-intro {
    text-align: center;
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.giveaway-reminder {
    background: linear-gradient(135deg, var(--light-red) 0%, #fff5f7 100%);
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    text-align: center;
}

.giveaway-reminder p {
    font-size: 15px;
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
}

.giveaway-reminder strong {
    color: var(--primary-red);
}

/* Elfsight Form Wrapper */
.elfsight-form-wrapper {
    margin-top: 20px;
    width: 100%;
}

/* Ensure Elfsight form has proper spacing */
.elfsight-app-56bcf672-cfbb-4437-99ea-8ee81b6ef191 {
    width: 100%;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.footer-social a:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-copyright {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 40px;
    }

    .hero-image {
        margin: 25px auto;
        max-width: 100%;
    }
    
    .hero-image::before {
        inset: -15px;
        filter: blur(20px);
    }

    .tagline-chip {
        font-size: 12px;
        padding: 6px 16px;
    }

    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-image {
        height: 200px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-media {
        height: 180px;
    }

    .giveaway-box {
        padding: 30px 20px;
    }

    .giveaway-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .giveaway-detail-item {
        padding: 20px;
    }

    .cta-giveaway {
        font-size: 18px;
        padding: 16px 35px;
    }

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

    .incentive-list li {
        justify-content: center;
    }

    .signup-box {
        padding: 40px 25px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .signup-box {
        padding: 30px 20px;
    }

    .hero {
        padding: 50px 15px 30px;
    }

    .hero-image {
        max-width: 100%;
    }
    
    .hero-image::before {
        inset: -10px;
        filter: blur(15px);
    }

    .feature-media {
        height: 160px;
    }

    .giveaway-box {
        padding: 25px 15px;
    }

    .giveaway-icon {
        font-size: 48px;
    }

    .giveaway-detail-item ol,
    .giveaway-detail-item ul {
        margin-left: 15px;
        font-size: 14px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading State for Form */
.signup-form.loading button {
    opacity: 0.7;
    pointer-events: none;
}

.signup-form.loading button::after {
    content: '...';
    animation: dots 1s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}
