/* Tap 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;
    --text-primary: #ffffff;
    --text-secondary: #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-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-column {
    flex: 1;
    min-width: 300px;
}

.hero-text {
    max-width: 500px;
    animation: fadeInLeft 1s ease-out;
}

.hero-image {
    max-width: 400px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-image img {
    width: 100%;
    border-radius: 50%;
    border: 5px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(255, 62, 154, 0.5);
}

.pulse-effect {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: rgba(255, 62, 154, 0.2);
    z-index: -1;
    animation: pulse 2s infinite;
}

.hero-stats {
    max-width: 350px;
    animation: fadeInRight 1s ease-out;
}

.stats-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-title {
    font-family: 'Gameria', sans-serif;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.stat-item {
    margin-bottom: 1.5rem;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-value {
    font-weight: 700;
    color: var(--primary);
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.stat-progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 1s ease-out;
}

.stats-footer {
    text-align: center;
    margin-top: 2rem;
}

.stats-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.stats-link:hover {
    color: var(--primary);
}

/* Coin Animation */
.coin-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('/assets/site/game/mash_ticker_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 10px rgba(0, 255, 153, 0.3));
    animation: coinFall linear infinite;
}

/* Add multiple coins with different animations */
.coin:nth-child(1) { left: 10%; animation-duration: 15s; }
.coin:nth-child(2) { left: 20%; animation-duration: 18s; animation-delay: 2s; }
.coin:nth-child(3) { left: 35%; animation-duration: 12s; animation-delay: 5s; }
.coin:nth-child(4) { left: 50%; animation-duration: 16s; animation-delay: 1s; }
.coin:nth-child(5) { left: 65%; animation-duration: 14s; animation-delay: 3s; }
.coin:nth-child(6) { left: 80%; animation-duration: 17s; animation-delay: 6s; }
.coin:nth-child(7) { left: 90%; animation-duration: 13s; animation-delay: 4s; }

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(5, 5, 16, 0.95) 0%, rgba(10, 10, 21, 0.95) 100%);
    position: relative;
}

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

.how-it-works .section-title {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 153, 0.2);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
}

.step-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.step-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Cash Out Card (Last Step) */
.step-card.cash-out {
    grid-column: 1 / -1;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 153, 0.1), rgba(153, 0, 255, 0.1));
}

.step-card.cash-out .step-title {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
}

/* Rewards Section */
.rewards {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(5, 5, 16, 0.95) 0%, rgba(10, 10, 21, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

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

.rewards-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.rewards-text {
    animation: fadeInLeft 0.8s ease-out;
}

.rewards-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.rewards-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rewards-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rewards-item {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    padding-left: 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rewards-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rewards-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
    max-width: 500px;
    margin: 0 auto;
}

.rewards-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 15px 30px rgba(0, 255, 153, 0.2);
    transition: transform 0.3s ease;
    display: block;
}

.rewards-image:hover img {
    transform: scale(1.02);
}

.rewards-image::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.2;
    filter: blur(10px);
    z-index: -1;
}

/* 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 pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.6; }
}

@keyframes coinFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .rewards-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .rewards-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .rewards-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .rewards-description {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .rewards {
        padding: 60px 0;
    }

    .rewards-title {
        font-size: 2rem;
    }

    .rewards-item {
        font-size: 1rem;
        padding-left: 2rem;
    }

    .rewards-item::before {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}

.hero-title {
    color: var(--primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--secondary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 1rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(5, 5, 16, 0.95) 0%, rgba(10, 10, 21, 0.95) 100%);
    position: relative;
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
}

.feature-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section title specific to features */
.features .section-title {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
}
