@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0a66c2; /* LinkedIn Blue */
    --primary-hover: #004182;
    --secondary: #0073b1;
    --bg-body: #f3f6f8;
    --bg-white: #ffffff;
    --text-main: #1d2226;
    --text-muted: #666666;
    --accent: #057642; /* Success Green */
    --border: #e0e0e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Layout Containers */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

/* Header & Nav */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 4rem 1rem 3rem;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.intro-text {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.intro-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    background: #e6f4ea;
    color: #057642;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid #c3e6cb;
}

/* Game Card */
.game-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.date-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clues-list {
    list-style: none;
    margin: 2rem 0;
}

.clue-row {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.clue-row:hover {
    background: #f0f7ff;
    transform: translateX(4px);
    border-color: var(--primary);
}

.clue-index {
    color: var(--primary);
    margin-right: 1rem;
    font-weight: 800;
    font-size: 1.1rem;
}

/* Reveal Button & Answer */
.reveal-container {
    margin-top: 2.5rem;
}

.reveal-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, transform 0.1s;
}

.reveal-button:hover {
    background: var(--primary-hover);
}

.reveal-button:active {
    transform: scale(0.98);
}

.answer-display {
    display: none;
    background: #eef3f7;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.answer-display h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.answer-word {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

/* Info Sections */
.info-section {
    padding: 3rem 0;
}

.info-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Premium SEO Sections */
.recent-solutions {
    margin-top: 5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    overflow: hidden;
}

.section-header {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 800;
    margin: 0;
}

.recent-list {
    list-style: none;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.recent-item:hover {
    background: #f8fbff;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-date-box {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.recent-day {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.recent-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
}

.recent-category {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    text-align: right;
    max-width: 60%;
}

/* Content Guide - Side by Side on Desktop */
.content-guide {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.guide-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.guide-card h2 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    position: relative;
}

.guide-card h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.guide-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.guide-card strong {
    color: var(--primary);
}

.disclaimer-box {
    margin-top: 5rem;
    padding: 2rem;
    background: #fdfdfd;
    border: 1px dashed var(--border);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    
    .container, .container-nav {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        overflow-x: hidden;
    }

    header {
        position: static; /* Better for mobile scrolling with ads */
    }

    .container-nav {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .hero { 
        padding: 3rem 0 2rem; 
        text-align: left;
    }

    .hero > * {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Flatten Containers for Ads */
    .game-card, 
    .recent-solutions, 
    .guide-card, 
    .disclaimer-box {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-left: 0;
        margin-right: 0;
        box-shadow: none;
        padding-left: 0;
        padding-right: 0;
    }

    .game-card > *, 
    .recent-solutions > *, 
    .guide-card > *, 
    .disclaimer-box > * {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Reset padding for ad containers to allow full-width */
    .ad-container-main, .ad-container-small {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .game-card {
        padding: 2rem 0;
    }

    .section-header {
        padding: 1.25rem;
    }

    .recent-item {
        padding: 1rem 1.25rem;
    }

    .content-guide {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 2rem;
    }

    .guide-card {
        padding: 2rem 0;
        border-top: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1.25rem;
    }

    .reveal-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .reveal-button {
        width: calc(100% - 2.5rem) !important;
        margin: 0 1.25rem;
    }

    .answer-display {
        width: calc(100% - 2.5rem) !important;
        margin: 1rem 1.25rem 0;
    }

    /* Reset padding for ad containers to allow full-width and perfect centering */
    .ad-container-main, .ad-container-small {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 20px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .footer-bottom {
        padding: 2rem 1.25rem;
    }

    .disclaimer-box {
        margin-top: 3rem;
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .answer-word { font-size: 1.75rem; }
    .clue-row { padding: 1rem; }
}

