* {
    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;
}

body.modal-open {
    overflow: hidden;
}

.container {
    width: min(1200px, 94vw);
    margin: 0 auto;
    padding: clamp(16px, 4vw, 24px);
    padding-top: clamp(12px, 3vw, 24px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.header {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 10px;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-link {
    text-decoration: none;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.main-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
    padding: 6px 10px;
    border: 2px solid transparent;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    border-color: #000;
    background: #000;
    color: #fff;
}

.nav-link--active {
    border-color: #000;
    background: #000;
    color: #fff;
}

.latest-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    margin: 0 auto 20px;
    width: fit-content;
}

.ticker-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ticker-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.ticker-links a {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    color: #ffcf33;
    transition: opacity 0.2s ease;
}

.ticker-links a:hover,
.ticker-links a:focus {
    opacity: 0.75;
}

.ticker-placeholder {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.title {
    font-size: clamp(2rem, 5vw, 2.6rem);
    font-weight: 900;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(0.9rem, 3vw, 1.05rem);
    color: #000000;
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(1.6rem, 4.2vw, 2rem);
    font-weight: 900;
    color: #000000;
    margin-bottom: 5px;
}

.stat-label {
    font-size: clamp(0.65rem, 2.2vw, 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: flex-start;
    gap: clamp(20px, 5vw, 40px);
    margin-bottom: clamp(22px, 5vw, 36px);
    flex-wrap: wrap;
}

.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;
}

.latest-articles {
    margin-top: 40px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: left;
}

.latest-articles h2 {
    text-align: left;
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.latest-articles-subtitle {
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.article-card {
    border: 2px solid #000;
    border-radius: 12px;
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: #000;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.article-card--placeholder {
    text-align: center;
    font-weight: 700;
    color: #4b5563;
}

.article-meta {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.article-title {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 0.85rem;
    color: #374151;
    flex-grow: 1;
}

.article-readmore {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.articles-view-all {
    display: inline-block;
    margin-top: 24px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: #000;
}

.articles-view-all:hover {
    text-decoration: underline;
}

.blog-main {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-hero h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.blog-hero p {
    color: #4b5563;
    font-weight: 600;
}

.blog-list .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.article-main {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
    gap: 30px;
    margin-top: 20px;
}

.article {
    background: #fff;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 30px;
}

.article-header h1 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4b5563;
}

.article-body {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #1f2937;
    font-size: 0.95rem;
}

.article-figure {
    margin: 0 auto 20px;
    max-width: 420px;
    width: 100%;
    border: 1px solid #000;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}

.article-figure img {
    width: 100%;
    display: block;
}

.article-figure figcaption {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    padding: 10px 14px;
    background: #f1f5f9;
}

.article-figure figcaption a {
    color: #1d4ed8;
    text-decoration: none;
}

.article-figure figcaption a:hover {
    text-decoration: underline;
}

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-top: 16px;
}

.article-sidebar {
    background: #fff;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 32px 24px 24px;
    height: fit-content;
}

.article-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 14px;
}

@media (max-width: 900px) {
    .article-main {
        grid-template-columns: 1fr;
    }
    .angle-card--controls .angle-input {
        width: 100%;
        max-width: 240px;
    }

    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 600px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .latest-ticker {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .latest-ticker {
        border-radius: 12px;
    }

    .main-nav {
        justify-content: flex-start;
    }

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

    .article {
        padding: 20px;
    }
}

.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;
}

.product-hunt-badge {
    display: inline-flex;
    justify-content: center;
    margin: 15px auto 10px;
}

.product-hunt-badge img {
    display: block;
}

.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;
}

.angle-layout {
    flex-wrap: wrap;
    align-items: stretch;
}

.angle-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1 1 320px;
    max-width: min(520px, 100%);
}

.angle-card h2 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.angle-card p {
    font-weight: 700;
    color: #000;
    font-size: 0.85rem;
}

.angle-stage {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.angle-stage canvas {
    width: 100%;
    max-width: clamp(320px, 90vw, 440px);
    border-radius: 0;
    border: none;
    background: transparent;
}

.angle-card--controls {
    justify-content: center;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
    order: 2;
    gap: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.angle-card--canvas {
    order: 1;
}

.control-top-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}
.control-top-row button {
    flex: 0 0 auto;
}

.angle-controls-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.angle-controls-copy {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4b5563;
}

.angle-card--controls::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, #facc15 0 18px, #ef4444 18px 36px);
}

.angle-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-top: 10px;
}

.angle-input-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.angle-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.angle-card--controls .angle-input-group {
    align-items: flex-start;
    width: 100%;
}

.angle-input-group label {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
}

.angle-input {
    width: 160px;
    padding: 12px 16px;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 900;
    text-align: center;
    background: #ffffff;
    color: #000;
    font-family: 'Comic Sans MS', sans-serif;
}

.angle-card--controls .angle-input {
    width: 220px;
}

.angle-notes {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.4;
}

.angle-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.angle-card--controls .angle-buttons {
    justify-content: flex-start;
}

.angle-buttons .guess-btn,
.angle-buttons .next-btn {
    font-size: 0.95rem;
    padding: 12px 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.round-progress-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 2px solid #111827;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 6px;
    align-self: flex-start;
}

.round-progress-badge strong {
    font-weight: 900;
}

.angle-result {
    border: 2px solid #000;
    border-radius: 12px;
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    min-height: 140px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.angle-result h4 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #000;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.angle-result p {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
}

.angle-result-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.angle-result-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.angle-result-stats strong {
    font-weight: 900;
}

.angle-result--neutral {
    background: #f8f9fa;
    border-color: #000;
}

.angle-result--close {
    background: #fefce8;
    border-color: #facc15;
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.25);
}

.angle-result--success {
    background: #f0fdf4;
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.28);
}

.angle-result--miss {
    background: #fef2f2;
    border-color: #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.22);
}

.angle-tip {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
}

.angle-tip span {
    color: #ef4444;
}

.start-btn {
    align-self: flex-start;
    background: #facc15;
    color: #000;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    font-family: 'Comic Sans MS', sans-serif;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.start-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}

.start-btn:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
}

.sound-toggle-btn {
    align-self: flex-start;
    background: rgba(15, 23, 42, 0.08);
    border: 2px solid #000;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    font-family: 'Comic Sans MS', sans-serif;
    transition: transform 0.15s ease;
}

.sound-toggle-btn:hover,
.sound-toggle-btn:focus-visible {
    transform: translateY(-1px);
}

.start-btn:disabled,
.guess-btn:disabled,
.next-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.is-hidden {
    display: none !important;
}

.final-summary {
    margin: 0;
    width: min(520px, 90vw);
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 14px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.summary-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
    overflow-y: auto;
}

.summary-modal.is-hidden {
    display: none;
}

.summary-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.final-summary {
    margin: 0;
    width: min(520px, 90vw);
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 14px;
    padding: 26px 26px 30px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

.summary-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
    z-index: 2;
}

.modal-close:hover,
.modal-close:focus-visible {
    transform: scale(1.05);
    outline: none;
}

.score-submit {
    margin: 18px 0 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.score-submit label {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
}

.score-submit-input {
    padding: 10px 14px;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Comic Sans MS', sans-serif;
}

.score-submit-btn {
    align-self: center;
    min-width: 220px;
}
.score-submit-btn:disabled {
    opacity: 0.6;
}

.score-submit-status {
    min-height: 1.2em;
    font-size: 0.8rem;
    font-weight: 800;
    color: #1f2937;
}

.final-summary h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.final-score-line {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 18px;
    color: #000;
}

.final-score-note {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 18px;
}

.final-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.final-stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
}

.final-stat-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: #111827;
}

.leaderboard {
    margin: 45px auto 60px;
    max-width: 620px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 14px;
    padding: 24px;
    text-align: left;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
}

.leaderboard-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.leaderboard-status {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b5563;
}

.leaderboard-list {
    margin: 0;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #111827;
}

.leaderboard-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 6px;
}

.leaderboard-list li:nth-child(odd) {
    background: #f9fafb;
}

.leaderboard-name {
    flex: 1;
}

.leaderboard-score {
    font-weight: 900;
    color: #0f172a;
}

.leaderboard-placeholder {
    color: #6b7280;
    font-weight: 700;
}

.round-breakdown {
    margin: 0 0 20px;
    padding-left: 24px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 800;
    color: #1f2937;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.round-breakdown li {
    list-style-type: decimal-leading-zero;
}

.site-footer {
    border-top: 2px solid #000;
    margin-top: 60px;
    padding: 24px 20px;
    background: #ffffff;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    font-family: 'Comic Sans MS', sans-serif;
}

.footer-brand {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #0f172a;
}

.footer-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .angle-card {
        max-width: 100%;
    }
    .angle-card--controls,
    .angle-card--canvas {
        width: 100%;
    }
    .angle-card-header {
        align-items: center;
        text-align: center;
    }
    .angle-card--controls .angle-input-group {
        align-items: center;
    }
    .angle-card--controls .angle-input {
        width: 100%;
        max-width: 240px;
    }
    .angle-notes {
        align-items: center;
        padding-left: 0;
        list-style-position: inside;
        text-align: center;
    }
    .final-summary {
        padding: 22px 20px;
        width: min(520px, 100%);
    }
    .final-stats {
        gap: 16px;
    }
    .angle-card--controls .angle-buttons {
        justify-content: center;
    }
    .start-btn {
        align-self: stretch;
    }
    .sound-toggle-btn {
        align-self: stretch;
    }
    .leaderboard {
        margin: 30px 0 50px;
        padding: 20px;
    }
    .vs-container {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    body {
        padding: 28px 16px 80px;
    }

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

    .title {
        font-size: 1.75rem;
    }
    .subtitle {
        display: none;
    }

    .stats {
        gap: 16px;
        justify-content: space-between;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .stat {
        flex: 1 1 45%;
        min-width: 140px;
        text-align: left;
    }
    .angle-layout {
        flex-direction: column;
        gap: 24px;
    }
    .angle-card--controls,
    .angle-card--canvas,
    .leaderboard {
        width: 100%;
    }
    .angle-card--canvas {
        order: -1;
        border: none;
        padding: 0;
        box-shadow: none;
    }
    .angle-card--canvas h2 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    .angle-tip {
        font-size: 0.75rem;
    }
    .angle-card--controls {
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 12px 0 18px;
        gap: 16px;
        overflow: visible;
    }
    .angle-card--controls::before {
        display: none;
    }
    .control-top-row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }
    .control-top-row button {
        flex: 1 1 auto;
        width: auto;
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    .angle-input-group {
        align-items: stretch;
    }
    .angle-input,
    .angle-buttons,
    .angle-buttons button,
    .score-submit,
    .score-submit-input,
    .score-submit-btn {
        width: 100%;
    }
    .angle-result {
        padding: 14px;
        border-width: 2px;
    }
    .score-submit {
        align-items: stretch;
        gap: 8px;
        text-align: left;
    }
    .leaderboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .leaderboard {
        padding: 18px;
    }
    .leaderboard-list {
        padding-left: 18px;
    }
    .leaderboard-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .angle-controls-copy,
    .angle-notes {
        display: none;
    }
    .angle-card--controls {
        padding: 18px 16px;
    }
    .angle-controls-title {
        font-size: 1rem;
        text-align: left;
        width: 100%;
    }
    .start-btn,
    .sound-toggle-btn {
        width: auto;
        max-width: none;
        align-self: flex-start;
        padding: 10px 16px;
        font-size: 0.8rem;
    }
	.angle-buttons {
		width: 100%;
		justify-content: stretch;
	}
	.angle-buttons .next-btn {
		width: 100%;
	}
	.round-progress-badge {
		width: 100%;
		text-align: center;
	}
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.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;
}

.howto-cta-link {
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ef4444;
    text-decoration: none;
    border: 2px solid #ef4444;
    border-radius: 999px;
    padding: 8px 16px;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.howto-cta-link:hover,
.howto-cta-link:focus {
    background: #ef4444;
    color: #ffffff;
}

.mobile-start-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mobile-start-modal.is-visible {
    display: flex;
}

.mobile-start-modal__card {
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 18px;
    padding: 28px 24px;
    max-width: 360px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

.mobile-start-modal__card h2 {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-start-modal__copy {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    color: #1f2937;
}

.mobile-start-modal__actions {
    display: grid;
    gap: 12px;
}

.mobile-start-modal__btn {
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.mobile-start-modal__btn--primary {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.mobile-start-modal__btn--primary:hover,
.mobile-start-modal__btn--primary:focus {
    background: #000000;
    border-color: #000000;
}

.mobile-start-modal__btn--ghost {
    background: transparent;
    color: #111827;
    border-color: #111827;
}

.mobile-start-modal__btn--ghost:hover,
.mobile-start-modal__btn--ghost:focus {
    background: #111827;
    color: #ffffff;
}

.guide-page {
    gap: 24px;
}

.guide-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-top: 8px;
}

.guide-back-link {
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border: 2px solid #000000;
    border-radius: 999px;
    padding: 6px 14px;
    color: #000000;
    transition: all 0.2s ease;
}

.guide-back-link:hover,
.guide-back-link:focus {
    background: #000000;
    color: #ffffff;
}

.guide-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.05em;
}

.guide-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    max-width: 720px;
    line-height: 1.6;
}

.guide-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1;
}

.angle-guide-page .guide-main {
    gap: 40px;
}

.angle-section {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 14px;
    padding: clamp(24px, 4vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.angle-section h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #000000;
}

.angle-section-intro {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.7;
    color: #1f2937;
}

.angle-key-points,
.angle-measurement-list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.angle-key-points article,
.angle-measurement-list article {
    background: #f8fafc;
    border: 2px dashed #0f172a;
    border-radius: 12px;
    padding: 18px;
}

.angle-key-points h3,
.angle-measurement-list h3 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.angle-key-points p,
.angle-measurement-list p {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    color: #111827;
}

.angle-type-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.angle-type-card {
    background: #fefce8;
    border: 2px solid #111827;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 4px 4px 0 rgba(17, 24, 39, 0.18);
}

.angle-type-card h3 {
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.angle-type-card p {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
}

.angle-theorem-list,
.angle-real-world-list,
.angle-timeline,
.angle-resources {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.angle-theorem-list li,
.angle-real-world-list li,
.angle-timeline li,
.angle-resources li {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
}

.angle-timeline li strong {
    display: inline-block;
    min-width: 150px;
    font-weight: 900;
}

.angle-resources a {
    color: #0f172a;
    font-weight: 800;
    text-decoration: underline;
}

.angle-resources a:hover,
.angle-resources a:focus {
    color: #ef4444;
}

/* How-to & FAQ SEO sections */
.seo-howto,
.faq-section {
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 12px;
    padding: clamp(20px, 4vw, 32px);
    margin: 40px 0;
    text-align: left;
}

.seo-howto h2,
.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.howto-intro {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 18px;
    line-height: 1.6;
}

.howto-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.howto-steps li {
    border: 2px dashed #000000;
    border-radius: 10px;
    padding: 18px;
    background: #f8fafc;
}

.howto-steps h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 6px;
    color: #000000;
}

.howto-steps p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.6;
}

.faq-items {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 2px solid #000000;
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
}

.faq-item[open] {
    background: #ffffff;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 20px;
}

.faq-item p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    color: #1f2937;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}

/* 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;
    }

    .seo-howto,
    .faq-section {
        padding: 20px;
        margin: 24px 0;
    }
    
    .seo-howto h2,
    .faq-section h2 {
        font-size: 1.4rem;
    }

    .howto-steps {
        gap: 12px;
    }

    .howto-steps li {
        padding: 16px;
    }

    .howto-steps h3 {
        font-size: 1rem;
    }

    .faq-item summary {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .faq-item p {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }

    .angle-section {
        padding: 18px;
        gap: 12px;
    }

    .angle-key-points,
    .angle-measurement-list,
    .angle-type-grid {
        grid-template-columns: 1fr;
    }

    .angle-timeline li strong {
        min-width: auto;
        display: block;
    }

    .mobile-start-modal {
        padding: 16px;
    }

    .mobile-start-modal__card {
        width: 100%;
    }

    .guide-header {
        gap: 10px;
    }

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

    .guide-subtitle {
        font-size: 0.95rem;
    }
}
