/* =========================================================
   VALYRIAN TOOLS — HEADER
   ========================================================= */

.vt-site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    border-bottom: 1px solid rgba(212, 175, 55, .18);

    background:
        linear-gradient(
            180deg,
            rgba(5, 6, 8, .98),
            rgba(7, 9, 12, .96)
        );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.vt-header-container {
    width: min(1180px, calc(100% - 48px));
    min-height: 82px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 35px;
}


/* =========================================================
   LOGO
   ========================================================= */

.vt-logo {
    display: flex;
    flex-direction: column;

    min-width: 150px;

    text-decoration: none !important;

    line-height: 1;
}

.vt-logo-main {
    color: #f5f1e8;

    font-family: "Cinzel", Georgia, serif;

    font-size: 20px;
    font-weight: 600;

    letter-spacing: 2px;
}

.vt-logo-sub {
    margin-top: 5px;

    color: #d4af37;

    font-family: "Cinzel", Georgia, serif;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 4px;
}


/* =========================================================
   DESKTOP NAV
   ========================================================= */

.vt-main-nav {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-left: auto;
}

.vt-nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 0 13px;

    border: 0;

    background: transparent;

    color: #aaa59a !important;

    font-family: "Cinzel", Georgia, serif;

    font-size: 13px;
font-weight: 700;
letter-spacing: 1.2px;

    letter-spacing: 1px;

    text-decoration: none !important;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color .25s ease,
        transform .25s ease;
}

.vt-nav-link::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 4px;

    height: 1px;

    background: #d4af37;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .25s ease;
}

.vt-nav-link:hover {
    color: #e7ca70 !important;

    transform: translateY(-1px);
}

.vt-nav-link:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.vt-nav-dropdown {
    position: relative;
}

.vt-dropdown-toggle {
    gap: 7px;
}

.vt-dropdown-arrow {
    color: #d4af37;

    font-size: 13px;

    transition: transform .25s ease;
}

.vt-nav-dropdown:hover .vt-dropdown-arrow {
    transform: rotate(180deg);
}

.vt-dropdown-menu {
    position: absolute;

    top: calc(100% + 12px);
    left: 50%;

    width: 220px;

    padding: 8px;

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, -8px);

    border: 1px solid rgba(212, 175, 55, .25);

    border-radius: 4px;

    background:
        linear-gradient(
            180deg,
            #11151a,
            #080b0f
        );

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .55),
        0 0 25px rgba(212, 175, 55, .06);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.vt-nav-dropdown:hover .vt-dropdown-menu,
.vt-nav-dropdown:focus-within .vt-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0);
}

.vt-dropdown-menu a {
    display: block;

    padding: 13px 14px;

    border-left: 1px solid transparent;

    color: #aaa59a !important;

    font-family: "Cormorant Garamond", Georgia, serif;

    font-size: 15px;

    text-decoration: none !important;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        padding-left .25s ease;
}

.vt-dropdown-menu a:hover {
    padding-left: 18px;

    border-left-color: #d4af37;

    background: rgba(212, 175, 55, .06);

    color: #e7ca70 !important;
}


/* =========================================================
   HEADER CTA
   ========================================================= */

.vt-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 17px;

    border: 1px solid rgba(212, 175, 55, .75);
    border-radius: 3px;

    background: transparent;

    color: #e7ca70 !important;

    font-family: "Cinzel", Georgia, serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.2px;

    text-decoration: none !important;
    text-transform: uppercase;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.vt-header-cta:hover {
    transform: translateY(-2px);

    background: #d4af37;

    color: #050505 !important;

    box-shadow:
        0 8px 22px rgba(212, 175, 55, .16);
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.vt-mobile-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border: 1px solid rgba(212, 175, 55, .25);

    background: transparent;

    cursor: pointer;
}

.vt-mobile-toggle span {
    display: block;

    width: 100%;
    height: 1px;

    margin: 5px 0;

    background: #d4af37;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.vt-mobile-menu {
    display: none;

    padding: 10px 20px 24px;

    border-top: 1px solid rgba(212, 175, 55, .10);

    background: #080b0f;
}

.vt-mobile-menu > a,
.vt-mobile-tools-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 4px;

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);

    background: transparent;

    color: #aaa59a !important;

    font-family: "Cinzel", Georgia, serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1px;

    text-decoration: none !important;
    text-transform: uppercase;

    cursor: pointer;
}

.vt-mobile-menu > a:hover,
.vt-mobile-tools-toggle:hover {
    color: #e7ca70 !important;
}

.vt-mobile-tools-list {
    display: none;

    padding: 5px 0 8px 14px;
}

.vt-mobile-tools-list.is-open {
    display: block;
}

.vt-mobile-tools-list a {
    display: block;

    padding: 10px 4px;

    color: #8f8b84 !important;

    font-size: 14px;

    text-decoration: none !important;

    transition:
        color .2s ease,
        padding-left .2s ease;
}

.vt-mobile-tools-list a:hover {
    padding-left: 9px;

    color: #d4af37 !important;
}

.vt-mobile-cta {
    margin-top: 14px;

    justify-content: center !important;

    border: 1px solid #d4af37 !important;

    color: #e7ca70 !important;
}


/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .vt-header-container {
        width: calc(100% - 28px);

        min-height: 72px;

        gap: 15px;
    }

    .vt-main-nav,
    .vt-header-cta {
        display: none;
    }

    .vt-logo {
        margin-right: auto;
    }

    .vt-mobile-toggle {
        display: block;
    }

    .vt-mobile-menu.is-open {
        display: block;
    }

}


/* =========================================================
   MOBILE TOGGLE ACTIVE
   ========================================================= */

.vt-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.vt-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.vt-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vt-site-header *,
    .vt-site-header *::before,
    .vt-site-header *::after {
        transition: none !important;
    }

}
/* =========================================
   FINAL HEADER DESKTOP ALIGNMENT
========================================= */

.vt-header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
}

/* Logo — LEFT */
.vt-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

/* Navigation — EXACT CENTER */
.vt-main-nav {
    grid-column: 2;
    grid-row: 1;

    position: static;
    transform: none;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;

    white-space: nowrap;
}

/* Explore Tools — RIGHT */
.vt-header-cta {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;

    position: static;
}

/* Mobile button stays out of desktop layout */
.vt-mobile-toggle {
    grid-column: 3;
    grid-row: 1;
}
/* =========================================================
   FINAL MOBILE HEADER FIX
   ========================================================= */

@media (max-width: 850px) {

    /* Header full mobile width */
    .vt-site-header {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    /* Mobile header row */
    .vt-header-container {
        width: 100% !important;
        max-width: 100% !important;

        min-height: 72px;

        padding: 0 16px;
        margin: 0;

        display: flex !important;
        align-items: center;
        justify-content: space-between;

        gap: 10px;

        box-sizing: border-box;
    }


    /* Logo */
    .vt-logo {
        min-width: 0 !important;
        width: auto;

        margin: 0 !important;

        flex-shrink: 1;
    }

    .vt-logo-main {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .vt-logo-sub {
        font-size: 8px;
        letter-spacing: 3px;
        margin-top: 4px;
    }


    /* Desktop navigation MUST disappear */
    .vt-main-nav {
        display: none !important;
    }


    /* Desktop CTA MUST disappear */
    .vt-header-cta {
        display: none !important;
    }


    /* Hamburger MUST appear */
    .vt-mobile-toggle {
        display: flex !important;

        width: 42px;
        height: 42px;

        flex: 0 0 42px;

        padding: 8px;

        margin-left: auto;

        align-items: center;
        justify-content: center;
        flex-direction: column;

        box-sizing: border-box;
    }


    .vt-mobile-toggle span {
        display: block;

        width: 22px;
        height: 1px;

        margin: 4px 0;

        background: #d4af37;
    }


    /* Mobile menu */
    .vt-mobile-menu {
        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box;

        overflow: hidden;
    }


    .vt-mobile-menu.is-open {
        display: block !important;
    }


    /* Mobile links */
    .vt-mobile-menu > a,
    .vt-mobile-tools-toggle {
        box-sizing: border-box;

        width: 100%;

        padding-left: 4px;
        padding-right: 4px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .vt-header-container {
        min-height: 68px;

        padding: 0 14px;
    }

    .vt-logo-main {
        font-size: 17px;
    }

    .vt-logo-sub {
        font-size: 7px;
        letter-spacing: 2.5px;
    }

    .vt-mobile-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

}
/* =========================================================
   VALYRIA DRAGON CURSOR — ALL PAGES
========================================================= */

@media (min-width: 851px) {

    html,
    body {
        cursor: url("/assets/images/dragon-cursor.svg.svg") 3 2, auto !important;
    }

    a,
    button,
    input,
    textarea,
    select,
    [role="button"] {
        cursor: url("/assets/images/dragon-cursor.svg.svg") 3 2, pointer !important;
    }

}
/* =========================================================
   VALYRIA — PREMIUM GOLDEN CURSOR TRAIL
========================================================= */

.valyria-cursor-particle {
    position: fixed;

    width: 5px;
    height: 5px;

    pointer-events: none;

    z-index: 999999;

    border-radius: 50%;

    background: #d4af37;

    box-shadow:
        0 0 5px rgba(212, 175, 55, 0.95),
        0 0 12px rgba(212, 175, 55, 0.55),
        0 0 20px rgba(212, 175, 55, 0.20);

    transform:
        translate(-50%, -50%)
        scale(1);

    opacity: 0.9;

    animation:
        valyria-cursor-fade
        550ms
        cubic-bezier(.22, .61, .36, 1)
        forwards;
}


@keyframes valyria-cursor-fade {

    0% {
        opacity: 0.9;

        transform:
            translate(-50%, -50%)
            scale(1);
    }

    35% {
        opacity: 0.65;

        transform:
            translate(-50%, -50%)
            scale(0.75);
    }

    100% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(0.15);
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .valyria-cursor-particle {
        display: none !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .valyria-cursor-particle {
        display: none !important;
    }

}
/* =========================================================
   HEADER LAYOUT FIX
========================================================= */

@media (min-width: 701px) {

    .vt-header-container {
        display: grid !important;

        grid-template-columns: 1fr auto 1fr !important;

        align-items: center !important;

        width: 100% !important;
    }


    /* LOGO — LEFT */

    .vt-logo {
        grid-column: 1 !important;
        justify-self: start !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 12px !important;

        margin: 0 !important;
        padding: 0 !important;

        height: auto !important;

        text-decoration: none !important;
    }


    /* BIGGER LOGO */

    .vt-logo-image {
        width: 52px !important;
        height: 52px !important;

        min-width: 52px !important;

        object-fit: contain !important;
        display: block !important;

        filter:
            brightness(1.18)
            contrast(1.08)
            saturate(1.1)
            drop-shadow(0 0 8px rgba(201,162,39,.22)) !important;

        transition:
            transform .4s ease,
            filter .4s ease !important;
    }


    /* LOGO TEXT */

    .vt-logo-text {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        line-height: 1 !important;
    }


    .vt-logo-main {
        display: block !important;

        font-size: 23px !important;
        line-height: 1 !important;

        letter-spacing: 3px !important;
        white-space: nowrap !important;
    }


    .vt-logo-sub {
        display: block !important;

        margin-top: 5px !important;

        font-size: 7px !important;
        line-height: 1 !important;

        letter-spacing: 2.8px !important;
        white-space: nowrap !important;
    }


    /* NAVIGATION — PERFECT CENTER */

    .vt-main-nav {
        grid-column: 2 !important;
        justify-self: center !important;

        display: flex !important;
        align-items: center !important;

        margin: 0 !important;
    }


    /* CTA — RIGHT */

    .vt-header-cta {
        grid-column: 3 !important;
        justify-self: end !important;

        margin: 0 !important;
    }


    /* LOGO HOVER */

    .vt-logo:hover .vt-logo-image {
        transform: scale(1.08) !important;

        filter:
            brightness(1.32)
            contrast(1.1)
            saturate(1.15)
            drop-shadow(0 0 15px rgba(201,162,39,.35)) !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .vt-logo {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 8px !important;
    }

    .vt-logo-image {
        width: 42px !important;
        height: 42px !important;
    }

    .vt-logo-main {
        font-size: 18px !important;
        letter-spacing: 2px !important;
    }

    .vt-logo-sub {
        font-size: 6px !important;
        letter-spacing: 2px !important;
    }

}
/* Move Explore Tools slightly left */
.vt-header-cta {
    transform: translateX(-20px) !important;
}
/* =========================================================
   PREMIUM FANTASY HEADER
========================================================= */

.vt-site-header {
    background:
        linear-gradient(
            180deg,
            #111214 0%,
            #090a0c 55%,
            #060708 100%
        ) !important;

    border-bottom: 1px solid rgba(201, 162, 39, 0.32) !important;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.55),
        0 1px 0 rgba(201, 162, 39, 0.08) !important;

    position: relative !important;
    z-index: 1000 !important;
}


/* subtle gold light at bottom */

.vt-site-header::after {
    content: "" !important;

    position: absolute !important;
    left: 12% !important;
    right: 12% !important;
    bottom: -1px !important;

    height: 1px !important;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(201,162,39,.65),
        transparent
    ) !important;

    opacity: .65 !important;

    pointer-events: none !important;
}


/* =========================================================
   NAVIGATION
========================================================= */

.vt-nav-link {
    position: relative !important;

    transition:
        color .35s ease,
        transform .35s ease !important;
}

.vt-nav-link:hover {
    color: #c9a227 !important;

    transform: translateY(-1px) !important;
}


/* elegant gold underline */

.vt-nav-link::after {
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    bottom: -8px !important;

    width: 0 !important;
    height: 1px !important;

    background: #c9a227 !important;

    box-shadow: 0 0 8px rgba(201,162,39,.55) !important;

    transform: translateX(-50%) !important;

    transition: width .35s ease !important;
}

.vt-nav-link:hover::after {
    width: 55% !important;
}


/* =========================================================
   EXPLORE TOOLS BUTTON
========================================================= */

.vt-header-cta {
    position: relative !important;

    border: 1px solid rgba(201,162,39,.7) !important;

    background:
        linear-gradient(
            135deg,
            rgba(201,162,39,.08),
            rgba(201,162,39,.02)
        ) !important;

    color: #e2bd42 !important;

    box-shadow:
        inset 0 0 15px rgba(201,162,39,.035),
        0 0 0 rgba(201,0,0,0) !important;

    transition:
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        color .35s ease,
        transform .35s ease !important;
}


/* keep your left movement */

.vt-header-cta {
    transform: translateX(-20px) !important;
}

.vt-header-cta:hover {
    color: #fff7d1 !important;

    border-color: #d8ad27 !important;

    background:
        linear-gradient(
            135deg,
            rgba(201,162,39,.18),
            rgba(201,162,39,.06)
        ) !important;

    box-shadow:
        0 0 18px rgba(201,162,39,.16),
        inset 0 0 14px rgba(201,162,39,.06) !important;

    transform: translateX(-20px) translateY(-2px) !important;
}


/* =========================================================
   LOGO PREMIUM GLOW
========================================================= */

.vt-logo-image {
    filter:
        brightness(1.18)
        contrast(1.08)
        saturate(1.12)
        drop-shadow(0 0 7px rgba(201,162,39,.18)) !important;

    transition:
        transform .4s ease,
        filter .4s ease !important;
}

.vt-logo:hover .vt-logo-image {
    filter:
        brightness(1.3)
        contrast(1.1)
        saturate(1.15)
        drop-shadow(0 0 15px rgba(201,162,39,.38)) !important;

    transform: scale(1.06) !important;
}


/* =========================================================
   DROPDOWN PREMIUM
========================================================= */

.vt-dropdown-menu {
    background:
        linear-gradient(
            145deg,
            #141416,
            #08090a
        ) !important;

    border: 1px solid rgba(201,162,39,.28) !important;

    box-shadow:
        0 18px 40px rgba(0,0,0,.65),
        0 0 20px rgba(201,162,39,.05) !important;
}

.vt-dropdown-menu a {
    transition:
        background .3s ease,
        color .3s ease,
        padding-left .3s ease !important;
}

.vt-dropdown-menu a:hover {
    color: #d6ad2b !important;

    background: rgba(201,162,39,.07) !important;

    padding-left: 22px !important;
}
/* =========================================================
   GOLDEN PREMIUM NAVIGATION GLOW
========================================================= */

.vt-main-nav .vt-nav-link {
    color: #d8d3c7 !important;

    text-shadow:
        0 0 0 rgba(201,162,39,0);

    transition:
        color .35s ease,
        text-shadow .35s ease,
        transform .35s ease !important;
}


/* GOLDEN HOVER */

.vt-main-nav .vt-nav-link:hover {
    color: #e6bd3b !important;

    text-shadow:
        0 0 6px rgba(201,162,39,.65),
        0 0 14px rgba(201,162,39,.32),
        0 0 24px rgba(201,162,39,.14) !important;

    transform: translateY(-1px) !important;
}


/* GOLDEN UNDERLINE */

.vt-main-nav .vt-nav-link::after {
    background: linear-gradient(
        90deg,
        transparent,
        #c9a227,
        #f0ca4b,
        #c9a227,
        transparent
    ) !important;

    box-shadow:
        0 0 6px rgba(201,162,39,.7),
        0 0 14px rgba(201,162,39,.35) !important;
}


/* ACTIVE / CURRENT LINK */

.vt-main-nav .vt-nav-link.active,
.vt-main-nav .vt-nav-link[aria-current="page"] {
    color: #e6bd3b !important;

    text-shadow:
        0 0 7px rgba(201,162,39,.65),
        0 0 16px rgba(201,162,39,.28) !important;
}


/* TOOLS ARROW */

.vt-dropdown-arrow {
    color: #c9a227 !important;

    text-shadow:
        0 0 7px rgba(201,162,39,.6) !important;

    transition:
        transform .3s ease,
        text-shadow .3s ease !important;
}

.vt-nav-dropdown:hover .vt-dropdown-arrow {
    text-shadow:
        0 0 10px rgba(201,162,39,.9),
        0 0 18px rgba(201,162,39,.4) !important;
}
/* Dragon logo ko text ke qareeb / right move kare */
.vt-logo-image {
    position: relative;
    left: 10px;
}

/* Logo aur text ke darmiyan gap kam kare */
.vt-logo {
    gap: 8px;
}