/* Satoshi Jackpot Main Styles - Complete Redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #f39c12;
    --secondary: #e74c3c;
    --accent: #2ecc71;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #ffffff;
    --gold: #ffd700;
    --gold-dark: #ff9900;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.header h1 {
    color: var(--gold);
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    margin: 0;
}

.header h1:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.header-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.header-nav a {
    color: #fff;
    padding: 10px 20px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.header-nav a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.header-nav .btn-register {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 60px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1;
}

.stat-card-large {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s;
}

.stat-card-large:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2rem;
}

.stat-info {
    text-align: left;
}

.stat-value-large {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
}

.stat-label-large {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

/* Features Grid */
.features-section {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--gold);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* How It Works */
.howitworks-section {
    padding: 80px 20px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    color: var(--dark);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.step-card h3 {
    margin-bottom: 10px;
    color: var(--gold);
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Prize Distribution */
.prize-section {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.prize-distribution {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.prize-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prize-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.grand-prize {
    border-top: 3px solid var(--gold);
}

.runner-up {
    border-top: 3px solid #c0c0c0;
}

.developer {
    border-top: 3px solid #cd7f32;
}

.prize-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.prize-place {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.prize-percent {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 5px;
}

.prize-desc {
    font-size: 0.85rem;
    opacity: 0.7;
}

.example-prize {
    text-align: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.example-prize p {
    margin-bottom: 10px;
    font-weight: 600;
}

.example-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.example-details span {
    color: var(--gold);
}

.example-details strong {
    color: white;
}

/* Winners Section */
.winners-section {
    padding: 80px 20px;
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.winner-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.winner-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.winner-card.placeholder {
    opacity: 0.6;
}

.winner-avatar {
    font-size: 2rem;
    margin-bottom: 10px;
}

.winner-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.winner-amount {
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 5px;
}

.winner-date {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.6);
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 15px;
    color: var(--gold);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
}

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

.hero-content, .hero-stats {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .header-nav {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .stat-card-large {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .prize-distribution {
        flex-direction: column;
        align-items: center;
    }
    
    .prize-card {
        width: 100%;
        max-width: 280px;
    }
    
    .example-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stat-value-large {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .step-card {
        padding: 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}