/* ===================================================================
   The Vault - Bank Vault / Secure Facility Theme
   =================================================================== */

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

/* -----------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ----------------------------------------------------------------- */
:root {
    /* Dark mode palette (default) */
    --bg-deep: #0c1222;
    --bg-panel: #131b2e;
    --bg-surface: #1a2440;
    --bg-card: rgba(19, 27, 46, 0.88);
    --bg-card-hover: rgba(26, 36, 64, 0.95);
    --accent: #2d6cdf;
    --accent-bright: #58a6ff;
    --accent-glow: rgba(45, 108, 223, 0.3);
    --silver: #c9d1d9;
    --silver-dim: #8b949e;
    --silver-bright: #e6edf3;
    --border-steel: rgba(88, 166, 255, 0.15);
    --border-accent: rgba(45, 108, 223, 0.35);
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #636e7b;
    --success: #3fb950;
    --warning: #d29922;
    --danger: #f85149;
    --metal-sheen: linear-gradient(
        135deg,
        rgba(88, 166, 255, 0.05) 0%,
        rgba(45, 108, 223, 0.03) 50%,
        rgba(88, 166, 255, 0.05) 100%
    );
    --brushed-metal: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(88, 166, 255, 0.015) 2px,
        rgba(88, 166, 255, 0.015) 4px
    );
    --vault-gradient: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-panel) 40%, #0f1a30 100%);
}

/* -----------------------------------------------------------------
   RESET & BASE
   ----------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--vault-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle brushed-metal texture overlay on the entire page */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--brushed-metal);
    pointer-events: none;
    z-index: 0;
}

/* -----------------------------------------------------------------
   TOP NAVIGATION
   ----------------------------------------------------------------- */
.top-nav {
    background: rgba(12, 18, 34, 0.92);
    padding: 15px 40px;
    border-bottom: 1px solid var(--border-steel);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-home {
    color: var(--accent-bright);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.3px;
    transition: color 0.25s ease;
}

.nav-home:hover {
    color: #79b8ff;
}

.nav-divider {
    color: var(--text-muted);
    margin: 0 10px;
}

.nav-current {
    color: var(--silver-dim);
    font-weight: 500;
}

/* -----------------------------------------------------------------
   CONTAINER - The Secure Facility Shell
   ----------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px 60px;
    position: relative;
    z-index: 1;
}

/* Subtle metallic border rails on the container */
.container::before,
.container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--border-steel) 15%,
        rgba(88, 166, 255, 0.08) 50%,
        var(--border-steel) 85%,
        transparent 100%
    );
}

.container::before { left: 0; }
.container::after { right: 0; }

/* -----------------------------------------------------------------
   HERO SECTION - Vault Door Feel
   ----------------------------------------------------------------- */
.hero {
    text-align: center;
    padding: 70px 24px 60px;
    margin-bottom: 50px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(45, 108, 223, 0.12) 0%, transparent 65%),
        var(--metal-sheen);
    border-radius: 20px;
    border: 1px solid var(--border-steel);
    position: relative;
    overflow: hidden;
}

/* Subtle corner reinforcement brackets */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: rgba(88, 166, 255, 0.2);
    border-style: solid;
}

.hero::before {
    top: 16px;
    left: 16px;
    border-width: 2px 0 0 2px;
    border-radius: 4px 0 0 0;
}

.hero::after {
    top: 16px;
    right: 16px;
    border-width: 2px 2px 0 0;
    border-radius: 0 4px 0 0;
}

/* Vault door circular badge ring */
.hero-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 108, 223, 0.12) 0%, transparent 70%);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

/* Metallic gradient ring around the icon */
.hero-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(88, 166, 255, 0.4),
        rgba(45, 108, 223, 0.15),
        rgba(201, 209, 217, 0.3),
        rgba(45, 108, 223, 0.15),
        rgba(88, 166, 255, 0.4)
    );
    z-index: -1;
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.4em;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--silver-bright) 0%, var(--accent-bright) 50%, var(--silver) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2em;
    color: var(--silver-dim);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Version badge as security clearance badge */
.version-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 7px 18px 7px 22px;
    background: rgba(19, 27, 46, 0.85);
    border: 1px solid var(--border-accent);
    color: var(--accent-bright);
    font-family: 'Inter', monospace;
    font-weight: 700;
    font-size: 0.88em;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    border-radius: 2px;
}

/* Colored stripe on left edge of clearance badge */
.version-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--accent-bright));
    border-radius: 2px 0 0 2px;
}

/* Hero bottom corner brackets */
.hero-corner-bl,
.hero-corner-br {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: 16px;
    border-color: rgba(88, 166, 255, 0.2);
    border-style: solid;
    pointer-events: none;
}

.hero-corner-bl {
    left: 16px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 4px;
}

.hero-corner-br {
    right: 16px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 4px 0;
}

/* -----------------------------------------------------------------
   INTRO SECTION
   ----------------------------------------------------------------- */
.intro-section {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
    font-size: 1.1em;
    line-height: 1.75;
    color: var(--silver);
    padding: 30px 36px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-steel);
    border-left: 4px solid var(--accent);
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

/* -----------------------------------------------------------------
   SECTION TITLES - Classified / Secure Document Look
   ----------------------------------------------------------------- */
.section-title {
    font-family: 'Outfit', sans-serif;
    text-align: center;
    font-size: 1.7em;
    font-weight: 700;
    margin: 60px 0 36px;
    color: var(--silver-bright);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-variant: small-caps;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}

/* -----------------------------------------------------------------
   KEYBIND SECTION
   ----------------------------------------------------------------- */
.keybind-section {
    max-width: 700px;
    margin: 0 auto 40px;
}

.keybind-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

.keybind-card {
    background: var(--bg-card);
    border: 1px solid var(--border-steel);
    border-radius: 10px;
    padding: 18px 24px;
    text-align: center;
    min-width: 140px;
    transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.keybind-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

.keybind-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.keybind-keys {
    font-size: 1.05em;
    margin-bottom: 8px;
}

.keybind-action {
    font-size: 0.85em;
    color: var(--silver-dim);
    font-weight: 500;
}

kbd {
    display: inline-block;
    background: rgba(19, 27, 46, 0.9);
    border: 1px solid var(--border-steel);
    border-bottom: 2px solid rgba(88, 166, 255, 0.2);
    border-radius: 5px;
    padding: 3px 10px;
    font-family: 'Inter', 'Consolas', 'Courier New', monospace;
    font-size: 0.88em;
    font-weight: 600;
    color: var(--accent-bright);
    letter-spacing: 0.5px;
}

/* -----------------------------------------------------------------
   FEATURES GRID - Secure Document Panels
   ----------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 28px 26px;
    border: 1px solid var(--border-steel);
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(88, 166, 255, 0.3);
    border-left-color: var(--accent-bright);
    box-shadow: 0 12px 40px rgba(45, 108, 223, 0.15);
    background: var(--bg-card-hover);
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--silver-bright);
    margin-bottom: 10px;
    font-size: 1.15em;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.feature-card p {
    color: var(--silver-dim);
    line-height: 1.65;
    font-size: 0.94em;
}

/* -----------------------------------------------------------------
   CURRENCY SECTION - Secure Deposit Boxes
   ----------------------------------------------------------------- */
.section-desc {
    text-align: center;
    color: var(--silver-dim);
    margin-bottom: 30px;
    font-size: 1.02em;
}

.currency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-bottom: 50px;
}

.currency-category {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 26px;
    border: 1px solid var(--border-steel);
    position: relative;
    overflow: hidden;
}

.currency-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    pointer-events: none;
}

/* Lock icon accent in the top-right corner of each deposit box */
.currency-category::after {
    content: '\1F512';
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 1em;
    opacity: 0.15;
    pointer-events: none;
}

/* Colored top bars for each category - like compartment labels */
.currency-category.seasonal {
    border-top: 3px solid #f0883e;
}

.currency-category.keys {
    border-top: 3px solid #a371f7;
}

.currency-category.special {
    border-top: 3px solid #58a6ff;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-steel);
    position: relative;
}

.category-icon {
    font-size: 1.7em;
}

.category-header h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--silver-bright);
    font-size: 1.15em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.category-desc {
    color: var(--silver-dim);
    font-size: 0.88em;
    margin-bottom: 14px;
    line-height: 1.55;
    position: relative;
}

.currency-list {
    list-style: none;
    position: relative;
}

.currency-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    color: var(--silver);
    border-bottom: 1px solid rgba(88, 166, 255, 0.07);
    font-size: 0.95em;
    transition: padding-left 0.2s ease;
}

.currency-list li:hover {
    padding-left: 6px;
}

.currency-list li:last-child {
    border-bottom: none;
}

.token, .key {
    font-size: 1.2em;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* Token / key colors */
.token.spring { color: #7ee787; }
.token.summer { color: #f0883e; }
.token.fall { color: #d29922; }
.token.winter { color: #79c0ff; }
.token.community { color: #f778ba; }
.token.doubloon { color: #d4af37; }
.token.bottlecap { color: #6e7681; }
.token.carnival { color: #f85149; }
.token.candycorn { color: #f0883e; }
.token.manashard { color: #a371f7; }
.key.copper { color: #d29922; }
.key.iron { color: #8b949e; }
.key.adamant { color: #a371f7; }
.key.mithril { color: #58a6ff; }
.key.sunite { color: #f0883e; }
.key.glorite { color: #7ee787; }
.key.special { color: #f778ba; }

/* -----------------------------------------------------------------
   USAGE STEPS - Security Protocol Checklist
   ----------------------------------------------------------------- */
.usage-steps {
    max-width: 720px;
    margin: 0 auto 50px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: var(--bg-card);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border-steel);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

.step:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Step number as shield/badge accent */
.step-number {
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.step-content {
    position: relative;
}

.step-content h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--silver-bright);
    margin-bottom: 6px;
    font-size: 1.08em;
    font-weight: 600;
}

.step-content p {
    color: var(--silver-dim);
    line-height: 1.6;
    font-size: 0.94em;
}

/* -----------------------------------------------------------------
   INTEGRATION SECTION - Security Bulletins
   ----------------------------------------------------------------- */
.integration-section {
    margin-bottom: 50px;
}

.integration-info {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.integration-item {
    background: var(--bg-card);
    padding: 24px 28px;
    border-radius: 10px;
    border: 1px solid var(--border-steel);
    border-left: 4px solid var(--accent);
    position: relative;
    transition: border-left-color 0.3s ease, box-shadow 0.3s ease;
}

.integration-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

.integration-item:hover {
    border-left-color: var(--accent-bright);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Security bulletin classification bar */
.integration-item::after {
    content: 'INTERNAL';
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.3;
    pointer-events: none;
    font-family: 'Inter', monospace;
}

.integration-item h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--silver-bright);
    margin-bottom: 8px;
    font-size: 1.08em;
    font-weight: 600;
    position: relative;
}

.integration-item p {
    color: var(--silver-dim);
    line-height: 1.65;
    font-size: 0.94em;
    position: relative;
}

/* -----------------------------------------------------------------
   INSTALLATION STEPS
   ----------------------------------------------------------------- */
.install-steps {
    max-width: 720px;
    margin: 0 auto 50px;
}

.install-step {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    background: var(--bg-card);
    padding: 22px 26px;
    border-radius: 10px;
    border: 1px solid var(--border-steel);
    align-items: center;
    transition: border-color 0.25s ease;
    position: relative;
}

.install-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

.install-step:hover {
    border-color: var(--accent);
}

.step-icon {
    font-size: 1.8em;
    width: 48px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.step-info {
    position: relative;
}

.step-info h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--silver-bright);
    margin-bottom: 4px;
    font-weight: 600;
}

.step-info p {
    color: var(--silver-dim);
    font-size: 0.94em;
}

.step-info a {
    color: var(--accent-bright);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.step-info a:hover {
    color: #79b8ff;
    text-decoration: underline;
}

/* -----------------------------------------------------------------
   CONFIGURATION TABLE - System Settings Panel
   ----------------------------------------------------------------- */
.config-section {
    margin-bottom: 40px;
}

.config-table {
    max-width: 820px;
    margin: 0 auto 20px;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid var(--border-steel);
    background: var(--bg-card);
    position: relative;
}

.config-table::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

th, td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-steel);
}

th {
    background: rgba(45, 108, 223, 0.1);
    color: var(--silver-bright);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    color: var(--silver);
    font-size: 0.94em;
}

/* Monospace styling for config values */
td:nth-child(2) {
    font-family: 'Consolas', 'Courier New', monospace;
    color: var(--accent-bright);
    font-weight: 500;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(45, 108, 223, 0.04);
}

code {
    background: rgba(45, 108, 223, 0.1);
    padding: 3px 9px;
    border-radius: 4px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent-bright);
    border: 1px solid rgba(45, 108, 223, 0.15);
}

.config-note {
    text-align: center;
    color: var(--silver-dim);
    font-size: 0.92em;
    margin-bottom: 40px;
}

/* -----------------------------------------------------------------
   RELATED MODS / PAIRS WELL WITH
   ----------------------------------------------------------------- */
.related-mods {
    max-width: 700px;
    margin: 40px auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 10px;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-steel);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    color: inherit;
    position: relative;
}

.related-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

.related-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.related-icon {
    font-size: 2em;
    flex-shrink: 0;
    position: relative;
}

.related-info {
    position: relative;
}

.related-info h4 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 4px;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--silver-bright);
}

.related-info p {
    font-size: 0.88em;
    color: var(--silver-dim);
    margin: 0;
}

/* -----------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------- */
.footer {
    text-align: center;
    margin-top: 70px;
    padding: 40px 24px;
    border-top: 1px solid var(--border-steel);
    background: rgba(12, 18, 34, 0.5);
    border-radius: 0 0 20px 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brushed-metal);
    border-radius: inherit;
    pointer-events: none;
}

.footer p {
    color: var(--silver-dim);
    margin-bottom: 16px;
    font-size: 0.95em;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.footer-links a {
    color: var(--accent-bright);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92em;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #79b8ff;
    text-decoration: underline;
}

/* -----------------------------------------------------------------
   RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .container::before,
    .container::after {
        display: none;
    }

    .hero {
        padding: 50px 20px 40px;
    }

    .hero h1 {
        font-size: 2.4em;
    }

    .hero-icon {
        font-size: 3em;
        width: 90px;
        height: 90px;
    }

    .hero::before,
    .hero::after,
    .hero-corner-bl,
    .hero-corner-br {
        display: none;
    }

    .section-title {
        font-size: 1.4em;
        letter-spacing: 2px;
    }

    .step,
    .install-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 12px;
    }

    .top-nav {
        padding: 12px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 14px;
    }

    .keybind-grid {
        gap: 10px;
    }

    .keybind-card {
        min-width: 110px;
        padding: 14px 18px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .integration-item::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9em;
    }

    .hero-icon {
        font-size: 2.5em;
        width: 80px;
        height: 80px;
    }

    .tagline {
        font-size: 1em;
    }

    .features-grid,
    .currency-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.88em;
    }

    th, td {
        padding: 10px 12px;
    }

    .intro-section {
        padding: 22px 20px;
        font-size: 1em;
    }
}

/* =================================================================
   LIGHT MODE - Modern Banking App
   ================================================================= */
[data-theme="light"] body {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(45, 108, 223, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 10%, rgba(88, 166, 255, 0.05) 0%, transparent 40%),
        linear-gradient(160deg, #f5f7fa 0%, #edf0f5 40%, #e8ecf2 100%);
    color: #1b2332;
}

[data-theme="light"] body::before {
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(45, 108, 223, 0.008) 2px,
        rgba(45, 108, 223, 0.008) 4px
    );
}

/* Nav */
[data-theme="light"] .top-nav {
    background: rgba(245, 247, 250, 0.94);
    border-bottom-color: rgba(45, 108, 223, 0.12);
}

[data-theme="light"] .nav-home {
    color: var(--accent);
}

[data-theme="light"] .nav-home:hover {
    color: #1a56c4;
}

[data-theme="light"] .nav-divider {
    color: #c0c8d4;
}

[data-theme="light"] .nav-current {
    color: #5a6677;
}

/* Container side rails */
[data-theme="light"] .container::before,
[data-theme="light"] .container::after {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(45, 108, 223, 0.08) 15%,
        rgba(45, 108, 223, 0.04) 50%,
        rgba(45, 108, 223, 0.08) 85%,
        transparent 100%
    );
}

/* Hero */
[data-theme="light"] .hero {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(45, 108, 223, 0.08) 0%, transparent 65%),
        rgba(255, 255, 255, 0.6);
    border-color: rgba(45, 108, 223, 0.12);
}

[data-theme="light"] .hero::before,
[data-theme="light"] .hero::after {
    border-color: rgba(45, 108, 223, 0.12);
}

[data-theme="light"] .hero-corner-bl,
[data-theme="light"] .hero-corner-br {
    border-color: rgba(45, 108, 223, 0.12);
}

[data-theme="light"] .hero-icon {
    background: radial-gradient(circle, rgba(45, 108, 223, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .hero-icon::before {
    background: conic-gradient(
        from 0deg,
        rgba(45, 108, 223, 0.25),
        rgba(45, 108, 223, 0.08),
        rgba(100, 120, 150, 0.2),
        rgba(45, 108, 223, 0.08),
        rgba(45, 108, 223, 0.25)
    );
}

[data-theme="light"] .hero h1 {
    background: linear-gradient(135deg, #1a2e50 0%, #2d6cdf 50%, #1a3860 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .tagline {
    color: #5a6677;
}

[data-theme="light"] .version-badge {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(45, 108, 223, 0.3);
    color: var(--accent);
}

[data-theme="light"] .version-badge::before {
    background: linear-gradient(180deg, #2d6cdf, #58a6ff);
}

/* Intro */
[data-theme="light"] .intro-section {
    background: rgba(255, 255, 255, 0.75);
    color: #3a4555;
    border-color: rgba(45, 108, 223, 0.1);
    border-left-color: var(--accent);
}

/* Section titles */
[data-theme="light"] .section-title {
    color: #1b2332;
}

[data-theme="light"] .section-title::after {
    background: linear-gradient(90deg, transparent, #2d6cdf, transparent);
}

/* Keybinds */
[data-theme="light"] .keybind-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 108, 223, 0.1);
}

[data-theme="light"] .keybind-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(45, 108, 223, 0.1);
}

[data-theme="light"] .keybind-action {
    color: #5a6677;
}

[data-theme="light"] kbd {
    background: #edf0f5;
    border-color: rgba(45, 108, 223, 0.15);
    border-bottom-color: rgba(45, 108, 223, 0.2);
    color: var(--accent);
}

/* Feature cards */
[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 108, 223, 0.08);
    border-left-color: var(--accent);
}

[data-theme="light"] .feature-card:hover {
    border-color: rgba(45, 108, 223, 0.2);
    border-left-color: var(--accent);
    box-shadow: 0 12px 40px rgba(45, 108, 223, 0.1);
    background: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .feature-card h3 {
    color: #1b2332;
}

[data-theme="light"] .feature-card p {
    color: #5a6677;
}

[data-theme="light"] .feature-icon {
    filter: none;
}

/* Currency categories */
[data-theme="light"] .section-desc {
    color: #5a6677;
}

[data-theme="light"] .currency-category {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 108, 223, 0.08);
}

[data-theme="light"] .currency-category::after {
    opacity: 0.08;
}

[data-theme="light"] .category-header {
    border-bottom-color: rgba(45, 108, 223, 0.08);
}

[data-theme="light"] .category-header h3 {
    color: #1b2332;
}

[data-theme="light"] .category-desc {
    color: #5a6677;
}

[data-theme="light"] .currency-list li {
    color: #3a4555;
    border-bottom-color: rgba(45, 108, 223, 0.05);
}

/* Steps */
[data-theme="light"] .step {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 108, 223, 0.08);
}

[data-theme="light"] .step:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(45, 108, 223, 0.08);
}

[data-theme="light"] .step-number {
    box-shadow: 0 4px 12px rgba(45, 108, 223, 0.15);
}

[data-theme="light"] .step-content h4 {
    color: #1b2332;
}

[data-theme="light"] .step-content p {
    color: #5a6677;
}

/* Integration items */
[data-theme="light"] .integration-item {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 108, 223, 0.08);
    border-left-color: var(--accent);
}

[data-theme="light"] .integration-item:hover {
    box-shadow: 0 4px 20px rgba(45, 108, 223, 0.08);
}

[data-theme="light"] .integration-item::after {
    color: var(--accent);
    opacity: 0.15;
}

[data-theme="light"] .integration-item h4 {
    color: #1b2332;
}

[data-theme="light"] .integration-item p {
    color: #5a6677;
}

/* Install steps */
[data-theme="light"] .install-step {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 108, 223, 0.08);
}

[data-theme="light"] .install-step:hover {
    border-color: var(--accent);
}

[data-theme="light"] .step-info h4 {
    color: #1b2332;
}

[data-theme="light"] .step-info p {
    color: #5a6677;
}

[data-theme="light"] .step-info a {
    color: var(--accent);
}

[data-theme="light"] .step-info a:hover {
    color: #1a56c4;
}

/* Config table */
[data-theme="light"] .config-table {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(45, 108, 223, 0.1);
}

[data-theme="light"] th {
    background: rgba(45, 108, 223, 0.06);
    color: #1b2332;
}

[data-theme="light"] td {
    color: #3a4555;
    border-bottom-color: rgba(45, 108, 223, 0.06);
}

[data-theme="light"] td:nth-child(2) {
    color: var(--accent);
}

[data-theme="light"] tr:hover td {
    background: rgba(45, 108, 223, 0.03);
}

[data-theme="light"] code {
    background: rgba(45, 108, 223, 0.06);
    color: var(--accent);
    border-color: rgba(45, 108, 223, 0.1);
}

[data-theme="light"] .config-note {
    color: #5a6677;
}

/* Related mods */
[data-theme="light"] .related-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(45, 108, 223, 0.1);
}

[data-theme="light"] .related-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(45, 108, 223, 0.08);
}

[data-theme="light"] .related-info h4 {
    color: #1b2332;
}

[data-theme="light"] .related-info p {
    color: #5a6677;
}

/* Footer */
[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.5);
    border-top-color: rgba(45, 108, 223, 0.1);
}

[data-theme="light"] .footer p {
    color: #5a6677;
}

[data-theme="light"] .footer-links a {
    color: var(--accent);
}

[data-theme="light"] .footer-links a:hover {
    color: #1a56c4;
}
