/* =========================================
   AI GURU TALES — POST STYLES
   Dark Premium Theme
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Work+Sans:wght@300;400;500;600&family=Caveat:wght@600&display=swap');

/* Variables */
:root {
    --color-bg: #0c0a08;
    --color-text: #f0ece4;
    --color-accent: #ff6b6b;
    --color-secondary: #4ecdc4;
    --color-tertiary: #ffe66d;
    --color-success: #51cf66;
    --color-info: #74c0fc;
    --color-border: #252220;
    --color-card: #1c1a17;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Work Sans', sans-serif;
    --font-handwriting: 'Caveat', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    font-size: 18px;
}

/* =========================================
   POST HEADER
   ========================================= */

.post-header {
    background: linear-gradient(135deg, #4a3fa0 0%, #5c3d8a 100%);
    color: white;
    padding: 2rem 0;
}

.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: transform 0.3s;
}

.back-link:hover {
    transform: translateX(-5px);
    color: white;
}

.post-hero {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
    padding: 0 2rem;
}

.post-hero-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.post-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.post-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    font-style: italic;
}

.post-meta {
    margin-top: 2rem;
    opacity: 0.8;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.post-meta span {
    margin: 0 0.5rem;
}

/* =========================================
   CONTENT AREA
   ========================================= */

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.story-intro {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #2d3436;
}

/* =========================================
   CHAPTERS
   ========================================= */

.chapter {
    margin-bottom: 5rem;
}

.chapter-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #a29bfe;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chapter-number {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
}

.chapter p {
    margin-bottom: 1.5rem;
}

/* =========================================
   ANIMAL CARDS
   ========================================= */

.animal-speak {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.animal-card {
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #2e2a26;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.animal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(162, 155, 254, 0.3);
}

.animal-emoji {
    font-size: 3rem;
}

.animal-info strong {
    display: block;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.animal-info p {
    font-family: var(--font-handwriting);
    font-size: 1.4rem;
    margin: 0.5rem 0;
    color: var(--color-text);
}

.animal-info small {
    color: #7a6e68;
    font-size: 0.85rem;
}

/* =========================================
   CONCEPT BOXES
   ========================================= */

.concept-box {
    background: #181614;
    padding: 2rem;
    border-radius: 16px;
    margin: 2.5rem 0;
    border-left: 5px solid var(--color-secondary);
}

.concept-box.highlight {
    background: linear-gradient(135deg, rgba(116, 192, 252, 0.12), rgba(116, 192, 252, 0.06));
    border-left-color: var(--color-info);
}

.concept-box h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.concept-explain {
    background: var(--color-card);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-weight: 500;
    border-left: 4px solid var(--color-accent);
    color: var(--color-text);
}

.example-box {
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid #252220;
}

.example-box strong {
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}

.example-box ul {
    list-style: none;
    padding-left: 0;
}

.example-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text);
}

.example-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.kid-friendly {
    background: linear-gradient(135deg, #3a2e0a 0%, #4a3a0d 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 2px dashed rgba(255, 193, 7, 0.4);
}

.kid-friendly strong {
    color: #ffc107;
    font-size: 1.1rem;
}

.kid-friendly p {
    color: #e8d5a0;
}

/* =========================================
   QUERY-KEY-VALUE
   ========================================= */

.qkv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.qkv-box {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.qkv-box.query {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3436;
}

.qkv-box.key {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

.qkv-box.value {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    color: white;
}

.qkv-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.qkv-box h4 {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.qkv-box .example {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.qkv-box .example div {
    margin: 0.5rem 0;
}

/* =========================================
   MATCHING & SOFTMAX
   ========================================= */

.matching-result {
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #252220;
}

.matching-result h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.matching-result li {
    padding: 0.75rem 0;
    color: var(--color-text);
    border-bottom: 1px solid #252220;
}
.matching-result li:last-child { border-bottom: none; }

.no-match {
    color: #ff6b6b;
    font-weight: 600;
}

.match {
    color: var(--color-success);
    font-weight: 600;
    font-size: 1.1rem;
}

.result {
    background: linear-gradient(135deg, rgba(81, 207, 102, 0.18), rgba(81, 207, 102, 0.1));
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 600;
    color: #51cf66;
    border: 1px solid rgba(81, 207, 102, 0.25);
}

.softmax-scoring {
    background: var(--color-card);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid #252220;
}

.score-bars { margin: 2rem 0; }

.score-bar { margin-bottom: 1.5rem; }

.score-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #9a8475;
}

.score-visual {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-info));
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: width 0.5s ease;
}

.total {
    text-align: center;
    font-weight: 600;
    color: var(--color-accent);
    padding: 1rem;
    background: #181614;
    border-radius: 8px;
    margin-top: 1rem;
}

/* =========================================
   MULTI-HEAD ATTENTION
   ========================================= */

.multi-head-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.head-box {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.head-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.35);
}

.head-box small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* =========================================
   FEED FORWARD NETWORK
   ========================================= */

.ffn-process { margin: 2rem 0; }

.ffn-step {
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0;
    border: 1px solid #252220;
}

.step-number {
    background: linear-gradient(135deg, var(--color-accent), #e17055);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.step-content p { color: var(--color-text); }

.arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--color-secondary);
}

/* =========================================
   ENCODER / DECODER FLOW
   ========================================= */

.encoder-flow,
.decoder-flow { margin: 2rem 0; }

.flow-step {
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 0.5rem 0;
    text-align: center;
    font-weight: 500;
    border: 1px solid #252220;
    color: var(--color-text);
}

.flow-step.result {
    background: linear-gradient(135deg, rgba(81, 207, 102, 0.2), rgba(81, 207, 102, 0.1));
    border-color: rgba(81, 207, 102, 0.3);
    font-weight: 600;
    font-size: 1.1rem;
    color: #51cf66;
}

.flow-step.layers {
    background: linear-gradient(135deg, rgba(116, 192, 252, 0.18), rgba(116, 192, 252, 0.08));
    border-color: rgba(116, 192, 252, 0.25);
    color: #74c0fc;
}

/* =========================================
   DECODER POWERS
   ========================================= */

.decoder-powers { margin: 2rem 0; }

.power-card {
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border: 1px solid #252220;
    transition: border-color 0.3s;
}

.power-card:hover { border-color: rgba(162, 155, 254, 0.3); }

.power-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.power-content strong {
    display: block;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.power-content p { color: var(--color-text); }

.power-content small {
    display: block;
    margin-top: 0.5rem;
    color: #7a6e68;
    font-style: italic;
}

/* =========================================
   WORD GENERATION
   ========================================= */

.decoder-example {
    background: var(--color-card);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid #252220;
}

.word-generation {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.gen-step {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #2d3436;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    animation: fadeInScale 0.5s ease-out both;
}

.gen-step:nth-child(1) { animation-delay: 0.1s; }
.gen-step:nth-child(2) { animation-delay: 0.2s; }
.gen-step:nth-child(3) { animation-delay: 0.3s; }
.gen-step:nth-child(4) { animation-delay: 0.4s; }
.gen-step:nth-child(5) { animation-delay: 0.5s; }
.gen-step:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

.final-output {
    width: 100%;
    background: linear-gradient(135deg, rgba(81, 207, 102, 0.2), rgba(81, 207, 102, 0.1));
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #51cf66;
    border: 1px solid rgba(81, 207, 102, 0.25);
    animation-delay: 0.7s !important;
}

/* =========================================
   PROBABILITY BARS
   ========================================= */

.probability-example {
    background: var(--color-card);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid #252220;
}

.prob-bars { margin: 2rem 0; }

.prob-bar {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.prob-bar .word {
    font-weight: 600;
    min-width: 80px;
    color: var(--color-accent);
}

.prob-visual {
    background: linear-gradient(90deg, #74b9ff, #0984e3);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
}

.winner {
    background: linear-gradient(135deg, rgba(81, 207, 102, 0.2), rgba(81, 207, 102, 0.1));
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #51cf66;
    margin-top: 1.5rem;
    border: 1px solid rgba(81, 207, 102, 0.25);
}

/* =========================================
   COMPLETE JOURNEY DIAGRAM
   ========================================= */

.complete-diagram {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 3rem;
    border-radius: 16px;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.complete-diagram h3 {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2d3436;
}

.journey-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.journey-side h4 {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--color-accent);
}

.journey-box {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 0.5rem 0;
    font-weight: 500;
    color: #2d3436;
}

.journey-box.layers {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    font-weight: 600;
    color: #0d47a1;
}

.journey-box.result {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    font-weight: 700;
    color: #155724;
}

.journey-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #555;
    margin: 0.25rem 0;
}

.bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bridge-arrow {
    font-size: 2rem;
    color: #e17055;
    font-weight: bold;
}

.bridge span {
    font-size: 0.9rem;
    color: #2d3436;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* =========================================
   RESULTS
   ========================================= */

.happy-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-card {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3436;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.big-text {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    color: var(--color-accent);
    margin: 3rem 0;
}

/* =========================================
   REAL WORLD SECTION
   ========================================= */

.real-world {
    background: linear-gradient(135deg, #4a3fa0 0%, #5c3d8a 100%);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.real-world .chapter-title {
    color: white;
}

.secret-reveal h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: white;
}

.applications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.app-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.app-card strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.app-card p { color: rgba(255, 255, 255, 0.85); }

/* =========================================
   SUMMARY
   ========================================= */

.summary {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.summary h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #2d3436;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.concept-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.concept-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.concept-card strong {
    display: block;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.concept-card p {
    font-size: 0.9rem;
    color: #555;
}

/* =========================================
   ACTIVITY
   ========================================= */

.activity {
    background: linear-gradient(135deg, rgba(81, 207, 102, 0.15), rgba(81, 207, 102, 0.08));
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(81, 207, 102, 0.2);
}

.activity h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #51cf66;
    margin-bottom: 1rem;
}

.activity-box {
    background: var(--color-card);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #252220;
}

.activity-steps {
    list-style: none;
    counter-reset: activity-counter;
}

.activity-steps li {
    counter-increment: activity-counter;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--color-text);
    border-bottom: 1px solid #252220;
}

.activity-steps li:last-child { border-bottom: none; }

.activity-steps li::before {
    content: counter(activity-counter);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--color-accent), #e17055);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.activity-label {
    display: inline-block;
    background: rgba(255, 235, 59, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    font-weight: 600;
    color: #ffc107;
}

.activity-result {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    color: #2d3436;
}

/* =========================================
   ENDING
   ========================================= */

.ending {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    padding: 4rem 3rem;
    border-radius: 16px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.3);
}

.ending-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white;
}

.final-message {
    font-size: 1.3rem;
    margin: 2rem 0;
    line-height: 2;
    opacity: 0.95;
}

.animal-parade {
    font-size: 3rem;
    margin-top: 2rem;
    letter-spacing: 0.5rem;
}

/* =========================================
   TEACHER NOTE
   ========================================= */

.teacher-note {
    background: #181614;
    border: 1px solid #2e2a26;
    border-left: 4px solid var(--color-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin: 4rem 0 2rem;
}

.teacher-note h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-family: var(--font-display);
}

.teacher-note p {
    color: #9a8475;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.teacher-note p:last-child { margin-bottom: 0; }

/* =========================================
   POST FOOTER
   ========================================= */

.post-footer {
    background: #080706;
    color: #f0ece4;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #252220;
}

.post-footer p { color: #9a8475; font-size: 0.95rem; }

.back-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent), #e17055);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.35);
}

.share-section {
    margin-top: 2rem;
    color: #9a8475;
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .post-title { font-size: 2.5rem; }
    .post-subtitle { font-size: 1.2rem; }
    .chapter-title { font-size: 2rem; flex-direction: column; }
    .journey-container { grid-template-columns: 1fr; }
    .bridge { flex-direction: row; margin: 1rem 0; }
    .bridge span { writing-mode: horizontal-tb; }
    .bridge-arrow { transform: rotate(90deg); }
    .qkv-container { grid-template-columns: 1fr; }
    body { font-size: 16px; }
    .story-intro, .complete-diagram, .summary,
    .real-world, .ending, .activity { padding: 2rem; }
}
