/**
 * Gradient Wave Hero Section
 * @package Android_Game_Share
 */

/* ============================================
   WAVE HERO SECTION
   ============================================ */

.wave-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 50px;
    padding: 80px 20px;
}

/* Animated Wave Background */
.wave-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.1));
    animation: wave-move 15s infinite linear;
}

.wave-1 {
    animation-duration: 10s;
    opacity: 0.3;
}

.wave-2 {
    animation-duration: 15s;
    animation-delay: -5s;
    opacity: 0.2;
}

.wave-3 {
    animation-duration: 20s;
    animation-delay: -10s;
    opacity: 0.1;
}

@keyframes wave-move {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25%) translateY(-20px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* Hero Content */
.hero-content-center {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.badge-icon {
    font-size: 20px;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Title */
.wave-hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    display: block;
    background: linear-gradient(90deg, #fff 0%, #ffd6ff 50%, #e7c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Hero Subtitle */
.wave-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 35px 0;
    line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.btn-primary .btn-icon {
    transition: transform 0.3s;
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Floating Game Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: cardFloat 20s ease-in-out infinite;
    pointer-events: auto;
    transition: transform 0.3s;
}

.floating-card:hover {
    transform: scale(1.1);
    z-index: 20;
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-duration: 18s;
}

.floating-card:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(0) rotate(-2deg);
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .wave-hero {
        min-height: 400px;
        padding: 60px 20px;
    }
    
    .wave-hero-title {
        font-size: 36px;
    }
    
    .wave-hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .floating-cards {
        display: none;
    }
}

@media (max-width: 480px) {
    .wave-hero-title {
        font-size: 28px;
    }
    
    .badge-text {
        font-size: 12px;
    }
}
