/* Play to Earn specific styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #00ff99;
    --secondary: #ff3e9a;
    --accent: #9900ff;
    --dark: #0a0a15;
    --darker: #050510;
    --light: #e0e0ff;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/site/game/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    animation: fadeInLeft 1s ease-out;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    border-radius: 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 153, 0.3);
    transition: transform 0.3s ease;
}

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

.hero-title {
    font-family: 'Gameria', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--light);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(10, 10, 21, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    animation: fadeInUp 0.6s ease-out;
    color: #fff;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.feature-title {
    color: var(--primary);
}

.feature-description {
    color: #fff;
}

.feature-icon {
    color: #fff;
}

/* Gameplay Section */
.gameplay {
    padding: 100px 0;
    position: relative;
}

.gameplay-video {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 3px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gameplay-video video {
    width: 100%;
    height: auto;
    display: block;
}

.gameplay-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out;
}

/* Evolution Section */
.evolution-cards {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.evolution-card {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1.2s ease-out;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

/* Center the app badges inside .cta-buttons */
.cta-buttons .app-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .evolution-cards, 
    .gameplay-steps {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
    }
}

.gameplay-steps, .gameplay-steps * {
    color: #fff !important;
}

.evolution-cards, .evolution-cards * {
    color: #fff !important;
}

.cta, .cta * {
    color: #fff !important;
}

/* Preserve cryptids-green for headings if a class is used, e.g. .cryptids-green */
.cryptids-green {
    color: var(--primary) !important;
}

/* Optionally, if you want to keep .hero-title and .section-title colored, add: */
.hero-title, .section-title {
    color: var(--primary) !important;
}
