:root {
    --primary: #00ff88;
    --secondary: #00d9ff;
    --bg-main: #0a0f1e;
    --bg-card: #131824;
    --text-primary: #ffffff;
    --text-muted: #8b92a7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #0a0f1e 0%, #1a1f2e 50%, #0a0f1e 100%);
    color: var(--text-primary);
    overflow-x: hidden;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.logo {
    margin-bottom: 40px;
}

.logo .icon {
    font-size: 72px;
}

.logo .brand-name {
    font-size: 32px;
    color: var(--primary);
    margin-top: 15px;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Features */
.features {
    margin: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.12s; }
.feature-card:nth-child(3) { animation-delay: 0.24s; }
.feature-card:nth-child(4) { animation-delay: 0.36s; }

.feature-card.fade-in {
    animation: fadeInUp 0.6s forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}


/* How It Works */
.how-it-works {
    text-align: center;
    margin: 100px 0;
}

.how-it-works h2 {
    font-size: 42px;
    margin-bottom: 60px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInScale 0.6s ease forwards;
}

.step:nth-child(odd) { animation-delay: 0s; }
.step:nth-child(even) { animation-delay: 0.15s; }

.step.fade-in {
    animation: fadeInScale 0.6s forwards;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #000;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-muted);
    font-size: 14px;
}

.step-arrow {
    font-size: 32px;
    color: var(--primary);
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin: 80px 0;
    padding: 60px 40px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 16px;
}

/* Navigation */
.landing-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.landing-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.landing-nav a:hover {
    color: var(--primary);
}

/* Existing styles... */
.landing-footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 100px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.landing-footer p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .stats {
        flex-direction: column;
    }
}

/* Lottery Cards on Landing */
.live-lotteries {
    margin: 80px 0;
    text-align: center;
}

.lottery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.lottery-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    text-align: left;
}

.lottery-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15);
}

.lottery-card.timer {
    border-top: 4px solid #00ff88;
}

.lottery-card.limit {
    border-top: 4px solid #00d9ff;
}

.lottery-card.infinity {
    border-top: 4px solid #ff6b6b;
}

.lottery-card.stack {
    border-top: 4px solid #ffc107;
}

.lottery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lottery-type {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.lottery-icon {
    font-size: 32px;
}

.pool-label {
    color: var(--text-muted);
    font-size: 14px;
}

.pool-amount {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00d9ff);
    border-radius: 4px;
}

.lottery-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

.countdown {
    font-size: 24px;
    font-weight: 600;
    color: #00ff88;
    font-family: monospace;
}