/* Guess the Price — Millionaire-style quiz */

.guess-page {
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 220px);
}

.guess-layout {
    max-width: 1100px;
}

.guess-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.guess-kicker {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.guess-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0;
    color: var(--text-primary);
}

.guess-intro {
    color: var(--text-secondary);
    margin: 0.5rem 0 0;
    max-width: 36rem;
}

.guess-scoreboard {
    display: flex;
    gap: 1.25rem;
    padding: 0.85rem 1.25rem;
    background: rgba(8, 18, 31, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.score-item {
    text-align: center;
    min-width: 4rem;
}

.score-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.score-item strong {
    font-size: 1.35rem;
    color: var(--gold);
}

.guess-main {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .guess-main { grid-template-columns: 1fr; }
    .guess-sidebar { order: 3; }
}

.guess-stage {
    min-height: 420px;
}

.guess-loading {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-secondary);
}

.guess-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 1rem;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: guess-spin 0.8s linear infinite;
}

@keyframes guess-spin {
    to { transform: rotate(360deg); }
}

.hidden { display: none !important; }

.guess-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.guess-property-image {
    height: 220px;
    background: var(--bg-primary) center/cover no-repeat;
}

.guess-property-image.no-image {
    background: linear-gradient(135deg, #0f1c2e, #1a2a40);
    display: flex;
    align-items: center;
    justify-content: center;
}

.guess-property-image.no-image::after {
    content: 'No image';
    color: var(--text-muted);
    font-size: 0.85rem;
}

.guess-property-body {
    padding: 1.25rem;
}

.guess-property-body h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0.5rem 0 0.35rem;
    color: var(--text-primary);
}

.guess-location {
    color: var(--gold);
    font-size: 0.9rem;
    margin: 0 0 0.75rem;
}

.guess-summary {
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    font-size: 0.95rem;
}

.guess-hectares {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.guess-prompt {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.guess-options {
    display: grid;
    gap: 0.65rem;
}

.guess-option {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(90deg, rgba(177, 130, 55, 0.12), rgba(15, 28, 46, 0.9));
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.guess-option:hover:not(:disabled) {
    border-color: var(--gold);
    transform: translateX(4px);
    box-shadow: 0 0 0 1px rgba(177, 130, 55, 0.25);
}

.guess-option:disabled {
    cursor: default;
    opacity: 0.85;
}

.guess-option.correct {
    border-color: #3d9a5f;
    background: linear-gradient(90deg, rgba(61, 154, 95, 0.2), rgba(15, 28, 46, 0.95));
}

.guess-option.wrong {
    border-color: #b54a4a;
    background: linear-gradient(90deg, rgba(181, 74, 74, 0.15), rgba(15, 28, 46, 0.95));
}

.guess-option.dimmed {
    opacity: 0.45;
}

.guess-option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.guess-result {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.guess-result-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.guess-result h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}

.guess-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.guess-how {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-top: 1rem;
}

.guess-how h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.guess-how ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.guess-note {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.guess-empty {
    text-align: center;
    padding: 3rem 1rem;
}

/* AdSense */
.adsense-unit,
.adsense-placeholder {
    min-height: 90px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adsense-placeholder {
    background: rgba(26, 42, 64, 0.5);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ad-sidebar .adsense-placeholder,
.ad-sidebar .adsense-unit {
    min-height: 250px;
}

/* Legal pages */
.legal-page .narrow {
    max-width: 720px;
}

.legal-page h1 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 2rem 0 0.75rem;
    color: var(--gold);
}

.legal-page p,
.legal-page li {
    color: var(--text-secondary);
    line-height: 1.65;
}

.contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

/* Cookie consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
    padding: 1rem;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
    min-width: 240px;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
}
