/* ==========================================
   DESKTOP POPART STYLING: GUANGYANG RURAL YARD
   ========================================== */

:root {
    --pop-yellow: #FFE600;
    --pop-pink: #FF3E6C;
    --pop-cyan: #00F5FF;
    --pop-orange: #FF7E00;
    --pop-purple: #B600FF;
    --pop-green: #39FF14;
    --pop-dark-pink: #D00070;
    --pop-black: #000000;
    --pop-white: #FFFFFF;
    --pop-grey: #E5E5E5;
    --pop-yellow-light: #FFFEEA;
    --pop-light-grey: #F5F5F5;
    
    --border-thick: 4px solid #000000;
    --border-thin: 2px solid #000000;
    --shadow-thick: 8px 8px 0px #000000;
    --shadow-thin: 4px 4px 0px #000000;
    
    --font-heading: 'ZCOOL KuaiLe', 'Outfit', 'Arial Black', sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #111111;
    font-family: var(--font-body);
    color: var(--pop-black);
    overflow-x: hidden;
}

/* ==========================================
   DESKTOP TWO-COLUMN LAYOUT
   ========================================== */
.desktop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

/* LEFT STICKY SIDEBAR */
.sidebar-nav {
    position: sticky;
    top: 0;
    height: 100vh;
    background-color: #1c1c1c;
    border-right: var(--border-thick);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    z-index: 100;
}

/* Dot pattern for Sidebar */
.sidebar-nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 15%, transparent 15%);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 0;
}

.sidebar-brand {
    z-index: 2;
    padding: 10px 15px;
    text-align: center;
    box-shadow: 6px 6px 0px var(--pop-pink);
    transform: rotate(-1.5deg);
}

.brand-tag {
    font-size: 10px;
    font-weight: 900;
    background-color: var(--pop-black);
    color: var(--pop-yellow);
    padding: 2px 8px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 5px;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.2;
    color: var(--pop-black);
}

.brand-sub {
    font-size: 11px;
    font-weight: bold;
    display: block;
    margin-top: 4px;
    opacity: 0.8;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 30px 0;
    z-index: 2;
}

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    padding: 10px 14px;
    border: 2px solid transparent;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--pop-white);
    transform: translateX(4px);
}

.nav-link.active {
    background-color: var(--pop-yellow);
    color: var(--pop-black);
    border: var(--border-thin);
    box-shadow: var(--shadow-thin);
    transform: rotate(-1deg);
}

.sidebar-footer {
    z-index: 2;
    padding: 10px;
    font-size: 11px;
    line-height: 1.4;
    border: var(--border-thin);
}

/* RIGHT CONTENT WRAPPER */
.main-content {
    background-color: var(--pop-white);
    padding: 40px 60px;
    position: relative;
    overflow-x: hidden;
}

/* Base Halftone Dots Background */
.main-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(0,0,0,0.08) 12%, transparent 12%);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================
   GLOBAL DESIGN TOKENS
   ========================================== */

/* Sections layout */
.content-section {
    position: relative;
    margin-bottom: 80px;
    padding-top: 40px;
    scroll-margin-top: 40px; /* Offset for smooth scroll positioning */
    z-index: 10;
}

.section-banner {
    border: var(--border-thick);
    box-shadow: var(--shadow-thick);
    padding: 12px 25px;
    display: inline-block;
    margin-bottom: 30px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
}

/* Grid Utilities */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.grid-5col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* Pop Art Styled Cards */
.pop-card {
    background-color: var(--pop-white);
    border: var(--border-thick);
    box-shadow: var(--shadow-thick);
    padding: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pop-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 12px 12px 0px #000;
}

/* Card outline styling */
.card-outline {
    background-color: var(--pop-white);
    border: var(--border-thick);
    padding: 25px;
    position: relative;
}

/* Typographic helpers */
.intro-text {
    line-height: 1.6;
    margin-bottom: 25px;
}

.text-content {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.bold { font-weight: bold; }
.text-large { font-size: 17px; }
.text-center { text-align: center; }
.font-zcool { font-family: var(--font-heading); }
.text-stroke-light { -webkit-text-stroke: 0.5px #000; }
.text-stroke { -webkit-text-stroke: 1.5px #000; color: #fff;}
.text-pink { color: var(--pop-pink); }

.margin-y { margin: 15px 0; }
.margin-y-lg { margin: 25px 0; }

.badge {
    padding: 4px 10px;
    border: var(--border-thin);
    font-weight: bold;
    font-size: 12px;
    display: inline-block;
}

/* ==========================================
   POPART BUBBLES AND STICKERS
   ========================================== */
.pop-speech-bubble {
    background-color: var(--pop-white);
    border: var(--border-thick);
    padding: 15px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
}

.pop-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #000 transparent;
    display: block;
    width: 0;
}

.pop-speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 42px;
    border-width: 12px 12px 0;
    border-style: solid;
    border-color: var(--pop-white) transparent;
    display: block;
    width: 0;
    z-index: 3;
}

.bubble-pink { background-color: var(--pop-pink); color: #fff; }
.bubble-pink::before { border-color: var(--pop-pink) transparent; }

.bubble-cyan { background-color: var(--pop-cyan); color: #000; }
.bubble-cyan::before { border-color: var(--pop-cyan) transparent; }

.yellow-sticker { background-color: var(--pop-yellow); border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 15px;}
.cyan-sticker { background-color: var(--pop-cyan); border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 15px;}

.alert-tag {
    font-family: var(--font-heading);
    font-size: 13px;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 12px;
    transform: rotate(-1.5deg);
    border: var(--border-thin);
}

.core-question-box {
    background-color: var(--pop-orange);
    color: #fff;
    padding: 15px;
}

/* ==========================================
   BUTTONS STYLING
   ========================================== */
.pop-btn-3d {
    display: inline-block;
    background: var(--pop-black);
    color: var(--pop-white);
    border: var(--border-thick);
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    box-shadow: 8px 8px 0px var(--pop-pink);
    outline: none;
    transition: all 0.1s ease;
    user-select: none;
    text-decoration: none;
}

.pop-btn-3d span {
    display: block;
    background: var(--pop-yellow);
    color: var(--pop-black);
    border: var(--border-thin);
    padding: 12px 20px;
    transition: transform 0.1s ease;
}

.pop-btn-3d:active {
    box-shadow: 2px 2px 0px var(--pop-pink);
    transform: translate(6px, 6px);
}

.pop-btn-3d:active span {
    transform: translate(2px, 2px);
}

.pop-btn {
    background-color: var(--pop-white);
    color: var(--pop-black);
    border: var(--border-thick);
    box-shadow: var(--shadow-thin);
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s;
    outline: none;
    user-select: none;
}

.pop-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

/* Float Actions */
.global-float-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.global-float-actions .btn-action {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 0;
    box-shadow: var(--shadow-thin);
}

/* ==========================================
   SECTION 0: HERO HEADER
   ========================================== */
.hero-section {
    background-color: var(--pop-yellow);
    border: var(--border-thick);
    box-shadow: var(--shadow-thick);
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
    padding: 40px;
    overflow: hidden;
}

.pop-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--pop-black) 24%, transparent 24%);
    background-size: 24px 24px;
    opacity: 0.12;
    z-index: 0;
}

.hero-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.hero-badge {
    font-weight: bold;
    font-size: 16px;
    padding: 8px 16px;
    box-shadow: var(--shadow-thin);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.highlight-cyan {
    background-color: var(--pop-cyan);
    padding: 0 15px;
    display: inline-block;
    border: var(--border-thick);
    transform: rotate(1deg);
}

.highlight-yellow {
    background-color: var(--pop-yellow);
    padding: 0 15px;
    display: inline-block;
}

.hero-subtitle-card {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
}

.hero-stickers-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.sticker {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: bold;
    padding: 6px 15px;
    border: var(--border-thin);
    box-shadow: var(--shadow-thin);
    transform: rotate(-1.5deg);
}
.sticker:nth-child(even) {
    transform: rotate(1.5deg);
}

.btn-start {
    margin-top: 30px;
}

/* ==========================================
   SECTION 2: PRINCIPLES & LOOP
   ========================================== */
.principles-row {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pr-box {
    flex: 1;
    min-width: 130px;
    border: var(--border-thin);
    padding: 15px 10px;
    text-align: center;
    box-shadow: var(--shadow-thin);
}
.pr-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}
.pr-box h4 {
    font-size: 14px;
    font-weight: bold;
}

.p-badge {
    display: inline-block;
    padding: 3px 8px;
    border: var(--border-thin);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

.party-card {
    text-align: center;
    box-shadow: var(--shadow-thin);
}

.party-card p {
    font-size: 12px;
    line-height: 1.4;
    font-weight: bold;
}

/* ==========================================
   SECTION 3: 7 SCENES GRID
   ========================================== */
.scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.scene-item {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 160px;
}

.scene-num {
    font-family: var(--font-heading);
    font-size: 36px;
    opacity: 0.15;
    position: absolute;
    top: 10px;
    right: 15px;
}

.scene-icon {
    font-size: 30px;
}

.scene-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
}

.scene-item p {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

/* ==========================================
   SECTION 4: BOUNDARY GRID
   ========================================== */
.boundary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.boundary-card {
    box-shadow: var(--shadow-thin);
    padding: 0;
    overflow: hidden;
}

.b-header {
    border-bottom: var(--border-thick);
    padding: 12px 15px;
}

.b-header h3 {
    font-family: var(--font-heading);
    font-size: 16px;
}

.boundary-card .bullet-list-large {
    padding: 20px;
    gap: 12px;
}

.bullet-list-large {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.bullet-list-large li {
    font-size: 13px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
    font-weight: 500;
}

.bullet-list-large li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--pop-orange);
}

/* ==========================================
   SECTION 5: INVESTMENT DATA
   ========================================== */
.cost-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-item {
    box-shadow: var(--shadow-thin);
    padding: 12px 20px;
}

.c-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.c-head h4 {
    font-weight: bold;
    font-size: 14px;
}

.c-num {
    background-color: var(--pop-cyan);
    border: var(--border-thin);
    padding: 2px 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: bold;
}

.cost-item p {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
}

/* SVG Donut Pie Chart Styling */
.chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.svg-pie-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 20px 0;
}

.donut-chart {
    transform: rotate(-90deg); /* Start charts from top */
}

.donut-segment {
    transition: stroke-dasharray 0.3s, stroke-dashoffset 0.3s;
}

.donut-center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.donut-center-label .label-title {
    font-size: 12px;
    font-weight: bold;
    opacity: 0.6;
}

.donut-center-label .label-value {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1;
}

.donut-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 15px;
    width: 100%;
    margin-top: 20px;
}

.legend-item {
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.color-dot {
    width: 12px;
    height: 12px;
    border: var(--border-thin);
    display: inline-block;
    margin-right: 6px;
    flex-shrink: 0;
}

/* ==========================================
   SECTION 6-11: SIMULATOR & CHARTS
   ========================================== */
.calc-board {
    box-shadow: var(--shadow-thick);
}

.calc-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--border-thick);
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.scenario-presets {
    display: flex;
    gap: 8px;
}

.scenario-presets .pop-btn {
    font-size: 13px;
    padding: 8px 16px;
}

.scenario-presets .pop-btn.active {
    background-color: var(--pop-yellow);
    box-shadow: var(--shadow-thin);
    transform: rotate(-1deg);
}

/* Calculator sliders panel */
.calc-inputs-panel {
    padding: 20px;
}

.input-group {
    margin-bottom: 20px;
}
.input-group:last-child {
    margin-bottom: 0;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}

.input-group label .badge {
    font-size: 12px;
}

/* Custom Pop Art Range Input */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    margin: 8px 0;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    background: var(--pop-black);
    border: none;
}
input[type=range]::-webkit-slider-thumb {
    border: 2px solid #000000;
    height: 22px;
    width: 22px;
    border-radius: 0;
    background: var(--pop-yellow);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
    box-shadow: 2px 2px 0px #000;
}
input[type=range]:active::-webkit-slider-thumb {
    background: var(--pop-pink);
}

.range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: bold;
    color: #555;
    margin-top: 3px;
}

/* Output results panel */
.calc-outputs-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.result-box {
    border: var(--border-thin);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.result-box .label {
    font-size: 11px;
    font-weight: bold;
    opacity: 0.8;
    margin-bottom: 4px;
}

.result-box .value {
    font-family: var(--font-heading);
    font-size: 20px;
}

.result-box .value.highlight-pink {
    color: var(--pop-pink);
}

.five-year-profit {
    box-shadow: none;
}

.five-year-profit h2 {
    margin: 5px 0;
}

.text-small {
    font-size: 10px;
    opacity: 0.8;
}

/* ==========================================
   DYNAMIC POPART DATA CHARTS: CSS BAR & BALANCE
   ========================================== */

/* 1. Bar Chart Container */
.bar-chart-container {
    display: flex;
    height: 220px;
    margin-top: 30px;
    border-left: var(--border-thin);
    border-bottom: var(--border-thin);
    padding-left: 20px;
    position: relative;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    left: -40px;
    height: 100%;
    font-size: 10px;
    font-weight: bold;
    text-align: right;
    width: 35px;
    padding-bottom: 10px;
}

.chart-bars-row {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 2px;
}

.bar-group-sc {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
}

.bar-pair {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    height: 170px;
    width: 100%;
    justify-content: center;
}

.bar-col {
    width: 26px;
    border: var(--border-thin);
    position: relative;
    transition: height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 3px 3px 0px #000;
}

.bar-num {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: bold;
    white-space: nowrap;
    background: #000;
    color: #fff;
    padding: 1px 4px;
    border-radius: 3px;
}

.group-label {
    font-size: 11px;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
}

.chart-legend-box {
    margin-top: 20px;
    font-size: 11px;
    font-weight: bold;
}

.legend-color {
    width: 14px;
    height: 14px;
    border: var(--border-thin);
    display: inline-block;
    vertical-align: middle;
}

/* 2. Balance Chart Container */
.balance-chart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 220px;
    position: relative;
    padding: 10px 20px;
}

.balance-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 105px;
    z-index: 5;
    position: relative;
}

.balance-side .side-icon {
    font-size: 26px;
}

.balance-side h4 {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
}

.balance-bar {
    width: 32px;
    border: var(--border-thin);
    box-shadow: 3px 3px 0px #000;
    transition: height 0.4s;
}

.balance-value {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
}

.balance-fulcrum {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    z-index: 1;
}

.balance-lever {
    width: 240px;
    height: 8px;
    background-color: var(--pop-black);
    position: absolute;
    top: 50px;
    left: calc(50% - 120px);
    transform-origin: center;
    border: var(--border-thin);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lever-pivot {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 28px solid var(--pop-black);
    position: absolute;
    top: 53px;
    left: calc(50% - 18px);
}

/* Static tables style */
.pop-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: var(--border-thick);
}

.pop-table th, .pop-table td {
    border: var(--border-thin);
    padding: 10px 15px;
    font-size: 13px;
    text-align: center;
}

.pop-table th {
    background-color: var(--pop-yellow);
    font-family: var(--font-heading);
    font-weight: bold;
}

.bg-yellow-light { background-color: var(--pop-yellow-light); }
.bg-light-grey { background-color: var(--pop-light-grey); }

.logic-box {
    box-shadow: var(--shadow-thin);
    padding: 15px;
}

.logic-box h4 {
    font-weight: bold;
    font-size: 13px;
    margin: 8px 0 4px 0;
}

.logic-box p {
    font-size: 11px;
    line-height: 1.4;
    opacity: 0.85;
}

/* ==========================================
   SECTION 12: 5-YEAR AGREEMENT CLAUSES
   ========================================== */
.agreement-clauses {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.clause-box {
    box-shadow: var(--shadow-thin);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.clause-box p {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
}

.c-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    padding: 2px 6px;
    border: var(--border-thin);
    flex-shrink: 0;
}

/* ==========================================
   SECTION 13: HOST CHANNELS & SCREENING
   ========================================== */
.hosts-channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.channel-item {
    padding: 12px 15px;
    box-shadow: var(--shadow-thin);
    min-height: 110px;
}

.channel-item .emoji {
    font-size: 22px;
    margin-bottom: 4px;
    display: block;
}

.channel-item h4 {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 4px;
}

.channel-item p {
    font-size: 11px;
    line-height: 1.3;
    opacity: 0.8;
}

.standards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.std-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.std-checkbox {
    width: 22px;
    height: 22px;
    border: var(--border-thin);
    background-color: var(--pop-green);
    color: var(--pop-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.std-box h4 {
    font-weight: bold;
    font-size: 13px;
    line-height: 1.2;
}

.std-box p {
    font-size: 11px;
    line-height: 1.3;
    opacity: 0.85;
    margin-top: 3px;
}

/* ==========================================
   SECTION 14: AGENDA SCROLL CHECKLIST
   ========================================== */
.agenda-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.agenda-desktop-card {
    box-shadow: var(--shadow-thin);
    padding: 18px;
    transition: all 0.2s;
}

.agenda-desktop-card.checked {
    background-color: #f5ffef;
    border-color: var(--pop-green);
}

.a-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.agenda-checkbox {
    width: 22px;
    height: 22px;
    border: var(--border-thick);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.a-top label {
    font-size: 13px;
    line-height: 1.5;
    font-weight: bold;
    cursor: pointer;
}

.a-bottom {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1.5px dashed #000;
    padding-top: 12px;
}

.txt-agenda-note {
    width: 100%;
    height: 60px;
    border: var(--border-thin);
    padding: 8px;
    font-size: 12px;
    font-family: inherit;
    resize: none;
    outline: none;
}

.btn-save-note {
    align-self: flex-end;
    font-size: 11px;
    padding: 5px 12px;
    box-shadow: 2px 2px 0 #000;
}

/* ==========================================
   SECTION 15: DESKTOP TIMELINE
   ========================================== */
.desktop-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    margin-top: 25px;
    padding-left: 20px;
}

.desktop-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 25px;
    width: 4px;
    height: calc(100% - 30px);
    background-color: #000;
    z-index: 1;
}

.timeline-node {
    margin-left: 20px;
    box-shadow: var(--shadow-thin);
    padding: 15px 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.15s;
}

.timeline-node:hover {
    transform: translateX(5px);
}

.node-num {
    position: absolute;
    left: -38px;
    top: calc(50% - 15px);
    width: 32px;
    height: 32px;
    border: var(--border-thin);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: bold;
    z-index: 3;
}

.node-content h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 5px;
}

.node-content p {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0.85;
}

/* ==========================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================== */
@media (max-width: 1024px) {
    .desktop-layout {
        grid-template-columns: 200px 1fr;
    }
    
    .sidebar-nav {
        padding: 15px 10px;
    }
    
    .brand-title {
        font-size: 18px;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 8px 10px;
    }

    .main-content {
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .desktop-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-nav {
        display: none; /* Hide sidebar completely on mobile and rely on vertical flow */
    }
    
    .main-content {
        padding: 20px;
    }

    .grid-2col, .grid-3col, .grid-4col, .grid-5col {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .boundary-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   COLOR RICHNESS & TYPOGRAPHIC IMPROVEMENTS
   ========================================== */

/* Enlarge Headings */
.section-title {
    font-size: 34px !important;
    color: #ffffff;
    -webkit-text-stroke: 1.5px #000000;
    text-shadow: 3px 3px 0px #000000;
}

.section-banner.bg-yellow .section-title {
    color: #000000;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.hero-title {
    font-size: 64px !important;
}

/* Giant Pop Art Stats Numbers */
.pop-text-giant {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    -webkit-text-stroke: 1.5px #000;
    text-stroke: 1.5px #000;
    text-shadow: 3px 3px 0px #000;
    display: inline-block;
    vertical-align: middle;
}

.pop-text-giant.pink { color: var(--pop-pink); }
.pop-text-giant.cyan { color: var(--pop-cyan); }
.pop-text-giant.orange { color: var(--pop-orange); }
.pop-text-giant.green { color: var(--pop-green); }
.pop-text-giant.yellow { color: var(--pop-yellow); }
.pop-text-giant.purple { color: var(--pop-purple); }

/* Colorful Section Panels */
.sec-bg-cyan { background-color: #e6fdff; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-pink { background-color: #ffebf2; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-yellow { background-color: #fffde6; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-purple { background-color: #f8e6ff; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-orange { background-color: #fff3e6; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-white { background-color: #ffffff; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-green { background-color: #e6ffe6; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-purple-light { background-color: #ece6ff; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-yellow-light { background-color: #fffdea; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-cyan-light { background-color: #e6f7ff; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }
.sec-bg-pink-light { background-color: #ffebf2; border: var(--border-thick); box-shadow: var(--shadow-thick); padding: 30px; margin-bottom: 50px; }

/* Add Halftone Dot Patterns on Section Backgrounds */
.sec-bg-cyan::before, .sec-bg-pink::before, .sec-bg-yellow::before, .sec-bg-purple::before, 
.sec-bg-orange::before, .sec-bg-green::before, .sec-bg-purple-light::before, 
.sec-bg-yellow-light::before, .sec-bg-cyan-light::before, .sec-bg-pink-light::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(0,0,0,0.04) 15%, transparent 15%);
    background-size: 14px 14px;
    pointer-events: none;
    z-index: 0;
}

/* Card custom coloring inside panels to enhance richness */
#sec-basics .party-card:nth-child(1) { background-color: var(--pop-yellow-light); }
#sec-basics .party-card:nth-child(2) { background-color: #e6fdff; }
#sec-basics .party-card:nth-child(3) { background-color: #fff3e6; }
#sec-basics .party-card:nth-child(4) { background-color: #f8e6ff; }
#sec-basics .party-card:nth-child(5) { background-color: #e6ffe6; }

#sec-boundary .boundary-card:nth-child(1) { background-color: #ffebf2; }
#sec-boundary .boundary-card:nth-child(2) { background-color: #e6fdff; }
#sec-boundary .boundary-card:nth-child(3) { background-color: #fff3e6; }
#sec-boundary .boundary-card:nth-child(4) { background-color: #ece6ff; }

#sec-hosts .channel-item:nth-child(1) { background-color: #ffebf2; }
#sec-hosts .channel-item:nth-child(2) { background-color: #e6fdff; }
#sec-hosts .channel-item:nth-child(3) { background-color: #fff3e6; }
#sec-hosts .channel-item:nth-child(4) { background-color: #ece6ff; }
#sec-hosts .channel-item:nth-child(5) { background-color: #e6ffe6; }
#sec-hosts .channel-item:nth-child(6) { background-color: #fffdea; }

#sec-agenda .agenda-desktop-card:nth-child(odd) { background-color: #f7f9fc; }
#sec-agenda .agenda-desktop-card:nth-child(even) { background-color: #fffdea; }

#sec-steps .timeline-node:nth-child(1) { background-color: #fffdea; }
#sec-steps .timeline-node:nth-child(2) { background-color: #e6fdff; }
#sec-steps .timeline-node:nth-child(3) { background-color: #ffebf2; }
#sec-steps .timeline-node:nth-child(4) { background-color: #fff3e6; }
#sec-steps .timeline-node:nth-child(5) { background-color: #ece6ff; }
#sec-steps .timeline-node:nth-child(6) { background-color: #e6ffe6; }
#sec-steps .timeline-node:nth-child(7) { background-color: #ffebf2; }
