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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(45deg, #ff6b6b, #ffa500);
    --success-gradient: linear-gradient(45deg, #28a745, #20c997);
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 20%;
    animation-delay: 15s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.7;
    }
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.hero-content {
    position: relative;
}

.hero-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

header h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    animation: slideInFromLeft 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: slideInFromRight 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gift Section */
.gift-section {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.gift-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.gift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.gift-card:hover::before {
    left: 100%;
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.2);
}

.card-header {
    position: relative;
    margin-bottom: 30px;
}

.dollar-icon {
    font-size: 5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

.sparkle {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkle 3s infinite;
}

.sparkle-1 {
    top: -10px;
    right: 20px;
    animation-delay: 0s;
}

.sparkle-2 {
    bottom: 10px;
    left: 20px;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.gift-card h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Gift Features */
.gift-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.feature:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.feature i {
    font-size: 1.5rem;
    color: #667eea;
}

.feature span {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
    text-align: center;
}

/* Gift Button */
.gift-button {
    background: var(--success-gradient);
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.gift-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.gift-button:hover::before {
    left: 100%;
}

.gift-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.gift-button:active {
    transform: translateY(-1px);
}

.button-icon {
    transition: var(--transition);
}

.gift-button:hover .button-icon {
    transform: translateX(5px);
}

/* Trust Badges */
.trust-badges {
    margin-top: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
}

.badge i {
    color: #6772e5;
}


/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .gift-card {
        padding: 35px 25px;
        margin: 0 15px;
    }

    .dollar-icon {
        font-size: 4rem;
    }

    .gift-card h2 {
        font-size: 2rem;
    }

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

}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .gift-card {
        padding: 25px 20px;
    }

    .dollar-icon {
        font-size: 3.5rem;
    }

    .gift-card h2 {
        font-size: 1.8rem;
    }

    .gift-button {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}
