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

body {
    font-family: 'Comic Sans MS', sans-serif;
    background: 
        linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
        #ffffff;
    background-size: 20px 20px;
    min-height: 100vh;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1rem;
    color: #000000;
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto 30px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.75rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.game-area {
    margin: 30px 0;
}

.vs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.celebrity-card {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    width: 250px;
    flex-shrink: 0;
}

.celebrity-card:hover {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.celebrity-image {
    margin-bottom: 15px;
    position: relative;
}

.image-credit {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 400;
    line-height: 1.2;
    font-family: Arial, sans-serif;
}

.placeholder-image {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: #f3f4f6;
    font-size: 5rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.placeholder-image.has-photo {
    font-size: 0;
}

.celebrity-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 5px;
}

.celebrity-info {
    color: #000000;
    margin-bottom: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.guess-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
}

.guess-btn:hover {
    background: #333333;
}

.vs-divider {
    text-align: center;
}

.vs-text {
    font-size: 1.2rem;
    font-weight: 900;
    color: #000000;
    display: block;
    margin-bottom: 5px;
}

.lightning {
    font-size: 1.5rem;
}

.result-area {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.result-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: #111827;
}

.wealth-reveal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 32px 0;
}

.wealth-item {
    text-align: center;
}

.celebrity-result {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.wealth-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
    display: block;
}

.next-btn {
    background: #111827;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
}

.next-btn:hover {
    background: #000000;
}

.leaderboard-submit {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #000;
    border-radius: 12px;
    text-align: center;
}

.leaderboard-submit h4 {
    margin-bottom: 15px;
    color: #000;
    font-weight: 900;
}

.submit-score-btn, .skip-submit-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
}

.skip-submit-btn {
    background: #666;
}

.submit-score-btn:hover {
    background: #333;
}

.skip-submit-btn:hover {
    background: #888;
}

.seo-links-section {
    margin-top: 30px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 20px;
}

.seo-links-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #000;
    font-weight: 900;
}

.seo-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.seo-link {
    background: #f8f9fa;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s ease;
    display: block;
}

.seo-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.seo-link-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.seo-link-desc {
    font-size: 0.75rem;
    opacity: 0.8;
}

.leaderboard-section {
    margin-top: 30px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 20px;
}

.leaderboard-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #000;
    font-weight: 900;
}

.leaderboard-list {
    max-height: 400px;
    overflow-y: auto;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 700;
}

.leaderboard-rank {
    font-size: 1.2rem;
    color: #000;
    min-width: 30px;
}

.leaderboard-name {
    flex-grow: 1;
    text-align: left;
    margin-left: 15px;
    color: #000;
}

.leaderboard-score {
    color: #27ae60;
    font-weight: 900;
}

.loading {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}

.social-share p {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    background: #ffffff;
    color: #374151;
}

.share-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.ad-container {
    margin: 20px 0;
    text-align: center;
    min-height: 90px;
}

.top-ad {
    margin-bottom: 30px;
}

.bottom-ad {
    margin-top: 30px;
    margin-bottom: 20px;
}

.disclaimer {
    color: #000000;
    font-size: 0.65rem;
    font-style: italic;
    font-weight: 700;
}

.correct {
    border-color: #10b981 !important;
    background: #f0fdf4;
}

.incorrect {
    border-color: #ef4444 !important;
    background: #fef2f2;
}

.challenge-section {
    text-align: center;
    margin: 30px 0;
}

.challenge-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    margin: 10px;
    transition: all 0.2s ease;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.challenge-btn:hover {
    background: #333;
    transform: scale(1.05);
}

.join-btn {
    background: #27ae60;
    border-color: #27ae60;
}

.join-btn:hover {
    background: #229954;
}

.challenge-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    display: none;
}

.challenge-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border: 3px solid #000;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.close-modal {
    color: #000;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #ff0000;
}

.challenge-modal h3 {
    color: #000;
    margin-bottom: 20px;
    font-weight: 900;
}

.challenge-modal input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #000;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.challenge-modal button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    margin: 10px 5px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.challenge-modal button:hover {
    background: #333;
}

.challenge-scores {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #000;
    border-radius: 8px;
}

.player-score {
    text-align: center;
}

.player-score span:first-child {
    display: block;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.player-score span:last-child {
    font-size: 2rem;
    font-weight: 900;
    color: #27ae60;
}

#challengeRound {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: #000;
    margin: 15px 0;
}

#challengeStatus {
    text-align: center;
    margin-top: 20px;
}

#challengeStatus h2 {
    color: #000;
    margin-bottom: 15px;
}

#challengeStatus button {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 15px;
}

.challenge-celeb-card {
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #000;
    border-radius: 8px;
    text-align: center;
    min-width: 150px;
}

.challenge-guess-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.8rem;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.challenge-guess-btn:hover:not(:disabled) {
    background: #333;
}

.challenge-guess-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* SEO Pages Styles */
.celebrity-profile {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.celebrity-profile h2 {
    color: #000;
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.celebrity-profile h3 {
    color: #000;
    font-weight: 900;
    margin: 30px 0 15px;
    font-size: 1.2rem;
}

.celebrity-profile p {
    color: #000;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
}

.play-btn, .cta-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    margin: 10px 10px 10px 0;
    transition: all 0.2s ease;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.play-btn:hover, .cta-btn:hover {
    background: #333;
    transform: scale(1.05);
}

.compare-section {
    background: #f8f9fa;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.compare-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.compare-link {
    background: #fff;
    border: 2px solid #000;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.compare-link:hover {
    background: #000;
    color: #fff;
}

.cta-section {
    text-align: center;
    background: #000;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.cta-section h3 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-section p {
    color: #fff;
    margin-bottom: 20px;
}

.cta-section .cta-btn {
    background: #fff;
    color: #000;
}

.cta-section .cta-btn:hover {
    background: #f0f0f0;
}

.vs-comparison {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.vs-result {
    background: #f8f9fa;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.vs-result h2 {
    color: #000;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.vs-result p {
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
}

.play-section {
    background: #000;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
}

.play-section h3 {
    color: #fff;
    margin-bottom: 15px;
}

.play-section p {
    color: #fff;
    margin-bottom: 20px;
}

.play-section .play-btn {
    background: #fff;
    color: #000;
}

.play-section .play-btn:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        min-height: 100vh;
        justify-content: flex-start;
    }
    
    .header {
        margin-bottom: 20px;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .stats {
        gap: 20px;
        margin-top: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .game-area {
        margin: 20px 0;
    }
    
    .vs-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .celebrity-card {
        width: 90%;
        max-width: 300px;
        padding: 15px;
    }
    
    .placeholder-image {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .celebrity-name {
        font-size: 1rem;
    }
    
    .guess-btn {
        font-size: 0.7rem;
        padding: 10px 15px;
    }
    
    .vs-text {
        font-size: 1rem;
    }
    
    .result-area {
        padding: 20px;
    }
    
    .result-content h3 {
        font-size: 1.2rem;
    }
    
    .wealth-reveal {
        flex-direction: column;
        gap: 15px;
    }
    
    .wealth-amount {
        font-size: 1.5rem;
    }
    
    .next-btn {
        font-size: 0.8rem;
        padding: 10px 20px;
    }
    
    .footer {
        margin-top: 20px;
        padding: 15px 0;
    }
    
    .ad-container {
        min-height: 60px;
    }
}

/* SEO Category Section Styles */
.seo-categories {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.seo-categories h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.seo-categories > p {
    font-size: 1rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: block;
}

.category-card:hover {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.category-cta {
    font-size: 0.85rem;
    color: #000000;
    font-weight: 700;
    text-decoration: underline;
}

.category-description {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.category-description h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 10px;
}

.category-description p {
    font-size: 0.9rem;
    color: #555555;
    font-weight: 500;
    line-height: 1.5;
}

/* Responsive adjustments for categories */
@media (max-width: 768px) {
    .seo-categories {
        padding: 20px;
        margin: 20px 0;
    }
    
    .seo-categories h2 {
        font-size: 1.4rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        padding: 15px;
    }
    
    .category-description {
        padding: 15px;
    }
}