/* ==========================================================================
   Final Fantasy VII — Midgar Industrial & Mako Lifestream Theme
   High-tech Shinra terminal aesthetic with Mako Green & Buster Sword Steel
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --ff7-bg: #030708;
    --ff7-bg-deep: #010304;
    --ff7-bg-surface: #060e11;
    --ff7-bg-panel: rgba(7, 18, 20, 0.85);
    --ff7-bg-card: rgba(10, 25, 28, 0.75);
    --ff7-bg-hover: rgba(14, 38, 42, 0.9);

    /* Mako & Lifestream Accents */
    --ff7-mako: #10b981;
    --ff7-mako-bright: #34d399;
    --ff7-mako-glow: rgba(16, 185, 129, 0.35);
    --ff7-mako-subtle: rgba(16, 185, 129, 0.12);

    /* Shinra Steel & Midgar Accents */
    --ff7-steel: #94a3b8;
    --ff7-cyan: #06b6d4;
    --ff7-cyan-glow: rgba(6, 182, 212, 0.3);
    --ff7-gold: #f59e0b;
    --ff7-gold-glow: rgba(245, 158, 11, 0.3);
    --ff7-crimson: #f43f5e;
    --ff7-purple: #a855f7;

    /* Borders */
    --ff7-border: rgba(16, 185, 129, 0.22);
    --ff7-border-strong: rgba(16, 185, 129, 0.45);
    --ff7-border-steel: rgba(148, 163, 184, 0.25);

    /* Text */
    --ff7-text: #f8fafc;
    --ff7-text-secondary: #94a3b8;
    --ff7-text-muted: #64748b;

    /* Fonts */
    --ff7-font-display: 'Cinzel', Georgia, serif;
    --ff7-font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --ff7-font-mono: 'JetBrains Mono', monospace;

    /* Radii */
    --ff7-radius-sm: 6px;
    --ff7-radius-md: 12px;
    --ff7-radius-lg: 18px;
    --ff7-radius-xl: 24px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body.ff7-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--ff7-font-body);
    color: var(--ff7-text);
    background-color: var(--ff7-bg);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* Atmospheric Background */
.ff7-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ff7-atmosphere__mako {
    position: absolute;
    top: -20%;
    left: 25%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 65%);
    filter: blur(70px);
    animation: ff7MakoPulse 10s ease-in-out infinite alternate;
}

.ff7-atmosphere__reactor {
    position: absolute;
    bottom: -15%;
    right: 15%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    animation: ff7ReactorPulse 12s ease-in-out infinite alternate;
}

.ff7-atmosphere__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}

.ff7-atmosphere__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(1, 3, 4, 0.8) 100%);
}

@keyframes ff7MakoPulse {
    0% { transform: scale(1) translateY(0); opacity: 0.8; }
    100% { transform: scale(1.15) translateY(20px); opacity: 1; }
}

@keyframes ff7ReactorPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.1) translateY(-15px); opacity: 0.95; }
}

/* Main Layout */
.ff7-main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 2rem 1.25rem 5rem;
    flex: 1;
}

.cat-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ff7-mako-bright);
    font-family: var(--ff7-font-mono);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--ff7-border);
    border-radius: var(--ff7-radius-sm);
    transition: all 0.2s ease;
}

.cat-back:hover {
    background: rgba(16, 185, 129, 0.18);
    transform: translateX(-3px);
}

/* Hero Section */
.ff7-hero {
    background: linear-gradient(135deg, rgba(7, 24, 24, 0.9) 0%, rgba(3, 10, 11, 0.95) 100%);
    border: 1px solid var(--ff7-border-strong);
    border-radius: var(--ff7-radius-xl);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), inset 0 0 25px rgba(16, 185, 129, 0.08);
    position: relative;
    overflow: hidden;
}

.ff7-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ff7-mako-bright), var(--ff7-cyan), transparent);
}

.ff7-hero-brand {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    margin-bottom: 2rem;
}

.ff7-hero-logo {
    width: 170px;
    height: auto;
    filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.4));
    flex-shrink: 0;
}

.ff7-eyebrow {
    font-family: var(--ff7-font-mono);
    font-size: 0.8rem;
    color: var(--ff7-mako-bright);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
}

.ff7-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ff7-mako-bright);
    box-shadow: 0 0 10px var(--ff7-mako-bright);
    animation: ff7Blink 1.8s infinite;
}

@keyframes ff7Blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.ff7-hero-title {
    font-family: var(--ff7-font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.15;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.ff7-hero-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ff7-mako-bright);
    margin: 0 0 1rem;
}

.ff7-hero-lede {
    font-size: 0.95rem;
    color: var(--ff7-text-secondary);
    line-height: 1.65;
    margin: 0;
    max-width: 900px;
}

/* Stats Counter Grid */
.ff7-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
}

.ff7-stat-card {
    background: rgba(6, 17, 18, 0.7);
    border: 1px solid var(--ff7-border);
    border-radius: var(--ff7-radius-md);
    padding: 1rem;
    text-align: center;
}

.ff7-stat-value {
    display: block;
    font-family: var(--ff7-font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ff7-mako-bright);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.ff7-stat-label {
    font-size: 0.8rem;
    color: var(--ff7-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation Filter Pills */
.ff7-nav-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    background: rgba(6, 16, 18, 0.8);
    padding: 0.6rem 0.85rem;
    border-radius: var(--ff7-radius-lg);
    border: 1px solid var(--ff7-border);
    position: sticky;
    top: 70px;
    z-index: 20;
    backdrop-filter: blur(12px);
}

.ff7-nav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--ff7-text-secondary);
    font-family: var(--ff7-font-mono);
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: var(--ff7-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ff7-nav-btn:hover {
    color: #ffffff;
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--ff7-border);
}

.ff7-nav-btn.is-active {
    background: var(--ff7-mako);
    color: #030708;
    font-weight: 700;
    box-shadow: 0 0 15px var(--ff7-mako-glow);
}

/* Section Containers */
.ff7-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 140px;
}

.ff7-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid var(--ff7-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.ff7-section-title {
    font-family: var(--ff7-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ff7-section-subtitle {
    font-size: 0.85rem;
    color: var(--ff7-text-muted);
    font-family: var(--ff7-font-mono);
}

/* Cards Grid */
.ff7-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

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

.ff7-card {
    background: var(--ff7-bg-card);
    border: 1px solid var(--ff7-border);
    border-radius: var(--ff7-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ff7-card:hover {
    transform: translateY(-4px);
    background: var(--ff7-bg-hover);
    border-color: var(--ff7-border-strong);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7), 0 0 20px var(--ff7-mako-glow);
}

.ff7-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.ff7-card-badge {
    font-family: var(--ff7-font-mono);
    font-size: 0.75rem;
    color: var(--ff7-mako-bright);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.ff7-card-badge--gold {
    color: var(--ff7-gold);
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

.ff7-card-badge--cyan {
    color: var(--ff7-cyan);
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.3);
}

.ff7-card-badge--crimson {
    color: var(--ff7-crimson);
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.3);
}

.ff7-card-title {
    font-family: var(--ff7-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
}

.ff7-card-desc {
    font-size: 0.9rem;
    color: var(--ff7-text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.ff7-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--ff7-radius-md);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ff7-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ff7-tag {
    font-family: var(--ff7-font-mono);
    font-size: 0.75rem;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.7);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Playable Character Cards
   ========================================================================== */
.ff7-char-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(14, 28, 34, 0.92) 0%, rgba(6, 13, 16, 0.97) 100%);
    border: 1px solid var(--ff7-border);
    border-radius: var(--ff7-radius-lg);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.ff7-char-card:hover {
    border-color: var(--ff7-mako-bright);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 25px var(--ff7-mako-glow);
    transform: translateY(-6px);
}

.ff7-char-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ff7-mako-bright), transparent);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.ff7-char-card:hover::before {
    opacity: 1;
}

.ff7-char-portrait {
    position: relative;
    width: 100%;
    height: 270px;
    background: radial-gradient(ellipse at 50% 90%, rgba(16, 185, 129, 0.25) 0%, rgba(6, 18, 22, 0.6) 65%, rgba(3, 7, 9, 0.95) 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem 1rem 0;
    overflow: hidden;
}

.ff7-char-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(6, 13, 16, 0.85) 100%);
    pointer-events: none;
}

.ff7-char-img {
    max-height: 255px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.8));
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
    z-index: 1;
}

.ff7-char-card:hover .ff7-char-img {
    transform: scale(1.05) translateY(-4px);
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 12px rgba(52, 211, 153, 0.4));
}

.ff7-char-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    font-family: var(--ff7-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ff7-mako-bright);
    background: rgba(3, 10, 12, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ff7-char-badge--optional {
    color: var(--ff7-gold);
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(18, 12, 4, 0.85);
}

.ff7-char-info {
    padding: 1.35rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ff7-char-header {
    margin-bottom: 0.85rem;
}

.ff7-char-name {
    font-family: var(--ff7-font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.ff7-char-jp {
    display: block;
    font-family: var(--ff7-font-mono);
    font-size: 0.76rem;
    color: var(--ff7-text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.ff7-char-role {
    display: inline-block;
    font-family: var(--ff7-font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ff7-mako-bright);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-top: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ff7-char-bio {
    font-size: 0.88rem;
    color: var(--ff7-text-secondary);
    line-height: 1.62;
    margin: 0 0 1.25rem;
    flex: 1;
}

.ff7-char-meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ff7-char-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    gap: 0.5rem;
}

.ff7-char-meta-label {
    font-family: var(--ff7-font-mono);
    color: var(--ff7-text-muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.ff7-char-meta-value {
    font-family: var(--ff7-font-mono);
    color: #cbd5e1;
    font-weight: 500;
    text-align: right;
    font-size: 0.78rem;
}

.ff7-char-meta-value--mako {
    color: var(--ff7-mako-bright);
    font-weight: 700;
}

/* Boss / Lore Tables */
.ff7-table-wrap {
    overflow-x: auto;
    border-radius: var(--ff7-radius-lg);
    border: 1px solid var(--ff7-border);
    background: var(--ff7-bg-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ff7-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.ff7-table th {
    background: rgba(16, 185, 129, 0.12);
    color: var(--ff7-mako-bright);
    font-family: var(--ff7-font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--ff7-border-strong);
}

.ff7-table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.ff7-table tr:hover td {
    background: rgba(16, 185, 129, 0.05);
}

/* Score / Rating Badges */
.ff7-score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff7-font-mono);
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--ff7-mako-bright);
    border: 1px solid var(--ff7-mako-bright);
    font-size: 0.85rem;
}

/* ==========================================================================
   3D Strategy Guide Mockup & Showcase
   ========================================================================== */
.ff7-showcase {
    background: linear-gradient(135deg, rgba(7, 24, 26, 0.95) 0%, rgba(3, 10, 12, 0.98) 100%);
    border: 1px solid var(--ff7-border-strong);
    border-radius: var(--ff7-radius-xl);
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(16, 185, 129, 0.12);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ff7-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ff7-mako-bright), var(--ff7-cyan), transparent);
}

.ff7-book-wrapper {
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.ff7-book-3d {
    width: 220px;
    height: 310px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-18deg) rotateX(6deg);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.ff7-book-3d:hover {
    transform: rotateY(-8deg) rotateX(2deg) scale(1.04);
}

.ff7-book-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 4px 10px 10px 4px;
    overflow: hidden;
    box-shadow: 12px 16px 36px rgba(0, 0, 0, 0.9), 0 0 25px rgba(16, 185, 129, 0.35);
    background: #000;
}

.ff7-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ff7-book-cover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 12%, rgba(0, 0, 0, 0.35) 96%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.ff7-book-spine {
    position: absolute;
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: rotateY(-90deg) translateX(-15px);
    background: linear-gradient(90deg, #061517, #0d282b);
    border-radius: 4px 0 0 4px;
}

.ff7-book-pages {
    position: absolute;
    width: 26px;
    height: 96%;
    top: 2%;
    right: -13px;
    transform: rotateY(90deg) translateX(13px);
    background: repeating-linear-gradient(0deg, #f1f5f9 0px, #e2e8f0 2px, #cbd5e1 3px);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
}

.ff7-showcase-content h2 {
    font-family: var(--ff7-font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0.5rem 0 0.75rem;
    line-height: 1.2;
}

.ff7-showcase-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
}

.ff7-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.ff7-btn-mako {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #020708;
    font-family: var(--ff7-font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: var(--ff7-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.ff7-btn-mako:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
}

.ff7-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--ff7-border);
    color: var(--ff7-text);
    font-family: var(--ff7-font-mono);
    font-size: 0.88rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--ff7-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ff7-btn-glass:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: var(--ff7-mako-bright);
    color: #ffffff;
}

.ff7-toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.ff7-toc-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--ff7-text-secondary);
    background: rgba(4, 15, 18, 0.6);
    padding: 0.45rem 0.75rem;
    border-radius: var(--ff7-radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.ff7-toc-icon {
    color: var(--ff7-mako-bright);
    font-size: 0.9rem;
}

/* ==========================================================================
   Legal Disclaimer & Archival Notice Box
   ========================================================================== */
.ff7-disclaimer-box {
    margin-top: 3rem;
    padding: 1.5rem 1.75rem;
    background: rgba(4, 15, 18, 0.85);
    border: 1px solid var(--ff7-border);
    border-radius: var(--ff7-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.ff7-disclaimer-badge {
    font-family: var(--ff7-font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ff7-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.ff7-disclaimer-box p {
    font-size: 0.86rem;
    color: var(--ff7-text-secondary);
    line-height: 1.65;
    margin: 0 0 0.75rem 0;
}

.ff7-disclaimer-box p:last-of-type {
    margin-bottom: 0;
}

.ff7-disclaimer-box a {
    color: var(--ff7-mako-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ff7-disclaimer-box a:hover {
    color: #ffffff;
}

.ff7-disclaimer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ff7-disclaimer-link {
    font-family: var(--ff7-font-mono);
    font-size: 0.78rem;
    color: var(--ff7-cyan);
    text-decoration: none !important;
    padding: 0.3rem 0.7rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ff7-disclaimer-link:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--ff7-cyan);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 900px) {
    .ff7-hero-brand {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .ff7-hero-logo {
        margin: 0 auto;
    }

    .ff7-hero-title {
        font-size: 2.2rem;
    }

    .ff7-eyebrow {
        justify-content: center;
    }

    .ff7-grid-2,
    .ff7-grid-3 {
        grid-template-columns: 1fr;
    }

    .ff7-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 1.75rem 1.25rem;
    }

    .ff7-showcase-specs,
    .ff7-showcase-actions {
        justify-content: center;
    }
}
