/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: hidden;
    position: relative;
    background: #0f172a;
}

/* Fixed Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

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

/* Header */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h2 {
    color: #60a5fa;
    font-weight: 700;
    font-size: 1.8rem;
    font-family: 'Inter', sans-serif;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: #60a5fa;
}

.claim-bonus-btn {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    font-family: 'Inter', sans-serif;
}

.claim-bonus-btn:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: transparent;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    font-family: 'Inter', sans-serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-family: 'Inter', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #1d4ed8;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Referral Section */
.referral-section {
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.referral-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(51, 65, 85, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
}

.referral-card h2 {
    color: #f8fafc;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.referral-code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.referral-code {
    background: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(59, 130, 246, 0.3);
    font-family: 'Inter', sans-serif;
}

.copy-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    font-family: 'Inter', sans-serif;
}

.copy-btn:hover {
    transform: translateY(-2px);
    background: #059669;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.referral-info {
    color: #94a3b8;
    text-align: center;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: rgba(30, 41, 59, 0.8);
}

.content-cards {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background: #1e293b;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    border: 1px solid rgba(51, 65, 85, 0.3);
}

.content-card.hidden {
    opacity: 0;
    transform: translateY(30px);
    display: none;
}

.content-card.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.content-card h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.content-card p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

/* Benefit List */
.benefit-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(51, 65, 85, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-content strong {
    color: #60a5fa;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.benefit-content p {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* Highlight Box */
.highlight-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.highlight-box h4 {
    color: #60a5fa;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-box li {
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-box li:last-child {
    margin-bottom: 0;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 3rem;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.8);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.game-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    background: #1e293b;
    border: 1px solid rgba(51, 65, 85, 0.3);
    aspect-ratio: 1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #3b82f6;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #3b82f6;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

.game-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.game-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
}

.game-card:hover .game-overlay p::after {
    content: " Click to play!";
    color: #60a5fa;
    font-weight: 600;
}

/* Review Section */
.review-section {
    padding: 80px 0;
    background: rgba(30, 41, 59, 0.8);
}

.review-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: #1e293b;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    border: 1px solid rgba(51, 65, 85, 0.3);
}

.review-card.hidden {
    opacity: 0;
    transform: translateY(30px);
    display: none;
}

.review-card.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.review-card h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.review-card p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.review-card strong {
    color: #60a5fa;
    font-weight: 600;
}

/* Feature Table */
.feature-table {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(51, 65, 85, 0.3);
    align-items: center;
}

.feature-name {
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.feature-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.feature-icon {
    font-size: 1.2rem;
}

.load-more-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    font-family: 'Inter', sans-serif;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    background: #1d4ed8;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.footer-section a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .referral-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .referral-code-display {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .feature-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .benefit-icon {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 15px 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        margin: 0 10px;
    }

    .referral-card {
        padding: 1.5rem;
    }

    .referral-code {
        font-size: 1.5rem;
        padding: 0.75rem 1.5rem;
    }
}
