/* ============================================
   GENERAL STYLES
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #065f46 0%, #0f766e 50%, #0e7490 100%);
    color: white;
    padding: 80px 20px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 16v4h4v-4h-4zm-2 2v-2h-4v2h4zm0-2h-4v-4h4v4zm2-2v4h4v-4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 3s ease-in-out infinite;
}

.decoration-1 {
    top: 80px;
    left: 40px;
    width: 80px;
    height: 80px;
    background: #fbbf24;
}

.decoration-2 {
    top: 160px;
    right: 80px;
    width: 128px;
    height: 128px;
    background: #ec4899;
    animation-delay: 1s;
}

.decoration-3 {
    bottom: 128px;
    left: 25%;
    width: 96px;
    height: 96px;
    background: #a855f7;
    animation-delay: 2s;
}

.decoration-4 {
    bottom: 80px;
    right: 33%;
    width: 64px;
    height: 64px;
    background: #3b82f6;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.gift-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: bounce 2s ease-in-out infinite;
}

.gift-icon i {
    font-size: 48px;
    color: white;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #fde047 0%, #fdba74 50%, #fda4af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: #ccfbf1;
    font-weight: 300;
}

.highlight-amount {
    font-weight: 700;
    color: #fde047;
}

.participate-btn {
    position: relative;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    border: none;
    color: #1f2937;
    font-weight: 700;
    padding: 18px 40px;
    font-size: 1.125rem;
    border-radius: 50px;
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
}

.participate-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, #fde047 0%, #fb923c 100%);
}

.participate-btn i {
    transition: transform 0.3s ease;
}

.participate-btn:hover i {
    transform: rotate(12deg);
}

.hero-info {
    color: #99f6e4;
    font-size: 0.875rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 128px;
    background: linear-gradient(to top, white, transparent);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works-section {
    background: linear-gradient(to bottom, white, #f9fafb);
}

.step-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-icon i {
    font-size: 32px;
    color: white;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   RULES SECTION
   ============================================ */

.rules-card {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.rule-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.rule-item:last-of-type {
    border-bottom: none;
}

.rule-item:hover .rule-icon {
    transform: scale(1.1);
}

.rule-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: transform 0.3s ease;
}

.rule-icon i {
    font-size: 28px;
    color: white;
}

.rule-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.rule-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.rules-footer {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

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

/* ============================================
   FORM SECTION
   ============================================ */

.form-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
}

.form-card {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-control {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    outline: none;
}

.form-control.is-invalid {
    border-color: #ef4444;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    border: none;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.submit-btn:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.success-message {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #d1fae5;
    border-radius: 50%;
    margin-bottom: 24px;
    animation: bounce 2s ease-in-out infinite;
}

.success-icon i {
    font-size: 40px;
    color: #10b981;
}

.success-message h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.success-message .lead {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.success-message p {
    color: #6b7280;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
}

.footer-title {
    font-size: 1.75rem;
    font-weight: 700;
}

.footer-subtitle {
    color: #9ca3af;
}

.footer-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

    .success-message {
        padding: 32px 24px;
    }

    .success-message h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */

html {
    scroll-behavior: smooth;
}
