/* Profesyonel tema: Altın & Krem Beyaz (kahve tonları kaldırıldı) */
:root {
    --gold: #c9a227;
    --gold-light: #e8c547;
    --gold-dark: #a67c1a;
    --cream: #fffef9;
    --cream-warm: #fffbf5;
    --cream-soft: #f8f6f0;
    --white-ivory: #f5f0e6;
    --text-dark: #3d3228;
    --text-soft: #5c4e40;
    --primary-color: #3d3228;
    --secondary-color: #fffbf5;
    --accent-gold: #c9a227;
    --accent-gold-dark: #a67c1a;
    --light-color: #fffef9;
    --dark-color: #3d3228;
    --text-on-cream: #f0ead8;
    --text-on-cream-soft: #d4c9a8;
    --site-cursor: url("../media/images/Yellow Black Sci-fi Right-Handed.cur"), auto;
    --transition-speed: 0.2s;
    --bg-panel: rgba(255, 254, 249, 0.58);
    --bg-panel-strong: rgba(255, 251, 245, 0.68);
    --bg-modal: rgba(255, 254, 249, 0.62);
    --bg1-glass: rgba(255, 254, 249, 0.52);
    --bg1-glass-strong: rgba(255, 251, 245, 0.62);
    --bg1-glass-modal: rgba(255, 255, 255, 0.75);
    --bg1-modal-inner: linear-gradient(180deg, rgba(201, 162, 39, 0.52) 0%, rgba(201, 162, 39, 0.28) 40%, rgba(166, 124, 26, 0.18) 100%);
    --bg1-modal-border: rgba(255, 252, 245, 0.88);
    --bg1-modal-backdrop: rgba(255, 250, 238, 0.55);
    --bg1-modal-white: rgba(252, 243, 218, 0.82);
    --bg1-modal-white-soft: rgba(252, 243, 218, 0.75);
    --bg1-inner-glow: linear-gradient(180deg, rgba(255, 248, 235, 0.22) 0%, rgba(201, 162, 39, 0.06) 50%, transparent 100%);
    --bg1-border: rgba(201, 162, 39, 0.55);
    --bg1-border-soft: rgba(201, 162, 39, 0.35);
    --bg1-cream-tint: rgba(255, 248, 235, 0.1);
    --bg1-blur: 6px;
    --transition-fast: 0.18s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* GERİ SAYIM STİLLERİ - Bg1 cam panel */
.countdown-container {
    background: var(--bg1-glass);
    border: 2px solid var(--bg1-border);
    border-radius: 18px;
    padding: 28px 32px;
    margin: 40px auto;
    max-width: 800px;
    backdrop-filter: blur(var(--bg1-blur));
    -webkit-backdrop-filter: blur(var(--bg1-blur));
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.countdown-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg1-inner-glow);
    pointer-events: none;
    border-radius: 16px;
}

.countdown-title {
    text-align: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 650;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin: 32px 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 750;
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-label {
    font-size: 1rem;
    color: var(--text-soft);
    margin-top: 10px;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.server-status {
    text-align: center;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(201, 162, 39, 0.4);
}

.status-badge {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 650;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.countdown-active {
    background-color: rgba(201, 162, 39, 0.25);
    color: var(--primary-color);
    border: 2px solid var(--accent-gold);
}

.server-active {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 2px solid #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Responsive Geri Sayım */
@media (max-width: 768px) {
    .countdown-container {
        padding: 22px 18px;
        margin: 30px auto;
    }

    .countdown-timer {
        gap: 12px;
    }

    .countdown-item {
        min-width: 70px;
    }

    .countdown-number {
        font-size: 2.5rem;
        min-height: 50px;
    }

    .countdown-label {
        font-size: 0.85rem;
    }

    .status-badge {
        padding: 10px 22px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        flex-wrap: wrap;
        gap: 15px;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-number {
        font-size: 2rem;
        min-height: 40px;
    }

    .countdown-label {
        font-size: 0.75rem;
    }
}

body {
    background: #0a0a0a;
    color: var(--text-on-cream);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    line-height: 1.65;
    cursor: var(--site-cursor);
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

img,
video {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

a,
button,
[role="button"],
input,
select,
textarea,
.nav-link,
.btn,
.feature-card,
.feature-item,
.system-card,
.map-card,
.npc-card-mini,
.upgrade-item-card,
.scroll-top,
.discord-collapse-btn,
.discord-toggle-pill,
.quick-access-nav a {
    cursor: var(--site-cursor) !important;
}

/* Video Arkaplan Kapsayıcı */
#video-bg-wrapper {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#video-bg-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

#video-bg-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    pointer-events: none;
}

/* erdographic.css dosyasına ekleyin */
/* Altın çizgi ile ayrılmış koyu bölüm */
.custom-dark-section {
    background: rgba(99, 111, 101, 0.82) !important;
    border-top: 3px solid var(--accent-gold);
    border-bottom: 3px solid var(--accent-gold);
    position: relative;
    box-shadow: 0 2px 20px rgba(201, 162, 39, 0.12);
}

.custom-dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(232, 197, 71, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Scrollbar Stilleri */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-dark);
}

/* Krem/fildişi paneller – metin tema rengi (beyazla üst üste gelmesin) */
.countdown-container {
    color: var(--text-on-cream);
}

.countdown-label {
    color: var(--text-on-cream) !important;
}

/* Oyuna Başlangıç video alanı */
.baslangic-aciklama {
    max-width: 620px;
    margin: 0 auto 32px;
    padding: 18px 28px;
    text-align: center;
    background: rgba(28, 30, 24, 0.82);
    border: 1px solid rgba(201, 162, 39, 0.85);
    border-radius: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.baslangic-aciklama p {
    margin: 0;
    color: #ffffff;
    font-size: 0.84rem;
    line-height: 1.8;
}

.baslangic-video-slider {
    position: relative;
    width: min(1036px, 100%);
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(201, 162, 39, 0.62);
    background: rgba(18, 18, 18, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.62);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.baslangic-video-slider:hover {
    border-color: var(--accent-gold);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.68),
        0 0 26px rgba(201, 162, 39, 0.72),
        0 0 58px rgba(255, 214, 92, 0.34);
}

.baslangic-video-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}

.baslangic-video-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.baslangic-gif {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

/* baslangic-vimeo-video kaldirildi - artik native video kullaniliyor */

.baslangic-video-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.55);
    background: rgba(18, 18, 18, 0.5);
    color: rgba(201, 162, 39, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    cursor: var(--site-cursor) !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.baslangic-video-prev {
    left: 14px;
}

.baslangic-video-next {
    right: 14px;
}

.baslangic-video-arrow:hover {
    background: var(--accent-gold);
    color: #111111;
    box-shadow: 0 0 18px rgba(201, 162, 39, 0.65);
}

.baslangic-video-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 5;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.baslangic-video-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.8);
    background: rgba(255, 255, 255, 0.22);
    cursor: var(--site-cursor) !important;
}

.baslangic-video-dot.active {
    background: var(--accent-gold);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.9);
    transform: scale(1.25);
}

.feature-card {
    color: var(--text-on-cream);
}

.map-card {
    color: var(--text-on-cream);
}

.map-card .map-name {
    color: var(--text-on-cream);
}

.event-card {
    color: var(--text-on-cream);
}

.event-card .event-title,
.event-card .event-content {
    color: var(--text-on-cream);
}

.quick-tips-container {
    color: var(--text-on-cream);
}

.quick-tip-item .tip-content {
    color: var(--text-on-cream);
}

.quick-tip-item .tip-content strong {
    color: var(--accent-gold);
}

.upgrade-item-card {
    color: var(--text-on-cream);
}

.upgrade-item-card .upgrade-item-name {
    color: var(--text-on-cream);
}

.system-card {
    color: var(--text-on-cream);
}

.system-card h4 {
    color: var(--text-on-cream);
}

.system-card p {
    color: var(--text-on-cream-soft);
}

.hero-announcement {
    color: var(--text-on-cream);
}

.map-info-banner {
    color: var(--text-on-cream);
}

.map-info-banner .map-info-text {
    color: var(--text-on-cream);
}

.feature-item {
    color: var(--text-on-cream);
}

.mission-table td {
    color: var(--text-on-cream);
}

.event-title {
    color: var(--text-on-cream);
}

.event-content {
    color: var(--text-on-cream);
}

/* Badge Stilleri */
.badge {
    font-size: 0.7rem;
    padding: 3px 6px;
}

.badge.bg-success {
    background-color: #28a745 !important;
    color: white;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Navbar – koyu zemin, okunaklı açık yazı ve ikon */
.navbar,
.navbar.sticky-top,
.navbar-dark,
nav.navbar {
    background: rgba(99, 111, 101, 0.92) !important;
    backdrop-filter: blur(var(--bg1-blur));
    -webkit-backdrop-filter: blur(var(--bg1-blur));
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    padding: 0.3rem 0 0.1rem 0;
    transition: box-shadow 0.2s ease;
    border-bottom: 2px solid rgba(201, 162, 39, 0.5);
}

.navbar-brand img {
    height: 25px;
    transition: transform var(--transition-speed), filter 0.25s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter:
        drop-shadow(0 0 14px rgba(201, 162, 39, 0.75))
        drop-shadow(0 0 30px rgba(255, 214, 92, 0.45));
}

.navbar-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 5px;
}

.navbar-nav::-webkit-scrollbar {
    height: 4px;
}

.navbar-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.navbar-nav::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 2px;
}

.navbar .nav-link {
    color: #f5f0e6 !important;
    font-weight: 500;
    margin: 0 3px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 5px;
    padding: 8px 12px !important;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.navbar .navbar-nav .nav-link {
    color: #f5f0e6 !important;
}

.navbar .nav-link i {
    color: var(--gold-light);
    font-size: 0.8rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
    transition: left 0.55s;
}

.nav-link:hover::before {
    left: 100%;
}

/* Aktif / hover – altın kutu, koyu yazı (okunaklı) */
.navbar .nav-link:hover,
.navbar .nav-link.active {
    background-color: var(--accent-gold);
    color: var(--text-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.5);
}

.navbar .nav-link:hover i,
.navbar .nav-link.active i {
    color: var(--text-dark);
}

/* Navbar toggle butonu */
.navbar-toggler {
    border: 1px solid var(--accent-gold);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.6);
}

.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%28201, 162, 39, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Tema toggle butonu gizlendi - site sadece koyu modda */
.theme-toggle-btn {
    display: none !important;
}

.li.nav-item:has(#themeToggle) {
    display: none !important;
}

/* Hero Section */
.hero-section {
    background: transparent;
    padding: 24px 0 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(232, 197, 71, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: #F0E485;
    display: block;
    letter-spacing: 0.5px;
}

.hero-logo {
    height: clamp(180px, 22vw, 280px);
    width: auto;
    filter: drop-shadow(0 4px 18px rgba(0,0,0,0.7));
    margin-bottom: 0.5rem;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.hero-logo:hover {
    transform: scale(1.03);
    filter:
        drop-shadow(0 4px 18px rgba(0, 0, 0, 0.7))
        drop-shadow(0 0 14px rgba(201, 162, 39, 0.75))
        drop-shadow(0 0 30px rgba(255, 214, 92, 0.45));
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(0.82rem, 1.5vw, 1rem);
    margin-bottom: 1.2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    line-height: 1.7;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.hero-subtitle-highlight {
    color: #F0E485;
}

/* Hero duyuru kutusu */
.hero-announcement {
    display: block;
    max-width: 520px;
    margin: 0.8rem auto 0;
    padding: 10px 16px;
    background: rgba(99, 111, 101, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 8px;
    color: #e8dfc8;
    font-size: 0.82rem;
    text-align: center;
    line-height: 1.5;
}

.hero-section .hero-announcement {
    background: rgba(99, 111, 101, 0.45);
}

.hero-announcement strong {
    color: #F0E485;
}

.btn-primary-custom {
    background-color: var(--accent-gold);
    border: none;
    color: var(--text-dark);
    font-weight: 650;
    padding: 9px 22px;
    font-size: 0.85rem;
    border-radius: 55px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--gold-light);
    transition: width 0.2s ease;
    z-index: -1;
}

.btn-primary-custom:hover {
    color: var(--text-dark);
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(201, 162, 39, 0.55);
}

.btn-primary-custom:hover::before {
    width: 100%;
}

.btn-primary-custom.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Section Stilleri */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
}

/* Başlık görseli - yazının arkasında ortalı */
.section-title-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 10px));
    width: auto;
    max-width: 700px;
    height: auto;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.section-title:hover .section-title-img {
    filter:
        drop-shadow(0 0 14px rgba(201, 162, 39, 0.75))
        drop-shadow(0 0 30px rgba(255, 214, 92, 0.45));
}

#quick-tips .section-title-img {
    width: min(860px, 115vw);
    max-width: none;
}

.section-padding {
    padding: 80px 0;
    background: rgba(99, 111, 101, 0.75) !important;
}

/* Feature Card - Bg1 şeffaf panel */
.feature-card {
    background: var(--bg1-glass);
    backdrop-filter: blur(var(--bg1-blur));
    -webkit-backdrop-filter: blur(var(--bg1-blur));
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    border: 1px solid var(--bg1-border-soft);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    z-index: 0;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg1-inner-glow);
    pointer-events: none;
    border-radius: 12px;
    z-index: 0;
}

.feature-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    border-color: var(--bg1-border);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    /* transition: transform var(--transition-speed); */
}



/* Map Card – iç altın, dış krem (Şeytan Kulesi, Ejderha Odası vb.) */
.map-card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2) 0%, rgba(201, 162, 39, 0.1) 50%, rgba(166, 124, 26, 0.08) 100%);
    border: 2px solid var(--bg1-border);
    position: relative;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 252, 245, 0.5);
}

.map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.2) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 12px;
    z-index: 0;
}

.map-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.32) 0%, rgba(201, 162, 39, 0.18) 50%, rgba(166, 124, 26, 0.12) 100%);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.28), 0 0 0 1px rgba(255, 252, 245, 0.7);
}

.map-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform var(--transition-speed);
}

.map-card:hover .map-image {
    transform: scale(1.05);
}

.map-category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.map-category-tabs .nav-link {
    min-width: 170px;
    border: 2px solid var(--bg1-border);
    border-radius: 6px;
    padding: 12px 22px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.18) 0%, rgba(201, 162, 39, 0.08) 100%);
    color: var(--text-on-cream) !important;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.map-category-tabs .nav-link::before,
.map-category-tabs .nav-link:hover::before {
    content: none;
    display: none;
}

.map-category-tabs .nav-link:hover,
.map-category-tabs .nav-link.active {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.38) 0%, rgba(201, 162, 39, 0.22) 100%);
    border-color: var(--accent-gold);
}

.tab-content.map-category-content {
    min-height: 0;
}

.map-category-grid {
    contain: layout;
}

.map-category-content .tab-pane.show.active {
    animation: map-category-soft-fade 0.28s ease-out both;
}

.map-category-content .tab-pane.show.active .col-md-4 {
    animation: map-card-reassemble 0.58s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.map-category-content .tab-pane.show.active .col-md-4:nth-child(1) { animation-delay: 0.02s; }
.map-category-content .tab-pane.show.active .col-md-4:nth-child(2) { animation-delay: 0.05s; }
.map-category-content .tab-pane.show.active .col-md-4:nth-child(3) { animation-delay: 0.08s; }
.map-category-content .tab-pane.show.active .col-md-4:nth-child(4) { animation-delay: 0.11s; }
.map-category-content .tab-pane.show.active .col-md-4:nth-child(5) { animation-delay: 0.14s; }
.map-category-content .tab-pane.show.active .col-md-4:nth-child(6) { animation-delay: 0.17s; }
.map-category-content .tab-pane.show.active .col-md-4:nth-child(7) { animation-delay: 0.20s; }
.map-category-content .tab-pane.show.active .col-md-4:nth-child(8) { animation-delay: 0.23s; }
.map-category-content .tab-pane.show.active .col-md-4:nth-child(9) { animation-delay: 0.26s; }

@keyframes map-category-soft-fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes map-card-reassemble {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.94) rotate(1.2deg);
        clip-path: inset(18% 10% 22% 10% round 8px);
        filter: blur(1.5px);
    }

    64% {
        opacity: 1;
        transform: translateY(-2px) scale(1.01) rotate(0deg);
        clip-path: inset(0 0 0 0 round 8px);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        clip-path: inset(0 0 0 0 round 8px);
        filter: blur(0);
    }
}

@media (max-width: 576px) {
    .map-category-tabs .nav-link {
        width: 100%;
        min-width: 0;
    }
}








/* ── NPC Portre Kartlar ─────────────────────────────────── */
.npc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 12px;
}

.npc-card-mini {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: transparent;
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 6px;
    cursor: default;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.npc-card-mini::before {
    content: '>';
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(201, 162, 39, 0.8);
    z-index: 3;
    font-family: monospace;
    pointer-events: none;
    line-height: 1;
}

.npc-card-mini:hover {
    border-color: rgba(201, 162, 39, 0.9);
    box-shadow: 0 8px 32px rgba(201, 162, 39, 0.22);
    transform: translateY(-5px);
}

.npc-card-mini-img {
    width: 100%;
    aspect-ratio: 3 / 5;
    flex-shrink: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.npc-card-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: scale(1.35);
    transition: transform 0.3s ease;
}

.npc-card-mini-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: scale(1.35);
    transition: transform 0.3s ease;
}

.npc-card-mini:hover .npc-card-mini-img img {
    transform: scale(1.42);
}

.npc-card-mini:hover .npc-card-mini-img video {
    transform: scale(1.42);
}

/* Alt bilgi: altin serit, siyah yazi */
.npc-card-mini-info {
    padding: 10px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: linear-gradient(90deg, #b8901f 0%, #e8c04a 50%, #b8901f 100%);
    position: relative;
    z-index: 2;
}

.npc-card-mini-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #100a00;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.npc-card-mini-role {
    font-size: 0.65rem;
    color: rgba(15, 8, 0, 0.72);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.4px;
}

.npc-card-mini-role i {
    font-size: 0.6rem;
    color: rgba(15, 8, 0, 0.65);
    flex-shrink: 0;
}

/* ── Gizli ek NPC wrapper ─────────────────── */
.npc-extra-wrapper {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.45s ease,
                margin-top 0.4s ease;
    margin-top: 0;
}

.npc-extra-wrapper.open {
    max-height: 2000px;
    opacity: 1;
    margin-top: 20px;
}

.npc-grid-extra {
    /* ayni grid sistemi kullanilir */
}

/* ── Büyük Toggle Butonu ─────────────────── */
.npc-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.npc-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(180, 140, 20, 0.15) 0%, rgba(201, 162, 39, 0.08) 100%);
    border: 2px solid rgba(201, 162, 39, 0.6);
    color: #c9a227;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 48px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.npc-toggle-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,162,39,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.npc-toggle-btn:hover,
.npc-toggle-btn.active {
    border-color: #c9a227;
    color: #f0c830;
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.3), 0 4px 20px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}

.npc-toggle-btn:hover::before,
.npc-toggle-btn.active::before {
    opacity: 1;
}

.npc-toggle-btn i {
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive */
@media (max-width: 1100px) { .npc-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 560px) {
    .npc-grid { grid-template-columns: 1fr; gap: 14px; }
    .npc-toggle-btn { padding: 14px 32px; font-size: 0.88rem; }
}

/* ═══════════════════════════════════════════════════════
   KARAKTERLER BÖLÜMÜ
═══════════════════════════════════════════════════════ */
.karakterler-section {
    position: relative;
    overflow: hidden;
}

.karakter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 16px;
}

/* ── Kart ─────────────────────────────────────────── */
.karakter-kart {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.karakter-kart:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 162, 39, 0.9);
    box-shadow: 0 12px 40px rgba(201, 162, 39, 0.25);
}

/* ── Görsel Alan ────────────────────────────────────── */
.karakter-kart-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    position: relative;
    overflow: hidden;
    background: rgba(32, 36, 31, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.karakter-kart-img img,
.karakter-kart-img video,
.karakter-kart-img iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: scale(1.0);
    transition: transform 0.4s ease;
    background: transparent;
}

.karakter-kart-img video.karakter-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.karakter-kart:hover .karakter-kart-img img,
.karakter-kart:hover .karakter-kart-img video {
    transform: scale(1.06);
}

/* Parlama efekti hover'da */
.karakter-kart-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(201,162,39,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.karakter-kart:hover .karakter-kart-glow {
    opacity: 1;
}

/* ── Alt İsim Şeridi ────────────────────────────────── */
.karakter-kart-info {
    padding: 10px 8px 12px;
    background: linear-gradient(90deg, #b8901f 0%, #e8c04a 50%, #b8901f 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.karakter-kart-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: #100a00;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sınıfa göre renk aksan */
.karakter-kart[data-class="savasci"]:hover  { border-color: rgba(220, 80, 80, 0.8); box-shadow: 0 12px 40px rgba(220,80,80,0.2); }
.karakter-kart[data-class="ninja"]:hover    { border-color: rgba(80, 200, 120, 0.8); box-shadow: 0 12px 40px rgba(80,200,120,0.2); }
.karakter-kart[data-class="sura"]:hover     { border-color: rgba(80, 120, 220, 0.8); box-shadow: 0 12px 40px rgba(80,120,220,0.2); }
.karakter-kart[data-class="saman"]:hover    { border-color: rgba(160, 80, 220, 0.8); box-shadow: 0 12px 40px rgba(160,80,220,0.2); }
.karakter-kart[data-class="lycan"]:hover    { border-color: rgba(220, 140, 40, 0.9); box-shadow: 0 12px 40px rgba(220,140,40,0.2); }
.karakter-kart[data-class="artemisia"]:hover{ border-color: rgba(220, 60, 140, 0.8); box-shadow: 0 12px 40px rgba(220,60,140,0.2); }

.character-modal .modal-dialog {
    width: min(1680px, calc(100vw - 10px));
    max-width: min(1680px, calc(100vw - 10px));
}

.character-modal .modal-body {
    padding: 22px;
}

.character-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: 22px;
    align-items: stretch;
}

.character-modal-left,
.character-modal-right {
    position: relative;
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 8px;
    background: rgba(25, 22, 16, 0.22);
    overflow: hidden;
}

.character-modal-left {
    padding: 18px;
}

.character-modal-right {
    display: flex;
    flex-direction: column;
    min-height: 430px;
}

.character-modal-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.character-modal-tab {
    border: 1px solid rgba(201, 162, 39, 0.55);
    border-radius: 6px;
    background: rgba(28, 24, 16, 0.55);
    color: var(--text-on-cream);
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    cursor: var(--site-cursor) !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.character-modal-tab.active,
.character-modal-tab:hover {
    background: var(--accent-gold);
    color: #111111;
    box-shadow: 0 0 18px rgba(201, 162, 39, 0.45);
}

.character-transform-list {
    display: block;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 6px;
}

.character-transform-list .transformation-class-content {
    display: block;
}

.character-transform-list .transformation-category-section {
    margin-bottom: 1.8rem;
}

.character-transform-list .transformation-progression-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 14px;
}

.character-transform-list .upgrade-item-card {
    min-height: 174px;
}

#transformations,
a[href="#transformations"] {
    display: none !important;
}

.character-preview-frame {
    flex: 1;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, rgba(201, 162, 39, 0.16), transparent 58%);
}

.character-preview-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.character-preview-name {
    padding: 14px 16px;
    text-align: center;
    background: linear-gradient(90deg, #b8901f 0%, #e8c04a 50%, #b8901f 100%);
    color: #100a00;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .character-modal-layout {
        grid-template-columns: 1fr;
    }

    .character-modal-right {
        min-height: 380px;
    }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .karakter-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 650px) {
    .karakter-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 420px) {
    .karakter-grid { grid-template-columns: 1fr; }
}

.mission-table {
    background: var(--bg1-glass-strong);
    backdrop-filter: blur(var(--bg1-blur));
    -webkit-backdrop-filter: blur(var(--bg1-blur));
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.85rem;
    border: 1px solid var(--bg1-border-soft);
}

.mission-table table {
    min-width: 100%;
    width: 100%;
}

.mission-table th {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    padding: 10px 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mission-table td {
    padding: 8px;
    border-bottom: 1px solid var(--bg1-border-soft);
    vertical-align: middle;
    color: var(--text-on-cream);
    background-color: transparent;
}

.mission-table tbody tr {
    background-color: transparent;
    transition: all 0.2s ease;
}

.mission-table tbody tr:hover {
    background-color: rgba(201, 162, 39, 0.15);
    transform: translateX(3px);
}

.mission-table .badge {
    font-size: 0.65rem;
    padding: 2px 5px;
    margin-left: 4px;
}

/* Dönüşümler – Banner başlık (site teması: altın vurgulu, koyu) */
.transformation-banner {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.transformation-banner-title {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    padding: 14px 50px;
    position: relative;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.5), 0 0 40px rgba(201, 162, 39, 0.2);
    background: linear-gradient(135deg, rgba(38, 32, 26, 0.98) 0%, rgba(28, 24, 20, 0.98) 100%);
    border: 1px solid var(--bg1-border);
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.2), inset 0 0 30px rgba(201, 162, 39, 0.04);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 20px 100%, 0 50%);
}

.transformation-banner-title::before,
.transformation-banner-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.7));
}

.transformation-banner-title::before {
    left: -45px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5));
}

.transformation-banner-title::after {
    right: -45px;
    width: 40px;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.5), transparent);
}

/* Dönüşümler – site teması (altın/kahve) */
.transformation-buttons-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.transformation-type-row,
.transformation-class-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.transformation-btn {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--bg1-border-soft);
    background: linear-gradient(180deg, rgba(38, 32, 26, 0.95) 0%, rgba(28, 24, 20, 0.98) 100%);
    cursor: pointer;
    transition: all 0.25s ease;
}

.transformation-btn:hover {
    border-color: var(--bg1-border);
    background: linear-gradient(180deg, rgba(48, 42, 36, 0.95) 0%, rgba(38, 32, 28, 0.98) 100%);
}

.transformation-btn.active {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.35) 0%, rgba(166, 124, 26, 0.4) 50%, rgba(201, 162, 39, 0.3) 100%);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.transformation-btn.active:hover {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.42) 0%, rgba(166, 124, 26, 0.48) 50%, rgba(201, 162, 39, 0.38) 100%);
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.35);
}

@media (max-width: 768px) {
    .transformation-banner-title {
        font-size: 1.5rem;
        padding: 12px 28px;
        letter-spacing: 2px;
        clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
    }

    .transformation-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Dönüşümler – sınıfa göre içerik blokları (sadece active görünür) */
.transformation-class-content {
    display: none;
}

.transformation-class-content.active {
    display: block;
}

.transformation-category-section {
    margin-bottom: 2.5rem;
}

/* Kategori başlıkları – site teması */
.transformation-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}

/* Yatay ilerleme zinciri: kart → kart → kart (görseldeki gibi) */
.transformation-progression-row {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 12px 0 20px;
    gap: 0;
    scrollbar-width: thin;
}

.transformation-progression-row .col-lg-2,
.transformation-progression-row .col-md-4,
.transformation-progression-row .col-sm-6 {
    flex: 0 0 auto;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

/* Dönüşüm satırındaki kartlar: isim üstte, ikon altta, en altta malzemeler – site teması */
.transformation-progression-row .upgrade-item-card {
    position: relative;
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(38, 32, 26, 0.98) 0%, rgba(28, 24, 20, 0.98) 100%);
    border: 1px solid var(--bg1-border-soft);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.transformation-progression-row .upgrade-item-card .upgrade-item-name {
    order: 1;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-on-cream);
    line-height: 1.2;
    margin: 0 0 6px 0;
}

.transformation-progression-row .upgrade-item-card .upgrade-item-image {
    order: 2;
    flex: 0 0 auto;
    margin-bottom: 6px;
}

.transformation-progression-row .upgrade-item-card .upgrade-requirements {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    min-height: 28px;
    /* Tooltip'e taşındı – kartın içinde artık görünmez */
    visibility: hidden;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-top: none;
    min-height: 0;
}

.transformation-progression-row .upgrade-item-card .upgrade-requirements .requirement-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 0.5rem;
    color: rgba(201, 162, 39, 0.9);
}

.transformation-progression-row .upgrade-item-card .upgrade-requirements .requirement-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    padding: 1px;
}

.transformation-progression-row .upgrade-item-card .upgrade-requirements .requirement-count {
    position: absolute;
    bottom: -2px;
    right: -2px;
    min-width: 14px;
    height: 14px;
    padding: 0 2px;
    font-size: 0.5rem;
    line-height: 14px;
    font-weight: 700;
    background: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Son kart: malzeme yok, (Son Dönüşüm) notu */
.transformation-progression-row .upgrade-item-card .upgrade-requirements.upgrade-requirements--son-donusum {
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    padding-top: 6px;
    margin-top: 6px;
}

.transformation-progression-row .upgrade-item-card .upgrade-item-son-donusum-note {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(201, 162, 39, 0.85);
    font-style: italic;
}

.transformation-progression-row .upgrade-item-card .badge-tier {
    top: 6px;
    left: 6px;
}

.transformation-progression-row .upgrade-item-card .badge-yakinda,
.transformation-progression-row .upgrade-item-card .badge-son-donusum {
    order: 4;
    margin-top: 4px;
}

.transformation-progression-row .upgrade-item-card .badge-son-donusum {
    font-size: 0.6rem;
}

.transformation-progression-row .upgrade-item-card:not(.transformation-card-placeholder) {
    cursor: pointer;
}

.transformation-progression-row .upgrade-item-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 6px 16px rgba(201, 162, 39, 0.2);
}

.transformation-progression-row .upgrade-item-card .upgrade-item-image img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.transformation-arrow {
    flex-shrink: 0;
    align-self: center;
    color: var(--accent-gold);
    margin: 0 8px;
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1;
}

/* Yakında / Son dönüşüm / Tier rozetleri */
.badge-yakinda {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a1a1a;
    background: linear-gradient(135deg, #e8c547 0%, #c9a227 100%);
    border-radius: 6px;
    margin-top: 6px;
}

.badge-son-donusum {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-top: 4px;
}

.badge-tier {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(135deg, #e8c547 0%, #c9a227 100%);
    border-radius: 4px;
    z-index: 1;
}

.badge-count {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(201, 162, 39, 0.85);
    margin-left: 0.5rem;
}

.transformation-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-on-cream);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(201, 162, 39, 0.04) 100%);
    border: 1px dashed var(--bg1-border);
    border-radius: 12px;
}

.transformation-placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.transformation-placeholder p {
    margin: 0;
    font-size: 1.1rem;
}

/* Dönüşümler için özel stiller */
.upgrade-tabs {
    border-bottom: none;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: transparent;
}

.upgrade-tabs .nav-link {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.18) 0%, rgba(201, 162, 39, 0.08) 100%);
    backdrop-filter: blur(8px);
    color: var(--text-on-cream) !important;
    border: 2px solid var(--bg1-border);
    border-radius: 0;
    padding: 12px 25px !important;
    position: relative;
    margin: 0;
    margin-right: -2px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.upgrade-tabs .nav-link:last-child {
    margin-right: 0;
}

.upgrade-tabs .nav-link:hover {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.28) 0%, rgba(201, 162, 39, 0.15) 100%);
    border-color: var(--accent-gold);
    color: var(--text-on-cream) !important;
}

.upgrade-tabs .nav-link.active {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.38) 0%, rgba(201, 162, 39, 0.22) 100%);
    color: var(--text-on-cream) !important;
    font-weight: 600;
    border: 2px solid var(--accent-gold);
    border-radius: 0;
    z-index: 1;
    box-shadow: 0 2px 12px rgba(201, 162, 39, 0.25);
}

.upgrade-tabs .nav-link.active:after {
    display: none;
}

/* Dönüşüm kartı – iç altın, dış krem (Silah/Zırh/Kask/Ayakkabı) */
.upgrade-item-card {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2) 0%, rgba(201, 162, 39, 0.1) 50%, rgba(166, 124, 26, 0.08) 100%);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    border: 2px solid var(--bg1-border);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    margin: 0 auto;
    max-width: 280px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 252, 245, 0.5);
}

.upgrade-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.2) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 12px;
    z-index: 0;
}

/* Item kartları arasına gold ok işareti */
#weapon .row.g-4>[class*="col-lg-2"]:nth-child(5n+1)::after,
#weapon .row.g-4>[class*="col-lg-2"]:nth-child(5n+2)::after,
#weapon .row.g-4>[class*="col-lg-2"]:nth-child(5n+3)::after,
#weapon .row.g-4>[class*="col-lg-2"]:nth-child(5n+4)::after,
#armor .row.g-4>[class*="col-lg-2"]:nth-child(5n+1)::after,
#armor .row.g-4>[class*="col-lg-2"]:nth-child(5n+2)::after,
#armor .row.g-4>[class*="col-lg-2"]:nth-child(5n+3)::after,
#armor .row.g-4>[class*="col-lg-2"]:nth-child(5n+4)::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

#helmet .row.g-4>[class*="col-lg-4"]:nth-child(3n+1)::after,
#helmet .row.g-4>[class*="col-lg-4"]:nth-child(3n+2)::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

#shoes .row.g-4>[class*="col-lg-6"]:nth-child(2n+1)::after {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

/* Responsive için ok işaretlerini gizle */
@media (max-width: 991.98px) {
    .row.g-4>[class*="col-"]::after {
        display: none !important;
    }
}

.upgrade-item-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.32) 0%, rgba(201, 162, 39, 0.18) 50%, rgba(166, 124, 26, 0.12) 100%);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.28), 0 0 0 1px rgba(255, 252, 245, 0.7);
}

.upgrade-item-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.upgrade-item-image img {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.upgrade-result img {
    margin-bottom: 10px;
}

.upgrade-item-name {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-on-cream);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.upgrade-arrow {
    color: var(--accent-gold);
    margin: 8px 0;
    font-size: 1rem;
}

.upgrade-requirements {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
    position: relative;
    z-index: 1;
}

.requirement-item {
    position: relative;
    display: inline-block;
}

.requirement-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
}

.requirement-count {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.upgrade-result {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    position: relative;
    z-index: 1;
}

.upgrade-category-title {
    color: var(--accent-gold);
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
    text-align: center;
    margin-bottom: 20px;
}

/* Scroll animasyon hatası için düzeltme - Animasyonlar kaldırıldı */

.tab-pane.fade {
    transition: none !important;
}

.tab-pane.fade:not(.show) {
    display: none !important;
}

.tab-pane.fade.show {
    display: block !important;
    opacity: 1 !important;
}

/* Tab içeriği yüksekliği için */
.tab-content {
    min-height: 500px;
}

/* Event Card - Bg1 şeffaf panel */
.event-card {
    background: var(--bg1-glass);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--bg1-border-soft);
    height: 100%;
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg1-inner-glow);
    pointer-events: none;
    border-radius: 12px;
    z-index: 0;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    border-color: var(--bg1-border);
}

.event-image {
    height: 180px;
    object-fit: cover;
    width: 100%;
    transition: transform var(--transition-speed);
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-content {
    padding: 20px;
}

.event-title {
    font-weight: 600;
    margin-bottom: 10px;
}

/* ========== TÜM MODALLAR: iç altın, dış beyaz (Sistem, Etkinlik, Harita vb.) ========== */
.modal .modal-content {
    background: var(--bg1-modal-white) !important;
    border: 2px solid var(--bg1-modal-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 252, 245, 0.9), 0 0 24px rgba(201, 162, 39, 0.08);
    position: relative;
    overflow: hidden;
}

.modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg1-modal-inner);
    pointer-events: none;
    border-radius: 10px;
    z-index: 0;
}

.modal .modal-header {
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
    background: transparent;
    position: relative;
    z-index: 1;
}

.modal .modal-title {
    color: var(--text-dark);
    font-weight: 700;
}

.modal .modal-body {
    background: transparent;
    position: relative;
    z-index: 1;
    color: var(--dark-color);
}

.modal .modal-footer {
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    background: transparent;
    position: relative;
    z-index: 1;
}

.modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-backdrop.show {
    background: linear-gradient(135deg, rgba(255, 252, 245, 0.55) 0%, rgba(255, 248, 235, 0.48) 50%, rgba(252, 245, 228, 0.52) 100%);
}

.modal .modal-content .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.modal .modal-content .btn-close:hover {
    opacity: 1;
}

.modal .modal-content p,
.modal .modal-content li {
    color: var(--dark-color);
}

.modal .modal-content a:not(.btn) {
    color: var(--accent-gold);
}

.modal .modal-content a:not(.btn):hover {
    color: var(--accent-gold-dark);
}

/* Etkinlik modalı (#eventModal) – iç altın aynı tema */
#eventModal .modal-content {
    background: var(--bg1-modal-white) !important;
}

#eventModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg1-modal-inner);
    pointer-events: none;
    border-radius: 10px;
    z-index: 0;
}

.modal .modal-content .event-description,
.modal .modal-content .map-description {
    color: var(--dark-color);
}

/* Etkinlik Açıklama Stili */
.event-description {
    color: var(--text-on-cream);
    line-height: 1.6;
    font-size: 0.95rem;
}

.event-description p {
    margin-bottom: 1rem;
}

.event-description strong {
    color: var(--accent-gold);
}

.event-description ul {
    padding-left: 20px;
    margin-bottom: 1rem;
}

.event-description li {
    margin-bottom: 5px;
}

/* Footer – altın çizgi ile transparan krem */
.footer {
    background: linear-gradient(180deg, rgba(248, 246, 240, 0.65) 0%, rgba(255, 251, 245, 0.6) 100%);
    padding: 60px 0 30px;
    position: relative;
    border-top: 3px solid var(--accent-gold);
}

.footer::before {
    display: none;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-links h5 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: opacity 0.2s ease, left 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(201, 162, 39, 0.15);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: var(--light-color);
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gold);
    transform: scale(0);
    border-radius: 50%;
    transition: transform var(--transition-speed);
    z-index: -1;
}

.social-icons a:hover {
    color: var(--text-dark);
    transform: translateY(-3px);
}

.social-icons a:hover::before {
    transform: scale(1);
}

.copyright {
    border-top: 1px solid var(--bg1-border-soft);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* Scroll to Top Button - Gold */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--gold-dark);
    transform: translateY(-4px);
    box-shadow: 0 7px 18px rgba(201, 162, 39, 0.5);
}

/* Responsive Düzenlemeler */
/* Zırh ve Silah kategorileri için özel düzen - Her satırda 5 item */
#armor .row,
#weapon .row {
    display: flex;
    flex-wrap: wrap;
}

#armor .col-lg-2,
#weapon .col-lg-2 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 1200px) {
    .upgrade-item-card {
        max-width: 250px;
    }

    #armor .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar-nav {
        flex-direction: column;
        overflow-x: visible;
        overflow-y: auto;
    }

    .nav-link {
        margin: 2px 0;
        padding: 10px 15px !important;
        text-align: center;
    }

    .navbar-toggler {
        padding: 4px 8px;
        font-size: 0.9rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding: 0px 0;
    }

    .upgrade-tabs .nav-link {
        padding: 10px 20px !important;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .mission-table {
        font-size: 0.75rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mission-table table {
        min-width: 600px;
    }

    .mission-table th,
    .mission-table td {
        padding: 6px 4px;
        white-space: nowrap;
    }

    .mission-table th {
        font-size: 0.7rem;
    }

    .mission-table .badge {
        font-size: 0.55rem;
        padding: 1px 3px;
    }

    .upgrade-item-card {
        padding: 12px;
        max-width: 220px;
    }

    .upgrade-item-image img {
        width: 50px;
        height: 50px;
    }

    .upgrade-item-name {
        font-size: 0.8rem;
    }

    .requirement-item img {
        width: 30px;
        height: 30px;
    }

    .requirement-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }

    .transformation-progression-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 12px 5px 25px;
    }

    .transformation-progression-row .col-lg-2,
    .transformation-progression-row .col-md-4,
    .transformation-progression-row .col-sm-6 {
        scroll-snap-align: start;
    }

    .transformation-arrow {
        font-size: 1rem;
        margin: 0 4px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 8px 10px !important;
    }

    .nav-link i {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-logo {
        max-width: 200px;
        height: auto;
    }

    .btn-primary-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .upgrade-tabs .nav-link {
        padding: 8px 15px !important;
        font-size: 0.8rem;
        margin: 2px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

    .footer-logo {
        height: 50px;
    }

    .transformation-progression-row {
        padding: 10px 2px 30px;
        gap: 0;
    }

    .transformation-progression-row .col-lg-2,
    .transformation-progression-row .col-md-4,
    .transformation-progression-row .col-sm-6 {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
    }

    .transformation-progression-row .upgrade-item-card {
        min-height: 160px;
        padding: 8px;
    }

    .transformation-progression-row .upgrade-item-card .upgrade-item-name {
        font-size: 0.7rem;
    }

    .transformation-progression-row .upgrade-item-card .upgrade-item-image img {
        width: 48px;
        height: 48px;
    }

    .transformation-progression-row .upgrade-item-card .upgrade-requirements .requirement-item img {
        width: 24px;
        height: 24px;
    }

    .transformation-progression-row .upgrade-item-card .upgrade-requirements .requirement-count {
        min-width: 12px;
        height: 12px;
        font-size: 0.45rem;
        line-height: 12px;
    }

    .transformation-arrow {
        font-size: 0.9rem;
        margin: 0 3px;
    }

    .transformation-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .mission-table {
        font-size: 0.7rem;
    }

    .mission-table table {
        min-width: 550px;
    }

    .features-grid {
        gap: 10px;
    }

    .feature-item {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* Yükleniyor Animasyonu */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Görsel Optimizasyonu */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Sistemler Bölümü – iç altın, dış krem (Ticaret Camı, Offline Shop vb.) */
.system-card {
    background: linear-gradient(0deg, #969B78 0%, #AEB092 48%, #C8C7A7 100%);
    border-radius: 18px;
    padding: 28px 22px;
    height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid var(--bg1-border);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 252, 245, 0.6);
}

.system-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 235, 0.32) 0%, rgba(255, 255, 235, 0.08) 42%, transparent 100%);
    pointer-events: none;
    border-radius: 18px;
    z-index: 0;
}

.system-card > * {
    position: relative;
    z-index: 1;
}

.system-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(0deg, #8D936D 0%, #B8B99A 48%, #D2D0AF 100%);
    border-color: var(--accent-gold);
    box-shadow: 0 14px 35px rgba(201, 162, 39, 0.3), 0 0 0 1px rgba(255, 252, 245, 0.8);
}

/* BÜYÜK Sistem Resimleri - 400x400 */
.system-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 14px;
    margin: 0 auto 22px;
    border: 2px solid var(--bg1-border);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    background: transparent;
    cursor: pointer;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.system-card:hover .system-image {
    transform: scale(1.03);
    border-color: var(--accent-gold);
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
    box-shadow: 0 14px 35px rgba(201, 162, 39, 0.4);
}

/* Sistem Başlık */
.system-card h4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 320px);
    margin: 0 auto 15px;
    padding: 11px 22px;
    background: linear-gradient(90deg, #b8901f 0%, #d3aa31 50%, #b8901f 100%);
    border-radius: 0 0 6px 6px;
    color: #111111;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2.4px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    overflow-wrap: anywhere;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

/* Sistem Açıklama */
.system-card p {
    color: var(--text-on-cream-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

#systems .system-card h4 {
    color: #111111;
}

#systems .system-card p {
    color: #242616;
}

/* Sistemler Grid */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Sistem modalları – aynı altın tema, sadece boyut farkı */
.system-modal .modal-dialog {
    max-width: 800px;
}

.system-modal .modal-content {
    background: var(--bg1-modal-white) !important;
    border-radius: 18px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 252, 245, 0.9), 0 0 28px rgba(201, 162, 39, 0.08);
}

.system-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg1-modal-inner);
    pointer-events: none;
    border-radius: 16px;
    z-index: 0;
}

.system-modal .modal-header {
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
    background: transparent;
    padding: 22px;
    position: relative;
    z-index: 1;
}

.system-modal .modal-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.5rem;
}

.system-modal .modal-body {
    padding: 0;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 1;
    color: var(--dark-color);
}

.system-modal-image {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 0;
}

.system-modal .modal-footer {
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    background: transparent;
    padding: 18px 22px;
    position: relative;
    z-index: 1;
}

/* Close butonu */
.system-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.system-modal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .system-image {
        width: 350px;
        height: 350px;
    }

    .systems-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 992px) {
    .system-image {
        width: 300px;
        height: 300px;
    }

    .systems-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .system-card {
        padding: 20px 15px;
    }

    .system-image {
        width: 250px;
        height: 250px;
    }

    .systems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .system-card h4 {
        font-size: 1.3rem;
    }

    .system-modal .modal-dialog {
        margin: 20px;
    }

    .system-modal-image {
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .system-image {
        width: 200px;
        height: 200px;
    }

    .system-card h4 {
        min-width: 0;
        width: 100%;
        padding: 10px 14px;
        font-size: 0.82rem;
        letter-spacing: 1.6px;
    }

    .system-card p {
        font-size: 0.95rem;
    }
}

/* Resim yükleme animasyonu - Kaldırıldı performans için */
.system-image.loading {
    opacity: 0.5;
}

/* Tıklanabilir cursor */
.system-image {
    cursor: zoom-in;
}

.system-modal-image {
    cursor: zoom-out;
}

/* Discord Butonu Stilleri */
/* Discord butonu - Gold & White tema */
.btn-discord {
    background-color: rgba(88, 101, 242, 0.15);
    border: 2px solid rgba(88, 101, 242, 0.6);
    color: #c9c9ff;
    font-weight: 600;
    padding: 9px 22px;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-discord::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent-gold);
    transition: width 0.2s ease;
    z-index: -1;
}

.btn-discord:hover {
    color: var(--primary-color);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 162, 39, 0.4);
}

.btn-discord:hover::before {
    width: 100%;
}

/* Hero butonlarının responsive düzeni */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Mobile için buton düzeni */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 !important;
        text-align: center;
        justify-content: center;
    }
}

/* Tablet için buton düzeni */
@media (max-width: 992px) and (min-width: 769px) {
    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Genel Özellikler - İç altın, dış beyaz/çerçeve */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #111111;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.42), transparent 68%);
    animation: feature-white-pulse 2.8s ease-in-out infinite;
    border-radius: inherit;
    opacity: 0.35;
    filter: blur(10px);
    z-index: 0;
}

.feature-item::after {
    content: '';
    position: absolute;
    inset: 1px;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent) -45% 0 / 38% 2px no-repeat,
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent) 145% 100% / 38% 2px no-repeat,
        radial-gradient(circle at center, #C8C7A7 0%, #969B78 100%);
    border-radius: 7px;
    animation: feature-edge-sweep 3.2s ease-in-out infinite;
    z-index: 1;
}

.feature-item > * {
    position: relative;
    z-index: 2;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 14px rgba(201, 162, 39, 0.75),
        0 0 30px rgba(255, 214, 92, 0.45);
}

@keyframes feature-white-pulse {
    0%,
    100% {
        opacity: 0.22;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.48;
        transform: scale(1.02);
    }
}

@keyframes feature-edge-sweep {
    0%,
    100% {
        background-position: -45% 0, 145% 100%, center;
    }

    50% {
        background-position: 145% 0, -45% 100%, center;
    }
}

.feature-item i {
    color: var(--accent-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-item span {
    flex: 1;
}

.feature-item.coming-soon {
    background: transparent;
    border-color: transparent;
    color: #111111;
}

.feature-item.coming-soon i {
    color: var(--accent-gold);
}

.feature-item.coming-soon:hover {
    box-shadow:
        0 0 14px rgba(201, 162, 39, 0.75),
        0 0 30px rgba(255, 214, 92, 0.45);
}

.features-extra-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 36px auto 0;
}

.feature-extra-card {
    background: linear-gradient(0deg, #969B78 0%, #AEB092 48%, #C8C7A7 100%);
    border: 2px solid var(--bg1-border);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    cursor: default;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 252, 245, 0.6);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-extra-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 235, 0.32) 0%, rgba(255, 255, 235, 0.08) 42%, transparent 100%);
    pointer-events: none;
    border-radius: 12px;
    z-index: 0;
}

.feature-extra-card > * {
    position: relative;
    z-index: 1;
}

.feature-extra-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 14px 35px rgba(201, 162, 39, 0.3), 0 0 0 1px rgba(255, 252, 245, 0.8);
}

.feature-extra-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 2px solid var(--bg1-border);
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(201, 162, 39, 0.2);
    pointer-events: none;
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
}


.feature-extra-card h4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 220px);
    margin: 0 auto 12px;
    padding: 10px 18px;
    background: linear-gradient(90deg, #b8901f 0%, #d3aa31 50%, #b8901f 100%);
    border-radius: 0 0 6px 6px;
    color: #111111;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}

.feature-extra-card p {
    color: #242616;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-extra-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .features-extra-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px;
    }

    .feature-item {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .feature-item {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .feature-item i {
        font-size: 0.85rem;
    }
}

/* Hızlı Başlangıç İpuçları – bölüm CTA (modal açan buton) */
.quick-tips-cta {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 20px;
}

.quick-tips-intro {
    color: var(--text-on-cream);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

#quick-tips .quick-tips-cta .btn-primary-custom {
    min-width: min(300px, 100%);
    min-height: 74px;
    padding: 20px 48px;
    font-size: 1.15rem;
    border-radius: 60px;
    letter-spacing: 1.4px;
    box-shadow:
        0 0 0 1px rgba(240, 228, 133, 0.55),
        0 8px 24px rgba(201, 162, 39, 0.45);
}

#quick-tips .quick-tips-cta .btn-primary-custom:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow:
        0 0 14px rgba(201, 162, 39, 0.75),
        0 0 32px rgba(255, 214, 92, 0.5),
        0 12px 28px rgba(0, 0, 0, 0.28);
}

#quick-tips .quick-tips-cta .btn-primary-custom:active {
    transform: translateY(-1px) scale(0.96);
    box-shadow:
        0 0 8px rgba(201, 162, 39, 0.85),
        inset 0 0 16px rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .quick-tips-intro {
    color: #e8e4dc;
}

/* Hızlı Başlangıç İpuçları - Bg1 şeffaf panel (sayfada kullanılmıyor; modal içinde kullanılıyor) */
.quick-tips-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg1-glass-strong);
    backdrop-filter: blur(var(--bg1-blur));
    -webkit-backdrop-filter: blur(var(--bg1-blur));
    border: 2px solid var(--bg1-border);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.quick-tips-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg1-inner-glow);
    pointer-events: none;
    border-radius: 13px;
}

.quick-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.quick-tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 252, 245, 0.85);
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.quick-tip-item::before {
    display: none;
}

.quick-tip-item:hover {
    background: rgba(255, 250, 235, 0.95);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.18);
    border-left-color: var(--accent-gold);
}

.quick-tip-item:last-child {
    margin-bottom: 0;
}

.tip-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    background: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(201, 162, 39, 0.4);
}

/* İpuçları modal – oyun paneli tarzı, kaydırılabilir içerik */
.quick-tips-modal .modal-dialog {
    max-width: 700px;
}

.quick-tips-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 24px;
}

.quick-tips-modal .quick-tips-list {
    padding: 0;
    margin: 0;
}

.quick-tips-modal .quick-tip-item {
    margin-bottom: 16px;
}

.tip-content {
    flex: 1;
    color: #2d2416;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.tip-content strong {
    color: #a06b00;
    font-weight: 700;
}

.tip-content b {
    color: #3d3228;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .quick-tips-container {
        padding: 25px 20px;
        margin: 0 15px;
    }

    .quick-tip-item {
        padding: 12px;
        margin-bottom: 20px;
    }

    .tip-number {
        min-width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-right: 15px;
    }

    .tip-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .quick-tips-container {
        padding: 20px 15px;
    }

    .quick-tip-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tip-number {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

/* Harita modalları – iç altın açıkça uygulanıyor */
.custom-modal .modal-content {
    background: var(--bg1-modal-white) !important;
    border: 2px solid var(--bg1-modal-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 252, 245, 0.9), 0 0 24px rgba(201, 162, 39, 0.08);
}

.custom-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg1-modal-inner);
    pointer-events: none;
    border-radius: 10px;
    z-index: 0;
}

.custom-modal .modal-header {
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
    background: transparent;
    position: relative;
    z-index: 1;
}

.custom-modal .modal-body {
    position: relative;
    z-index: 1;
    color: var(--dark-color);
}

.custom-modal .modal-footer {
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    background: transparent;
    position: relative;
    z-index: 1;
}

.custom-modal .modal-title {
    color: var(--text-dark);
    font-weight: 700;
}

.map-description {
    color: var(--dark-color);
    line-height: 1.8;
}

.map-features ul {
    padding-left: 0;
}

.map-features li {
    padding: 8px 0;
    color: var(--dark-color);
}

.map-drops {
    margin-top: 20px;
}

.map-drops h5 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.drops-image {
    width: 100%;
    max-width: 100%;
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Harita Bilgi Banner – iç altın, dış krem (üst bilgi bandı) */
.map-info-banner {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.22) 0%, rgba(201, 162, 39, 0.12) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--bg1-border);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0 30px 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 252, 245, 0.5);
}

.map-info-text {
    color: var(--text-on-cream);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info-text i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .map-info-banner {
        padding: 12px 15px;
        margin: 15px 0 25px 0;
    }

    .map-info-text {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 8px;
    }

    .map-info-text i {
        font-size: 1rem;
    }
}

/* ========== Gold & White ana tema – kırmızı/mavi vurgu yok ========== */
body .text-danger,
body a.text-danger {
    color: var(--accent-gold) !important;
}

body .bg-danger {
    background-color: rgba(201, 162, 39, 0.2) !important;
}

body .border-danger {
    border-color: var(--bg1-border) !important;
}

/* ========== KARANLIK MOD - Video arka plan aktif ========== */
[data-theme="dark"] body {
    background: transparent;
    color: #e8e4dc;
}

[data-theme="dark"] .hero-section {
    background: transparent;
}

[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .hero-announcement {
    color: #ffffff !important;
}

[data-theme="dark"] .hero-announcement strong {
    color: #F0E485 !important;
}

[data-theme="dark"] .event-description,
[data-theme="dark"] .map-description,
[data-theme="dark"] .map-info-text,
[data-theme="dark"] .upgrade-item-name,
[data-theme="dark"] .map-name,
[data-theme="dark"] .system-card h4,
[data-theme="dark"] .system-card p,
[data-theme="dark"] .feature-item,
[data-theme="dark"] .mission-table td,
[data-theme="dark"] .mission-table th {
    color: #e8e4dc !important;
}

[data-theme="dark"] .section-title {
    color: #111111 !important;
}

[data-theme="dark"] .mission-table th {
    background-color: rgba(201, 162, 39, 0.4) !important;
    color: #1a1510 !important;
}

[data-theme="dark"] .map-features li,
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .copyright,
[data-theme="dark"] .footer-links h5 {
    color: #e8e4dc !important;
}

[data-theme="dark"] .section-title::after {
    background: var(--accent-gold);
}

[data-theme="dark"] .custom-dark-section {
    background: rgba(99, 111, 101, 0.82) !important;
    border-color: var(--accent-gold);
}

[data-theme="dark"] .feature-item,
[data-theme="dark"] .system-card,
[data-theme="dark"] .map-card,
[data-theme="dark"] .upgrade-item-card,
[data-theme="dark"] .countdown-container,
[data-theme="dark"] .event-card,
[data-theme="dark"] .mission-table,
[data-theme="dark"] .map-info-banner,
[data-theme="dark"] .quick-tips-container,
[data-theme="dark"] .feature-card {
    background: rgba(38, 32, 26, 0.9) !important;
    border-color: rgba(201, 162, 39, 0.5) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .feature-item:hover,
[data-theme="dark"] .system-card:hover,
[data-theme="dark"] .map-card:hover,
[data-theme="dark"] .upgrade-item-card:hover {
    background: rgba(50, 42, 32, 0.95) !important;
    border-color: var(--accent-gold) !important;
}

[data-theme="dark"] #systems .system-card {
    background: linear-gradient(0deg, #969B78 0%, #AEB092 48%, #C8C7A7 100%) !important;
}

[data-theme="dark"] #systems .system-card:hover {
    background: linear-gradient(0deg, #8D936D 0%, #B8B99A 48%, #D2D0AF 100%) !important;
}

[data-theme="dark"] #systems .system-card h4 {
    color: #111111 !important;
}

[data-theme="dark"] #systems .system-card p {
    color: #242616 !important;
}

[data-theme="dark"] #features .feature-item {
    background: transparent !important;
    border-color: transparent !important;
    color: #111111 !important;
}

[data-theme="dark"] #features .feature-item::after {
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent) -45% 0 / 38% 2px no-repeat,
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent) 145% 100% / 38% 2px no-repeat,
        radial-gradient(circle at center, #C8C7A7 0%, #969B78 100%);
}

[data-theme="dark"] #features .feature-item i {
    color: var(--accent-gold) !important;
}

[data-theme="dark"] #features .feature-item:hover {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow:
        0 0 14px rgba(201, 162, 39, 0.75),
        0 0 30px rgba(255, 214, 92, 0.45) !important;
}

[data-theme="dark"] .upgrade-tabs .nav-link {
    background: rgba(38, 32, 26, 0.95) !important;
    color: #e8e4dc !important;
    border-color: rgba(201, 162, 39, 0.5);
}

[data-theme="dark"] .upgrade-tabs .nav-link:hover {
    background: rgba(50, 42, 32, 0.98) !important;
    color: #f5f0e6 !important;
}

[data-theme="dark"] .upgrade-tabs .nav-link.active {
    background: rgba(201, 162, 39, 0.35) !important;
    color: #f5f0e6 !important;
    border-color: var(--accent-gold);
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, rgba(32, 26, 20, 0.95) 0%, rgba(28, 22, 18, 0.98) 100%);
    border-top-color: var(--accent-gold);
}

[data-theme="dark"] .modal-backdrop.show {
    background: rgba(18, 14, 10, 0.82);
}

[data-theme="dark"] .modal .modal-content {
    background: rgba(38, 32, 26, 0.98) !important;
    border-color: rgba(201, 162, 39, 0.5);
}

[data-theme="dark"] .modal .modal-content::before {
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.06) 100%);
}

[data-theme="dark"] .modal .modal-title,
[data-theme="dark"] .modal .modal-content p,
[data-theme="dark"] .modal .modal-content li,
[data-theme="dark"] .modal .modal-body,
[data-theme="dark"] .modal .modal-content .event-description,
[data-theme="dark"] .modal .modal-content .map-description {
    color: #e8e4dc !important;
}

[data-theme="dark"] .modal .modal-header,
[data-theme="dark"] .modal .modal-footer {
    border-color: rgba(201, 162, 39, 0.35);
}

[data-theme="dark"] .countdown-title {
    color: var(--accent-gold) !important;
}

[data-theme="dark"] .countdown-label {
    color: #c4beb4 !important;
}

[data-theme="dark"] .countdown-number {
    background: linear-gradient(135deg, var(--accent-gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-gold), var(--gold-dark));
    color: #1a1510 !important;
    border-color: var(--accent-gold);
}

[data-theme="dark"] .btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--accent-gold));
    color: #1a1510 !important;
}

[data-theme="dark"] .scroll-top {
    background-color: var(--accent-gold);
    color: #1a1510;
}

[data-theme="dark"] .theme-toggle-btn {
    background: rgba(201, 162, 39, 0.25);
    border-color: rgba(201, 162, 39, 0.7);
    color: #f5f0e6;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: rgba(201, 162, 39, 0.4);
    color: #fff;
}

/* ========== Hızlı Erişim + Müzik Kontrolü Paneli ========== */
.quick-panel-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 44px;
    height: 80px;
    background: linear-gradient(135deg, rgba(38, 32, 26, 0.98) 0%, rgba(28, 22, 18, 0.98) 100%);
    border: 2px solid rgba(201, 162, 39, 0.6);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--gold-light);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease, background 0.2s;
}

.quick-panel-toggle:hover {
    background: rgba(50, 42, 32, 0.98);
    color: var(--accent-gold);
}

.quick-access-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(28, 24, 20, 0.98) 0%, rgba(35, 28, 22, 0.98) 100%);
    border-left: 2px solid rgba(201, 162, 39, 0.5);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 9997;
    overflow-y: auto;
    transition: right 0.35s ease;
    padding: 24px 20px;
}

.quick-access-panel.open {
    right: 0;
}

.quick-access-panel.open~.quick-panel-toggle {
    right: 300px;
}

.quick-panel-inner {
    padding-top: 60px;
}

.quick-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(201, 162, 39, 0.5);
}

.quick-access-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 18px;
}

.quick-access-nav::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.6) 0%, rgba(201, 162, 39, 0.2) 100%);
    border-radius: 1px;
}

.quick-access-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #e8e4dc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
    position: relative;
    z-index: 1;
}

.quick-access-nav a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.quick-dot {
    position: absolute;
    left: -18px;
    width: 10px;
    height: 10px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(201, 162, 39, 0.5);
    flex-shrink: 0;
}

.quick-panel-title:not(:first-child) {
    margin-top: 28px;
}

.music-control {
    margin-top: 8px;
}

.music-control-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.music-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(201, 162, 39, 0.25);
    border: 1px solid rgba(201, 162, 39, 0.6);
    color: var(--gold-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.music-btn:hover {
    background: rgba(201, 162, 39, 0.4);
    transform: scale(1.05);
}

.music-label {
    color: #e8e4dc;
    font-size: 0.9rem;
}

.music-volume-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.music-volume-slider {
    flex: 1;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    outline: none;
}

.music-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
    transition: transform 0.2s;
}

.music-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.music-volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}

.music-volume-value {
    min-width: 38px;
    color: #e8e4dc;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    .quick-access-panel {
        right: -280px;
        width: 280px;
    }

    .quick-access-panel.open~.quick-panel-toggle {
        right: 280px;
    }
}

/* ============================================================
   DÖNÜŞÜM KARTI TOOLTIP – İstenen Malzemeler
   ============================================================ */
#upgrade-tooltip {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.18s ease, transform 0.18s ease;
    min-width: 180px;
    max-width: 260px;
}

#upgrade-tooltip.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.upgrade-tooltip-inner {
    background: linear-gradient(145deg, rgba(28, 22, 16, 0.98) 0%, rgba(20, 16, 12, 0.99) 100%);
    border: 1.5px solid rgba(201, 162, 39, 0.7);
    border-radius: 12px;
    padding: 12px 14px 10px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(201, 162, 39, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.upgrade-tooltip-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.upgrade-tooltip-title::before {
    content: '⚗';
    font-size: 0.8rem;
}

.upgrade-tooltip-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.upgrade-tooltip-mat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    padding: 5px 6px;
    min-width: 46px;
}

.upgrade-tooltip-mat img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.upgrade-tooltip-mat-count {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    background: rgba(201, 162, 39, 0.18);
    border-radius: 4px;
    padding: 1px 5px;
}

.upgrade-tooltip-no-mat {
    font-size: 0.7rem;
    color: rgba(201, 162, 39, 0.7);
    font-style: italic;
    text-align: center;
    padding: 6px 0 2px;
}

/* Caret ok aşağı */
#upgrade-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: var(--tip-x, 50%);
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(201, 162, 39, 0.7);
}

#upgrade-tooltip.tip-below::after {
    bottom: auto;
    top: -8px;
    border-top: none;
    border-bottom: 8px solid rgba(201, 162, 39, 0.7);
}

/* ── Hızlı İpuçları Görsel Desteği ─────────── */
.tip-image-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2d2416;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.25) 0%, rgba(201, 162, 39, 0.12) 100%);
    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.tip-image-toggle:hover {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.3) 0%, rgba(201, 162, 39, 0.2) 100%);
    border-color: var(--accent-gold);
}

.tip-image-toggle i {
    transition: transform 0.3s ease;
}

.tip-image-toggle.active i {
    transform: rotate(180deg);
}

.tip-gallery-wrapper {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(201, 162, 39, 0.3);
}

.tip-gallery-wrapper.active {
    display: block;
}

.tip-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.tip-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(201, 162, 39, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    max-height: 250px;
}

/* ── PERFORMANS OPTİMİZASYONU ──────────────────────────────────────────────── */

/* Section layout containment – scroll sırasında tarayıcı bölümleri izole eder */
.section-padding,
.hero-section,
.footer {
    contain: layout style;
}

@supports (content-visibility: auto) {
    .section-padding,
    .footer {
        content-visibility: auto;
        contain-intrinsic-size: 900px;
    }

    .karakterler-section,
    #oyuna-baslangic {
        contain-intrinsic-size: 620px;
    }
}

/* Kart gruplari: paint containment – her kart bağımsız render edilir */
.systems-grid,
#mapsContainer,
#dungeonsContainer,
#worldBossesContainer,
.npc-grid,
.features-grid {
    contain: layout;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-section {
        min-height: auto;
        padding: 56px 0 44px;
    }

    .hero-title {
        font-size: clamp(1.35rem, 7vw, 2rem);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .hero-subtitle {
        font-size: clamp(0.88rem, 3.8vw, 1rem);
        max-width: 100%;
    }

    .section-title {
        font-size: clamp(1.55rem, 7vw, 2rem);
        overflow-wrap: anywhere;
    }

    .section-title-img,
    #quick-tips .section-title-img {
        width: min(720px, 125vw);
    }

    #quick-tips .quick-tips-cta .btn-primary-custom {
        min-width: min(300px, 92vw);
        min-height: 66px;
        padding: 18px 28px;
        font-size: 1rem;
        white-space: normal;
    }

    .quick-access-panel,
    .discord-widget {
        max-width: calc(100vw - 24px);
    }
}

@media (max-width: 420px) {
    .hero-logo {
        max-width: 180px;
    }

    .hero-announcement {
        font-size: 0.76rem;
        padding: 10px 12px;
    }

    .feature-item {
        gap: 10px;
        padding: 11px 12px;
    }

    .section-title-img,
    #quick-tips .section-title-img {
        width: 135vw;
    }
}

/* Animasyonları kapalı tutan kullanıcılar için (erişilebilirlik + performans) */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Görüntü alanı dışındaki backdrop-filter'ları GPU yükünden kurtarmak için
   yalnızca navbar gibi sticky elementlere sınırla */
.countdown-container,
.mission-table,
.hero-announcement,
.feature-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg1-glass-strong);
}

/* ────────────────────────────────────────────────────────────────────────── */

/* ── İPUÇLARI MODAL – OKUNABİLİRLİK ──────────────────────────────────────── */

/* Modal açık arka plan üzerinde (krem/beyaz) koyu yazı garantisi */
.quick-tips-modal .tip-content {
    color: #2d2416 !important;
}

.quick-tips-modal .tip-content strong {
    color: #8a5c00 !important;
    font-weight: 700;
}

.quick-tips-modal .tip-content b {
    color: #3d3228 !important;
    font-weight: 600;
}

.quick-tips-modal .tip-number {
    color: #1a0f00 !important;
    background: linear-gradient(135deg, #e8c547, #c9a227) !important;
}

/* Karanlık mod: ipuçları öğeleri koyu zemin üzerinde açık yazı */
[data-theme="dark"] .quick-tip-item {
    background: rgba(38, 28, 18, 0.92) !important;
    border-left-color: var(--accent-gold) !important;
}

[data-theme="dark"] .quick-tip-item:hover {
    background: rgba(50, 38, 22, 0.97) !important;
}

[data-theme="dark"] .tip-content,
[data-theme="dark"] .quick-tips-modal .tip-content {
    color: #f0e8d6 !important;
}

[data-theme="dark"] .tip-content strong,
[data-theme="dark"] .quick-tips-modal .tip-content strong {
    color: #e8c547 !important;
}

[data-theme="dark"] .tip-content b,
[data-theme="dark"] .quick-tips-modal .tip-content b {
    color: #d4c4a0 !important;
}

[data-theme="dark"] .tip-image-toggle {
    color: #f0e8d6 !important;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.3) 0%, rgba(201, 162, 39, 0.15) 100%) !important;
}

/* ────────────────────────────────────────────────────────────────────────── */

/* NPC Slider Styles */
.npc-slider-outer-wrapper {
    position: relative;
    padding: 0 20px;
    margin-top: 30px;
}

.npc-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.npc-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
    padding: 15px 0;
}

.npc-slide {
    flex: 0 0 calc((100% - (3 * 20px)) / 4);
    transition: transform 0.3s ease;
}

/* Arrows styling */
.npc-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(99, 111, 101, 0.9) !important;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.npc-slider-arrow:hover:not(:disabled) {
    background: var(--accent-gold) !important;
    color: var(--text-dark) !important;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.7);
    transform: translateY(-50%) scale(1.05);
}

.npc-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.npc-slider-arrow.prev-btn {
    left: -24px;
}

.npc-slider-arrow.next-btn {
    right: -24px;
}

/* Responsive adjustment for visible slides */
@media (max-width: 1200px) {
    .npc-slide {
        flex: 0 0 calc((100% - (2 * 20px)) / 3);
    }
    .npc-slider-outer-wrapper {
        padding: 0 15px;
    }
    .npc-slider-arrow.prev-btn {
        left: -15px;
    }
    .npc-slider-arrow.next-btn {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .npc-slide {
        flex: 0 0 calc((100% - (1 * 20px)) / 2);
    }
    .npc-slider-outer-wrapper {
        padding: 0 10px;
    }
    .npc-slider-arrow.prev-btn {
        left: -10px;
    }
    .npc-slider-arrow.next-btn {
        right: -10px;
    }
}

@media (max-width: 500px) {
    .npc-slide {
        flex: 0 0 100%;
    }
    .npc-slider-outer-wrapper {
        padding: 0 5px;
    }
    .npc-slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .npc-slider-arrow.prev-btn {
        left: -8px;
    }
    .npc-slider-arrow.next-btn {
        right: -8px;
    }
}

/* ========== PERFORMANCE OPTIMIZATIONS FOR SMOOTH SCROLLING ========== */

/* GPU katmanina tasi - tum videolar icin */
video {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Ekran disindaki section'lari render etme - scroll performansini arttirir */
#oyuna-baslangic,
#karakterler,
#quick-tips,
#features,
#npcs,
#maps,
#transformations {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
}

/* Font rendering optimizasyonu */
html, body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

