/* =========================================================
   VALYRIAN NAME FORGE
   PREMIUM DARK FANTASY UI
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --bg-main: #090909;
    --bg-secondary: #0e0d0d;
    --bg-panel: #121111;
    --bg-card: #151313;
    --bg-card-hover: #1a1717;

    --gold: #d6ad55;
    --gold-light: #e8c978;
    --gold-dark: #9e7830;

    --red: #8f1825;
    --red-light: #b52a39;
    --red-dark: #5d1019;

    --text-main: #f2e7d0;
    --text-secondary: #c1b7aa;
    --text-muted: #8d8580;

    --border: #403b37;
    --border-soft: #2a2725;

    --success: #7da56d;

    --container: 1240px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --shadow:
        0 20px 50px rgba(0, 0, 0, 0.35);

    --transition:
        180ms ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(143, 24, 37, 0.10),
            transparent 34%
        ),
        var(--bg-main);

    color: var(--text-main);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


button,
select,
input {

    font: inherit;
}


button {

    cursor: pointer;
}


a {

    color: inherit;

    text-decoration: none;
}


img {

    max-width: 100%;
    display: block;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 100;

    background:
        rgba(9, 9, 9, 0.92);

    backdrop-filter:
        blur(14px);

    border-bottom:
        1px solid var(--border-soft);
}


.header-inner {

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    min-width: max-content;
}


.brand-icon {

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(214, 173, 85, 0.4);

    border-radius: 50%;

    background:
        rgba(214, 173, 85, 0.06);

    font-size: 20px;
}


.brand-text {

    color:
        var(--gold-light);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 2px;

    line-height: 1.1;
}


.brand-text small {

    display: block;

    margin-top: 3px;

    color:
        var(--text-muted);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 3px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-navigation {

    display: flex;

    align-items: center;

    gap: 8px;
}


.nav-link {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 10px 14px;

    color:
        var(--text-secondary);

    font-size: 13px;

    font-weight: 600;

    transition:
        color var(--transition);
}


.nav-link:hover,
.nav-link.active {

    color:
        var(--gold-light);
}


.nav-link.active::after {

    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 2px;

    height: 1px;

    background:
        var(--gold);
}


.nav-count {

    min-width: 18px;

    height: 18px;

    padding: 0 5px;

    display: inline-grid;

    place-items: center;

    border-radius: 20px;

    background:
        rgba(214, 173, 85, 0.1);

    color:
        var(--gold);

    font-size: 10px;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-button {

    display: none;

    width: 42px;
    height: 42px;

    border:
        1px solid var(--border);

    background:
        var(--bg-panel);

    border-radius:
        var(--radius-sm);
}


.mobile-menu-button span {

    display: block;

    width: 19px;
    height: 1px;

    margin: 4px auto;

    background:
        var(--gold);
}


/* =========================================================
   HERO
========================================================= */

.hero-section {

    position: relative;

    overflow: hidden;

    padding:
        105px 0
        90px;

    text-align: center;

    border-bottom:
        1px solid var(--border-soft);
}


.hero-section::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 50% 45%,
            rgba(214, 173, 85, 0.08),
            transparent 28%
        ),

        radial-gradient(
            circle at 50% 100%,
            rgba(143, 24, 37, 0.10),
            transparent 40%
        );
}


.hero-glow {

    position: absolute;

    width: 500px;
    height: 500px;

    top: -300px;
    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(143, 24, 37, 0.12);

    filter:
        blur(100px);

    pointer-events: none;
}


.hero-content {

    position: relative;

    z-index: 1;

    max-width: 850px;

    margin-inline: auto;
}


.hero-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    color:
        var(--gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


.hero-content h1 {

    color:
        var(--text-main);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size:
        clamp(38px, 6vw, 68px);

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: 1px;
}


.hero-content h1 span {

    display: block;

    color:
        var(--gold-light);
}


.hero-content p {

    max-width: 650px;

    margin:
        24px auto 0;

    color:
        var(--text-secondary);

    font-size: 16px;
}


/* =========================================================
   GENERATOR SECTION
========================================================= */

.generator-section {

    padding:
        80px 0
        100px;
}


.section-heading {

    max-width: 700px;

    margin-bottom: 40px;
}


.section-kicker {

    display: block;

    margin-bottom: 9px;

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.section-heading h2,
.results-header h2 {

    color:
        var(--text-main);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 30px;

    font-weight: 600;

    line-height: 1.25;
}


.section-heading p {

    margin-top: 9px;

    color:
        var(--text-muted);

    font-size: 14px;
}


/* =========================================================
   GENERATOR LAYOUT
========================================================= */

.generator-layout {

    display: grid;

    grid-template-columns:
        340px
        minmax(0, 1fr);

    gap: 30px;

    align-items: start;
}


/* =========================================================
   GENERATOR PANEL
========================================================= */

.generator-panel {

    position: sticky;

    top: 100px;

    padding: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 22, 22, 0.96),
            rgba(14, 13, 13, 0.96)
        );

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow);
}


.panel-heading {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 28px;

    padding-bottom: 22px;

    border-bottom:
        1px solid var(--border-soft);
}


.panel-icon {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    color:
        var(--gold);

    background:
        rgba(214, 173, 85, 0.07);

    border:
        1px solid
        rgba(214, 173, 85, 0.25);

    border-radius:
        var(--radius-sm);

    font-size: 17px;
}


.panel-heading h3 {

    color:
        var(--text-main);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 15px;

    letter-spacing: 1px;
}


.panel-heading p {

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 11px;
}


/* =========================================================
   FORM
========================================================= */

.generator-form {

    display: flex;

    flex-direction: column;

    gap: 18px;
}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 7px;
}


.form-group label {

    color:
        var(--text-muted);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.8px;
}


.form-group select {

    width: 100%;

    min-height: 48px;

    padding:
        0 42px
        0 14px;

    appearance: none;

    background:

        linear-gradient(
            45deg,
            transparent 50%,
            var(--gold) 50%
        )
        calc(100% - 17px) 20px / 6px 6px no-repeat,

        linear-gradient(
            135deg,
            var(--gold) 50%,
            transparent 50%
        )
        calc(100% - 12px) 20px / 6px 6px no-repeat,

        var(--bg-secondary);

    color:
        var(--text-main);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-sm);

    outline: none;

    font-size: 13px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}


.form-group select:hover {

    border-color:
        var(--gold-dark);
}


.form-group select:focus {

    border-color:
        var(--gold);

    box-shadow:
        0 0 0 3px
        rgba(214, 173, 85, 0.08);
}


.form-group select option {

    background:
        #111111;

    color:
        var(--text-main);
}


/* =========================================================
   FORGE BUTTON
========================================================= */

.forge-button {

    position: relative;

    width: 100%;

    min-height: 54px;

    margin-top: 5px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    overflow: hidden;

    border:
        1px solid
        rgba(232, 201, 120, 0.25);

    border-radius:
        var(--radius-sm);

    background:
        linear-gradient(
            135deg,
            var(--red),
            var(--red-dark)
        );

    color:
        #fff4df;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.4px;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}


.forge-button::before {

    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.10),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left 500ms ease;
}


.forge-button:hover {

    background:
        linear-gradient(
            135deg,
            var(--red-light),
            var(--red)
        );

    box-shadow:
        0 10px 30px
        rgba(143, 24, 37, 0.28);

    transform:
        translateY(-1px);
}


.forge-button:hover::before {

    left: 130%;
}


.forge-button:active {

    transform:
        translateY(0);
}


.forge-button:disabled {

    cursor: wait;

    opacity: 0.8;

    transform: none;

    box-shadow: none;
}


.forge-button-icon {

    color:
        var(--gold-light);

    font-size: 15px;
}


/* =========================================================
   LOADING
========================================================= */

.forge-button.is-loading {

    animation:
        forgePulse 1.2s ease-in-out infinite;
}


.loading-flame {

    animation:
        flameFloat 700ms ease-in-out infinite alternate;
}


@keyframes forgePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.72;
    }
}


@keyframes flameFloat {

    from {
        transform:
            translateY(2px);
    }

    to {
        transform:
            translateY(-2px);
    }
}


/* =========================================================
   KEYBOARD HINT
========================================================= */

.keyboard-hint {

    color:
        var(--text-muted);

    text-align: center;

    font-size: 10px;
}


kbd {

    padding:
        2px 5px;

    border:
        1px solid var(--border);

    border-radius: 3px;

    background:
        var(--bg-secondary);

    color:
        var(--text-secondary);

    font-size: 9px;
}


/* =========================================================
   RESULTS
========================================================= */

.results-section {

    min-width: 0;
}


.results-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;
}


.results-header h2 {

    font-size: 24px;
}


.results-status {

    padding:
        6px 10px;

    border:
        1px solid
        rgba(214, 173, 85, 0.18);

    border-radius:
        20px;

    background:
        rgba(214, 173, 85, 0.05);

    color:
        var(--gold);

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   RESULTS GRID
========================================================= */

.results-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   NAME CARD
========================================================= */

.name-card {

    position: relative;

    padding: 22px;

    background:
        linear-gradient(
            145deg,
            var(--bg-card),
            #100f0f
        );

    border:
        1px solid var(--border-soft);

    border-radius:
        var(--radius-md);

    opacity: 0;

    transform:
        translateY(10px);

    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}


.name-card-visible {

    opacity: 1;

    transform:
        translateY(0);

    animation:
        cardReveal 450ms ease forwards;
}


@keyframes cardReveal {

    from {
        opacity: 0;
        transform:
            translateY(12px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


.name-card:hover {

    background:
        var(--bg-card-hover);

    border-color:
        rgba(214, 173, 85, 0.30);

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 35px
        rgba(0, 0, 0, 0.28);
}


.name-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.name-card-category {

    color:
        var(--gold-dark);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.7px;
}


/* =========================================================
   FAVORITE
========================================================= */

.favorite-button {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.2);

    color:
        var(--text-muted);

    font-size: 17px;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}


.favorite-button:hover {

    color:
        var(--gold-light);

    border-color:
        var(--gold-dark);

    background:
        rgba(214, 173, 85, 0.07);

    transform:
        scale(1.05);
}


.favorite-button.is-favorite {

    color:
        var(--red-light);

    border-color:
        rgba(181, 42, 57, 0.4);

    background:
        rgba(143, 24, 37, 0.10);
}


/* =========================================================
   GENERATED NAME
========================================================= */

.generated-name {

    margin-top: 17px;

    color:
        var(--gold-light);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size:
        clamp(24px, 3vw, 34px);

    font-weight: 600;

    letter-spacing: 1px;

    line-height: 1.15;
}


.name-pronunciation {

    margin-top: 5px;

    color:
        var(--text-muted);

    font-size: 11px;

    font-style: italic;

    letter-spacing: 0.5px;
}


.name-meaning {

    min-height: 50px;

    margin-top: 15px;

    color:
        var(--text-secondary);

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   TAGS
========================================================= */

.name-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 16px;
}


.name-tag {

    padding:
        4px 8px;

    border:
        1px solid
        rgba(214, 173, 85, 0.18);

    border-radius: 20px;

    background:
        rgba(214, 173, 85, 0.05);

    color:
        var(--gold);

    font-size: 9px;

    font-weight: 600;
}


/* =========================================================
   CARD ACTIONS
========================================================= */

.name-card-actions {

    display: flex;

    gap: 7px;

    margin-top: 20px;

    padding-top: 16px;

    border-top:
        1px solid var(--border-soft);
}


.name-action-button {

    flex: 1;

    min-height: 36px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-sm);

    background:
        transparent;

    color:
        var(--text-secondary);

    font-size: 10px;

    font-weight: 600;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}


.name-action-button:hover {

    color:
        var(--gold-light);

    border-color:
        var(--gold-dark);

    background:
        rgba(214, 173, 85, 0.05);
}


/* =========================================================
   EMPTY RESULTS
========================================================= */

.empty-results {

    min-height: 430px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(214, 173, 85, 0.035),
            transparent 55%
        ),
        var(--bg-panel);

    border:
        1px dashed
        var(--border);

    border-radius:
        var(--radius-lg);
}


.empty-results-icon {

    width: 72px;

    height: 72px;

    display: grid;

    place-items: center;

    margin-bottom: 20px;

    border:
        1px solid
        rgba(214, 173, 85, 0.18);

    border-radius: 50%;

    background:
        rgba(214, 173, 85, 0.04);

    font-size: 30px;
}


.empty-results h3 {

    color:
        var(--gold-light);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 18px;

    letter-spacing: 1px;
}


.empty-results p {

    max-width: 390px;

    margin-top: 8px;

    color:
        var(--text-muted);

    font-size: 13px;
}


/* =========================================================
   TOAST
========================================================= */

.forge-toast {

    position: fixed;

    right: 24px;

    bottom: 24px;

    z-index: 999;

    max-width: 360px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        13px 16px;

    background:
        #181515;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.45);

    color:
        var(--text-main);

    font-size: 12px;

    opacity: 0;

    transform:
        translateY(12px);

    pointer-events: none;

    transition:
        opacity 200ms ease,
        transform 200ms ease;
}


.forge-toast.is-visible {

    opacity: 1;

    transform:
        translateY(0);
}


.toast-icon {

    color:
        var(--gold);

    font-size: 15px;
}


.forge-toast-error {

    border-color:
        rgba(181, 42, 57, 0.4);
}


.forge-toast-error .toast-icon {

    color:
        var(--red-light);
}


/* =========================================================
   FOOTER
========================================================= */


.footer-brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.footer-brand .brand-icon {

    width: 34px;
    height: 34px;

    font-size: 16px;
}


.footer-brand strong {

    color:
        var(--text-secondary);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 11px;

    letter-spacing: 1px;
}


.footer-brand p {

    margin-top: 2px;

    color:
        var(--text-muted);

    font-size: 10px;
}

/* =========================================================
   HIDDEN ANCHOR SECTIONS
========================================================= */

.hidden-section {

    display: none;
}


/* =========================================================
   SELECTION
========================================================= */

::selection {

    background:
        var(--red);

    color:
        var(--text-main);
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 8px;
}


::-webkit-scrollbar-track {

    background:
        var(--bg-main);
}


::-webkit-scrollbar-thumb {

    background:
        #3b3430;

    border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {

    background:
        var(--gold-dark);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .generator-layout {

        grid-template-columns:
            300px
            minmax(0, 1fr);
    }


    .results-grid {

        grid-template-columns:
            1fr;
    }


    .generator-panel {

        padding: 22px;
    }
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 800px) {

    .container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }


    .header-inner {

        min-height: 68px;
    }


    .main-navigation {

        display: none;
    }


    .mobile-menu-button {

        display: block;
    }


    .hero-section {

        padding:
            75px 0
            65px;
    }


    .hero-content h1 {

        font-size:
            clamp(32px, 9vw, 50px);
    }


    .generator-section {

        padding:
            60px 0
            70px;
    }


    .generator-layout {

        grid-template-columns:
            1fr;

        gap: 28px;
    }


    .generator-panel {

        position: static;
    }


    .results-header {

        align-items: flex-start;

        flex-direction: column;
    }


    .results-status {

        align-self: flex-start;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .container {

        width:
            calc(100% - 24px);
    }


    .brand-text {

        font-size: 13px;

        letter-spacing: 1.5px;
    }


    .brand-text small {

        font-size: 7px;

        letter-spacing: 2px;
    }


    .brand-icon {

        width: 36px;
        height: 36px;

        font-size: 17px;
    }


    .hero-section {

        padding:
            60px 0
            55px;
    }


    .hero-eyebrow {

        font-size: 9px;

        letter-spacing: 2px;
    }


    .hero-content h1 {

        font-size: 31px;
    }


    .hero-content p {

        font-size: 13px;
    }


    .section-heading h2,
    .results-header h2 {

        font-size: 24px;
    }


    .generator-panel {

        padding: 19px;
    }


    .name-card {

        padding: 18px;
    }


    .generated-name {

        font-size: 25px;
    }


    .name-card-actions {

        flex-wrap: wrap;
    }


    .name-action-button {

        min-width:
            calc(50% - 4px);
    }


    .name-action-button:last-child {

        flex-basis: 100%;
    }


    .empty-results {

        min-height: 350px;

        padding: 28px 18px;
    }


    .footer-inner {

        align-items: flex-start;

        flex-direction: column;
    }


    .footer-note {

        max-width: 280px;
    }


    .forge-toast {

        right: 12px;

        bottom: 12px;

        left: 12px;

        max-width: none;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}

.saved-results-container {
    width: 100%;
    margin-top: 40px;
}

.saved-results-container .results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.saved-empty-state {
    padding: 70px 20px;
    text-align: center;
    border: 1px solid rgba(255, 214, 126, 0.12);
    background: rgba(255, 214, 126, 0.025);
    border-radius: 12px;
}

.saved-empty-icon {
    font-size: 42px;
    margin-bottom: 18px;
    opacity: 0.75;
}

.saved-empty-state h3 {
    color: #e6c65c;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.saved-empty-state p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.forge-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
}

.forge-confirm-modal {
    width: min(430px, 100%);
    padding: 32px;
    text-align: center;
    background: #0d0d0d;
    border: 1px solid rgba(255, 214, 126, 0.22);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.forge-confirm-icon {
    color: #e6c65c;
    font-size: 28px;
    margin-bottom: 14px;
}

.forge-confirm-modal h3 {
    color: #f5ead5;
    font-size: 22px;
    margin-bottom: 10px;
}

.forge-confirm-modal p {
    color: #999;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 25px;
}

.forge-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.forge-confirm-actions button {
    padding: 10px 20px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
}

.forge-confirm-cancel {
    color: #ccc;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
}

.forge-confirm-delete {
    color: #0b0b0b;
    background: #e6c65c;
    border: 1px solid #e6c65c;
}

@media (max-width: 900px) {

    .saved-results-container .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .saved-results-container .results-grid {
        grid-template-columns: 1fr;
    }

}
/* ============================================================
   COLLECTION TOOLBAR
============================================================ */

.collection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 214, 126, 0.12);
}

.collection-total {
    color: #e8dcc4;
    font-size: 15px;
}

.collection-total strong {
    color: #e6c65c;
    font-size: 20px;
    margin-right: 5px;
}

.collection-clear-button {
    background: transparent;
    color: #b9a98c;
    border: 1px solid rgba(230, 198, 92, 0.25);
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.collection-clear-button:hover {
    color: #e6c65c;
    border-color: rgba(230, 198, 92, 0.65);
    background: rgba(230, 198, 92, 0.06);
}

.collection-grid {
    width: 100%;
}


/* ============================================================
   COLLECTION EMPTY STATE
============================================================ */

.collection-empty {
    width: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}

.collection-empty h3 {
    color: #e8dcc4;
    margin: 12px 0 8px;
}

.collection-empty p {
    color: #8f8678;
    margin-bottom: 22px;
}

.collection-forge-button {
    width: auto;
    padding: 12px 22px;
}


/* ============================================================
   PROFESSIONAL CLEAR MODAL
============================================================ */

.forge-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(7px);

    opacity: 0;

    transition: opacity 0.18s ease;
}

.forge-modal-overlay.is-visible {
    opacity: 1;
}

.forge-modal {
    width: min(420px, 100%);

    padding: 32px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #15120f,
            #0d0c0b
        );

    border: 1px solid rgba(230, 198, 92, 0.22);

    border-radius: 12px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.65);

    transform: translateY(10px) scale(0.98);

    transition:
        transform 0.18s ease;
}

.forge-modal-overlay.is-visible .forge-modal {
    transform: translateY(0) scale(1);
}

.forge-modal-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #e6c65c;

    background: rgba(230, 198, 92, 0.08);

    border: 1px solid rgba(230, 198, 92, 0.18);

    font-size: 22px;
}

.forge-modal h3 {
    margin: 0 0 10px;

    color: #eee3ce;

    font-family: "Cinzel", serif;

    font-size: 20px;
}

.forge-modal p {
    margin: 0 auto 25px;

    max-width: 320px;

    color: #9d9487;

    line-height: 1.6;

    font-size: 14px;
}

.forge-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.forge-modal-actions button {
    min-width: 105px;

    padding: 10px 16px;

    border-radius: 6px;

    font-size: 12px;

    cursor: pointer;

    transition: all 0.2s ease;
}

.forge-modal-cancel {
    color: #b9ae9e;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.12);
}

.forge-modal-cancel:hover {
    color: #eee3ce;

    border-color: rgba(255, 255, 255, 0.25);
}

.forge-modal-confirm {
    color: #17130d;

    background: #e6c65c;

    border: 1px solid #e6c65c;

    font-weight: 600;
}

.forge-modal-confirm:hover {
    background: #f0d77b;

    border-color: #f0d77b;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .collection-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .collection-clear-button {
        width: 100%;
    }

    .forge-modal {
        padding: 26px 20px;
    }

    .forge-modal-actions {
        flex-direction: column;
    }

    .forge-modal-actions button {
        width: 100%;
    }
}

/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 800px) {

    body {
        overflow-x: hidden;
    }

    .site-header {
        position: sticky;
    }

    .mobile-menu-button {
        position: relative;
        z-index: 110;
    }

    body.mobile-menu-open .main-navigation {

        position: absolute;

        top: 68px;
        left: 14px;
        right: 14px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        padding: 10px;

        background:
            rgba(14, 13, 13, 0.98);

        border:
            1px solid var(--border);

        border-radius:
            var(--radius-md);

        box-shadow:
            0 20px 45px
            rgba(0, 0, 0, 0.55);

        backdrop-filter:
            blur(14px);

        z-index: 105;
    }

    body.mobile-menu-open .nav-link {

        width: 100%;

        justify-content: space-between;

        padding: 13px 14px;

        border-radius: 6px;
    }

    body.mobile-menu-open .nav-link:hover,
    body.mobile-menu-open .nav-link.active {

        background:
            rgba(214, 173, 85, 0.06);
    }

    body.mobile-menu-open .nav-link.active::after {

        display: none;
    }
}
/* ============================================================
   PREMIUM SEO CONTENT SECTION
   ============================================================ */

.seo-content-section {
    position: relative;
    padding: 110px 0 120px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(140, 30, 30, 0.08),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(255, 194, 72, 0.035),
            transparent 32%
        ),
        #080808;
}


/* ============================================================
   MAIN SEO HEADING
   ============================================================ */

.seo-main-heading {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.seo-main-heading h2 {
    margin: 12px 0 20px;
    font-family: "Cinzel", serif;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.12;
    letter-spacing: 0.02em;
    color: #f4ead4;
}

.seo-main-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: #9d9891;
    font-size: 16px;
    line-height: 1.8;
}


/* ============================================================
   INTRO GRID
   ============================================================ */

.seo-intro-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(350px, 1.05fr);
    gap: 55px;
    align-items: center;
    margin-bottom: 90px;
}


/* ============================================================
   IMAGE CARD
   ============================================================ */

.seo-image-card {
    position: relative;
}

.seo-image-frame {
    position: relative;
    min-height: 570px;
    overflow: hidden;

    border: 1px solid rgba(255, 214, 126, 0.22);
    border-radius: 18px;

    background: #111;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55),
        inset 0 0 50px rgba(0, 0, 0, 0.35);
}

.seo-image-frame::before {
    content: "";
    position: absolute;
    inset: 10px;

    border: 1px solid rgba(255, 214, 126, 0.09);
    border-radius: 12px;

    pointer-events: none;
    z-index: 3;
}

.seo-image-frame img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 570px;

    object-fit: cover;

    filter:
        saturate(0.82)
        contrast(1.08)
        brightness(0.78);

    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}

.seo-image-frame:hover img {
    transform: scale(1.035);

    filter:
        saturate(0.95)
        contrast(1.1)
        brightness(0.88);
}


/* ============================================================
   IMAGE OVERLAY
   ============================================================ */

.seo-image-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08) 20%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.88) 100%
        );
}

.seo-image-caption {
    position: absolute;

    left: 30px;
    bottom: 28px;

    z-index: 4;

    display: flex;
    align-items: center;
    gap: 10px;

    font-family: "Cinzel", serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.18em;

    color: #e6c65c;
}

.seo-image-caption span {
    font-size: 14px;
}


/* ============================================================
   INTRO CONTENT
   ============================================================ */

.seo-intro-content {
    padding: 10px 5px;
}

.seo-small-kicker {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.2em;

    color: #d9ad42;
}

.seo-intro-content h3 {
    max-width: 650px;

    margin: 0 0 25px;

    font-family: "Cinzel", serif;

    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;

    color: #f1e7d4;
}

.seo-intro-content > p {
    max-width: 650px;

    margin: 0 0 18px;

    color: #aaa49b;

    font-size: 15px;
    line-height: 1.85;
}


/* ============================================================
   FEATURE LIST
   ============================================================ */

.seo-feature-list {
    display: grid;
    gap: 12px;

    margin-top: 30px;
}

.seo-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 16px 18px;

    border: 1px solid rgba(255, 214, 126, 0.09);
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.008)
        );

    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.seo-feature:hover {
    transform: translateX(5px);

    border-color:
        rgba(255, 214, 126, 0.24);

    background:
        rgba(255, 214, 126, 0.035);
}

.seo-feature-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(230, 198, 92, 0.35);
    border-radius: 50%;

    color: #e6c65c;

    font-size: 13px;
}

.seo-feature strong {
    display: block;

    margin-bottom: 4px;

    color: #eee4d1;

    font-family: "Cinzel", serif;

    font-size: 14px;
}

.seo-feature p {
    margin: 0;

    color: #89847d;

    font-size: 13px;
    line-height: 1.55;
}


/* ============================================================
   SUB HEADINGS
   ============================================================ */

.seo-subheading {
    margin-bottom: 35px;

    text-align: center;
}

.seo-subheading h3 {
    margin: 10px 0 12px;

    font-family: "Cinzel", serif;

    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.2;

    color: #f0e5d1;
}

.seo-subheading p {
    margin: 0;

    color: #918b83;

    font-size: 14px;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */

.seo-how-section {
    padding: 65px 45px;

    border: 1px solid rgba(255, 214, 126, 0.12);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.008)
        );

    margin-bottom: 70px;
}

.seo-steps-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.seo-step-card {
    position: relative;

    min-height: 270px;

    padding: 35px 25px 30px;

    text-align: center;

    border: 1px solid rgba(255, 214, 126, 0.11);
    border-radius: 14px;

    background:
        rgba(8, 8, 8, 0.55);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.seo-step-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(255, 214, 126, 0.28);

    background:
        rgba(255, 214, 126, 0.025);
}

.seo-step-number {
    display: block;

    margin-bottom: 18px;

    font-family: "Cinzel", serif;

    font-size: 27px;
    font-weight: 700;

    color: #d7ad45;

    letter-spacing: 0.08em;
}

.seo-step-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    border: 1px solid rgba(230, 198, 92, 0.3);
    border-radius: 50%;

    color: #e6c65c;

    font-size: 18px;

    background:
        rgba(230, 198, 92, 0.035);
}

.seo-step-card h4 {
    margin: 0 0 10px;

    font-family: "Cinzel", serif;

    font-size: 17px;

    color: #eee4d1;
}

.seo-step-card p {
    margin: 0;

    color: #88837c;

    font-size: 13px;
    line-height: 1.7;
}


/* ============================================================
   USE CASES
   ============================================================ */

.seo-use-section {
    margin-bottom: 40px;
}

.seo-use-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.seo-use-card {
    padding: 28px 22px;

    text-align: center;

    border: 1px solid rgba(255, 214, 126, 0.11);
    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.022),
            rgba(255, 255, 255, 0.006)
        );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.seo-use-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(255, 214, 126, 0.27);
}

.seo-use-card > span {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin: 0 auto 18px;

    border: 1px solid rgba(230, 198, 92, 0.3);
    border-radius: 50%;

    color: #e6c65c;

    font-size: 18px;
}

.seo-use-card h4 {
    margin: 0 0 10px;

    font-family: "Cinzel", serif;

    font-size: 15px;

    color: #eee4d1;
}

.seo-use-card p {
    margin: 0;

    color: #89847d;

    font-size: 13px;
    line-height: 1.65;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1000px) {

    .seo-intro-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .seo-image-frame {
        max-width: 700px;

        min-height: 450px;

        margin: 0 auto;
    }

    .seo-image-frame img {
        min-height: 450px;
    }

    .seo-intro-content {
        max-width: 750px;

        margin: 0 auto;
    }

    .seo-use-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .seo-content-section {
        padding: 75px 0 80px;
    }

    .seo-main-heading {
        margin-bottom: 45px;
    }

    .seo-main-heading h2 {
        font-size: 31px;
    }

    .seo-main-heading p {
        font-size: 14px;
    }

    .seo-intro-grid {
        gap: 35px;

        margin-bottom: 60px;
    }

    .seo-image-frame {
        min-height: 390px;

        border-radius: 14px;
    }

    .seo-image-frame img {
        min-height: 390px;
    }

    .seo-intro-content h3 {
        font-size: 28px;
    }

    .seo-intro-content > p {
        font-size: 14px;
    }

    .seo-how-section {
        padding: 45px 18px;

        border-radius: 14px;

        margin-bottom: 55px;
    }

    .seo-steps-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .seo-step-card {
        min-height: auto;

        padding: 30px 22px;
    }

    .seo-use-grid {
        grid-template-columns: 1fr;
    }

    .seo-use-card {
        text-align: left;

        display: flex;

        align-items: flex-start;

        gap: 16px;
    }

    .seo-use-card > span {
        flex: 0 0 48px;

        margin: 0;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 430px) {

    .seo-main-heading h2 {
        font-size: 27px;
    }

    .seo-image-frame {
        min-height: 330px;
    }

    .seo-image-frame img {
        min-height: 330px;
    }

    .seo-feature {
        padding: 14px;
    }

    .seo-feature-icon {
        flex-basis: 30px;

        width: 30px;
        height: 30px;
    }

    .seo-subheading h3 {
        font-size: 25px;
    }
}

/* =========================================================
   VIP HOW IT WORKS
========================================================= */

.seo-how-section {
    margin-top: 75px;
}

.seo-how-section .seo-subheading {
    margin-bottom: 35px;
}

.seo-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.seo-step-card {
    position: relative;
    overflow: hidden;

    padding: 30px 26px;

    min-height: 245px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );

    border: 1px solid
        rgba(230, 198, 92, 0.16);

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.seo-step-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(230, 198, 92, 0.75),
            transparent
        );
}

.seo-step-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(230, 198, 92, 0.38);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.28),
        0 0 30px rgba(230, 198, 92, 0.06);
}


/* STEP NUMBER */

.seo-step-number {
    position: absolute;

    top: 20px;
    right: 22px;

    font-family: "Cinzel", serif;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;

    color:
        rgba(230, 198, 92, 0.45);
}


/* STEP ICON */

.seo-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 24px;

    border-radius: 14px;

    background:
        rgba(230, 198, 92, 0.07);

    border: 1px solid
        rgba(230, 198, 92, 0.2);

    color: #e6c65c;

    font-size: 25px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}


/* STEP CONTENT */

.seo-step-card h4 {
    margin: 0 0 11px;

    font-family: "Cinzel", serif;

    font-size: 18px;
    line-height: 1.4;

    color: #f5e7bd;
}

.seo-step-card p {
    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 14px;
    line-height: 1.75;

    color:
        rgba(255, 255, 255, 0.64);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .seo-steps-grid {
        grid-template-columns: 1fr;
    }

    .seo-step-card {
        min-height: auto;
    }
}
/* =========================================================
   VIP SEO INTRODUCTION
========================================================= */

.seo-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 55px;
    align-items: center;

    margin-top: 55px;
}


/* =========================================================
   IMAGE CARD
========================================================= */

.seo-image-card {
    position: relative;
}

.seo-image-frame {
    position: relative;
    overflow: hidden;

    width: 100%;
    min-height: 500px;

    border-radius: 22px;

    border: 1px solid
        rgba(230, 198, 92, 0.22);

    background: #111827;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 35px rgba(230, 198, 92, 0.05);
}


/* IMAGE */

.seo-image-frame img {
    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}

.seo-image-frame:hover img {
    transform: scale(1.035);
}


/* DARK OVERLAY */

.seo-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5, 8, 15, 0.88) 0%,
            rgba(5, 8, 15, 0.18) 55%,
            rgba(5, 8, 15, 0.05) 100%
        );

    pointer-events: none;
}


/* IMAGE CAPTION */

.seo-image-caption {
    position: absolute;

    left: 24px;
    bottom: 22px;

    display: flex;
    align-items: center;
    gap: 9px;

    font-family: "Cinzel", serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #f5e7bd;
}

.seo-image-caption span {
    color: #e6c65c;

    font-size: 16px;
}


/* =========================================================
   INTRO CONTENT
========================================================= */

.seo-intro-content {
    max-width: 650px;
}

.seo-small-kicker {
    display: inline-block;

    margin-bottom: 13px;

    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;

    color: #e6c65c;
}

.seo-intro-content h3 {
    margin: 0 0 20px;

    font-family: "Cinzel", serif;

    font-size: clamp(28px, 3vw, 40px);

    line-height: 1.2;

    color: #f5e7bd;
}

.seo-intro-content > p {
    margin: 0 0 17px;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    line-height: 1.85;

    color:
        rgba(255, 255, 255, 0.68);
}


/* =========================================================
   FEATURE LIST
========================================================= */

.seo-feature-list {
    display: grid;

    gap: 12px;

    margin-top: 28px;
}

.seo-feature {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 16px 17px;

    background:
        rgba(255, 255, 255, 0.025);

    border: 1px solid
        rgba(230, 198, 92, 0.11);

    border-radius: 13px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.seo-feature:hover {
    transform: translateX(5px);

    background:
        rgba(230, 198, 92, 0.035);

    border-color:
        rgba(230, 198, 92, 0.25);
}


/* FEATURE ICON */

.seo-feature-icon {
    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-top: 2px;

    border-radius: 9px;

    background:
        rgba(230, 198, 92, 0.08);

    border: 1px solid
        rgba(230, 198, 92, 0.18);

    color: #e6c65c;

    font-size: 14px;
}


/* FEATURE TEXT */

.seo-feature strong {
    display: block;

    margin-bottom: 4px;

    font-family: "Cinzel", serif;

    font-size: 14px;

    color: #f5e7bd;
}

.seo-feature p {
    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 13px;

    line-height: 1.55;

    color:
        rgba(255, 255, 255, 0.55);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .seo-intro-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .seo-intro-content {
        max-width: none;
    }

    .seo-image-frame {
        min-height: 420px;
    }

    .seo-image-frame img {
        height: 420px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .seo-intro-grid {
        margin-top: 35px;

        gap: 30px;
    }

    .seo-image-frame {
        min-height: 330px;

        border-radius: 17px;
    }

    .seo-image-frame img {
        height: 330px;
    }

    .seo-image-caption {
        left: 17px;
        bottom: 17px;

        font-size: 10px;
    }

    .seo-intro-content h3 {
        font-size: 27px;
    }

    .seo-intro-content > p {
        font-size: 14px;
        line-height: 1.75;
    }

    .seo-feature {
        padding: 14px;
    }
}
/* =========================================================
   VIP FAQ SECTION
========================================================= */

.faq-section {
    position: relative;

    padding-top: 90px;
    padding-bottom: 100px;
}


/* FAQ HEADER */

.faq-section .section-heading {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.faq-section .section-heading p {
    max-width: 620px;

    margin-left: auto;
    margin-right: auto;
}


/* FAQ LIST */

.faq-list {
    display: grid;

    gap: 14px;

    max-width: 900px;

    margin: 42px auto 0;
}


/* FAQ ITEM */

.faq-item {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );

    border: 1px solid
        rgba(230, 198, 92, 0.14);

    border-radius: 15px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


/* GOLD TOP LINE */

.faq-item::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #e6c65c,
            transparent
        );

    transition:
        width 0.35s ease;
}


/* SUMMARY */

.faq-item summary {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 72px;

    padding: 20px 62px 20px 24px;

    cursor: pointer;

    list-style: none;

    font-family: "Cinzel", serif;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.5;

    color: #f5e7bd;

    user-select: none;
}


/* REMOVE DEFAULT ARROW */

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}


/* CUSTOM ARROW */

.faq-item summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 23px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    border: 1px solid
        rgba(230, 198, 92, 0.22);

    background:
        rgba(230, 198, 92, 0.05);

    color: #e6c65c;

    font-family: "Inter", sans-serif;

    font-size: 20px;
    font-weight: 400;

    line-height: 1;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


/* OPEN STATE */

.faq-item[open] {
    border-color:
        rgba(230, 198, 92, 0.30);

    background:
        linear-gradient(
            145deg,
            rgba(230, 198, 92, 0.045),
            rgba(255, 255, 255, 0.012)
        );

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.20);
}

.faq-item[open]::before {
    width: 100%;
}

.faq-item[open] summary::after {
    content: "−";

    transform:
        translateY(-50%)
        rotate(180deg);

    background:
        rgba(230, 198, 92, 0.10);
}


/* FAQ ANSWER */

.faq-item p {
    margin: 0;

    padding: 0 62px 24px 24px;

    font-family: "Inter", sans-serif;

    font-size: 14px;

    line-height: 1.8;

    color:
        rgba(255, 255, 255, 0.63);
}


/* HOVER */

.faq-item:hover {
    border-color:
        rgba(230, 198, 92, 0.25);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.14);
}


/* =========================================================
   MOBILE FAQ
========================================================= */

@media (max-width: 600px) {

    .faq-section {
        padding-top: 65px;
        padding-bottom: 70px;
    }

    .faq-list {
        margin-top: 30px;

        gap: 11px;
    }

    .faq-item summary {
        min-height: 64px;

        padding: 17px 55px 17px 18px;

        font-size: 14px;
    }

    .faq-item summary::after {
        right: 17px;

        width: 27px;
        height: 27px;

        font-size: 18px;
    }

    .faq-item p {
        padding: 0 55px 20px 18px;

        font-size: 13px;

        line-height: 1.7;
    }
}
/* =========================================================
   VIP USE CASES — VISUAL FANTASY CARDS
========================================================= */

.seo-use-section {
    margin-top: 100px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.seo-use-section .seo-subheading {
    max-width: 760px;

    margin-bottom: 38px;
}

.seo-use-section .seo-subheading h3 {
    margin: 8px 0 12px;

    font-family: "Cinzel", serif;

    font-size: clamp(28px, 3vw, 40px);

    line-height: 1.2;

    color: #f5e7bd;
}

.seo-use-section .seo-subheading p {
    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color:
        rgba(255, 255, 255, 0.58);
}


/* =========================================================
   GRID
========================================================= */

.seo-use-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   CARD
========================================================= */

.seo-use-card {
    position: relative;

    min-height: 220px;

    overflow: hidden;

    border-radius: 20px;

    border: 1px solid
        rgba(230, 198, 92, 0.16);

    background: #111;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28);

    cursor: default;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   IMAGE
========================================================= */

.seo-use-image {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.seo-use-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.65s ease;
}


/* =========================================================
   DARK CINEMATIC OVERLAY
========================================================= */

.seo-use-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(5, 5, 5, 0.08) 0%,
            rgba(5, 5, 5, 0.18) 30%,
            rgba(5, 5, 5, 0.68) 65%,
            rgba(5, 5, 5, 0.94) 100%
        );

    pointer-events: none;
}


/* =========================================================
   GOLD EDGE
========================================================= */

.seo-use-card::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    z-index: 3;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(230, 198, 92, 0.75),
            transparent
        );

    opacity: 0;

    transition:
        opacity 0.35s ease;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.seo-use-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 4;

padding: 22px 24px 22px;
}

/* NUMBER */

.seo-use-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 25px;

    margin-bottom: 10px;

    border-left: 2px solid #e6c65c;

    color: #e6c65c;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* TITLE */

.seo-use-content h4 {
    margin: 0 0 8px;

    font-family: "Cinzel", serif;

    font-size: 19px;

    line-height: 1.25;

    color: #f8edcf;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.7);
}


/* DESCRIPTION */

.seo-use-content p {
    max-width: 570px;

    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 13px;

    line-height: 1.65;

    color:
        rgba(255, 255, 255, 0.72);

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.8);
}


/* =========================================================
   HOVER
========================================================= */

.seo-use-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(230, 198, 92, 0.35);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.40),
        0 0 25px rgba(230, 198, 92, 0.05);
}

.seo-use-card:hover::before {
    opacity: 1;
}

.seo-use-card:hover .seo-use-image img {
    transform: scale(1.055);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .seo-use-grid {
        grid-template-columns: 1fr;
    }

    .seo-use-card {
        min-height: 300px;
        
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .seo-use-section {
        margin-top: 70px;
    }

    .seo-use-section .seo-subheading {
        margin-bottom: 28px;
    }

    .seo-use-grid {
        gap: 16px;
    }

    .seo-use-card {
        min-height: 330px;

        border-radius: 16px;
    }

    .seo-use-content {
        padding: 22px 20px 20px;
    }

    .seo-use-content h4 {
        font-size: 19px;
    }

    .seo-use-content p {
        font-size: 12.5px;

        line-height: 1.6;
    }
}

/* =========================================================
   VALYRIAN USE CASES — FINAL PREMIUM OVERRIDE
========================================================= */

.seo-use-section {
    margin-top: 80px;
}

.seo-use-section .seo-subheading {
    max-width: 760px;
    margin-bottom: 30px;
}

.seo-use-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   USE CASE CARD
========================================================= */

.seo-use-card {
    position: relative;
    height: 300px;
    min-height: 300px;

    overflow: hidden;

    border-radius: 18px;
    border: 1px solid rgba(230, 198, 92, 0.16);

    background: #111;

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   CARD IMAGE
========================================================= */

.seo-use-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.seo-use-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.65s ease;
}


/* =========================================================
   CINEMATIC OVERLAY
========================================================= */

.seo-use-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(5, 5, 5, 0.02) 0%,
            rgba(5, 5, 5, 0.12) 32%,
            rgba(5, 5, 5, 0.62) 68%,
            rgba(5, 5, 5, 0.94) 100%
        );

    pointer-events: none;
}


/* =========================================================
   GOLD BOTTOM EDGE
========================================================= */

.seo-use-card::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    z-index: 5;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(230, 198, 92, 0.8),
            transparent
        );

    opacity: 0;

    transition:
        opacity 0.35s ease;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.seo-use-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 6;

    padding: 22px 24px 22px;
}


/* =========================================================
   NUMBER
========================================================= */

.seo-use-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 24px;

    margin-bottom: 8px;

    border-left: 2px solid #e6c65c;

    color: #e6c65c;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================================
   TITLE
========================================================= */

.seo-use-content h4 {
    margin: 0 0 7px;

    font-family: "Cinzel", serif;

    font-size: 21px;
    line-height: 1.25;

    color: #f8edcf;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.75);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.seo-use-content p {
    max-width: 570px;

    margin: 0;

    font-family: "Inter", sans-serif;

    font-size: 13px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.72);

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.8);
}


/* =========================================================
   HOVER
========================================================= */

.seo-use-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(230, 198, 92, 0.35);

    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.38),
        0 0 25px rgba(230, 198, 92, 0.05);
}

.seo-use-card:hover::before {
    opacity: 1;
}

.seo-use-card:hover .seo-use-image img {
    transform: scale(1.055);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .seo-use-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .seo-use-card {
        height: 300px;
        min-height: 300px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .seo-use-section {
        margin-top: 65px;
    }

    .seo-use-section .seo-subheading {
        margin-bottom: 25px;
    }

    .seo-use-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .seo-use-card {
        height: 280px;
        min-height: 280px;

        border-radius: 16px;
    }

    .seo-use-content {
        padding: 20px 18px 19px;
    }

    .seo-use-content h4 {
        font-size: 19px;
    }

    .seo-use-content p {
        font-size: 12.5px;
        line-height: 1.6;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .seo-use-card {
        height: 270px;
        min-height: 270px;
    }

    .seo-use-content {
        padding: 18px 16px 17px;
    }

    .seo-use-content h4 {
        font-size: 18px;
    }
}

/* =========================================================
   USE CASES — FINAL CENTER ALIGNMENT
========================================================= */

/* SECTION HEADING */

.seo-use-section .seo-subheading {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;

    text-align: center;
}


/* CARD CONTENT */

.seo-use-content {
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;

    padding: 22px 24px 22px;

    text-align: center;
}


/* NUMBER */

.seo-use-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-left: auto;
    margin-right: auto;
}


/* TITLE */

.seo-use-content h4 {
    text-align: center;
}


/* DESCRIPTION */

.seo-use-content p {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


/* MOBILE */

@media (max-width: 600px) {

    .seo-use-content {
        padding: 20px 18px 19px;
    }

    .seo-use-content h4 {
        text-align: center;
    }

    .seo-use-content p {
        text-align: center;
    }
}

/* =========================================================
   FINAL FIX — EQUAL HEIGHT GENERATOR PANELS
========================================================= */

.generator-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
}


/* LEFT — FORGE YOUR NAME */

.generator-panel {
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}


/* RIGHT — YOUR FORGED NAMES */

.results-section {
    min-width: 0;
    height: 100%;
    box-sizing: border-box;

    padding: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 22, 22, 0.96),
            rgba(14, 13, 13, 0.96)
        );

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);
}


/* KEEP RESULTS HEADER INSIDE THE BOX */

.results-header {
    margin-bottom: 24px;
}


/* MOBILE / TABLET */

@media (max-width: 850px) {

    .generator-layout {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .generator-panel,
    .results-section {
        height: auto;
    }
}
/* =========================================================
   EXTRA COMPACT SECTION SPACING
========================================================= */

.seo-content-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.faq-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.seo-content-section .seo-main-heading {
    margin-bottom: 25px !important;
}

.faq-section .section-heading {
    margin-bottom: 20px !important;
}

/* =========================================================
   HERO — CUSTOM BACKGROUND IMAGE
========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            to bottom,
            rgba(5, 5, 5, 0.25),
            rgba(5, 5, 5, 0.55),
            rgba(5, 5, 5, 0.88)
        ),
        url("../images/hero-background.webp.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Keep Hero content above the image */

.hero-content {
    position: relative;
    z-index: 3;
}

/* ============================================================
   HISTORY / VAULT — HEADING SPACING
   ============================================================ */

.collection-section {
    padding-top: 72px;
    padding-bottom: 80px;
}

.collection-section .section-heading {
    margin-bottom: 42px;
}

.collection-section .section-kicker {
    display: block;
    margin-bottom: 14px;
    line-height: 1.4;
}

.collection-section .section-heading h2 {
    margin: 0 0 14px;
    line-height: 1.15;
}

.collection-section .section-heading p {
    margin: 0;
    line-height: 1.7;
    max-width: 650px;
}

/* =========================================================
   MAIN SITE FOOTER
========================================================= */

.about-footer {
    width: 100%;
    margin-top: 48px;

    padding:
        52px max(24px, calc((100% - 1180px) / 2))
        24px;

    display: grid;

    grid-template-columns:
        minmax(280px, 1.45fr)
        0.7fr
        1fr
        1fr;

    gap: 46px;

    background:
        linear-gradient(
            180deg,
            rgba(10, 8, 6, 0.96),
            #070605
        );

    border-top:
        1px solid rgba(216, 170, 69, 0.22);

    color: #b9ad9b;
}


/* BRAND */

.about-footer .footer-brand {
    min-width: 0;
}

.about-footer .footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 18px;

    text-decoration: none;
    color: inherit;
}

.about-footer .footer-logo-image {
    width: 50px;
    height: 50px;

    object-fit: contain;
}

.about-footer .footer-logo-text {
    display: flex;
    flex-direction: column;
}

.about-footer .footer-logo-main {
    color: #e5b74c;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;
    font-weight: 700;

    letter-spacing: 0.06em;
}

.about-footer .footer-logo-sub {
    margin-top: 4px;

    color: #918574;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.22em;
}

.about-footer .footer-brand p {
    max-width: 350px;

    margin: 0;

    color: #998c7a;

    font-size: 12px;
    line-height: 1.8;
}


/* COLUMNS */

.about-footer .footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 9px;
}

.about-footer .footer-column h3 {
    margin: 0 0 7px;

    color: #d6aa4e;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.16em;
}

.about-footer .footer-column a {
    color: #9b8f7e;

    font-size: 12px;
    text-decoration: none;

    transition:
        color 0.22s ease,
        transform 0.22s ease;
}

.about-footer .footer-column a:hover {
    color: #efd386;

    transform: translateX(4px);
}

.about-footer .footer-column p {
    max-width: 225px;

    margin: 0;

    color: #928777;

    font-size: 12px;
    line-height: 1.75;
}


/* BOTTOM */

.about-footer .footer-bottom {
    grid-column: 1 / -1;

    margin-top: 12px;
    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(216, 170, 69, 0.11);

    color: #71685e;

    font-size: 10px;
}


/* TABLET */

@media (max-width: 900px) {

    .about-footer {
        grid-template-columns: 1fr 1fr;

        padding:
            44px 28px
            22px;
    }

    .about-footer .footer-brand {
        grid-column: 1 / -1;
    }

}


/* MOBILE */

@media (max-width: 560px) {

    .about-footer {
        grid-template-columns: 1fr;

        gap: 30px;

        padding:
            38px 22px
            22px;
    }

    .about-footer .footer-brand {
        grid-column: auto;
    }

    .about-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 7px;
    }

}
/* =========================================================
   FOOTER OVERLAP FIX — VALYRIAN TOOL
========================================================= */

.about-footer .footer-brand {
    display: block !important;
    width: 100%;
    min-width: 0;
}

.about-footer .footer-brand-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;

    width: fit-content;
    margin: 0 0 18px 0 !important;

    position: static !important;
    transform: none !important;
}

.about-footer .footer-logo-image {
    display: block;
    width: 50px !important;
    height: 50px !important;

    flex: 0 0 50px;

    object-fit: contain;
}

.about-footer .footer-logo-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    position: static !important;
    transform: none !important;

    line-height: 1;
}

.about-footer .footer-brand > p {
    display: block !important;

    width: 100%;
    max-width: 340px;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    transform: none !important;

    color: #998c7a;
    font-size: 12px;
    line-height: 1.8;
}


/* Keep footer columns independent */

.about-footer .footer-column {
    position: static !important;
    min-width: 0;
}


/* MOBILE */

@media (max-width: 560px) {

    .about-footer .footer-brand-logo {
        gap: 11px !important;
    }

    .about-footer .footer-logo-image {
        width: 44px !important;
        height: 44px !important;
        flex-basis: 44px;
    }

    .about-footer .footer-brand > p {
        max-width: 100%;
    }

}