* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #20D9FF;
    --primary-purple: #667eea;
    --dark-purple: #764ba2;
    --pink: #f093fb;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Particle Canvas Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.redeem-btn-top {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.redeem-btn-top:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(32, 217, 255, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: center;
    padding: 100px 40px 120px;
    margin-bottom: 120px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(32, 217, 255, 0.1);
    border: 1px solid rgba(32, 217, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    position: relative;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.main-title {
    position: relative;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    font-weight: 300;
    color: var(--text-secondary);
}

.title-highlight {
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple), var(--dark-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    letter-spacing: -2px;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.country-highlight {
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.country-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 300;
}

.hero-value {
    margin-top: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-blue);
}

/* CTA Button */
.cta-button {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--text-primary);
    border: none;
    padding: 18px 48px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(32, 217, 255, 0.3);
    overflow: hidden;
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.button-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(32, 217, 255, 0.5);
}

.cta-button.large {
    padding: 22px 60px;
    font-size: 20px;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.content-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.5;
    max-width: 1000px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

.country-highlight-2 {
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    margin: 0 auto;
    border-radius: 2px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 120px;
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple), var(--pink));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 30, 45, 0.9);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.feature-icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* How to Redeem */
.how-to-redeem {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 80px 60px;
    border-radius: 32px;
    margin-bottom: 120px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.how-to-redeem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.steps-header {
    text-align: center;
    margin-bottom: 60px;
}

.steps-header h3 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.steps-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    margin: 0 auto;
    border-radius: 2px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-item {
    position: relative;
    text-align: left;
}

.step-number {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.3;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* CTA Bottom */
.cta-bottom {
    margin-bottom: 80px;
}

.cta-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    padding: 80px 40px;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(32, 217, 255, 0.1) 0%, transparent 70%);
    animation: ctaGlow 6s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.cta-card h3 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.cta-card p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    position: relative;
}

.offer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
}

.badge {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Footer */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-note {
    font-size: 12px;
    opacity: 0.6;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-blue);
    border-right-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content p {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px 100px;
        margin-bottom: 80px;
    }

    .main-title {
        gap: 4px;
    }

    .features {
        grid-template-columns: 1fr;
        margin-bottom: 80px;
    }

    .how-to-redeem {
        padding: 60px 30px;
        margin-bottom: 80px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-card {
        padding: 60px 30px;
    }

    .offer-badges {
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 0;
    }

    .logo-text {
        font-size: 14px;
    }

    .redeem-btn-top {
        padding: 10px 20px;
        font-size: 14px;
    }

    .cta-button.large {
        padding: 18px 40px;
        font-size: 18px;
    }
}
