/* =========================================================
   SWORD NAME GENERATOR
   PREMIUM DARK FANTASY UI
========================================================= */

:root {
    --bg-main: #070707;
    --bg-soft: #0d0d0f;
    --bg-card: #111113;
    --bg-card-2: #151517;

    --border: rgba(255, 255, 255, 0.08);

    --text-main: #f5f2ec;
    --text-soft: #c5c0b8;
    --text-muted: #85817b;

    --gold: #d6a84f;
    --gold-light: #f2cf7a;

    --crimson: #9f1d2e;
    --crimson-light: #c72b3e;

    --shadow-dark:
        0 30px 80px rgba(0, 0, 0, 0.55);

    --shadow-red:
        0 15px 45px rgba(159, 29, 46, 0.18);

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 11px;
}


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    padding: 42px 20px;

    color: var(--text-main);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(159, 29, 46, 0.20),
            transparent 34%
        ),
        radial-gradient(
            circle at 10% 20%,
            rgba(214, 168, 79, 0.055),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 90%,
            rgba(159, 29, 46, 0.10),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #050505 0%,
            #09090a 45%,
            #0c0c0e 100%
        );

    overflow-x: hidden;
}


/* =========================================================
   BACKGROUND TEXTURE
========================================================= */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: 0.28;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

    z-index: -1;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.container {
    width: 100%;

    max-width: 960px;

    margin: 0 auto;

    padding: 42px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 18, 20, 0.96),
            rgba(9, 9, 10, 0.97)
        );

    border: 1px solid rgba(214,168,79,0.22);

    border-radius: var(--radius-lg);

    box-shadow:
        var(--shadow-dark),
        0 0 90px rgba(159, 29, 46, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.045);

    backdrop-filter: blur(20px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    text-align: center;

    padding: 4px 20px 34px;
}


/* =========================================================
   SWORD ICON
========================================================= */

.dragon-icon {
    width: 66px;
    height: 66px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    font-size: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(159, 29, 46, 0.20),
            rgba(214, 168, 79, 0.08)
        );

    border: 1px solid rgba(214,168,79,0.30);

    box-shadow:
        0 12px 35px rgba(0,0,0,0.35),
        0 0 35px rgba(159,29,46,0.12);

    filter:
        drop-shadow(
            0 0 15px rgba(214,168,79,0.18)
        );
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    margin-bottom: 13px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3.5px;

    text-transform: uppercase;
}


/* =========================================================
   HERO HEADING
========================================================= */

h1 {
    max-width: 760px;

    margin: 0 auto 15px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 6vw, 58px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -1.5px;

    background:
        linear-gradient(
            100deg,
            #f5ead5 0%,
            #d6a84f 48%,
            #f0c970 75%,
            #b98532 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-text {
    max-width: 650px;

    margin: 0 auto;

    color: var(--text-soft);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   GENERATOR PANEL
========================================================= */

.generator-panel {
    position: relative;

    padding: 28px;

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(24,24,26,0.96),
            rgba(14,14,16,0.96)
        );

    border: 1px solid rgba(214,168,79,0.20);

    box-shadow:
        0 18px 50px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.035);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin-bottom: 24px;
}

.section-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(159,29,46,0.22),
            rgba(214,168,79,0.07)
        );

    border: 1px solid rgba(214,168,79,0.25);

    font-size: 21px;
}

.section-heading h2 {
    margin-bottom: 4px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 26px;

    font-weight: 600;

    background:
        linear-gradient(
            180deg,
            #FFF0B5 0%,
            #F4D78F 35%,
            #D89447 70%,
            #F8D98B 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-heading p {
    color: var(--text-muted);

    font-size: 13px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    display: flex;

    align-items: stretch;

    gap: 10px;

    margin-bottom: 23px;
}

.input-wrapper {
    flex: 1;

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 0 15px;

    background:
        rgba(5,5,6,0.72);

    border: 1px solid rgba(214,168,79,0.20);

    border-radius: var(--radius-sm);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.input-wrapper:focus-within {
    background: rgba(10,10,11,0.95);

    border-color:
        rgba(214,168,79,0.50);

    box-shadow:
        0 0 0 3px rgba(214,168,79,0.065),
        0 0 30px rgba(214,168,79,0.07);
}

.input-wrapper span {
    font-size: 16px;

    opacity: 0.75;
}

.search-box input {
    width: 100%;

    padding: 14px 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--text-main);

    font-size: 14px;
}

.search-box input::placeholder {
    color: #5e5b57;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.search-btn {
    min-width: 105px;

    padding: 0 22px;

    border: 1px solid #c99a3b;

    border-radius: var(--radius-sm);

    background:
        linear-gradient(
            135deg,
            #9f1d2e,
            #741421
        );

    color: #f7dbb0;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.search-btn:hover {
    transform: translateY(-2px);

    border-color:
        #e2b94f;

    box-shadow:
        var(--shadow-red),
        0 0 20px rgba(159,29,46,0.15);
}


/* =========================================================
   FILTERS
========================================================= */

.filters {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 10px;

    margin-bottom: 23px;
}

.filter-group {
    min-width: 0;

    text-align: left;
}

.filter-group label {
    display: block;

    margin-bottom: 7px;

    color: #f4d78f;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.25px;
}

.filters select {
    width: 100%;

    min-width: 0;

    padding: 12px 10px;

    border: 1px solid rgba(214,168,79,0.30);

    border-radius: 10px;

    outline: none;

    background: #0b0b0d;

    color: #d8c7a7;

    font-size: 13px;

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.35s ease;
}

.filters select:hover,
.filters select:focus {
    background: #101012;

    border-color:
        rgba(214,168,79,0.60);

    box-shadow:
        0 0 0 3px rgba(214,168,79,0.045);
}


/* =========================================================
   GENERATE BUTTON
========================================================= */

.generate-btn {
    position: relative;

    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    overflow: hidden;

    border: 1px solid #c99a3b;

    border-radius: 7px;

    background:
        linear-gradient(
            180deg,
            #7A0F1B 0%,
            #4E0710 50%,
            #6B0B16 100%
        );

    color: #fff2d6;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 0.2px;

    cursor: pointer;

    box-shadow:
        0 5px 14px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,220,130,0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.generate-btn::after {
    content: "";

    position: absolute;

    inset: 3px;

    border: 1px solid rgba(238,195,94,0.35);

    border-radius: 4px;

    pointer-events: none;
}

.generate-btn:hover {
    transform: translateY(-2px);

    border-color: #e2b94f;

    box-shadow:
        0 8px 22px rgba(0,0,0,0.50),
        0 0 18px rgba(201,154,59,0.20);
}

.generate-btn:active {
    transform: scale(0.985);
}

.generate-btn:disabled {
    opacity: 0.65;

    cursor: wait;

    transform: none;
}

.generate-btn span {
    position: relative;

    z-index: 2;
}


/* =========================================================
   RESULT CARD
========================================================= */

.result-card {
    margin-top: 24px;

    padding: 26px;

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(20,20,22,0.94),
            rgba(10,10,12,0.94)
        );

    border: 1px solid rgba(214,168,79,0.22);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.25);
}


/* =========================================================
   RESULT HEADER
========================================================= */

.result-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding-bottom: 14px;

    margin-bottom: 24px;

    border-bottom:
        1px solid rgba(214,168,79,0.18);
}

.result-label {
    color: #858079;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;
}

.result-status {
    color: var(--gold-light);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   SWORD RESULT
========================================================= */

.sword-result {
    display: flex;

    align-items: center;

    gap: 26px;

    text-align: left;
}


/* =========================================================
   SWORD VISUAL
========================================================= */

.sword-visual {
    position: relative;

    width: 230px;
    height: 230px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 21px;

    background:
        radial-gradient(
            circle at 50% 45%,
            #3a3a3c 0%,
            #2c2c2f 38%,
            #1d1d20 68%,
            #101012 100%
        );

    border:
        1px solid rgba(214,168,79,0.35);

    box-shadow:
        0 22px 50px rgba(0,0,0,0.48),
        inset 0 0 45px rgba(0,0,0,0.45);
}

.sword-placeholder {
    font-size: 82px;

    filter:
        drop-shadow(
            0 0 25px rgba(214,168,79,0.25)
        );
}


/* =========================================================
   SWORD INFO
========================================================= */

.sword-info {
    flex: 1;

    min-width: 0;

    align-self: flex-start;

    padding-top: 8px;
}

.name-label {
    margin-bottom: 7px;

    color: #77736d;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

#swordName {
    margin-bottom: 12px;

    background:
        linear-gradient(
            180deg,
            #FFF0B5 0%,
            #F4D78F 35%,
            #D89447 70%,
            #F8D98B 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(30px, 4vw, 43px);

    font-weight: 600;

    line-height: 1.08;
}

#swordDescription {
    color: #bbb7b0;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   SWORD META
========================================================= */

.sword-meta {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    margin: 25px 0;
}

.sword-meta span {
    padding: 8px 15px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.065),
            rgba(255,255,255,0.025)
        );

    border:
        1px solid rgba(214,168,79,0.18);

    color: #d9d4cc;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.action-buttons {
    display: flex;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;

    margin-top: 24px;
}

#copyBtn,
#favoriteBtn {
    min-height: 43px;

    padding: 0 19px;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 750;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

#copyBtn {
    background:
        rgba(255,255,255,0.055);

    border:
        1px solid rgba(214,168,79,0.22);

    color: #f7dbb0;
}

#copyBtn:hover {
    transform: translateY(-2px);

    background:
        rgba(255,255,255,0.085);

    border-color:
        rgba(214,168,79,0.45);
}

#favoriteBtn {
    background:
        linear-gradient(
            135deg,
            #8b1728,
            #b32135
        );

    border:
        1px solid rgba(214,168,79,0.25);

    color: rgb(243,221,182);

    box-shadow:
        0 8px 25px rgba(159,29,46,0.18);
}

#favoriteBtn:hover {
    transform: translateY(-2px);

    border-color:
        rgba(214,168,79,0.55);

    box-shadow:
        0 12px 30px rgba(159,29,46,0.28);
}


/* =========================================================
   HISTORY + FAVORITES
========================================================= */

.history-card,
.favorites-card {
    margin-top: 18px;

    padding: 21px;

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(20,20,22,0.92),
            rgba(12,12,14,0.92)
        );

    border:
        1px solid rgba(214,168,79,0.18);
}

.card-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 13px;
}

.card-heading > div {
    display: flex;

    align-items: center;

    gap: 9px;
}

.card-icon {
    font-size: 17px;

    color: var(--gold-light);
}

.card-heading h3 {
    background:
        linear-gradient(
            180deg,
            #FFF0B5 0%,
            #F4D78F 35%,
            #D89447 70%,
            #F8D98B 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    font-weight: 600;
}

.card-note {
    color: #6f6b65;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.5px;
}


/* =========================================================
   LISTS
========================================================= */

#historyList,
#favoriteList {
    list-style: none;

    padding: 0;
}

#historyList {
    max-height: 210px;

    overflow-y: auto;
}

#historyList li,
#favoriteList li {
    padding: 10px 11px;

    color: #aaa59e;

    border-bottom:
        1px solid rgba(214,168,79,0.10);

    font-size: 13px;
}

#historyList li:last-child,
#favoriteList li:last-child {
    border-bottom: none;
}

#historyList li:hover {
    color: var(--gold-light);

    background:
        rgba(214,168,79,0.035);
}

#favoriteList li {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}


/* =========================================================
   REMOVE FAVORITE
========================================================= */

.remove-favorite {
    padding: 5px 8px;

    border:
        1px solid rgba(199,43,62,0.20);

    border-radius: 7px;

    background:
        rgba(159,29,46,0.18);

    color: #d98b95;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.remove-favorite:hover {
    background:
        rgba(199,43,62,0.35);

    color: white;

    transform: scale(1.04);
}

/* =========================================================
   SCROLLBAR
========================================================= */

#historyList::-webkit-scrollbar {
    width: 5px;
}

#historyList::-webkit-scrollbar-track {
    background: #0b0b0c;

    border-radius: 10px;
}

#historyList::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            #8f1a2b,
            #c0273b
        );

    border-radius: 10px;
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    background:
        rgba(159,29,46,0.55);

    color: #fff;
}


/* =========================================================
   FOCUS
========================================================= */

button:focus-visible,
select:focus-visible,
input:focus-visible {
    outline:
        2px solid rgba(214,168,79,0.55);

    outline-offset: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    body {
        padding: 25px 15px;
    }

    .container {
        padding: 32px;
    }

    .filters {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .sword-visual {
        width: 210px;
        height: 210px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    body {
        padding: 12px 8px;
    }

    .container {
        padding: 24px 14px;

        border-radius: 19px;
    }

    .hero {
        padding:
            0 5px 25px;
    }

    .dragon-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 15px;

        font-size: 29px;

        border-radius: 17px;
    }

    .eyebrow {
        font-size: 9px;

        letter-spacing: 2.5px;
    }

    h1 {
        font-size: 34px;

        letter-spacing: -0.8px;
    }

    .hero-text {
        font-size: 14px;

        line-height: 1.65;
    }

    .generator-panel {
        padding: 20px 14px;
    }

    .section-heading {
        justify-content: flex-start;

        text-align: left;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .section-heading p {
        font-size: 12px;
    }

    .search-box {
        flex-direction: column;
    }

    .input-wrapper {
        width: 100%;
    }

    .search-btn {
        width: 100%;

        min-height: 45px;

        padding: 0;
    }

    .filters {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .filters select {
        padding: 13px 11px;
    }

    .generate-btn {
        min-height: 52px;

        font-size: 16px;
    }

    .result-card {
        padding: 21px 14px;
    }

    .result-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }

    .sword-result {
        flex-direction: column;

        text-align: center;
    }

    .sword-visual {
        width: 100%;

        max-width: 340px;

        height: 280px;
    }

    #swordName {
        font-size: 31px;
    }

    #swordDescription {
        font-size: 13px;

        line-height: 1.7;
    }

    .sword-meta {
        gap: 7px;
    }

    .action-buttons {
        flex-direction: column;
    }

    #copyBtn,
    #favoriteBtn {
        width: 100%;
    }

    .history-card,
    .favorites-card {
        padding: 18px 14px;
    }

    .card-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .container {
        padding: 20px 11px;
    }

    h1 {
        font-size: 29px;
    }

    .hero-text {
        font-size: 13px;
    }

    .sword-visual {
        height: 260px;
    }

    #swordName {
        font-size: 27px;
    }
}
/* =========================================================
   SWORD IMAGE FIT FIX
========================================================= */

.sword-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sword-visual img {
    width: 100%;
    height: 110%;
    object-fit: contain;
    object-position: center;
    display: block;
}
/* =========================================================
   BATCH SWORD RESULTS
========================================================= */

.batch-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.batch-sword-card {
    padding: 18px;
    border: 1px solid rgba(255, 214, 126, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.batch-sword-card h3 {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 18px;
}

.batch-sword-card p {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.batch-sword-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.batch-sword-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 214, 126, 0.10);
    color: var(--text-soft);
    font-size: 12px;
}
@media (max-width: 600px) {

    .batch-results {
        grid-template-columns: 1fr;
    }

}
.batch-sword-image {
    width: 100%;
    height: 190px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin-bottom: 14px;
}
.batch-view-btn {
    margin-top: 12px;
    padding: 9px 16px;

    border: 1px solid rgba(214, 168, 79, 0.45);
    border-radius: 8px;

    background: rgba(214, 168, 79, 0.08);
    color: #e6c65c;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.batch-view-btn:hover {
    background: rgba(214, 168, 79, 0.18);
    border-color: #e6c65c;
    transform: translateY(-2px);
}
.batch-favorite-btn {
    margin-top: 12px;
    margin-left: 8px;
    padding: 9px 16px;

    border: 1px solid rgba(159, 29, 46, 0.45);
    border-radius: 8px;

    background: rgba(159, 29, 46, 0.08);
    color: #d6a84f;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.batch-favorite-btn:hover {
    background: rgba(159, 29, 46, 0.18);
    border-color: #d6a84f;
    transform: translateY(-2px);
}
@media (max-width: 768px) {

    .sword-result {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sword-result img {
        width: 220px;
        height: 260px;
        margin: 0 auto;
    }

    .batch-results {
        grid-template-columns: 1fr;
    }

    .batch-sword-card {
        width: 100%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 15px;
    }

}
#favoriteBtn:active {
    transform: translateY(1px) scale(0.97);

    box-shadow:
        0 3px 10px rgba(159, 29, 46, 0.28);

    border-color: #e2b94f;

    background:
        linear-gradient(
            135deg,
            #741421,
            #951b2d
        );
}

/* =========================================================
   SEO CONTENT
========================================================= */

.seo-content {
    margin-top: 24px;
    padding: 32px;

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(20,20,22,0.92),
            rgba(11,11,13,0.94)
        );

    border: 1px solid rgba(214,168,79,0.18);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.025);
}


/* Main SEO Headings */

.seo-content h2 {
    margin: 0 0 10px;

    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    font-weight: 600;

    line-height: 1.3;
}

.seo-content h2:not(:first-child) {
    margin-top: 28px;
}


/* Smaller SEO Headings */

.seo-content h3 {
    margin: 24px 0 7px;

    color: #e4c77f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    font-weight: 600;

    line-height: 1.4;
}


/* SEO Paragraphs */

.seo-content p {
    margin: 0;

    max-width: 850px;

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.8;
}


/* First Heading Highlight */

.seo-content h2:first-child {
    padding-bottom: 12px;

    border-bottom:
        1px solid rgba(214,168,79,0.14);

    background:
        linear-gradient(
            180deg,
            #fff0b5 0%,
            #f4d78f 45%,
            #d89447 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Mobile */

@media (max-width: 600px) {

    .seo-content {
        padding: 22px 17px;
    }

    .seo-content h2 {
        font-size: 21px;
    }

    .seo-content h3 {
        font-size: 17px;
    }

    .seo-content p {
        font-size: 13px;
        line-height: 1.7;
    }

}

/* =========================================================
   SEO CONTENT SECTION
========================================================= */

.seo-content {
    margin-top: 30px;
    padding: 34px;
    border: 1px solid rgba(214, 168, 79, 0.22);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(18, 18, 20, 0.96),
            rgba(9, 9, 10, 0.98)
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}


/* =========================================================
   SEO HEADER
========================================================= */

.seo-content-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 30px;
}

.seo-content-header h2 {
    margin-bottom: 13px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;

    background:
        linear-gradient(
            180deg,
            #fff0b5 0%,
            #f4d78f 35%,
            #d89447 70%,
            #f8d98b 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-content-header p {
    color: var(--text-soft);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   SEO CONTENT GRID
========================================================= */

.seo-content-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin: 14px 0;
}


/* =========================================================
   SEO CARDS
========================================================= */

.seo-content-card {
    position: relative;

    display: flex;
    align-items: center;

    gap: 22px;

    min-width: 0;

    padding: 24px;

    border: 1px solid rgba(214, 168, 79, 0.20);

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(24, 24, 26, 0.95),
            rgba(12, 12, 14, 0.96)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.035),
        0 15px 35px rgba(0,0,0,0.22);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Featured cards */

.seo-content-featured {
    width: 100%;
}


/* Hover */

.seo-content-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(214, 168, 79, 0.42);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.045),
        0 20px 45px rgba(0,0,0,0.32),
        0 0 25px rgba(214,168,79,0.045);
}


/* =========================================================
   SEO ICON
========================================================= */

.seo-content-icon {
    width: 120px;
    height: 120px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(214,168,79,0.12),
            rgba(5,5,6,0.95) 68%
        );

    border:
        1px solid rgba(214,168,79,0.38);

    box-shadow:
        0 0 0 5px rgba(214,168,79,0.025),
        0 12px 30px rgba(0,0,0,0.45),
        inset 0 0 25px rgba(214,168,79,0.06);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.seo-content-card:hover .seo-content-icon {
    transform: scale(1.035);

    border-color:
        rgba(214,168,79,0.60);
}

.seo-content-icon img {
    width: 82%;
    height: 82%;

    object-fit: contain;

    display: block;

    filter:
        drop-shadow(
            0 0 12px rgba(214,168,79,0.18)
        );
}


/* =========================================================
   SEO TEXT
========================================================= */

.seo-content-text {
    flex: 1;
    min-width: 0;
}

.seo-content-text h2,
.seo-content-text h3 {
    margin-bottom: 10px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 600;

    line-height: 1.2;

    background:
        linear-gradient(
            180deg,
            #fff0b5 0%,
            #f4d78f 38%,
            #d89447 72%,
            #f8d98b 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-content-text h2 {
    font-size: 27px;
}

.seo-content-text h3 {
    font-size: 23px;
}

.seo-content-text p {
    margin: 0;

    color: #c4bfb7;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   FEATURED CARD LAYOUT
========================================================= */

.seo-content-featured {
    padding: 27px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .seo-content {
        padding: 24px 16px;
    }

    .seo-content-grid {
        grid-template-columns: 1fr;
    }

    .seo-content-card {
        padding: 21px;

        gap: 18px;
    }

    .seo-content-icon {
        width: 95px;
        height: 95px;
    }

    .seo-content-text h2 {
        font-size: 24px;
    }

    .seo-content-text h3 {
        font-size: 21px;
    }

    .seo-content-text p {
        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .seo-content {
        padding: 21px 13px;
    }

    .seo-content-header {
        margin-bottom: 23px;
    }

    .seo-content-header h2 {
        font-size: 29px;
    }

    .seo-content-header p {
        font-size: 13px;
        line-height: 1.7;
    }

    .seo-content-card,
    .seo-content-featured {
        flex-direction: column;

        align-items: center;

        text-align: center;

        padding: 22px 17px;
    }

    .seo-content-icon {
        width: 105px;
        height: 105px;
    }

    .seo-content-text h2 {
        font-size: 23px;
    }

    .seo-content-text h3 {
        font-size: 20px;
    }

    .seo-content-text p {
        font-size: 13px;
        line-height: 1.7;
    }
}




/* =========================================
   SWORD GENERATOR BACKGROUND IMAGE
========================================= */

body {
    background-image:
        linear-gradient(
            rgba(8, 5, 6, 0.55),
            rgba(8, 5, 6, 0.55)
        ),
        url("./images/sword-background.webp.webp");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* =========================================================
   HEADER POSITION FIX
========================================================= */

html,
body {
    margin: 0;
    padding: 0;
}

.vt-site-header {
    position: relative;
    top: 0;
    margin: 0;
    width: 100%;
    z-index: 1000;
}

.vt-header-container {
    margin-top: 0;
}

/* Header ko page ke top se start karna */
body {
    overflow-x: hidden;
}
/* =========================================================
   SWORD TOOL — MAIN SITE FOOTER
   KEEP THIS AT THE VERY END OF style.css
========================================================= */

.about-footer {
    width: 100% !important;
    margin: 55px 0 0 !important;

    padding:
        52px max(28px, calc((100% - 1180px) / 2))
        24px !important;

    display: grid !important;

    grid-template-columns:
        minmax(270px, 1.4fr)
        0.7fr
        1fr
        1fr !important;

    gap: 42px !important;

    position: relative !important;
    clear: both !important;

    background:
        linear-gradient(
            180deg,
            #0b0906 0%,
            #060504 100%
        ) !important;

    border-top:
        1px solid rgba(216, 170, 69, 0.25) !important;

    color: #a99c89 !important;

    font-family:
        Inter,
        Arial,
        sans-serif !important;

    text-align: left !important;
}


/* =========================
   BRAND AREA
========================= */

.about-footer .footer-brand {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    background: none !important;
    border: 0 !important;

    text-align: left !important;
}


.about-footer .footer-brand-logo {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: flex-start !important;

    gap: 13px !important;

    width: auto !important;

    margin: 0 0 18px !important;
    padding: 0 !important;

    position: static !important;

    color: inherit !important;

    text-decoration: none !important;

    transform: none !important;
}


.about-footer .footer-logo-image {
    display: block !important;

    width: 50px !important;
    height: 50px !important;

    flex: 0 0 50px !important;

    margin: 0 !important;

    object-fit: contain !important;
}


.about-footer .footer-logo-text {
    display: flex !important;

    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 4px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    line-height: 1 !important;
}


.about-footer .footer-logo-main {
    display: block !important;

    margin: 0 !important;

    color: #e0b24b !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    letter-spacing: 0.06em !important;

    text-decoration: none !important;
}


.about-footer .footer-logo-sub {
    display: block !important;

    margin: 0 !important;

    color: #968a78 !important;

    font-size: 8px !important;
    font-weight: 800 !important;

    line-height: 1.2 !important;

    letter-spacing: 0.22em !important;

    text-decoration: none !important;
}


.about-footer .footer-brand > p {
    display: block !important;

    width: 100% !important;
    max-width: 355px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    color: #918675 !important;

    font-size: 12px !important;

    line-height: 1.8 !important;

    text-align: left !important;
}


/* =========================
   FOOTER COLUMNS
========================= */

.about-footer .footer-column {
    display: flex !important;

    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 9px !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    background: none !important;
    border: 0 !important;

    text-align: left !important;
}


.about-footer .footer-column h3 {
    display: block !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    color: #d8aa45 !important;

    font-family:
        Inter,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    font-weight: 800 !important;

    line-height: 1.3 !important;

    letter-spacing: 0.15em !important;

    text-transform: uppercase !important;
}


.about-footer .footer-column a {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #978b7a !important;

    font-size: 12px !important;
    font-weight: 400 !important;

    line-height: 1.6 !important;

    text-decoration: none !important;

    background: none !important;
    border: 0 !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease !important;
}


.about-footer .footer-column a:visited {
    color: #978b7a !important;
}


.about-footer .footer-column a:hover {
    color: #f0d286 !important;

    transform: translateX(4px) !important;
}


.about-footer .footer-column p {
    display: block !important;

    max-width: 230px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #8d8272 !important;

    font-size: 12px !important;

    line-height: 1.75 !important;

    text-align: left !important;
}


/* =========================
   FOOTER BOTTOM
========================= */

.about-footer .footer-bottom {
    grid-column: 1 / -1 !important;

    width: 100% !important;

    margin: 10px 0 0 !important;
    padding: 20px 0 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 20px !important;

    position: static !important;

    border-top:
        1px solid rgba(216, 170, 69, 0.11) !important;

    color: #71685d !important;

    font-size: 10px !important;

    text-align: left !important;
}


.about-footer .footer-bottom span {
    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;

    font-size: inherit !important;

    line-height: 1.5 !important;

    letter-spacing: 0 !important;

    text-transform: none !important;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .about-footer {
        grid-template-columns:
            1fr 1fr !important;

        gap: 35px !important;

        padding:
            44px 28px
            22px !important;
    }

    .about-footer .footer-brand {
        grid-column:
            1 / -1 !important;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 560px) {

    .about-footer {
        grid-template-columns:
            1fr !important;

        gap: 29px !important;

        padding:
            38px 22px
            22px !important;
    }

    .about-footer .footer-brand {
        grid-column: auto !important;
    }

    .about-footer .footer-logo-image {
        width: 44px !important;
        height: 44px !important;

        flex-basis: 44px !important;
    }

    .about-footer .footer-brand > p,
    .about-footer .footer-column p {
        max-width: 100% !important;
    }

    .about-footer .footer-bottom {
        flex-direction: column !important;

        align-items: flex-start !important;

        gap: 6px !important;
    }

}