:root {
    --brand-navy: #0f172a;
    --brand-ink: #1e293b;
    --brand-sky: #0ea5e9;
    --brand-cyan: #22d3ee;
    --brand-ash: #f8fafc;
    --brand-card: #ffffff;
}

body {
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.12), transparent 32%),
        radial-gradient(circle at 85% 12%, rgba(34, 211, 238, 0.12), transparent 28%),
        var(--brand-ash);
    color: var(--brand-ink);
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.top-nav {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    z-index: 1030;
}

.navbar-toggler {
    border-color: rgba(15, 23, 42, 0.2);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815,23,42,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-dark {
    height: 34px;
    width: auto;
}

.logo-light {
    display: none;
    height: 34px;
    width: auto;
}

.nav-link-lite {
    color: var(--brand-ink);
    text-decoration: none;
    font-weight: 500;
}

.nav-link-lite:hover {
    color: var(--brand-sky);
}

.nav-mobile-panel .navbar-nav .nav-link {
    border-radius: .6rem;
}

.nav-server-dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.nav-server-dropdown .dropdown-menu {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: .85rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    padding: .45rem;
    margin-top: .45rem;
    min-width: 15rem;
}

.nav-server-dropdown .dropdown-item {
    border-radius: .6rem;
    font-weight: 600;
    color: #1e293b;
    padding: .58rem .75rem;
}

.nav-server-dropdown .dropdown-item:hover,
.nav-server-dropdown .dropdown-item:focus {
    background: rgba(14, 165, 233, 0.12);
    color: #0c4a6e;
}

.nav-server-dropdown .dropdown-submenu {
    position: relative;
}

.nav-server-dropdown .submenu-toggle::after {
    float: right;
    margin-top: .3rem;
    transform: rotate(-90deg);
}

.nav-server-dropdown .submenu-menu {
    top: -.4rem;
    left: calc(100% - .2rem);
    margin-top: 0;
}

.nav-server-dropdown .dropdown-submenu.is-open > .submenu-menu {
    display: block;
}

@media (max-width: 991.98px) {
    .nav-mobile-panel .nav-server-dropdown {
        width: 100%;
    }

    .nav-mobile-panel .nav-server-dropdown > .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: .65rem .75rem;
    }

    .nav-mobile-panel .nav-server-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        min-width: 0;
        margin-top: .3rem;
        margin-bottom: .15rem;
        box-shadow: none;
        border-color: rgba(15, 23, 42, 0.07);
        background: #f8fafc;
        padding: .35rem;
    }

    .nav-mobile-panel .nav-server-dropdown .dropdown-item {
        padding: .55rem .65rem;
        font-size: .95rem;
    }

    .nav-mobile-panel .nav-server-dropdown .submenu-toggle::after {
        transform: rotate(0deg);
    }

    .nav-mobile-panel .nav-server-dropdown .submenu-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        min-width: 0;
        margin: .2rem 0 0;
        border: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: .65rem;
        background: #ffffff;
        box-shadow: none;
        padding: .25rem;
    }

    .nav-mobile-panel .nav-server-dropdown .dropdown-submenu:not(.is-open) > .submenu-menu {
        display: none;
    }
}

.hero-gradient {
    background: linear-gradient(140deg, #0f172a 0%, #1d4ed8 45%, #0891b2 100%);
    position: relative;
}

.hero-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.12), transparent 36%);
    pointer-events: none;
}

.hero-gradient > * {
    position: relative;
    z-index: 1;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.82) !important;
}

.p-6 {
    padding: 4.25rem;
}

.glass-card {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.shadow-soft {
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.hover-lift {
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

.btn-brand {
    background: linear-gradient(95deg, #0ea5e9 0%, #2563eb 100%);
    color: #fff;
    border: none;
}

.btn-brand:hover {
    color: #fff;
    opacity: 0.95;
}

.text-bg-brand-soft {
    background-color: rgba(14, 165, 233, 0.14);
    color: #0c4a6e;
}

.text-bg-warning-soft {
    background: rgba(245, 158, 11, 0.17);
    color: #92400e;
}

.text-bg-success-soft {
    background: rgba(34, 197, 94, 0.16);
    color: #14532d;
}

.text-bg-info-soft {
    background: rgba(14, 165, 233, 0.16);
    color: #0c4a6e;
}

.second-hand-card {
    overflow: hidden;
}

.second-hand-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.second-hand-feature-list {
    padding-left: 1.1rem;
    color: #334155;
}

.second-hand-feature-list li {
    margin-bottom: .2rem;
}

.small-link {
    text-decoration: none;
    color: #0f766e;
    font-weight: 600;
}

.small-link:hover {
    color: #155e75;
}

.tracking {
    letter-spacing: .08em;
}

.tiny {
    font-size: .82rem;
}

.spec-chip {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: .8rem;
    padding: .75rem;
    background: #fff;
}

.footer-zone {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.footer-wrap {
    padding: 1.15rem 0 .9rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
    align-content: start;
}

.footer-links a {
    color: #334155;
    text-decoration: none;
}

.footer-links a:hover {
    color: #0ea5e9;
}

.footer-contact div + div {
    margin-top: .35rem;
}

.footer-bottom {
    margin-top: 1rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.wa-float {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1050;
    text-decoration: none;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 12px 16px;
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(18, 140, 126, 0.42);
}

.to-top-float {
    position: fixed;
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
    z-index: 1050;
}

.to-top-float.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.to-top-float:hover {
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.42);
}

.to-top-float:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.category-hero {
    min-height: 220px;
    position: relative;
    background-size: cover;
    background-position: center center;
    animation: hero-pan 18s ease-in-out infinite;
    background-image:
        linear-gradient(130deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.25)),
        url('/assets/img/hero-services.svg');
}

.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(2, 6, 23, 0.58) 0%, rgba(2, 6, 23, 0.28) 55%, rgba(2, 6, 23, 0.62) 100%);
}

.category-hero-overlay {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.category-hero-vds {
    background-image:
        linear-gradient(130deg, rgba(30, 58, 138, 0.32), rgba(8, 145, 178, 0.22)),
        url('/assets/img/hero-vds.svg');
}

.category-hero-dedicated {
    background-image:
        linear-gradient(130deg, rgba(15, 23, 42, 0.3), rgba(15, 118, 110, 0.2)),
        url('/assets/img/hero-dedicated.svg');
}

.category-hero-hosting {
    background-image:
        linear-gradient(130deg, rgba(15, 23, 42, 0.3), rgba(29, 78, 216, 0.22)),
        url('/assets/img/hero-hosting.svg');
}

.category-hero-services {
    background-image:
        linear-gradient(130deg, rgba(15, 23, 42, 0.3), rgba(6, 182, 212, 0.24)),
        url('/assets/img/hero-services.svg');
}

.category-hero-about {
    background-image:
        linear-gradient(130deg, rgba(15, 23, 42, 0.35), rgba(14, 116, 144, 0.22)),
        url('/assets/img/hero-about.svg');
}

.category-hero-contact {
    background-image:
        linear-gradient(130deg, rgba(15, 23, 42, 0.33), rgba(15, 118, 110, 0.25)),
        url('/assets/img/hero-contact.svg');
}

.metin2-type-media {
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

.metin2-type-media img,
.metin2-type-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.metin2-media-trigger {
    width: 100%;
    border: 0;
    padding: 0;
    cursor: zoom-in;
    text-align: left;
}

.td-lightbox[hidden] {
    display: none !important;
}

.td-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.td-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.84);
}

.td-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, 1280px);
    margin: 2vh auto;
    height: 96vh;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    background: #0b1220;
    border: 1px solid rgba(148, 163, 184, 0.3);
    overflow: hidden;
}

.td-lightbox-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    padding: .75rem .9rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.td-lightbox-title {
    color: #e2e8f0;
    font-weight: 700;
    font-size: .95rem;
}

.td-lightbox-stage {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    background: #020617;
}

.td-lightbox-image,
.td-lightbox-video {
    max-width: 100%;
    max-height: 100%;
}

.td-lightbox-image {
    cursor: grab;
    transform-origin: center center;
    user-select: none;
}

.td-lightbox-image.is-dragging {
    cursor: grabbing;
}

.td-lightbox-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.td-lightbox-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
    padding: .75rem .9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.td-lightbox-btn {
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    border-radius: .6rem;
    padding: .35rem .7rem;
    font-size: .86rem;
    font-weight: 700;
}

@keyframes hero-pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.admin-bg {
    background: #f1f5f9;
}

.account-hero {
    background:
        linear-gradient(128deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 64, 175, 0.92) 54%, rgba(8, 145, 178, 0.88) 100%);
}

.account-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 35%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.14), transparent 30%);
    pointer-events: none;
}

.account-hero-overlay {
    position: relative;
    z-index: 1;
}

.account-stat .card-body {
    padding: 1rem 1rem;
}

.account-profile-card {
    border: 1px solid rgba(14, 165, 233, 0.12);
}

.account-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem .9rem;
}

.quick-action {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    color: #0f172a;
}

.quick-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
    border-color: rgba(14, 165, 233, 0.45) !important;
    color: #0f172a;
}

.account-orders-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.account-table thead th {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    font-weight: 700;
    border-bottom-width: 1px;
}

.account-table tbody td {
    vertical-align: middle;
    padding-top: .72rem;
    padding-bottom: .72rem;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .22rem .62rem;
    font-size: .73rem;
    font-weight: 700;
    line-height: 1.1;
}

.status-paid {
    background: rgba(16, 185, 129, 0.16);
    color: #047857;
}

.status-pending {
    background: rgba(245, 158, 11, 0.18);
    color: #b45309;
}

.status-failed {
    background: rgba(239, 68, 68, 0.14);
    color: #b91c1c;
}

.empty-box {
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: .9rem;
    padding: 1.05rem;
    text-align: center;
    color: #64748b;
    background: rgba(248, 250, 252, 0.76);
}

.admin-shell {
    background:
        radial-gradient(circle at 6% 8%, rgba(37, 99, 235, 0.12), transparent 30%),
        radial-gradient(circle at 94% 12%, rgba(14, 165, 233, 0.11), transparent 32%),
        linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}

.admin-layout {
    max-width: 1680px;
}

.admin-topbar {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.98));
    padding: .95rem 1rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.admin-topbar::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -120px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0));
    pointer-events: none;
}

.admin-quick-search {
    min-width: min(360px, 78vw);
    border-radius: .7rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.admin-quick-search:focus {
    border-color: rgba(14, 165, 233, 0.66);
    box-shadow: 0 0 0 .2rem rgba(14, 165, 233, 0.14);
}

.admin-tab-nav {
    position: sticky;
    top: 12px;
    z-index: 10;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: .6rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(9px);
}

.admin-tab-nav .nav-link {
    border-radius: .7rem;
    color: #0f172a;
    font-weight: 600;
}

.admin-tab-nav .nav-link.active {
    background: linear-gradient(95deg, #0ea5e9 0%, #2563eb 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}

.admin-content .card {
    border-radius: 1rem !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: rgba(255, 255, 255, 0.98);
    content-visibility: auto;
    contain-intrinsic-size: 1px 540px;
}

.admin-content .table-responsive {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: .85rem;
    overflow: auto;
    background: #fff;
}

.admin-content table thead th {
    background: #f8fafc;
    color: #334155;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.admin-content table td,
.admin-content table th {
    vertical-align: middle;
    border-color: rgba(15, 23, 42, 0.08);
}

.admin-content .form-control,
.admin-content .form-select,
.admin-content textarea {
    border-radius: .66rem;
    border-color: rgba(15, 23, 42, 0.14);
}

.admin-content .form-control:focus,
.admin-content .form-select:focus,
.admin-content textarea:focus {
    box-shadow: 0 0 0 .2rem rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.66);
}

.admin-content .btn {
    border-radius: .7rem;
}

.admin-kpi-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.admin-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12) !important;
}

.admin-kpi-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.admin-kpi-dot-a {
    background: #2563eb;
}

.admin-kpi-dot-b {
    background: #0ea5e9;
}

.admin-kpi-dot-c {
    background: #14b8a6;
}

.admin-kpi-dot-d {
    background: #f97316;
}

.admin-quick-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.admin-quick-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3) !important;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.16) !important;
}

.admin-settings-block {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: .95rem;
    background: #fff;
    overflow: hidden;
}

.admin-settings-summary {
    list-style: none;
    cursor: pointer;
    padding: .85rem .95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.admin-settings-summary::-webkit-details-marker {
    display: none;
}

.admin-settings-block[open] .admin-settings-summary {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-settings-body {
    padding: .85rem .9rem;
}

.admin-product-group-divider {
    height: 1px;
    margin: .75rem 0 .95rem;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.35), rgba(37, 99, 235, 0));
}

.admin-secondhand-item {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: .9rem;
    background: #fff;
    overflow: hidden;
}

.admin-secondhand-filter {
    min-width: min(320px, 100%);
}

.admin-secondhand-summary {
    list-style: none;
    cursor: pointer;
    padding: .8rem .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.admin-secondhand-summary::-webkit-details-marker {
    display: none;
}

.admin-secondhand-item[open] .admin-secondhand-summary {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-secondhand-body {
    padding: .75rem;
}

.admin-secondhand-form {
    max-width: 980px;
    margin: 0 auto;
}

.admin-secondhand-subtitle {
    font-size: .73rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #475569;
    font-weight: 700;
    margin: .35rem 0 .45rem;
}

.admin-secondhand-cat-item {
    border-color: rgba(15, 23, 42, 0.1) !important;
}

.checkout-page-head h1 {
    letter-spacing: -0.02em;
}

.checkout-main-form {
    border-radius: 1rem;
}

.checkout-block {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    border-radius: .9rem;
    padding: .9rem;
}

.checkout-block-title {
    font-size: .73rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #475569;
    font-weight: 800;
    margin-bottom: .7rem;
}

.checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.checkout-field-wide {
    grid-column: 1 / -1;
}

.checkout-main-form .form-label {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: .4rem;
}

.checkout-main-form .form-control,
.checkout-main-form .form-select {
    border-radius: .72rem;
    border-color: rgba(15, 23, 42, 0.14);
    min-height: 44px;
}

.checkout-main-form .form-control:focus,
.checkout-main-form .form-select:focus {
    border-color: rgba(37, 99, 235, 0.52);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, 0.14);
}

.metin2-checkout {
    border: 1px solid rgba(15, 23, 42, 0.09) !important;
    border-radius: .95rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%) !important;
    padding: 1rem !important;
}

.metin2-addon-list {
    display: grid;
    gap: .55rem;
}

.metin2-addon-groups {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: .8rem;
    background: #fff;
    padding: .85rem;
}

.metin2-addon-groups-head {
    padding: .2rem .1rem .45rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    margin-bottom: .6rem !important;
}

.metin2-config-group {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: .8rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: .75rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.metin2-config-group:hover {
    border-color: rgba(59, 130, 246, 0.32);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.metin2-config-head .fw-semibold {
    color: #0f172a;
}

.metin2-config-game-type {
    border-color: rgba(14, 116, 144, 0.24);
    background: linear-gradient(180deg, #f8fdff 0%, #f3f9ff 100%);
}

.metin2-game-type-select-wrap {
    border: 1px solid rgba(14, 116, 144, 0.22);
    border-radius: .75rem;
    background: #ffffff;
    padding: .68rem;
}

.metin2-game-type-select {
    min-height: 46px;
    border-width: 2px;
}

.metin2-game-type-select:focus {
    border-color: rgba(14, 116, 144, 0.56);
    box-shadow: 0 0 0 .2rem rgba(14, 116, 144, 0.14);
}

.metin2-config-collapsible-group .metin2-config-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .65rem;
}

.metin2-config-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #f8fafc;
    color: #0f172a;
    border-radius: 999px;
    padding: .3rem .58rem;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.metin2-config-toggle-label {
    color: #64748b;
    font-weight: 600;
}

.metin2-config-current {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metin2-config-chevron {
    display: inline-block;
    transition: transform .2s ease;
}

.metin2-config-group.is-open .metin2-config-chevron {
    transform: rotate(180deg);
}

.metin2-config-collapsible {
    margin-top: .45rem;
}

.metin2-choice-grid {
    display: grid;
    gap: .55rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.metin2-choice-item {
    display: grid;
    grid-template-columns: 1.1rem 1fr;
    gap: .6rem;
    align-items: start;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: .7rem;
    background: #fff;
    padding: .58rem .62rem;
}

.metin2-choice-item:has(input:checked) {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
}

.metin2-feature-accordion {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: .72rem;
    background: #fff;
    padding: .58rem .64rem;
}

.metin2-feature-accordion summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .65rem;
}

.metin2-feature-accordion summary::-webkit-details-marker {
    display: none;
}

.metin2-feature-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    display: grid;
    gap: .48rem;
}

.metin2-feature-item {
    display: grid;
    grid-template-columns: 1.1rem 1fr auto;
    gap: .44rem;
    align-items: start;
    font-size: .78rem;
    color: #334155;
    line-height: 1.42;
}

.metin2-feature-status {
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
}

.metin2-feature-item.is-yes .metin2-feature-status {
    color: #047857;
}

.metin2-feature-item.is-no .metin2-feature-status {
    color: #b91c1c;
}

.metin2-feature-tip {
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: #f8fafc;
    color: #0f172a;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    padding: 0;
}

.tooltip.metin2-tooltip .tooltip-inner {
    max-width: 340px;
    text-align: left;
}

.metin2-addon-item {
    display: grid;
    grid-template-columns: 1.15rem 1fr;
    gap: .65rem;
    align-items: start;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: .75rem;
    padding: .62rem .68rem;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.metin2-addon-item:has(input:checked) {
    border-color: rgba(14, 165, 233, 0.55);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.12);
}

.metin2-summary {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: .8rem;
    padding: .95rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.metin2-summary-row {
    padding: .2rem 0;
}

.metin2-summary-items {
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: .65rem;
    padding: .55rem .62rem;
    max-height: 210px;
    overflow: auto;
}

.metin2-summary-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
    font-size: .78rem;
    color: #334155;
}

.metin2-summary-line span {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

.metin2-summary-line strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

.metin2-summary-line + .metin2-summary-line {
    margin-top: .35rem;
    padding-top: .35rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.checkout-summary-card {
    border-radius: 1rem;
    position: sticky;
    top: 96px;
}

.checkout-submit-btn {
    min-height: 48px;
    font-weight: 700;
    letter-spacing: .01em;
}

@media (max-width: 768px) {
    .checkout-page-head {
        margin-bottom: .75rem !important;
    }

    .checkout-page-head h1 {
        font-size: 1.28rem;
    }

    .checkout-main-form {
        padding: .9rem !important;
        border-radius: .9rem;
    }

    .checkout-block {
        padding: .72rem;
    }

    .checkout-field-grid {
        grid-template-columns: 1fr;
        gap: .66rem;
    }

    .checkout-field-wide {
        grid-column: auto;
    }

    .metin2-checkout {
        padding: .78rem !important;
    }

    .metin2-addon-groups {
        padding: .64rem;
    }

    .metin2-config-group {
        padding: .62rem;
    }

    .metin2-config-toggle {
        max-width: 100%;
    }

    .metin2-config-current {
        max-width: 120px;
    }

    .metin2-choice-grid {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .metin2-choice-item {
        grid-template-columns: 1rem 1fr;
        gap: .52rem;
        padding: .56rem;
    }

    .checkout-summary-card {
        position: static;
        top: auto;
        padding: .95rem !important;
    }

    .metin2-summary {
        padding: .8rem;
    }

    .metin2-summary-items {
        max-height: 190px;
    }

    .top-nav .navbar {
        align-items: center;
        padding-left: .8rem;
        padding-right: .8rem;
        position: relative;
    }

    .top-nav .navbar-brand {
        margin-left: .15rem;
        margin-right: .5rem;
    }

    .brand-wrap {
        padding-left: .15rem;
    }

    .nav-mobile-panel {
        position: absolute;
        top: calc(100% + .55rem);
        left: .8rem;
        right: .8rem;
        z-index: 1040;
        margin-top: .7rem;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: .9rem;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
        padding: .55rem;
    }

    .nav-mobile-panel .navbar-nav {
        gap: .35rem !important;
    }

    .nav-mobile-panel .navbar-nav .nav-link {
        padding: .65rem .75rem;
        line-height: 1.25;
    }

    .nav-mobile-panel .nav-server-dropdown {
        width: 100%;
    }

    .nav-mobile-panel .nav-server-dropdown > .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: .65rem .75rem;
    }

    .nav-mobile-panel .nav-server-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        min-width: 0;
        margin-top: .3rem;
        margin-bottom: .15rem;
        box-shadow: none;
        border-color: rgba(15, 23, 42, 0.07);
        background: #f8fafc;
        padding: .35rem;
    }

    .nav-mobile-panel .nav-server-dropdown .dropdown-item {
        padding: .55rem .65rem;
        font-size: .95rem;
    }

    .nav-mobile-panel .navbar-nav .btn {
        width: 100%;
        margin: 0;
        text-align: center;
        padding: .65rem .75rem;
    }

    .nav-mobile-panel .navbar-nav .btn + .btn {
        margin-top: .35rem;
    }

    .p-6 {
        padding: 2rem;
    }

    .logo-dark {
        height: 28px;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
        width: 100%;
    }

    .footer-wrap {
        padding: 1.2rem .25rem calc(1rem + 58px);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: .95rem;
        text-align: center;
    }

    .footer-brand h2 {
        margin-bottom: .35rem !important;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: .2rem;
        align-items: center;
    }

    .footer-bottom {
        text-align: center;
        margin-top: .8rem;
        padding-top: .7rem;
    }

    .wa-float {
        left: 12px;
        bottom: 12px;
        padding: 11px 14px;
        font-size: 0.86rem;
    }

    .account-meta-grid {
        grid-template-columns: 1fr;
    }

    .account-table thead th,
    .account-table tbody td {
        white-space: nowrap;
    }

    .admin-quick-search {
        min-width: 100%;
    }

    .admin-tab-nav {
        position: static;
    }

    .metin2-addon-item {
        padding: .58rem .62rem;
    }

    .metin2-choice-grid {
        grid-template-columns: 1fr;
    }
}
