:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-gold: #fbbf24;
    --accent-purple: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
    background-attachment: fixed;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3));
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse-green 2s infinite;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 1rem;
    border: var(--glass-border);
    backdrop-filter: blur(8px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Links Section */
.links-section {
    padding: 2rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    /* Coin Master Gold */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* List Layout Override */
.link-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Horizontal Card Style */
.reward-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.reward-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
}

/* Icon Container */
.reward-icon {
    flex-shrink: 0;
}

.icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Info Section (Middle) */
.reward-info {
    flex-grow: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reward-info h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.timestamp {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timestamp::before {
    content: '🕒';
    font-size: 0.8rem;
}

.click-count {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
}

/* Button (Right) */
.action-area {
    flex-shrink: 0;
    min-width: 120px;
}

.collect-btn {
    background: linear-gradient(to bottom, #3b82f6, #2563eb);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 0 #1d4ed8;
    transition: all 0.1s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    width: 100%;
}

.collect-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1d4ed8;
}

.collect-btn.collected {
    background: #475569;
    box-shadow: none;
    cursor: default;
    color: #94a3b8;
}

/* Featured / New Badge */
.card-status {
    position: absolute;
    top: 0;
    left: 0;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Specific styling for Coin Master branding */
.coin-master-header-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    border: 2px solid rgba(251, 191, 36, 0.3);
    /* Gold border */
}

/* Mobile responsiveness for list items */
@media (max-width: 640px) {
    .reward-card {
        flex-direction: row;
        /* Keep row likely, but stack if too small */
        padding: 0.75rem;
        gap: 1rem;
    }

    .icon-img {
        width: 48px;
        height: 48px;
    }

    .reward-info h3 {
        font-size: 1rem;
    }

    .collect-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: auto;
    }
}

/* Content Article */
.content-article {
    max-width: 800px;
    margin: 4rem auto;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 1.5rem;
    border: var(--glass-border);
}

.content-article h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-article h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.content-article p {
    color: #cbd5e1;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* FAQ */
.faq-section {
    max-width: 800px;
    margin: 0 auto 6rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.faq-item {
    background: rgba(30, 41, 59, 0.6);
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    border: var(--glass-border);
    transition: background 0.2s;
}

.faq-item:hover {
    background: rgba(30, 41, 59, 0.9);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    color: var(--accent-blue);
    transition: all 0.3s;
}

.faq-question[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
    background: var(--accent-blue);
    color: white;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: #020617;
    padding: 3rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #cbd5e1;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto;
}

.footer-contact {
    color: #64748b;
    text-decoration: underline;
    text-decoration-color: rgba(100, 116, 139, 0.3);
    transition: all 0.2s;
}

.footer-contact:hover {
    color: var(--accent-blue);
    text-decoration-color: var(--accent-blue);
}

/* Animations */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes bounce-slight {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-link {
        display: none;
    }

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

    .hero-stats {
        gap: 1.5rem;
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .content-article {
        padding: 1.5rem;
    }
}