/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #48ec48;
    --primary-dark: #30ac2b;
    --primary-light: #6bf376;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --accent-pink: #ec4899;
    --accent-primary: #f50b0b;
    --accent-secondary: #ffffff;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;
    --bg-section-alt: #141428;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-gradient-primary: #000000;
    --text-muted: #71717a;
    --border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #8bf163 0%, #cdf65c 50%, #48ec48 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-red: linear-gradient(135deg, #f30808 0%, #7e1515 50%, #df2727 100%);
    --text-gradient-red: #ffffff;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 40px rgba(99, 102, 241, 0.2);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    width: 40px;
    height: 40px;
}

.flag-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-menu a.red {
    color: var(--accent-primary);
}

.nav-menu a.red:hover,
.nav-menu a.red.active {
    color: var(--accent-secondary);
    background: rgba(255, 0, 0, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    padding: 40px 0 0;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--text-gradient-primary);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Featured Section */
.featured {
    padding: 16px 0 60px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.featured-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.featured-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.featured-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.featured-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.featured-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.featured-bonus {
    padding: 8px 16px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Sections */
.section {
    padding: 80px 0;
}

#top-earning {
    padding-top: 24px;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--primary-dark);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-badge.red {
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}


.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Site Card */
.site-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s;
}

.site-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.site-card.red:hover {
    border: 1px solid var(--accent-primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.card-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-dark);
}

.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-title {
    flex: 1;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-title h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.card-title span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-badges {
    display: flex;
    gap: 6px;
}

.badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-top {
    background: var(--gradient-gold);
    color: #000;
}

.badge-new {
    background: var(--gradient-secondary);
    color: #000;
}

.badge-hot {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
}

.badge-exclusive {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
}

.badge-gift {
    background: var(--gradient-primary);
    color: var(--text-gradient-primary);
}

.card-body {
    padding: 20px 24px;
}

.card-highlight {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.card-main-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.card-main-feature svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-light);
}

.card-main-feature span {
    font-size: 0.9rem;
    font-weight: 500;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.card-features svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--secondary);
}

.card-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-gradient-primary);
}

.red .btn-primary {
    background: var(--gradient-red);
    color: var(--text-gradient-red);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-wallet {
    display: inline-block;
    padding: 2px 4px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-wallet:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.btn-text {
    text-align: center;
    vertical-align: middle;
    padding: 2px 2px;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.2s;
    margin: 0;
    width: 6rem;
    overflow: hidden;
}


.btn-text small {
    font-size: 0.65rem;
    color: var(--text-secondary);
    padding: 0;
    margin: 0;
}




/* Footer */
.footer {
    padding: 60px 0 0;
    border-top: 1px solid var(--border);
    background: var(--bg-section-alt);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-logo img {
    width: 36px;
    height: 36px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.2s;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-gradient-primary);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: none;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        padding: 14px 20px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.site-card:nth-child(1) {
    animation-delay: 0.1s;
}

.site-card:nth-child(2) {
    animation-delay: 0.15s;
}

.site-card:nth-child(3) {
    animation-delay: 0.2s;
}

.site-card:nth-child(4) {
    animation-delay: 0.25s;
}

.site-card:nth-child(5) {
    animation-delay: 0.3s;
}

.site-card:nth-child(6) {
    animation-delay: 0.35s;
}

.site-card:nth-child(7) {
    animation-delay: 0.4s;
}

.site-card:nth-child(8) {
    animation-delay: 0.45s;
}