/* =========================================================
   MYTHRA CRAFT — TRANSPARAN İKİ KATMANLI HEADER
   ========================================================= */

:root {
    --mythra-header-space: 214px;
    --mythra-header-glass: rgba(8, 8, 12, 0.76);
    --mythra-header-glass-hover: rgba(17, 14, 28, 0.92);
    --mythra-header-border: rgba(192, 132, 252, 0.24);
    --mythra-header-shadow: 0 14px 40px rgba(0, 0, 0, 0.26);
}

/* Eski duyuru ve eski masaüstü header korunur ancak gösterilmez. */
.broadcast,
#header {
    display: none !important;
}

/* Yeni header sayfanın başında kalır, sticky/fixed değildir. */
/*
 * Normal sayfalarda header gerçek yer kaplar.
 * Böylece sayfa başlıklarının ve formların üzerine binmez.
 */
#mythra-header {
    position: relative;
    top: auto;
    left: auto;
    z-index: 80;
    width: 100%;
    background: transparent;
    pointer-events: none;
}

/*
 * Yalnızca ana sayfada hero görselinin üzerine bindirilir.
 * Hero arka planı transparan header'ın arkasından görünür.
 */
body:has(#__heroSection) #mythra-header {
    position: absolute;
    top: 0;
    left: 0;
}
/* Header içindeki tıklanabilir alanları tekrar aktif eder. */
#mythra-header a,
#mythra-header button,
#mythra-header nav {
    pointer-events: auto;
}

.mythra-header-wrapper {
    padding-top: 24px;
}

/* Üst sıra */
.mythra-header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 96px;
    gap: 32px;
}

.mythra-header-card {
    width: min(100%, 315px);
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border: 1px solid var(--mythra-header-border);
    border-radius: 18px;
    color: white;
    background: var(--mythra-header-glass);
    box-shadow: var(--mythra-header-shadow);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.mythra-header-card:hover {
    transform: translateY(-3px);
    background: var(--mythra-header-glass-hover);
    border-color: rgba(192, 132, 252, 0.48);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(168, 85, 247, 0.13);
}

.mythra-server-card {
    justify-self: start;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.mythra-discord-card {
    justify-self: end;
}

.mythra-header-card-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 17px;
}

.mythra-play-icon {
    color: rgb(216 180 254);
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(192, 132, 252, 0.20);
}

.mythra-discord-icon {
    color: white;
    background: linear-gradient(135deg, #5865f2, #7c3aed);
    box-shadow: 0 8px 22px rgba(88, 101, 242, 0.26);
}

.mythra-header-card-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mythra-header-card-content strong {
    overflow: hidden;
    color: white;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mythra-header-card-content small {
    margin-top: 5px;
    color: rgb(216 180 254);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.mythra-discord-card .mythra-header-card-content small {
    color: rgba(255, 255, 255, 0.60);
}

.mythra-copy-indicator,
.mythra-external-indicator {
    margin-left: auto;
    padding-left: 8px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

/* Ortadaki logo */
.mythra-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 96px;
}

.mythra-header-logo img {
    display: block;
    width: auto;
    max-width: 112px;
    max-height: 88px;
    object-fit: contain;
    filter:
        drop-shadow(0 12px 22px rgba(0, 0, 0, 0.36))
        drop-shadow(0 0 16px rgba(168, 85, 247, 0.20));
    animation: mythraHeaderLogoFloat 4.5s ease-in-out infinite;
}

/* Alt menü kapsülü */
.mythra-navigation-bar {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 66px;
    margin-top: 10px;
    padding: 7px 9px;
    border: 1px solid var(--mythra-header-border);
    border-radius: 21px;
    background: var(--mythra-header-glass);
    box-shadow: var(--mythra-header-shadow);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.mythra-navigation {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mythra-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 17px;
    border: 0;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.67);
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color 170ms ease,
        background-color 170ms ease,
        transform 170ms ease,
        box-shadow 170ms ease;
}

.mythra-nav-item:hover {
    color: white;
    background: rgba(168, 85, 247, 0.12);
    transform: translateY(-1px);
}

.mythra-nav-item.active {
    color: white;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 8px 22px rgba(147, 51, 234, 0.28);
}

.mythra-dropdown {
    position: relative;
}

.mythra-dropdown-arrow {
    font-size: 9px;
    transition: transform 180ms ease;
}

.mythra-dropdown-arrow.is-open {
    transform: rotate(180deg);
}

.mythra-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 120;
    width: 220px;
    overflow: hidden;
    padding: 7px;
    border: 1px solid var(--mythra-header-border);
    border-radius: 16px;
    background: rgba(8, 8, 12, 0.94);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

.mythra-dropdown-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 600;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        padding-left 160ms ease;
}

.mythra-dropdown-menu a:hover {
    padding-left: 17px;
    color: white;
    background: rgba(168, 85, 247, 0.15);
}

/* Header sağ tarafı */
.mythra-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding-left: 14px;
}

.mythra-action-button {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    color: white;
    background: rgba(255, 255, 255, 0.06);
    transition:
        transform 170ms ease,
        background-color 170ms ease,
        border-color 170ms ease;
}

.mythra-action-button:hover {
    transform: translateY(-2px);
    border-color: rgba(192, 132, 252, 0.38);
    background: rgba(168, 85, 247, 0.16);
}

.mythra-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 2px solid rgb(8 8 12);
    border-radius: 999px;
    color: white;
    background: #10b981;
    font-size: 10px;
    font-weight: 800;
}

.mythra-profile-button {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 5px 6px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    color: white;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition:
        transform 170ms ease,
        background-color 170ms ease,
        border-color 170ms ease;
}

.mythra-profile-button:hover {
    transform: translateY(-2px);
    border-color: rgba(192, 132, 252, 0.38);
    background: rgba(168, 85, 247, 0.15);
}

.mythra-profile-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.mythra-profile-content strong {
    max-width: 105px;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mythra-profile-content small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mythra-profile-button > i {
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 9px;
}

.mythra-login-button,
.mythra-register-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition:
        transform 170ms ease,
        background-color 170ms ease,
        box-shadow 170ms ease;
}

.mythra-login-button {
    color: white;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.mythra-register-button {
    color: white;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 8px 22px rgba(147, 51, 234, 0.24);
}

.mythra-login-button:hover,
.mythra-register-button:hover {
    transform: translateY(-2px);
}

/*
 * Header absolute olduğu için standart iç sayfaların ilk
 * bölümünü header yüksekliği kadar aşağı taşır.
 *
 * Ana sayfada #__heroSection bulunduğu için hero etkilenmez
 * ve görsel header'ın arkasından başlar.
 */
/* Orta genişliklerde menüyü sığdırır. */
@media (min-width: 640px) and (max-width: 1279px) {
    .mythra-header-wrapper {
        width: calc(100% - 32px) !important;
    }

    .mythra-header-top {
        gap: 18px;
    }

    .mythra-header-card {
        width: min(100%, 270px);
    }

    .mythra-navigation {
        gap: 2px;
    }

    .mythra-nav-item {
        padding-inline: 11px;
        font-size: 12px;
    }

    .mythra-profile-content {
        display: none;
    }
}

/* Logo hafif canlı görünür; rahatsız edici değildir. */
@keyframes mythraHeaderLogoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Hareket azaltma tercihine saygı gösterir. */
@media (prefers-reduced-motion: reduce) {
    .mythra-header-logo img {
        animation: none !important;
    }

    .mythra-header-card,
    .mythra-nav-item,
    .mythra-action-button,
    .mythra-profile-button,
    .mythra-login-button,
    .mythra-register-button {
        transition: none !important;
    }
}
/* =========================================================
   MYTHRA CRAFT — OPTİMİZE VE KIRPILMAYAN MENÜ GLOW
   ========================================================= */

/* Glow'un bütün header boyunca serbestçe yayılmasını sağlar */
#mythra-header,
#mythra-header .mythra-header-wrapper,
#mythra-header .mythra-navigation-bar,
#mythra-header .mythra-navigation {
    overflow: visible !important;
}

.mythra-navigation-bar {
    --mythra-glow-x: 50%;
    --mythra-glow-y: 50%;

    position: relative;
    isolation: isolate;
}

/*
 * Tek bir ortak glow katmanı kullanılır.
 * Her menü için ayrı büyük gölge hesaplanmadığından daha performanslıdır.
 */
.mythra-navigation-bar::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: var(--mythra-glow-x);
    top: var(--mythra-glow-y);

    /* Kesilme sınırına ulaşmadan biten dengeli boyut */
    width: 280px;
    height: 110px;

    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;

    background: radial-gradient(
        ellipse at center,
        rgba(252, 3, 107, 0.34) 0%,
        rgba(252, 3, 107, 0.21) 20%,
        rgba(252, 3, 107, 0.10) 40%,
        rgba(252, 3, 107, 0.035) 58%,
        rgba(252, 3, 107, 0.008) 70%,
        rgba(252, 3, 107, 0) 82%
    );
}
/* Mouse menüye geldiğinde glow anında görünür */
.mythra-navigation-bar.mythra-glow-visible::after {
    opacity: 1;
}

/* Menü ve hesap işlemleri glow'un üzerinde kalır */
.mythra-navigation,
.mythra-header-actions {
    position: relative;
    z-index: 3;
}

/* Dropdown menüler glow ve header'ın üzerinde kalır */
.mythra-dropdown,
.mythra-dropdown-menu {
    position: relative;
    z-index: 120;
}

/* Menü öğelerinin eski pseudo-glow üretmesini engeller */
.mythra-nav-item::before,
.mythra-nav-item::after {
    content: none !important;
    display: none !important;
}

/* Aktif olmayan menü yazıları */
.mythra-nav-item:not(.active) {
    position: relative;
    z-index: 4;
}

/* Sabit, anında görünen magenta yazı parlaklığı */
.mythra-nav-item:not(.active):hover {
    color: #fc036b !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;

    text-shadow:
        0 0 3px rgba(252, 3, 107, 0.95),
        0 0 8px rgba(252, 3, 107, 0.42),
        0 0 15px rgba(252, 3, 107, 0.18) !important;
}

/* Aktif sayfa tasarımını aynen korur */
.mythra-nav-item.active,
.mythra-nav-item.active:hover {
    color: white !important;
    text-shadow: none !important;
    animation: none !important;
}
/* =========================================================
   MYTHRA CRAFT — AKTİF MENÜ EMBOSS TASARIMI
   ========================================================= */

.mythra-nav-item.active,
.mythra-nav-item.active:hover {
    color: #ffffff !important;

    /* Ana renk */
    background-color: #ff0099 !important;

    /* Rengi bozmadan üstü aydınlık, altı koyu gösterir */
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.20) 0%,
        rgba(255, 255, 255, 0.07) 32%,
        rgba(255, 255, 255, 0) 52%,
        rgba(110, 0, 66, 0.18) 100%
    ) !important;

    border: 1px solid rgba(255, 140, 210, 0.42) !important;

    /* İç ve dış gölgelerle kabartılmış 3D görünüm */
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.30),
        inset 2px 0 0 rgba(255, 255, 255, 0.10),
        inset -2px 0 0 rgba(105, 0, 63, 0.16),
        inset 0 -3px 0 rgba(105, 0, 63, 0.38),
        0 3px 0 #a80065,
        0 7px 16px rgba(255, 0, 153, 0.24) !important;

    /* Beyaz yazıyı kabartmanın üzerinde net tutar */
    text-shadow:
        0 1px 1px rgba(80, 0, 48, 0.50),
        0 0 5px rgba(255, 255, 255, 0.16) !important;

    transform: translateY(-1px) !important;
    animation: none !important;
}
/* =========================================================
   MYTHRA CRAFT — EMBOSS SEPET VE PROFİL KONTROLLERİ
   ========================================================= */

.mythra-header-actions {
    gap: 10px;
}

/* ---------------------------------------------------------
   SEPET — OBSİDYEN EMBOSS
   --------------------------------------------------------- */

.mythra-cart-button {
    color: #ff4db3 !important;
    background-color: #17111d !important;
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(255, 255, 255, 0.025) 42%,
        rgba(0, 0, 0, 0.20) 100%
    ) !important;

    border: 1px solid rgba(255, 0, 153, 0.26) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.10),
        inset 1px 0 0 rgba(255, 255, 255, 0.05),
        inset -1px 0 0 rgba(0, 0, 0, 0.28),
        inset 0 -3px 0 rgba(0, 0, 0, 0.42),
        0 3px 0 #09070c,
        0 7px 15px rgba(0, 0, 0, 0.30) !important;

    transition:
        transform 180ms ease,
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease !important;
}

/* Sepet hover */
.mythra-cart-button:hover {
    color: #ffffff !important;
    background-color: #ff0099 !important;

    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(105, 0, 63, 0.25) 100%
    ) !important;

    border-color: rgba(255, 160, 218, 0.58) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.30),
        inset 0 -3px 0 rgba(105, 0, 63, 0.40),
        0 3px 0 #9c005e,
        0 8px 18px rgba(255, 0, 153, 0.30),
        0 0 25px rgba(255, 0, 153, 0.16) !important;

    transform: translateY(-2px) !important;
}

/* Sepete basılma hissi */
.mythra-cart-button:active {
    transform: translateY(2px) scale(0.97) !important;

    box-shadow:
        inset 0 3px 6px rgba(82, 0, 49, 0.52),
        inset 0 -1px 0 rgba(255, 255, 255, 0.14),
        0 1px 0 #8b0054 !important;
}

/* Sepet sayacı */
.mythra-cart-count {
    border-color: #130d19 !important;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 12px rgba(16, 185, 129, 0.55) !important;
}

/* ---------------------------------------------------------
   PROFİL — MOR OBSİDYEN EMBOSS
   --------------------------------------------------------- */

.mythra-profile-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    color: #ffffff !important;
    background-color: #17111f !important;

    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(255, 255, 255, 0.025) 42%,
        rgba(0, 0, 0, 0.22) 100%
    ) !important;

    border: 1px solid rgba(192, 132, 252, 0.26) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.10),
        inset 1px 0 0 rgba(255, 255, 255, 0.045),
        inset -1px 0 0 rgba(0, 0, 0, 0.30),
        inset 0 -3px 0 rgba(0, 0, 0, 0.42),
        0 3px 0 #09070c,
        0 7px 15px rgba(0, 0, 0, 0.30) !important;

    transition:
        transform 200ms ease,
        background-color 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease !important;
}

/* İçerikleri parlama katmanının üzerinde tutar */
.mythra-profile-button > * {
    position: relative;
    z-index: 2;
}

/* Hover sırasında butonun üzerinden geçen ince ışık */
.mythra-profile-button::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -60%;
    left: -55%;
    width: 34%;
    height: 220%;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.17),
        transparent
    );

    transform: skewX(-22deg);
    transition: left 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mythra-profile-button:hover::before {
    left: 125%;
}

/* Profil hover */
.mythra-profile-button:hover {
    border-color: rgba(255, 0, 153, 0.48) !important;
    background-color: #211228 !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.14),
        inset 0 -3px 0 rgba(0, 0, 0, 0.40),
        0 3px 0 #0b070e,
        0 9px 20px rgba(0, 0, 0, 0.32),
        0 0 24px rgba(255, 0, 153, 0.14) !important;

    transform: translateY(-2px) !important;
}

/* Avatarın çevresindeki premium halka */
.mythra-profile-button img {
    border: 1px solid rgba(255, 255, 255, 0.28);

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 2px rgba(255, 0, 153, 0.12),
        0 0 13px rgba(255, 0, 153, 0.16);

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.mythra-profile-button:hover img,
.mythra-profile-button.is-open img {
    border-color: rgba(255, 210, 237, 0.65);

    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.12),
        0 0 0 4px rgba(255, 0, 153, 0.18),
        0 0 17px rgba(255, 0, 153, 0.32);
}

/* ---------------------------------------------------------
   PROFİL PANELİ AÇIKKEN SEÇİLİ EMBOSS GÖRÜNÜMÜ
   --------------------------------------------------------- */

.mythra-profile-button.is-open {
    color: #ffffff !important;
    background-color: #ff0099 !important;

    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.06) 40%,
        rgba(105, 0, 63, 0.25) 100%
    ) !important;

    border-color: rgba(255, 180, 225, 0.62) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.32),
        inset 2px 0 0 rgba(255, 255, 255, 0.09),
        inset -2px 0 0 rgba(105, 0, 63, 0.18),
        inset 0 -3px 0 rgba(105, 0, 63, 0.42),
        0 3px 0 #9c005e,
        0 8px 18px rgba(255, 0, 153, 0.28),
        0 0 26px rgba(255, 0, 153, 0.18) !important;

    transform: translateY(-1px) !important;
}

.mythra-profile-button.is-open .mythra-profile-content small {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* Profil açıkken ok aşağı yönelerek durumu gösterir */
.mythra-profile-button > i {
    transition:
        transform 220ms ease,
        color 220ms ease;
}

.mythra-profile-button.is-open > i {
    color: #ffffff !important;
    transform: rotate(90deg);
}

/* Klavye kullanıcıları için görünür odak */
.mythra-cart-button:focus-visible,
.mythra-profile-button:focus-visible {
    outline: 2px solid #ff4db3;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .mythra-cart-button,
    .mythra-profile-button,
    .mythra-profile-button::before,
    .mythra-profile-button img,
    .mythra-profile-button > i {
        transition: none !important;
    }
}
/* =========================================================
   MYTHRA CRAFT — GİRİŞ VE KAYIT EMBOSS TASARIMI
   ========================================================= */

/* ---------------------------------------------------------
   GİRİŞ YAP — OBSİDYEN KONTROL BUTONU
   --------------------------------------------------------- */

.mythra-login-button {
    position: relative;
    overflow: hidden;

    color: #ffffff !important;
    background-color: #17191a !important;

    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(255, 255, 255, 0.025) 42%,
        rgba(0, 0, 0, 0.24) 100%
    ) !important;

    border: 1px solid rgba(255, 255, 255, 0.13) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.10),
        inset 1px 0 0 rgba(255, 255, 255, 0.04),
        inset -1px 0 0 rgba(0, 0, 0, 0.28),
        inset 0 -3px 0 rgba(0, 0, 0, 0.42),
        0 3px 0 #080a09,
        0 7px 15px rgba(0, 0, 0, 0.30) !important;

    transition:
        color 180ms ease,
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease !important;
}

.mythra-login-button i {
    color: #00ff4c;
    text-shadow: 0 0 9px rgba(0, 255, 76, 0.38);
    transition:
        color 180ms ease,
        text-shadow 180ms ease;
}

/* Giriş Yap hover */
.mythra-login-button:hover {
    color: #00ff4c !important;
    background-color: #101b14 !important;
    border-color: rgba(0, 255, 76, 0.45) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.12),
        inset 0 -3px 0 rgba(0, 74, 22, 0.45),
        0 3px 0 #06150b,
        0 8px 18px rgba(0, 0, 0, 0.30),
        0 0 24px rgba(0, 255, 76, 0.13) !important;

    text-shadow:
        0 0 4px rgba(0, 255, 76, 0.62),
        0 0 10px rgba(0, 255, 76, 0.20);

    transform: translateY(-2px) !important;
}

.mythra-login-button:hover i {
    color: #ffffff;
    text-shadow:
        0 0 5px rgba(0, 255, 76, 0.80),
        0 0 12px rgba(0, 255, 76, 0.32);
}

/* Basılma hissi */
.mythra-login-button:active {
    transform: translateY(2px) scale(0.98) !important;

    box-shadow:
        inset 0 3px 6px rgba(0, 0, 0, 0.55),
        inset 0 -1px 0 rgba(255, 255, 255, 0.10),
        0 1px 0 #061008 !important;
}

/* ---------------------------------------------------------
   KAYIT OL — NEON YEŞİL EMBOSS
   --------------------------------------------------------- */

.mythra-register-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    color: #031408 !important;
    background-color: #00ff4c !important;

    /* Temel #00ff4c rengini koruyan emboss ışığı */
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.38) 0%,
        rgba(255, 255, 255, 0.10) 34%,
        rgba(255, 255, 255, 0) 54%,
        rgba(0, 92, 28, 0.25) 100%
    ) !important;

    border: 1px solid rgba(151, 255, 183, 0.72) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.55),
        inset 2px 0 0 rgba(255, 255, 255, 0.14),
        inset -2px 0 0 rgba(0, 92, 28, 0.18),
        inset 0 -3px 0 rgba(0, 92, 28, 0.40),
        0 3px 0 #00a832,
        0 8px 18px rgba(0, 255, 76, 0.20),
        0 0 22px rgba(0, 255, 76, 0.10) !important;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.28);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease !important;
}

/* Buton üzerinden geçen kontrollü ışık */
.mythra-register-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -70%;
    left: -55%;
    width: 36%;
    height: 240%;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.46),
        transparent
    );

    transform: skewX(-22deg);
    transition: left 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mythra-register-button:hover::before {
    left: 125%;
}

/* Kayıt Ol hover */
.mythra-register-button:hover {
    color: #020d05 !important;
    border-color: rgba(210, 255, 224, 0.92) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.68),
        inset 0 -3px 0 rgba(0, 92, 28, 0.42),
        0 4px 0 #00992e,
        0 10px 22px rgba(0, 255, 76, 0.28),
        0 0 34px rgba(0, 255, 76, 0.20) !important;

    filter: saturate(1.08) brightness(1.05);
    transform: translateY(-2px) !important;
}

/* Kayıt butonuna basılma hissi */
.mythra-register-button:active {
    filter: brightness(0.94);
    transform: translateY(2px) scale(0.98) !important;

    box-shadow:
        inset 0 4px 7px rgba(0, 78, 24, 0.45),
        inset 0 -1px 0 rgba(255, 255, 255, 0.38),
        0 1px 0 #008528,
        0 3px 8px rgba(0, 255, 76, 0.14) !important;
}

/* Klavyeyle gezinirken görünür odak */
.mythra-login-button:focus-visible,
.mythra-register-button:focus-visible {
    outline: 2px solid #00ff4c;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .mythra-login-button,
    .mythra-login-button i,
    .mythra-register-button,
    .mythra-register-button::before {
        transition: none !important;
    }
}
/* =========================================================
   GİRİŞ YAP — KAYAN PARLAMA ANİMASYONU
   ========================================================= */

.mythra-login-button {
    isolation: isolate;
}

/* Yazı ve ikon parlama katmanının üzerinde kalır */
.mythra-login-button > * {
    position: relative;
    z-index: 2;
}

/* Butonun üzerinden geçen ışık */
.mythra-login-button::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -70%;
    left: -55%;
    width: 36%;
    height: 240%;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.38),
        rgba(0, 255, 76, 0.16),
        transparent
    );

    transform: skewX(-22deg);
    transition: left 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mouse geldiğinde ışığı soldan sağa geçirir */
.mythra-login-button:hover::before {
    left: 125%;
}

@media (prefers-reduced-motion: reduce) {
    .mythra-login-button::before {
        display: none !important;
    }
}
/* =========================================================
   IP VE DISCORD KUTULARI — YAVAŞ IŞIK GEÇİŞİ
   ========================================================= */

.mythra-header-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Kart içeriklerini ışık katmanının üzerinde tutar */
.mythra-header-card > * {
    position: relative;
    z-index: 2;
}

/* Ortak kayan ışık katmanı */
.mythra-header-card::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -75%;
    left: -50%;
    width: 30%;
    height: 250%;
    pointer-events: none;

    transform: skewX(-22deg);

    /* Giriş ve kayıt butonlarından daha yavaş */
    transition: left 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* IP kutusunda magenta-mor yansıma */
.mythra-server-card::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.26),
        rgba(252, 3, 107, 0.18),
        transparent
    );
}

/* Discord kutusunda mavi-mor yansıma */
.mythra-discord-card::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        rgba(88, 101, 242, 0.20),
        transparent
    );
}

/* Mouse geldiğinde ışığı yavaşça kartın üzerinden geçirir */
.mythra-header-card:hover::before {
    left: 125%;
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .mythra-header-card::before {
        display: none !important;
    }
}
/* =========================================================
   MYTHRA CRAFT — DÜZ EMBOSS NAVIGATION PANELİ

   Buton gibi yükselmez veya aşağı basılmaz.
   Yalnızca yüzey ışığı ve iç gölgelerle derinlik kazanır.
   ========================================================= */

/* =========================================================
   MYTHRA CRAFT — PARLAMASIZ NÖTR EMBOSS PANEL
   ========================================================= */

/* =========================================================
   MYTHRA CRAFT — KÖŞELERİ DÜZGÜN NÖTR EMBOSS PANEL
   ========================================================= */

.mythra-navigation-bar {
    border: 0px solid transparent !important;
    border-radius: 21px !important;
    box-sizing: border-box !important;

    /*
     * İlk gradient panel yüzeyidir.
     * İkinci gradient bütün çerçevenin etrafında kesintisiz döner.
     */
    background:
        linear-gradient(
            180deg,
            rgba(29, 27, 34, 0.97) 0%,
            rgba(19, 18, 23, 0.97) 48%,
            rgba(11, 10, 13, 0.98) 100%
        ) padding-box,

        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.23) 0%,
            rgba(255, 255, 255, 0.10) 28%,
            rgba(255, 255, 255, 0.035) 50%,
            rgba(0, 0, 0, 0.40) 72%,
            rgba(0, 0, 0, 0.72) 100%
        ) border-box !important;

    background-clip:
        padding-box,
        border-box !important;

box-shadow:
    /* Mevcut emboss: üst iç aydınlatma */
    inset 0 4px 0 rgba(255, 255, 255, 0.095),

    /* Mevcut emboss: alt iç derinlik */
    inset 0 -6px 0 rgba(0, 0, 0, 0.48),

    /* Kutunun hemen dışındaki ince magenta çizgi */
    0 0 0 2px rgba(255, 0, 153, 0.82),

    /* Arkadan dışarı yayılan yakın glow */
    0 0 18px 2px rgba(255, 0, 153, 0.20),

    /* Daha geniş ve yumuşak dış glow */
    0 0 30px 5px rgba(255, 0, 153, 0.09),

    /* Mevcut doğal alt gölge */
    0 9px 18px rgba(0, 0, 0, 0.30) !important;

    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
/* =========================================================
   MYTHRA CRAFT — IP + DISCORD KARTLARI SON SÜRÜM

   Ana kartlar: düz emboss + gradient
   İkon kutuları: sepet düğmesiyle aynı 3D emboss yapısı
   Tıklamada emboss kaybolmaz
   Ana kartlarda ekstra dış çizgi yoktur
   ========================================================= */

/* ---------------------------------------------------------
   ORTAK KART YAPISI
   --------------------------------------------------------- */

#mythra-header .mythra-server-card,
#mythra-header .mythra-discord-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    appearance: none;

    border: 0 !important;
    outline: 0 !important;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease !important;
}

#mythra-header .mythra-server-card > *,
#mythra-header .mythra-discord-card > * {
    position: relative;
    z-index: 2;
}

/* ---------------------------------------------------------
   DISCORD ANA KARTI
   --------------------------------------------------------- */

#mythra-header .mythra-discord-card {
    color: #ffffff !important;

    background-color: #0011ff !important;
    background-image: linear-gradient(
        135deg,
        #0011ff 0%,
        #003dff 48%,
        #0080ff 100%
    ) !important;

    box-shadow:
        inset 0 4px 0 rgba(255, 255, 255, 0.23),
        inset 2px 0 0 rgba(255, 255, 255, 0.07),
        inset -2px 0 0 rgba(0, 7, 105, 0.20),
        inset 0 -6px 0 rgba(0, 7, 100, 0.36),

        0 10px 20px rgba(0, 6, 50, 0.36),
        0 0 22px 4px rgba(0, 92, 255, 0.20),
        0 0 42px 9px rgba(0, 128, 255, 0.09) !important;
}

/* ---------------------------------------------------------
   IP ANA KARTI
   --------------------------------------------------------- */

#mythra-header .mythra-server-card {
    color: #3d092d !important;

    background-color: #ff87e1 !important;
    background-image: linear-gradient(
        135deg,
        #ff87e1 0%,
        #ffafe6 48%,
        #ffe3f0 100%
    ) !important;

    box-shadow:
        inset 0 4px 0 rgba(255, 255, 255, 0.54),
        inset 2px 0 0 rgba(255, 255, 255, 0.17),
        inset -2px 0 0 rgba(151, 20, 103, 0.14),
        inset 0 -6px 0 rgba(151, 20, 103, 0.24),

        0 10px 20px rgba(76, 6, 53, 0.30),
        0 0 22px 4px rgba(255, 92, 201, 0.20),
        0 0 42px 9px rgba(255, 135, 225, 0.10) !important;
}

/* ---------------------------------------------------------
   YAVAŞ KAYAN PARLAMA
   --------------------------------------------------------- */

#mythra-header .mythra-server-card::before,
#mythra-header .mythra-discord-card::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -80%;
    left: -52%;

    width: 31%;
    height: 260%;

    pointer-events: none;
    transform: skewX(-22deg);

    transition:
        left 950ms cubic-bezier(0.22, 1, 0.36, 1);
}

#mythra-header .mythra-discord-card::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 22%,
        rgba(255, 255, 255, 0.34) 50%,
        rgba(146, 215, 255, 0.17) 70%,
        transparent 100%
    );
}

#mythra-header .mythra-server-card::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 22%,
        rgba(255, 255, 255, 0.58) 50%,
        rgba(255, 215, 240, 0.26) 70%,
        transparent 100%
    );
}

#mythra-header .mythra-server-card:hover::before,
#mythra-header .mythra-discord-card:hover::before {
    left: 125%;
}

/* ---------------------------------------------------------
   ANA KART HOVER + TIKLAMA
   Tıklamada emboss aynı kalır.
   --------------------------------------------------------- */

#mythra-header .mythra-discord-card:is(:hover, :active) {
    transform: translateY(-4px) !important;
    filter: saturate(1.07) brightness(1.035);

    box-shadow:
        inset 0 4px 0 rgba(255, 255, 255, 0.27),
        inset 2px 0 0 rgba(255, 255, 255, 0.08),
        inset -2px 0 0 rgba(0, 7, 105, 0.21),
        inset 0 -6px 0 rgba(0, 7, 100, 0.39),

        0 14px 25px rgba(0, 6, 50, 0.42),
        0 0 28px 6px rgba(0, 92, 255, 0.29),
        0 0 48px 11px rgba(0, 128, 255, 0.14) !important;
}

#mythra-header .mythra-server-card:is(:hover, :active) {
    transform: translateY(-4px) !important;
    filter: saturate(1.06) brightness(1.035);

    box-shadow:
        inset 0 4px 0 rgba(255, 255, 255, 0.62),
        inset 2px 0 0 rgba(255, 255, 255, 0.18),
        inset -2px 0 0 rgba(151, 20, 103, 0.15),
        inset 0 -6px 0 rgba(151, 20, 103, 0.27),

        0 14px 25px rgba(76, 6, 53, 0.36),
        0 0 28px 6px rgba(255, 92, 201, 0.29),
        0 0 48px 11px rgba(255, 135, 225, 0.15) !important;
}

/* =========================================================
   DISCORD İKONU — SEPETİN MAVİ UYARLAMASI
   ========================================================= */

#mythra-header .mythra-discord-icon {
    color: #ffffff !important;

    border: 1px solid rgba(133, 207, 255, 0.64) !important;
    outline: 0 !important;
    border-radius: 13px !important;

    background-color: #006dff !important;
    background-image: linear-gradient(
        180deg,
        #35aaff 0%,
        #087cff 42%,
        #1230ff 100%
    ) !important;

    box-shadow:
        /* Sepet düğmesindeki gibi açık üst kenar */
        inset 0 2px 0 rgba(255, 255, 255, 0.42),

        /* Sol ve sağ yüzey farkı */
        inset 1px 0 0 rgba(255, 255, 255, 0.12),
        inset -1px 0 0 rgba(0, 15, 130, 0.22),

        /* Koyu alt emboss kenarı */
        inset 0 -3px 0 rgba(0, 20, 160, 0.45),

        /* Aynı rengin koyu tonlarından 3D taban */
        0 3px 0 #102bc4,
        0 5px 0 #091b91,

        /* Doğal gölge ve soft glow */
        0 8px 14px rgba(0, 24, 120, 0.34),
        0 0 18px 4px rgba(60, 169, 255, 0.25) !important;

    text-shadow:
        0 1px 1px rgba(0, 5, 90, 0.62),
        0 0 7px rgba(255, 255, 255, 0.28);

    transform: translateY(-3px);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease !important;
}

/* =========================================================
   IP İKONU — SEPETİN PEMBE UYARLAMASI
   ========================================================= */

#mythra-header .mythra-play-icon {
    color: #57083f !important;

    border: 1px solid rgba(255, 234, 247, 0.78) !important;
    outline: 0 !important;
    border-radius: 13px !important;

    background-color: #ffafe6 !important;
    background-image: linear-gradient(
        180deg,
        #ffe3f0 0%,
        #ffbce9 42%,
        #ff87e1 100%
    ) !important;

    box-shadow:
        /* Sepet düğmesindeki gibi açık üst kenar */
        inset 0 2px 0 rgba(255, 255, 255, 0.68),

        /* Sol ve sağ yüzey farkı */
        inset 1px 0 0 rgba(255, 255, 255, 0.24),
        inset -1px 0 0 rgba(133, 12, 91, 0.16),

        /* Koyu alt emboss kenarı */
        inset 0 -3px 0 rgba(145, 40, 111, 0.34),

        /* Aynı emboss renginden oluşan 3D taban */
        0 3px 0 #c55f9e,
        0 5px 0 #a34880,

        /* Doğal gölge ve soft glow */
        0 8px 14px rgba(111, 14, 78, 0.28),
        0 0 18px 4px rgba(255, 100, 207, 0.24) !important;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.62),
        0 0 7px rgba(255, 255, 255, 0.22);

    transform: translateY(-3px);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease !important;
}

/* ---------------------------------------------------------
   İKON HOVER + TIKLAMA
   Emboss ve 3D taban kaybolmaz.
   --------------------------------------------------------- */

#mythra-header
.mythra-discord-card:is(:hover, :active)
.mythra-discord-icon {
    transform: translateY(-5px) scale(1.045);
    filter: brightness(1.04);

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.52),
        inset 1px 0 0 rgba(255, 255, 255, 0.15),
        inset -1px 0 0 rgba(0, 15, 130, 0.22),
        inset 0 -3px 0 rgba(0, 20, 160, 0.46),

        0 4px 0 #102bc4,
        0 6px 0 #091b91,

        0 11px 17px rgba(0, 24, 120, 0.38),
        0 0 25px 6px rgba(60, 169, 255, 0.32) !important;
}

#mythra-header
.mythra-server-card:is(:hover, :active)
.mythra-play-icon {
    transform: translateY(-5px) scale(1.045);
    filter: brightness(1.035);

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.78),
        inset 1px 0 0 rgba(255, 255, 255, 0.28),
        inset -1px 0 0 rgba(133, 12, 91, 0.17),
        inset 0 -3px 0 rgba(145, 40, 111, 0.36),

        0 4px 0 #c55f9e,
        0 6px 0 #a34880,

        0 11px 17px rgba(111, 14, 78, 0.34),
        0 0 25px 6px rgba(255, 100, 207, 0.30) !important;
}

/* ---------------------------------------------------------
   YAZILAR
   --------------------------------------------------------- */

#mythra-header
.mythra-discord-card
.mythra-header-card-content strong {
    color: #ffffff !important;

    text-shadow:
        0 1px 1px rgba(0, 5, 80, 0.62),
        0 0 7px rgba(255, 255, 255, 0.14);
}

#mythra-header
.mythra-discord-card
.mythra-header-card-content small {
    color: rgba(222, 242, 255, 0.84) !important;
    text-shadow: 0 1px 1px rgba(0, 5, 80, 0.55);
}

#mythra-header
.mythra-server-card
.mythra-header-card-content strong {
    color: #3d092d !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.48);
}

#mythra-header
.mythra-server-card
.mythra-header-card-content small {
    color: rgba(105, 12, 74, 0.84) !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

/* ---------------------------------------------------------
   SAĞDAKİ KÜÇÜK İŞARETLER
   --------------------------------------------------------- */

#mythra-header .mythra-external-indicator,
#mythra-header .mythra-copy-indicator {
    transition:
        color 220ms ease,
        transform 220ms ease,
        text-shadow 220ms ease;
}

#mythra-header .mythra-discord-card .mythra-external-indicator {
    color: rgba(229, 245, 255, 0.76) !important;
}

#mythra-header .mythra-server-card .mythra-copy-indicator {
    color: rgba(91, 10, 65, 0.68) !important;
}

#mythra-header
.mythra-discord-card:is(:hover, :active)
.mythra-external-indicator {
    color: #ffffff !important;
    transform: translate(2px, -2px);
    text-shadow: 0 0 8px rgba(145, 215, 255, 0.72);
}

#mythra-header
.mythra-server-card:is(:hover, :active)
.mythra-copy-indicator {
    color: #4b0636 !important;
    transform: translate(2px, -2px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.70);
}

@media (prefers-reduced-motion: reduce) {
    #mythra-header .mythra-discord-card,
    #mythra-header .mythra-server-card,
    #mythra-header .mythra-discord-card::before,
    #mythra-header .mythra-server-card::before,
    #mythra-header .mythra-discord-icon,
    #mythra-header .mythra-play-icon,
    #mythra-header .mythra-external-indicator,
    #mythra-header .mythra-copy-indicator {
        transition: none !important;
    }
}
/* =========================================================
   MYTHRA CRAFT — IP + DISCORD İKONLARI
   SEPET İLE AYNI TEMİZ EMBOSS / 3D YAPI
   ========================================================= */

/* Önce eski ekstra ışık ve gölge katmanlarını tamamen kapat */
#mythra-header :is(
    .mythra-play-icon,
    .mythra-discord-icon
) {
    position: relative !important;
    isolation: isolate !important;

    outline: none !important;
    filter: none !important;
    text-shadow: none !important;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease !important;
}

/* İkonların kendi pseudo-elementlerinden gelen ekstra katmanları kaldır */
#mythra-header :is(
    .mythra-play-icon,
    .mythra-discord-icon
)::before,
#mythra-header :is(
    .mythra-play-icon,
    .mythra-discord-icon
)::after {
    content: none !important;
    display: none !important;
    box-shadow: none !important;
    background: none !important;
    filter: none !important;
}


/* =========================================================
   DISCORD — MAVİ EMBOSS / 3D
   ========================================================= */

#mythra-header .mythra-discord-icon {
    border: 1px solid rgba(135, 207, 255, 0.72) !important;
    border-radius: 13px !important;

    background: linear-gradient(
        180deg,
        #35aaff 0%,
        #087cff 48%,
        #0011ff 100%
    ) !important;

    /*
     * İlk dört katman emboss yüzeyi.
     * Son katman sepet gibi alttaki net 3D basamaktır.
     * Blur kullanılmadığı için altta karartı oluşmaz.
     */
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.72),
        inset 2px 0 0 rgba(255, 255, 255, 0.20),
        inset -2px 0 0 rgba(0, 12, 150, 0.30),
        inset 0 -3px 0 rgba(0, 8, 145, 0.58),
        0 4px 0 #102bbd !important;

    transform: translateY(-2px) !important;
}

/* Hover ve tıklamada emboss kaybolmasın */
#mythra-header .mythra-discord-card:hover .mythra-discord-icon,
#mythra-header .mythra-discord-card:active .mythra-discord-icon,
#mythra-header .mythra-discord-card:focus .mythra-discord-icon,
#mythra-header .mythra-discord-card:focus-visible .mythra-discord-icon {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.72),
        inset 2px 0 0 rgba(255, 255, 255, 0.20),
        inset -2px 0 0 rgba(0, 12, 150, 0.30),
        inset 0 -3px 0 rgba(0, 8, 145, 0.58),
        0 4px 0 #102bbd !important;

    filter: none !important;
    transform: translateY(-2px) !important;
}


/* =========================================================
   IP ADRESİ — PEMBE EMBOSS / 3D
   ========================================================= */

#mythra-header .mythra-play-icon {
    border: 1px solid rgba(255, 238, 247, 0.90) !important;
    border-radius: 13px !important;

    background: linear-gradient(
        180deg,
        #ffe3f0 0%,
        #ffb9e7 48%,
        #ff87e1 100%
    ) !important;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.86),
        inset 2px 0 0 rgba(255, 255, 255, 0.32),
        inset -2px 0 0 rgba(174, 44, 129, 0.24),
        inset 0 -3px 0 rgba(174, 44, 129, 0.48),
        0 4px 0 #c65f9f !important;

    transform: translateY(-2px) !important;
}

/* Hover ve tıklamada emboss aynen korunsun */
#mythra-header .mythra-server-card:hover .mythra-play-icon,
#mythra-header .mythra-server-card:active .mythra-play-icon,
#mythra-header .mythra-server-card:focus .mythra-play-icon,
#mythra-header .mythra-server-card:focus-visible .mythra-play-icon {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.86),
        inset 2px 0 0 rgba(255, 255, 255, 0.32),
        inset -2px 0 0 rgba(174, 44, 129, 0.24),
        inset 0 -3px 0 rgba(174, 44, 129, 0.48),
        0 4px 0 #c65f9f !important;

    filter: none !important;
    transform: translateY(-2px) !important;
}
/* =========================================================
   MYTHRA CRAFT — HEADER PERFORMANS PAKETİ
   Görünümü korur, pahalı GPU filtrelerini kaldırır.
   ========================================================= */

/*
 * Kartlarımız zaten opak gradient yüzeylere sahip.
 * Bu nedenle arkadaki görüntüyü gerçekten bulanıklaştırmaya
 * gerek yok; görsel fark çok küçük, performans farkı büyüktür.
 */
#mythra-header .mythra-header-card,
#mythra-header .mythra-navigation-bar,
#mythra-header .mythra-dropdown-menu {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Kartın tamamına uygulanan pahalı renk filtresini kaldır */
#mythra-header .mythra-server-card:is(:hover, :active),
#mythra-header .mythra-discord-card:is(:hover, :active) {
    filter: none !important;
}

/*
 * Logonun sürekli hareket etmesi, drop-shadow katmanını
 * devamlı yeniden çizdiriyordu. Hover tasarımı korunur.
 */
#mythra-header .mythra-header-logo img {
    animation: none !important;
    will-change: auto !important;

    filter:
        drop-shadow(0 0 5px rgba(255, 0, 153, 0.26))
        drop-shadow(0 0 13px rgba(255, 0, 153, 0.12)) !important;
}

#mythra-header .mythra-header-logo:hover img {
    animation: none !important;

    filter:
        drop-shadow(0 0 5px rgba(255, 0, 153, 0.26))
        drop-shadow(0 0 13px rgba(255, 0, 153, 0.12)) !important;

    transform: translateY(-1px) scale(1.015);
}

/* Canvas kendi GPU katmanında tutulur */
#mythra-mouse-trail {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}
/* =========================================================
   MYTHRA CRAFT — MOBİL HEADER TASARIMI
   ========================================================= */

/* Yeni mobil header varken eski Gale mobil menüsünü gizle */
#mobile-menu {
    display: none !important;
}

#mythra-mobile-header {
    display: none;
}

@media (max-width: 639px) {

    #mythra-mobile-header {
        position: relative;
        z-index: 100;
        display: block;
        width: 100%;
        padding: 12px 14px 11px;
        pointer-events: none;
    }

    #mythra-mobile-header > * {
        pointer-events: auto;
    }

    /* Ana sayfada hero görselinin üzerinde durur */
    body:has(#__heroSection) #mythra-mobile-header {
        position: absolute;
        top: 0;
        left: 0;
    }

    /* -----------------------------------------------------
       ÜST MOBİL BAR
       ----------------------------------------------------- */

    .mythra-mobile-header-shell {
        position: relative;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        align-items: center;
        min-height: 66px;
        padding: 7px;
        border: 1px solid rgba(255, 0, 153, 0.58);
        border-radius: 20px;

        background:
            linear-gradient(
                180deg,
                rgba(31, 27, 36, 0.98) 0%,
                rgba(18, 16, 22, 0.98) 48%,
                rgba(9, 8, 12, 0.99) 100%
            );

        box-shadow:
            inset 0 3px 0 rgba(255, 255, 255, 0.08),
            inset 0 -4px 0 rgba(0, 0, 0, 0.46),
            0 0 0 1px rgba(255, 0, 153, 0.15),
            0 0 20px rgba(255, 0, 153, 0.13),
            0 9px 22px rgba(0, 0, 0, 0.34);
    }

    /* -----------------------------------------------------
       LOGO
       ----------------------------------------------------- */

    .mythra-mobile-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
        min-width: 0;
    }

    .mythra-mobile-logo img {
        display: block;
        width: auto;
        max-width: 76px;
        max-height: 52px;
        object-fit: contain;
        filter: none !important;
        animation: none !important;
    }

    /* -----------------------------------------------------
       IP VE HAMBURGER DÜĞMELERİ
       ----------------------------------------------------- */

    .mythra-mobile-top-action {
        position: relative;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 13px;
        color: white;
        font-size: 15px;
        cursor: pointer;
        appearance: none;
        outline: none;

        transition:
            transform 160ms ease,
            background-color 160ms ease,
            box-shadow 160ms ease;
    }

    .mythra-mobile-ip-button {
        border: 1px solid rgba(255, 230, 244, 0.78);

        background:
            linear-gradient(
                180deg,
                #ffe3f0 0%,
                #ffb9e7 48%,
                #ff87e1 100%
            );

        color: #7d0755;

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.86),
            inset 2px 0 0 rgba(255, 255, 255, 0.25),
            inset -2px 0 0 rgba(174, 44, 129, 0.20),
            inset 0 -3px 0 rgba(174, 44, 129, 0.43),
            0 3px 0 #c65f9f;
    }

    .mythra-mobile-menu-button {
        border: 1px solid rgba(206, 169, 255, 0.30);

        background:
            linear-gradient(
                180deg,
                #28222e 0%,
                #19151e 50%,
                #100d14 100%
            );

        color: rgba(255, 255, 255, 0.86);

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.10),
            inset 0 -3px 0 rgba(0, 0, 0, 0.48),
            0 3px 0 #08060a;
    }

    .mythra-mobile-menu-button.is-open {
        border-color: rgba(255, 133, 207, 0.74);
        color: white;

        background:
            linear-gradient(
                180deg,
                #ff38b0 0%,
                #ff0099 58%,
                #d0007d 100%
            );

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.28),
            inset 0 -3px 0 rgba(110, 0, 66, 0.45),
            0 3px 0 #9f005f,
            0 0 18px rgba(255, 0, 153, 0.22);
    }

    .mythra-mobile-top-action:active {
        transform: translateY(2px) scale(0.97);
    }

    /* -----------------------------------------------------
       AÇILIR PANEL
       ----------------------------------------------------- */

    .mythra-mobile-menu-panel {
        position: absolute;
        top: calc(100% + 1px);
        left: 14px;
        right: 14px;
        z-index: 120;

        max-height: calc(100dvh - 105px);
        overflow-x: hidden;
        overflow-y: auto;

        padding: 13px;
        border: 1px solid rgba(255, 0, 153, 0.60);
        border-radius: 21px;

        background:
            linear-gradient(
                155deg,
                rgba(27, 22, 32, 0.995) 0%,
                rgba(15, 13, 18, 0.995) 48%,
                rgba(8, 7, 10, 0.998) 100%
            );

        box-shadow:
            inset 0 3px 0 rgba(255, 255, 255, 0.075),
            inset 0 -5px 0 rgba(0, 0, 0, 0.50),
            0 0 0 1px rgba(255, 0, 153, 0.14),
            0 0 28px rgba(255, 0, 153, 0.13),
            0 18px 42px rgba(0, 0, 0, 0.56);

        scrollbar-width: thin;
        scrollbar-color: #ff0099 transparent;
    }

    .mythra-mobile-menu-panel::-webkit-scrollbar {
        width: 4px;
    }

    .mythra-mobile-menu-panel::-webkit-scrollbar-thumb {
        border-radius: 99px;
        background: #ff0099;
    }

    /* -----------------------------------------------------
       IP VE DISCORD HIZLI KARTLARI
       ----------------------------------------------------- */

    .mythra-mobile-quick-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .mythra-mobile-quick-card {
        position: relative;
        display: flex;
        align-items: center;
        min-width: 0;
        min-height: 58px;
        gap: 9px;
        padding: 8px 9px;
        border: 0;
        border-radius: 15px;
        color: white;
        text-align: left;
        cursor: pointer;
        overflow: hidden;
        appearance: none;

        transition: transform 160ms ease;
    }

    .mythra-mobile-server-card {
        background:
            linear-gradient(
                135deg,
                #ff87e1 0%,
                #ffc4e9 58%,
                #ffe3f0 100%
            );

        color: #5c073f;

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.74),
            inset 0 -3px 0 rgba(177, 56, 132, 0.32),
            0 3px 0 #b24e8d;
    }

    .mythra-mobile-discord-card {
        background:
            linear-gradient(
                135deg,
                #0011ff 0%,
                #0059ff 52%,
                #0080ff 100%
            );

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.30),
            inset 0 -3px 0 rgba(0, 11, 125, 0.50),
            0 3px 0 #102bbb;
    }

    .mythra-mobile-quick-card:active {
        transform: translateY(2px) scale(0.985);
    }

    .mythra-mobile-quick-icon {
        display: grid;
        place-items: center;
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
        border-radius: 11px;

        background: rgba(255, 255, 255, 0.16);

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.28),
            inset 0 -2px 0 rgba(0, 0, 0, 0.20),
            0 2px 0 rgba(0, 0, 0, 0.24);
    }

    .mythra-mobile-quick-content {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
        line-height: 1.15;
    }

    .mythra-mobile-quick-content strong {
        overflow: hidden;
        font-size: 11px;
        font-weight: 800;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mythra-mobile-quick-content small {
        overflow: hidden;
        margin-top: 4px;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 0.025em;
        text-transform: uppercase;
        white-space: nowrap;
        text-overflow: ellipsis;
        opacity: 0.72;
    }

    .mythra-mobile-quick-indicator {
        flex: 0 0 auto;
        font-size: 9px;
        opacity: 0.62;
    }

    /* -----------------------------------------------------
       MENÜ BAŞLIĞI
       ----------------------------------------------------- */

    .mythra-mobile-menu-title {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 17px 3px 10px;
        color: rgba(255, 255, 255, 0.48);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .mythra-mobile-menu-title-line {
        height: 1px;
        flex: 1;
        background:
            linear-gradient(
                90deg,
                rgba(255, 0, 153, 0.38),
                transparent
            );
    }

    /* -----------------------------------------------------
       NAVİGASYON
       ----------------------------------------------------- */

    .mythra-mobile-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mythra-mobile-nav-item {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 43px;
        padding: 8px 10px;
        border: 1px solid rgba(255, 255, 255, 0.065);
        border-radius: 13px;

        color: rgba(255, 255, 255, 0.72);

        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.045),
                rgba(255, 255, 255, 0.012)
            );

        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.055),
            inset 0 -2px 0 rgba(0, 0, 0, 0.26);

        font-size: 11.5px;
        font-weight: 750;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        transition:
            color 150ms ease,
            border-color 150ms ease,
            transform 150ms ease;
    }

    .mythra-mobile-nav-item:active {
        transform: translateY(1px) scale(0.985);
    }

    .mythra-mobile-nav-item.active {
        border-color: rgba(255, 151, 214, 0.65);
        color: white;

        background:
            linear-gradient(
                180deg,
                #ff38b0 0%,
                #ff0099 54%,
                #d0007d 100%
            );

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.28),
            inset 0 -3px 0 rgba(104, 0, 62, 0.42),
            0 3px 0 #9f005f,
            0 7px 15px rgba(255, 0, 153, 0.16);
    }

    /* Alt menülü navigasyon */
    .mythra-mobile-nav-group {
        grid-column: 1 / -1;
    }

    .mythra-mobile-nav-parent {
        width: 100%;
        justify-content: space-between;
    }

    .mythra-mobile-chevron {
        margin-left: 8px;
        font-size: 9px;
        transition: transform 180ms ease;
    }

    .mythra-mobile-chevron.is-open {
        transform: rotate(180deg);
    }

    .mythra-mobile-submenu {
        display: grid;
        gap: 5px;
        margin-top: 7px;
        padding: 7px;
        border-radius: 13px;
        background: rgba(0, 0, 0, 0.22);
    }

    .mythra-mobile-submenu-item {
        display: flex;
        align-items: center;
        min-height: 38px;
        gap: 9px;
        padding: 7px 10px;
        border-radius: 9px;
        color: rgba(255, 255, 255, 0.68);
        font-size: 11px;
        font-weight: 650;
        background: rgba(255, 255, 255, 0.025);
    }

    .mythra-mobile-submenu-dot {
        width: 5px;
        height: 5px;
        flex: 0 0 5px;
        border-radius: 999px;
        background: #ff0099;
        box-shadow: 0 0 8px rgba(255, 0, 153, 0.52);
    }

    /* -----------------------------------------------------
       HESAP / GİRİŞ / KAYIT
       ----------------------------------------------------- */

    .mythra-mobile-account-area {
        display: flex;
        align-items: stretch;
        gap: 9px;
        margin-top: 15px;
        padding-top: 13px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .mythra-mobile-login-button,
    .mythra-mobile-register-button,
    .mythra-mobile-profile-card,
    .mythra-mobile-cart-button {
        min-height: 46px;
        border-radius: 13px;
        font-size: 11px;
        font-weight: 800;
    }

    .mythra-mobile-login-button,
    .mythra-mobile-register-button {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mythra-mobile-login-button {
        border: 1px solid rgba(255, 255, 255, 0.11);
        color: white;
        background: linear-gradient(180deg, #29242e, #151219);

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.09),
            inset 0 -3px 0 rgba(0, 0, 0, 0.42),
            0 3px 0 #08070a;
    }

    .mythra-mobile-register-button {
        border: 1px solid rgba(194, 255, 211, 0.82);
        color: #052b11;
        background: linear-gradient(180deg, #58ff89, #00ff4c);

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.56),
            inset 0 -3px 0 rgba(0, 112, 34, 0.48),
            0 3px 0 #00952d,
            0 7px 15px rgba(0, 255, 76, 0.15);
    }

    .mythra-mobile-profile-card {
        display: flex;
        min-width: 0;
        flex: 1;
        align-items: center;
        gap: 9px;
        padding: 6px 10px;
        border: 1px solid rgba(192, 132, 252, 0.24);
        color: white;
        text-align: left;
        background: linear-gradient(180deg, #28222e, #151219);

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.09),
            inset 0 -3px 0 rgba(0, 0, 0, 0.42),
            0 3px 0 #08070a;
    }

    .mythra-mobile-avatar {
        flex: 0 0 auto;
        border-radius: 10px;
    }

    .mythra-mobile-profile-content {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
    }

    .mythra-mobile-profile-content strong {
        overflow: hidden;
        font-size: 11px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mythra-mobile-profile-content small {
        margin-top: 3px;
        color: rgba(255, 255, 255, 0.42);
        font-size: 8px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .mythra-mobile-profile-card > .fa-chevron-right {
        color: rgba(255, 255, 255, 0.34);
        font-size: 9px;
    }

    .mythra-mobile-cart-button {
        position: relative;
        display: grid;
        width: 48px;
        flex: 0 0 48px;
        place-items: center;
        border: 1px solid rgba(255, 92, 190, 0.50);
        color: white;
        background: linear-gradient(180deg, #ff38b0, #ff0099);

        box-shadow:
            inset 0 2px 0 rgba(255, 255, 255, 0.27),
            inset 0 -3px 0 rgba(100, 0, 60, 0.43),
            0 3px 0 #9f005f;
    }

    .mythra-mobile-cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        display: grid;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        place-items: center;
        border: 2px solid #121016;
        border-radius: 999px;
        color: white;
        background: #10b981;
        font-size: 8px;
        font-weight: 900;
    }

    /* Çok dar telefonlarda hızlı kartlar alt alta geçer */
    @media (max-width: 370px) {
        .mythra-mobile-quick-grid {
            grid-template-columns: 1fr;
        }

        .mythra-mobile-quick-content strong {
            font-size: 11.5px;
        }
    }

    /* Hareket azaltma tercihi */
    @media (prefers-reduced-motion: reduce) {
        #mythra-mobile-header *,
        #mythra-mobile-header *::before,
        #mythra-mobile-header *::after {
            scroll-behavior: auto !important;
            transition: none !important;
            animation: none !important;
        }
    }
}
