/* ============================================================
   Percy Jackson Cabin Quiz — Index Page Styles
   Extracted from index.html <style> block.
   All rules are at the top level (no invalid CSS nesting).
   ============================================================ */

/* ---- Base ---- */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-navy);
    color: var(--color-light);
    line-height: 1.6;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Main Layout ---- */
.main-content {
    margin-top: 5rem;
    padding: 2rem 1rem;
    min-height: calc(100vh - 8rem);
    text-align: center;
}

/* ---- Hero ---- */
.hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 3.5rem 1rem 2.5rem;
    position: relative;
}

/* Subtle radial glow behind hero content */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 30%, rgba(255, 215, 0, 0.07) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 24px;
}

.hero h1 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.4rem, 5.5vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.2);
}

.hero p strong {
    color: var(--color-gold);
    font-weight: 500;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-light);
}

/* ---- Hero Social Proof Stats ---- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(245, 245, 245, 0.75);
}

.hero-stat strong {
    color: var(--color-gold);
}

.hero-stat-divider {
    color: rgba(255, 215, 0, 0.4);
    font-size: 1.2rem;
    line-height: 1;
}



/* ---- CTA Button ---- */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.cta-button:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* The primary hero CTA should be filled by default — highest visual weight */
#start-quiz {
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 1.1rem 2.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

#start-quiz:hover {
    background-color: #ffe033;
    box-shadow: 0 6px 28px rgba(255, 215, 0, 0.55);
    transform: translateY(-3px);
}

.cta-button.primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border: 2px solid var(--color-gold);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.cta-button.mini {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ---- Quiz Section ---- */
.quiz-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.quiz-section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

/* ---- Progress Bar ---- */
.progress-container {
    width: 100%;
    margin: 15px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.progress-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-green);
    text-align: center;
}

.progress-bar-wrapper {
    position: relative;
    width: 280px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-green));
    border-radius: 3px;
    width: 8%;
    transition: width 0.3s ease;
}

.progress-percentage {
    position: absolute;
    top: -22px;
    right: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-light);
}

/* ---- Multi-select Instruction ---- */
.multi-select-instruction {
    color: var(--color-gold) !important;
    font-style: italic;
    margin-bottom: 10px !important;
    text-align: center;
    font-size: 0.95rem;
}

/* ---- Warning / Alert Messages ---- */
.limit-warning,
.alert-message {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    border-radius: 4px;
    padding: 8px 12px;
    margin-top: 8px;
    text-align: center;
    font-size: 0.9em;
    color: #ff6b6b;
}

/* ---- Question & Options ---- */
.question {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-light);
    font-weight: 500;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.options label input[type="radio"],
.options label input[type="checkbox"] {
    display: none;
}

.options label {
    display: block;
    max-width: 340px;
    width: 100%;
    margin: 8px auto;
    padding: 10px 15px 10px 18px;
    background: rgba(255, 215, 0, 0.06);
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.options label:hover {
    background: rgba(255, 215, 0, 0.12);
    border-left-color: var(--color-gold);
    transform: translateX(3px);
}

.options label.selected {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid var(--color-green);
    border-left: 3px solid var(--color-green);
    font-weight: 600;
}

/* ---- Quiz Buttons ---- */
.quiz-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
    margin-top: 1rem;
}

.quiz-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

/* ---- Result Panel ---- */
.result {
    margin-top: 2rem;
    background-color: rgba(30, 30, 46, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-title {
    font-family: 'Crimson Text', serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.result-subtitle {
    font-family: 'Crimson Text', serif;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--color-green);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.result-image-container {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 1rem 0 2rem;
}

.result-image {
    width: min(280px, 80vw);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s ease;
}

.result-image:hover {
    transform: scale(1.05);
}

/* ---- God Link Overlay ---- */
.god-link-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-decoration: none;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.result-image-container:hover .god-link-overlay {
    transform: translateY(0);
}

.link-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---- Tab Navigation ---- */
.result-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-button {
    background: none;
    border: none;
    color: var(--color-light);
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 70px;
    flex-shrink: 0;
}

.tab-button:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--color-gold);
}

.tab-button.active {
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-weight: 500;
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-text {
    font-size: 0.8rem;
    font-weight: 500;
}

/* ---- Tab Content ---- */
.tab-content {
    min-height: 200px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane h4 {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.profile-description,
.cabin-description {
    font-size: 1.1rem;
    color: var(--color-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* ---- Cabin Image in Tab ---- */
.cabin-image-container {
    text-align: center;
    margin: 1rem 0;
}

#result-cabin-image {
    width: min(200px, 60vw);
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease;
}

#result-cabin-image:hover {
    transform: scale(1.1);
}

/* ---- Powers List ---- */
.powers-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.powers-list li {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-gold);
    font-size: 1rem;
    color: var(--color-light);
}

/* ---- Siblings Info ---- */
.siblings-info {
    font-size: 1.1rem;
    color: var(--color-light);
    text-align: center;
    line-height: 1.6;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ---- Result Action Buttons ---- */
.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.result-actions .cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.button-icon {
    font-size: 1.1rem;
}

/* ---- Claimed Banner ---- */
.claimed-banner {
    background: linear-gradient(135deg, var(--color-gold), #FFA500);
    color: var(--color-navy);
    text-align: center;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.claimed-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.claimed-title {
    font-family: 'Crimson Text', serif;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.claimed-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ---- Content Discovery ---- */
.content-discovery {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.discovery-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 1.5rem;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.discovery-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    text-decoration: none;
    color: var(--color-light);
    transition: all 0.3s ease;
}

.discovery-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.card-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
}

.card-content h5 {
    color: var(--color-gold);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.card-content p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
}

/* ---- Share Buttons ---- */
.share-section {
    margin: 2rem 0;
    text-align: center;
}

.share-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.share-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--color-gold);
    color: var(--color-navy);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.share-btn:active {
    transform: translateY(-1px) scale(1.05);
}

.share-btn svg {
    transition: transform 0.3s ease;
}

.share-btn:hover svg {
    transform: scale(1.1);
}

.share-btn[data-platform="twitter"]:hover {
    background: #1DA1F2;
    color: white;
}

.share-btn[data-platform="facebook"]:hover {
    background: #1877F2;
    color: white;
}

.share-btn[data-platform="whatsapp"]:hover {
    background: #25D366;
    color: white;
}

.share-btn[data-platform="copy"]:hover {
    background: var(--color-green);
    color: white;
}

.share-message {
    min-height: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-green);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-message.show {
    opacity: 1;
}

/* ---- Generic Section ---- */
.section {
    margin: 4rem auto;
    padding: 2rem;
    text-align: center;
}

.section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--color-green);
    font-weight: 500;
}

/* ---- How It Works ---- */
#how-it-works {
    max-width: 1000px;
}

.steps-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
}

.step-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-gold);
}

.step-item p {
    font-size: 1.1rem;
    color: var(--color-light);
    margin: 0;
}

.steps-list li {
    padding: 0.75rem;
}

/* ---- Trending Section ---- */
.trending-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.trending-header {
    text-align: center;
    margin-bottom: 2rem;
}

.trending-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse-glow 2s infinite;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.trending-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.trending-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.trending-card.featured {
    border-left: 4px solid var(--color-gold);
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.9), rgba(255, 215, 0, 0.05));
}

.trending-card.featured:hover {
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.95), rgba(255, 215, 0, 0.15));
}

.card-content h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    color: var(--color-light);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.trending-card:hover h3 {
    color: var(--color-gold);
}

.card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 107, 0.6);
    }
}

/* ---- Cabins Section ---- */
.cabins-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 2rem;
}

.cabin-overview {
    margin: 3rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

.cabin-panorama {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
    transition: transform 0.3s ease;
}

.cabin-panorama:hover {
    transform: scale(1.03);
}

.panorama-caption {
    margin-top: 1rem;
    text-align: center;
    font-family: 'Crimson Text', serif;
    color: var(--color-gold);
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cabin-list {
    margin: 2rem 0;
}

.cabin-item {
    margin-bottom: 0.5rem;
    background: rgba(30, 30, 46, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
    height: 260px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cabin-thumbnail {
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(16, 185, 129, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.cabin-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.cabin-thumbnail::before {
    content: attr(data-cabin-symbol);
    position: absolute;
    font-size: 2rem;
    color: var(--color-gold);
    opacity: 0.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hide emoji symbol when real image is present */
.cabin-thumbnail:has(img)::before {
    display: none;
}

/* Per-cabin emoji symbols */
.cabin-thumbnail[data-cabin="zeus"]::before {
    content: "⚡";
}

.cabin-thumbnail[data-cabin="hera"]::before {
    content: "👑";
}

.cabin-thumbnail[data-cabin="poseidon"]::before {
    content: "🔱";
}

.cabin-thumbnail[data-cabin="demeter"]::before {
    content: "🌾";
}

.cabin-thumbnail[data-cabin="ares"]::before {
    content: "⚔️";
}

.cabin-thumbnail[data-cabin="athena"]::before {
    content: "🦉";
}

.cabin-thumbnail[data-cabin="apollo"]::before {
    content: "☀️";
}

.cabin-thumbnail[data-cabin="artemis"]::before {
    content: "🌙";
}

.cabin-thumbnail[data-cabin="hephaestus"]::before {
    content: "🔨";
}

.cabin-thumbnail[data-cabin="aphrodite"]::before {
    content: "💖";
}

.cabin-thumbnail[data-cabin="hermes"]::before {
    content: "🏃";
}

.cabin-thumbnail[data-cabin="dionysus"]::before {
    content: "🍇";
}

.cabin-thumbnail[data-cabin="hades"]::before {
    content: "💀";
}

.cabin-thumbnail[data-cabin="iris"]::before {
    content: "🌈";
}

.cabin-thumbnail[data-cabin="hypnos"]::before {
    content: "😴";
}

.cabin-thumbnail[data-cabin="nemesis"]::before {
    content: "⚖️";
}

.cabin-thumbnail[data-cabin="nike"]::before {
    content: "🏆";
}

.cabin-thumbnail[data-cabin="hebe"]::before {
    content: "⚱️";
}

.cabin-thumbnail[data-cabin="tyche"]::before {
    content: "🎲";
}

.cabin-thumbnail[data-cabin="hecate"]::before {
    content: "🔮";
}

.cabin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

.cabin-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    color: var(--color-gold);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
    margin-bottom: 0.5rem;
    padding: 0;
}

.cabin-number {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    background: var(--color-green);
    color: var(--color-navy);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
}

.cabin-title::after {
    display: none;
}

.cabin-title:hover {
    background: rgba(255, 215, 0, 0.1);
}

.cabin-details {
    max-height: 60px;
    overflow: hidden;
    font-size: 0.95rem;
    color: var(--color-light);
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    flex: 1;
    margin-bottom: 0.5rem;
}

.cabin-item.active .cabin-details {
    max-height: none;
}

.cabin-cta-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
}



.cabin-cta-btn:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}




.cabin-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.cabin-link:hover {
    transform: translateY(-5px);
}

.cabin-link:hover .cabin-item {
    border-color: var(--color-gold);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.cabin-link:hover .cabin-thumbnail img {
    transform: scale(1.1);
}

.cabin-intro {
    margin-bottom: 1.5rem;
}

.view-all-cabins {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.view-all-cabins:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* ---- About Section ---- */
#about {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 2rem;
}

.about-section {
    padding: 4rem 2rem;
    text-align: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 450px;
    min-width: 300px;
    margin: 0;
    text-align: left;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-light);
    line-height: 1.8;
}

.about-text strong {
    color: var(--color-gold);
    font-weight: 500;
}

.about-visual {
    flex: 1 1 500px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.about-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.visual-caption {
    margin-top: 1.5rem;
    font-family: 'Crimson Text', serif;
    color: var(--color-gold);
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ---- FAQ Section ---- */
#faq {
    max-width: 900px;
}

.faq-intro,
.faq-outro {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.08);
    color: var(--color-light);
}

/* Remove default outline; use custom focus-visible ring for keyboard users */
.faq-question:focus {
    outline: none;
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: -2px;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.08);
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    color: var(--color-gold);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 640px;
    padding: 1.5rem;
}

.faq-content {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.faq-item.active .faq-content {
    opacity: 1;
    transform: translateY(0);
}

.faq-content p {
    font-size: 1rem;
    color: var(--color-light);
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Progress bar */
    .progress-bar-wrapper {
        width: 240px;
        height: 5px;
    }

    .progress-text {
        font-size: 0.9rem;
    }

    .progress-percentage {
        font-size: 0.75rem;
        top: -20px;
    }

    /* Result panel */
    .result {
        margin: 1rem 0.5rem;
        padding: 1rem;
    }

    .result-tabs {
        margin-bottom: 1.5rem;
        padding: 0.25rem;
    }

    .tab-button {
        padding: 0.5rem 0.75rem;
        min-width: 60px;
    }

    .tab-text {
        font-size: 0.7rem;
    }

    .tab-icon {
        font-size: 1rem;
    }

    .result-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Claimed banner */
    .claimed-banner {
        margin: -1rem -1rem 1.5rem -1rem;
        padding: 0.75rem;
    }

    .claimed-text {
        gap: 0.5rem;
    }

    .claimed-icon {
        font-size: 1.2rem;
    }

    /* Content discovery */
    .content-discovery {
        margin: 1.5rem 0;
        padding: 1rem;
    }

    .discovery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .discovery-card {
        padding: 0.75rem;
    }

    .card-icon {
        font-size: 1.3rem;
        min-width: 1.5rem;
    }

    /* Share buttons */
    .share-btn {
        width: 44px;
        height: 44px;
    }

    .share-buttons-modern {
        gap: 0.5rem;
    }

    /* Steps */
    .steps-row {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .step-item {
        width: 100%;
        padding: 1rem 0.5rem;
    }

    .step-icon {
        font-size: 2rem;
    }

    .step-item p {
        font-size: 1rem;
    }

    /* Section */
    .section {
        padding: 1rem;
        margin: 2rem auto;
    }

    .options label {
        padding: 0.75rem;
    }

    /* Cabin overview */
    .cabin-overview {
        margin: 2rem auto;
    }

    .panorama-caption {
        font-size: 1rem;
    }

    /* Cabin list */
    .cabin-item {
        height: 280px;
    }

    .cabin-thumbnail {
        height: 140px;
    }

    .cabin-content {
        padding: 0.75rem 0.5rem;
    }

    .cabin-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .cabin-details {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .cabin-cta-btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }

    /* About */
    .about-section {
        padding: 3rem 1rem;
    }

    .about-text {
        margin-bottom: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-visual {
        padding: 0 0.5rem;
    }

    .visual-caption {
        font-size: 1.1rem;
    }

    /* Trending */
    .trending-section {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .trending-grid {
        grid-template-columns: 1fr;
    }

    .trending-card {
        min-height: auto;
    }
}

/* ============================================================
   RESPONSIVE — Tablet/Desktop (≥769px) — Cabin grid
   ============================================================ */
@media (min-width: 769px) {
    .cabin-list {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(4, auto);
        gap: 1rem;
    }

    .cabin-item {
        margin-bottom: 0;
        height: 280px;
    }

    .cabin-thumbnail {
        height: 140px;
    }

    .cabin-thumbnail::before {
        font-size: 2.5rem;
    }

    .cabin-title {
        cursor: default;
        font-size: 1.3rem;
    }

    .cabin-details {
        max-height: none;
        font-size: 1rem;
    }

    .cabin-item.active .cabin-details {
        max-height: none;
    }

    .cabin-number {
        width: 2rem;
        height: 2rem;
        line-height: 2rem;
        font-size: 1rem;
    }

    .cabin-cta-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .main-content {
        padding: 1rem 0.5rem;
    }

    .quiz-section {
        padding: 0.75rem;
    }

    .question {
        font-size: 1.2rem;
    }

    .options label {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem;
    }
}

/* ============================================================
   RESPONSIVE — Cabin overview breakpoint (≤840px)
   ============================================================ */
@media (max-width: 840px) {
    .cabin-overview {
        margin: 2rem auto;
        padding: 0 0.5rem;
    }
}

/* ============================================================
   ACCESSIBILITY — Touch targets
   ============================================================ */
@media (hover: none) and (pointer: coarse) {

    .cta-button,
    .quiz-btn,
    .share-btn,
    .cabin-cta-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .tab-button {
        min-height: 48px;
        min-width: 70px;
    }

    .faq-question {
        min-height: 48px;
    }
}

/* ============================================================
   ACCESSIBILITY — High Contrast
   ============================================================ */
@media (prefers-contrast: high) {

    .cta-button,
    .quiz-btn {
        border-width: 3px;
    }

    .result {
        border: 3px solid var(--color-gold);
    }

    .cabin-item {
        border-width: 2px;
    }

    .tab-button.active {
        outline: 2px solid var(--color-navy);
    }
}

/* ============================================================
   ACCESSIBILITY — Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .result-image,
    #result-cabin-image {
        transition: none;
    }

    .tab-pane {
        animation: none;
    }

    .claimed-icon {
        animation: none;
    }

    .god-link-overlay {
        transform: translateY(0);
        opacity: 0.8;
    }

    .discovery-card:hover {
        transform: none;
    }

    .share-btn:hover {
        transform: none;
    }
}