/* ============================================
   WAZA PAGE - Paper Plane Animation
   ============================================ */

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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
}

/* Hero Section - Bokeh Light Particles */
.waza-hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/Waza background 2.png') center center / cover no-repeat, radial-gradient(ellipse at top, #1e1347 0%, #0f0c29 50%, #0a0612 100%);
    overflow: hidden;
}

/* Large floating bokeh particles */
.waza-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Large bokeh circles */
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.25) 0%, rgba(102, 126, 234, 0.15) 15%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.2) 0%, rgba(240, 147, 251, 0.1) 15%, transparent 35%),
        radial-gradient(circle at 15% 70%, rgba(118, 75, 162, 0.22) 0%, rgba(118, 75, 162, 0.12) 15%, transparent 38%),
        radial-gradient(circle at 85% 75%, rgba(102, 126, 234, 0.18) 0%, rgba(102, 126, 234, 0.08) 15%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.15) 0%, rgba(240, 147, 251, 0.05) 20%, transparent 45%),
        /* Medium particles */
        radial-gradient(circle at 35% 15%, rgba(102, 126, 234, 0.3) 0%, transparent 8%),
        radial-gradient(circle at 65% 85%, rgba(240, 147, 251, 0.25) 0%, transparent 8%),
        radial-gradient(circle at 90% 45%, rgba(118, 75, 162, 0.28) 0%, transparent 8%),
        radial-gradient(circle at 10% 55%, rgba(102, 126, 234, 0.25) 0%, transparent 8%);
    animation: bokehFloat 25s ease-in-out infinite;
    z-index: 1;
}

/* Floating bokeh animation */
@keyframes bokehFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-15px, 20px) scale(0.95);
        opacity: 0.9;
    }
    75% { 
        transform: translate(25px, 15px) scale(1.05);
        opacity: 0.85;
    }
}

/* Small twinkling particles */
.waza-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Small sparkles */
        radial-gradient(circle at 25% 40%, rgba(255, 255, 255, 0.4) 0%, transparent 1%),
        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.35) 0%, transparent 1%),
        radial-gradient(circle at 45% 65%, rgba(255, 255, 255, 0.3) 0%, transparent 1%),
        radial-gradient(circle at 85% 60%, rgba(255, 255, 255, 0.38) 0%, transparent 1%),
        radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.32) 0%, transparent 1%),
        radial-gradient(circle at 55% 20%, rgba(255, 255, 255, 0.35) 0%, transparent 1%),
        radial-gradient(circle at 30% 90%, rgba(255, 255, 255, 0.3) 0%, transparent 1%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.33) 0%, transparent 1%),
        radial-gradient(circle at 92% 30%, rgba(255, 255, 255, 0.36) 0%, transparent 1%),
        radial-gradient(circle at 8% 45%, rgba(255, 255, 255, 0.31) 0%, transparent 1%);
    animation: twinkle 3s ease-in-out infinite;
    z-index: 2;
}

/* Twinkling animation */
@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.waza-hero > * {
    position: relative;
    z-index: 2;
}

/* Pixie Dust Canvas */
#pixie-dust {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

/* WAZA Coin Flip Animation - Shows Both Sides */
.coin-3d-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: floatCoin 3s ease-in-out infinite;
    width: 100%;
    height: 100%;
}

.coin-3d {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: flipCoin 6s ease-in-out infinite;
}

.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 50%;
    transform-style: preserve-3d;
}

.coin-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    filter: none;
    border-radius: 50%;
}

.coin-front {
    transform: rotateY(0deg) translateZ(1px);
}

.coin-back {
    transform: rotateY(180deg) translateZ(1px);
}

/* Hide edge */
.coin-edge {
    display: none;
}

/* Floating Animation */
@keyframes floatCoin {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Flip Animation - Shows Both Sides with pause */
@keyframes flipCoin {
    0%, 100% {
        transform: rotateY(0deg) rotateX(5deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(-5deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .coin-3d {
        width: 280px;
        height: 280px;
    }
}

/* WAZA Info Sections */
.waza-info-section {
    padding: 120px 0;
    background: #fff;
}

.waza-info-section.alt {
    background: #f8f9fa;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    max-width: 1400px;
    margin: 0 auto;
}

.info-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.waza-info-section.alt .info-content {
    grid-template-columns: 1fr 1fr;
}

.info-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0a0a0f;
    margin-bottom: 24px;
    line-height: 1.2;
    max-width: 600px;
}

.info-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
    max-width: 600px;
}

.info-text .badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.info-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 600px;
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.info-image:hover img {
    transform: scale(1.05);
}

/* Earn List */
.earn-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.earn-list li {
    font-size: 18px;
    line-height: 2;
    color: #4a5568;
    margin-bottom: 20px;
    padding-left: 0;
}

/* Reward Grid */
.reward-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.reward-card {
    background: #f8f9fa;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
}

.reward-card:hover {
    transform: translateY(-8px);
    border-color: #667eea;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.reward-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reward-icon svg {
    width: 56px;
    height: 56px;
    stroke: #fbbf24;
}

.reward-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.reward-card p {
    font-size: 14px;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* CTA Section */
.waza-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
}

/* Scroll Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .waza-info-section {
        padding: 80px 0;
    }
    
    .info-content,
    .waza-info-section.alt .info-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .waza-info-section.alt .info-image {
        order: 2;
    }
    
    .waza-info-section.alt .info-text {
        order: 1;
    }
    
    .info-text h2 {
        font-size: 32px;
    }
    
    .info-text p {
        font-size: 16px;
    }
    
    .reward-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reward-card {
        min-height: 180px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .waza-cta-section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .waza-info-section {
        padding: 60px 0;
    }
    
    .info-text h2 {
        font-size: 28px;
    }
    
    .reward-icon {
        font-size: 48px;
    }
    
    .reward-card h4 {
        font-size: 16px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}
