/* ============================================
   OWANLY CULTURE PAGE - Glassmorphism Redesign
   ============================================ */

/* All sections above body-bg */
.culture-hero, .culture-toc, .culture-main, .culture-cta {
    position: relative;
    z-index: 1;
}

/* ============================================
   CULTURE HERO
   ============================================ */
.culture-hero {
    background: transparent !important;
    padding: 12rem 2rem 3.5rem;
    text-align: center;
    overflow: hidden;
}

.culture-hero-bg { display: none; }

.culture-hero-content {
    position: relative;
    z-index: 2;
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 3.5rem;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: 2.4rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.hero-badge {
    display: inline-block;
    background: rgba(168, 255, 107, 0.12);
    color: var(--lime) !important;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(168, 255, 107, 0.25);
}

.culture-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white) !important;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #fff 40%, var(--lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.culture-hero-subtitle {
    font-size: 1.05rem;
    color: var(--white-60) !important;
    font-weight: 500;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   TABLE OF CONTENTS - Glass Nav
   ============================================ */
.culture-toc {
    background: transparent !important;
    padding: 1.2rem 2rem;
    border-bottom: none !important;
    position: sticky;
    top: 80px;
    z-index: 80;
    box-shadow: none !important;
}

.toc-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white-40);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
    text-align: center;
}

.toc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    max-width: 110rem;
    margin: 0 auto;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    background: transparent;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.toc-item:hover {
    background: rgba(168, 255, 107, 0.1);
    border-color: rgba(168, 255, 107, 0.3);
    transform: translateY(-1px);
}

.toc-number {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--emerald-deep);
    background: var(--lime);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toc-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white-60);
}

.toc-item:hover .toc-text { color: var(--lime); }

/* ============================================
   MAIN CONTENT
   ============================================ */
.culture-main {
    padding: 3rem 0 4rem;
    background: transparent !important;
}

.section-container {
    max-width: 110rem;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ============================================
   CULTURE SECTIONS
   ============================================ */
.culture-section {
    margin-bottom: 3.5rem;
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    position: relative;
    scroll-margin-top: 220px;
}

.culture-section:last-child {
    margin-bottom: 0;
}

.section-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(168, 255, 107, 0.07);
    line-height: 1;
    pointer-events: none;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 5px;
    height: 1.3em;
    background: var(--lime);
    border-radius: 3px;
}

/* ============================================
   TEXT STYLES
   ============================================ */
.lead-text {
    font-size: 1.1rem;
    color: var(--white-90);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.emphasis-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lime);
    font-style: italic;
    margin-bottom: 1.2rem;
}

.culture-section p {
    font-size: 0.97rem;
    color: var(--white-90);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ============================================
   SUBSECTIONS
   ============================================ */
.subsection {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 1.2rem;
    padding: 1.4rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--glass-border);
    transition: border-color 0.2s;
}

.info-card:hover {
    border-color: rgba(168, 255, 107, 0.3);
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card p { margin-bottom: 0.5rem; }

/* ============================================
   STYLED LISTS
   ============================================ */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
}

.styled-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--white-90);
}

.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    background: var(--lime);
    border-radius: 50%;
}

.styled-list li strong { color: var(--white); }

/* ============================================
   BOUNDARIES GRID
   ============================================ */
.boundaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.boundary-item {
    background: rgba(168, 255, 107, 0.06);
    border: 1px solid rgba(168, 255, 107, 0.2);
    border-radius: 1rem;
    padding: 1.1rem;
    text-align: center;
}

.boundary-direction {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--lime);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.boundary-region {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white-90);
}

/* ============================================
   HIGHLIGHT BOXES
   ============================================ */
.highlight-box {
    background: rgba(168, 255, 107, 0.06);
    border-left: 3px solid var(--lime);
    border-radius: 0 1rem 1rem 0;
    padding: 1.2rem 1.4rem;
    margin: 1.2rem 0;
}

.highlight-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.6rem;
}

.highlight-box p { margin-bottom: 0; }

.highlight-box.highlight-gold {
    background: rgba(255, 193, 7, 0.06);
    border-color: #ffc107;
}

.highlight-box.highlight-gold h4 { color: #ffc107; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--lime), rgba(168, 255, 107, 0.2));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--lime);
    border: 2px solid var(--emerald-deep);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(168, 255, 107, 0.2);
    transform: translateX(-6px);
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.4rem;
}

.timeline-content p { margin-bottom: 0; }

/* ============================================
   CLANS GRID
   ============================================ */
.clans-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.clan-detailed-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 1.2rem;
    padding: 1.3rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.clan-detailed-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(168, 255, 107, 0.3);
}

.clan-detailed-card.clan-featured {
    border-color: rgba(168, 255, 107, 0.4);
    background: rgba(168, 255, 107, 0.06);
}

.clan-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.clan-num {
    width: 28px;
    height: 28px;
    background: var(--lime);
    color: var(--emerald-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.clan-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.clan-detailed-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--white-60);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    padding: 1.3rem;
    border: 1px solid var(--glass-border);
}

.feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.4rem;
}

.feature-card p { margin: 0; font-size: 0.9rem; }

/* ============================================
   AGE GRADES
   ============================================ */
.age-grades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.age-grade-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.age-grade-header {
    background: rgba(168, 255, 107, 0.08);
    padding: 1.1rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.age-range {
    display: inline-block;
    background: rgba(168, 255, 107, 0.15);
    color: var(--lime);
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.age-grade-header h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--lime);
    margin: 0.2rem 0;
}

.age-title {
    font-size: 0.8rem;
    color: var(--white-60);
}

.age-grade-card > p {
    padding: 1.1rem;
    margin: 0;
    font-size: 0.88rem;
    color: var(--white-90);
}

/* ============================================
   ROYAL LIST
   ============================================ */
.royal-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.royal-list li {
    background: rgba(168, 255, 107, 0.1);
    border: 1px solid rgba(168, 255, 107, 0.25);
    border-radius: 100px;
    padding: 0.6rem 1.3rem;
}

.royal-title {
    color: var(--lime);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================
   LEGEND & TABOO BOXES
   ============================================ */
.legend-box, .taboo-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1.2rem;
    padding: 1.4rem;
    margin: 1.2rem 0;
    border: 1px solid var(--glass-border);
}

.legend-box { border-left: 3px solid #60a5fa; }
.taboo-box { border-left: 3px solid #f87171; }

.legend-box h4, .taboo-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-box h4 i { color: #60a5fa; }
.taboo-box h4 i { color: #f87171; }
.legend-box p, .taboo-box p { margin-bottom: 0; }

/* ============================================
   BELIEFS GRID
   ============================================ */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.belief-card {
    background: rgba(168, 255, 107, 0.07);
    border: 1px solid rgba(168, 255, 107, 0.2);
    border-radius: 1.2rem;
    padding: 1.3rem;
    text-align: center;
}

.belief-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--lime);
    margin-bottom: 0.4rem;
}

.belief-card p {
    margin: 0;
    color: var(--white-60);
    font-size: 0.88rem;
}

/* ============================================
   FESTIVALS
   ============================================ */
.festival-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1.6rem;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid var(--glass-border);
}

.festival-card.festival-featured {
    border-color: rgba(168, 255, 107, 0.4);
}

.festival-header {
    background: rgba(168, 255, 107, 0.06);
    padding: 1.4rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.festival-clan {
    display: inline-block;
    background: rgba(168, 255, 107, 0.12);
    color: var(--lime);
    padding: 0.2rem 0.8rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.festival-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin: 0.4rem 0;
}

.festival-type {
    font-size: 0.9rem;
    color: var(--white-60);
}

.festival-body {
    padding: 1.4rem;
}

.festival-intro {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lime);
    margin-bottom: 0.8rem;
}

.festival-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.festival-details li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--white-90);
}

.festival-details li:last-child { border-bottom: none; }
.festival-details li strong { color: var(--lime); }

/* ============================================
   MARRIAGE STAGES
   ============================================ */
.marriage-stages { margin-top: 1.5rem; }

.marriage-stage {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1.2rem;
    padding: 1.6rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--glass-border);
    position: relative;
}

.stage-number {
    position: absolute;
    top: -0.6rem;
    left: 1.2rem;
    background: var(--lime);
    color: var(--emerald-deep);
    padding: 0.2rem 0.8rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.marriage-stage h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
    margin-top: 0.3rem;
}

.marriage-stage ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
}

.marriage-stage ul li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--white-90);
}

.marriage-stage ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--lime);
    font-weight: bold;
}

.marriage-stage ul li strong { color: var(--white); }

.bride-list {
    background: rgba(168, 255, 107, 0.06);
    border: 1px solid rgba(168, 255, 107, 0.2);
    border-radius: 0.8rem;
    padding: 1rem;
    margin-top: 0.8rem;
}

.bride-list h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.6rem;
}

/* ============================================
   FOOD SECTION
   ============================================ */
.food-featured {
    background: rgba(168, 255, 107, 0.05);
    border: 1px solid rgba(168, 255, 107, 0.25);
    border-radius: 2rem;
    padding: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.food-icon { font-size: 3.5rem; margin-bottom: 0.8rem; }

.food-featured h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.food-subtitle {
    font-size: 0.9rem;
    color: var(--lime);
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
}

.food-emphasis {
    font-size: 0.9rem;
    color: var(--white-60);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.food-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.8rem;
    text-align: left;
}

.food-detail {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.9rem;
    padding: 1.1rem;
    border: 1px solid var(--glass-border);
}

.food-detail h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lime);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.food-detail p {
    margin: 0;
    color: var(--white-90);
    font-size: 0.88rem;
}

.food-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1.2rem;
    padding: 1.3rem;
    border: 1px solid var(--glass-border);
}

.food-secondary h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.food-secondary p { margin: 0; }

/* ============================================
   ECONOMY TIMELINE
   ============================================ */
.economy-timeline { margin-top: 1.5rem; }

.economy-event {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1.3rem;
    margin-bottom: 0.8rem;
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--lime);
}

.economy-event.highlight {
    background: rgba(168, 255, 107, 0.06);
    border-color: rgba(168, 255, 107, 0.3);
}

.economy-date {
    display: inline-block;
    background: rgba(168, 255, 107, 0.12);
    color: var(--lime);
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.economy-event h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.economy-event p { margin: 0; font-size: 0.9rem; }

/* ============================================
   TABOOS GRID
   ============================================ */
.taboos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.taboo-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1.2rem;
    padding: 1.4rem;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: border-color 0.2s;
}

.taboo-card:hover {
    border-color: rgba(248, 113, 113, 0.3);
}

.taboo-icon {
    width: 52px;
    height: 52px;
    background: rgba(248, 113, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.9rem;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.taboo-icon i { font-size: 1.3rem; color: #f87171; }

.taboo-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.taboo-card p { margin: 0; font-size: 0.88rem; }

/* ============================================
   ATTIRE GRID
   ============================================ */
.attire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.attire-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 1.2rem;
    padding: 1.6rem;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: border-color 0.2s;
}

.attire-card:hover {
    border-color: rgba(168, 255, 107, 0.3);
}

.attire-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }

.attire-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.6rem;
}

.attire-card p { margin: 0; font-size: 0.9rem; }

/* ============================================
   WAR INFO
   ============================================ */
.war-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.war-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1.2rem;
    padding: 1.3rem;
    border: 1px solid var(--glass-border);
}

.war-card.war-resistance {
    background: rgba(168, 255, 107, 0.08);
    border-color: rgba(168, 255, 107, 0.3);
}

.war-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.war-card p { margin: 0; font-size: 0.9rem; }

/* ============================================
   CTA SECTION
   ============================================ */
.culture-cta {
    position: relative;
    background: rgba(168, 255, 107, 0.06);
    border: 1px solid rgba(168, 255, 107, 0.2);
    margin: 0 3rem 2rem;
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
}

.culture-cta-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
}

.culture-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.culture-cta p {
    font-size: 1rem;
    color: var(--white-60);
    margin-bottom: 1.8rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 0.9rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
}

.btn-white {
    background: var(--white);
    color: var(--emerald-deep);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
}

.btn-large { padding: 0.95rem 2rem; }

.culture-cta-shapes { display: none; }
.cta-shape { display: none; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    color: var(--lime);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--lime);
    color: var(--emerald-deep);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER - Glass (shared)
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    margin: 2rem;
}

.footer-container {
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border) !important;
    border-radius: 2rem !important;
}

.footer-top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 0.7rem;
}

.logo-icon { font-size: 1.3rem; }

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--white-60);
    margin-bottom: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--glass-border);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-60);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(168, 255, 107, 0.12);
    color: var(--lime);
    border-color: rgba(168, 255, 107, 0.25);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lime);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-list a {
    font-size: 0.85rem;
    color: var(--white-60);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover { color: var(--lime); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-copyright {
    font-size: 0.82rem;
    color: var(--white-40);
}

.footer-legal {
    display: flex;
    gap: 1.4rem;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--white-40);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover { color: var(--lime); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .culture-hero { padding: 10rem 1.5rem 2.5rem; }
    .culture-hero-content { padding: 2rem; }
    .culture-toc { padding: 0.8rem 1.5rem; }
    .toc-grid { border-radius: 1rem; }
    .section-container { padding: 0 1.5rem; }
    .culture-section { padding: 1.8rem 1.5rem; margin-bottom: 2rem; scroll-margin-top: 160px; }
    .clans-detailed-grid { grid-template-columns: 1fr 1fr; }
    .culture-cta { margin: 0 1.5rem 2rem; padding: 3rem 1.5rem; }
    .footer { margin: 1rem; }
    .footer-container { padding: 2rem 1.5rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .culture-hero { padding: 9rem 1rem 2rem; }
    .culture-hero-content { padding: 1.5rem; border-radius: 1.6rem; }
    .culture-section { padding: 1.4rem; }
    .section-heading { font-size: 1.3rem; }
    .clans-detailed-grid { grid-template-columns: 1fr; }
    .food-details, .beliefs-grid, .taboos-grid, .attire-grid, .war-info { grid-template-columns: 1fr; }
    .age-grades { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .cta-buttons { flex-direction: column; }
}

@media print {
    .culture-hero, .culture-toc, .culture-cta, .footer, .header, .back-to-top { display: none !important; }
}
