/* --- TEMEL AYARLAR --- */
:root {
    --r-common: #a0a0a0;
    --r-uncommon: #0099ff;
    --r-rare: #a335ee;
    --r-legendary: #ff8800;
    --r-special: #ffd700;
    --bg-dark: #091428;
    --gold: #c8aa6e;
    --gold-glow: rgba(200, 170, 110, 0.4);
    --market-green: #2ecc71;
    --border-std: #3c3c41;
}

body {
    background-color: var(--bg-dark);
    color: #f0f0f0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050a10;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #13233e 0%, #091428 100%);
}

.particle {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-10vh) scale(1.5);
        opacity: 0;
    }
}

/* --- HEADER (SADELEŞTİRİLDİ) --- */
.header-container {
    background: #0a0a0c;
    border-bottom: 2px solid var(--gold);
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-inner {
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 25px;
    margin-right: 25px;
    height: 40px;
    cursor: pointer;
    text-decoration: none;
}

.site-branding h2 {
    color: #f0e6d2;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
}

.site-branding small {
    color: #888;
    font-weight: bold;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* NAVİGASYON (TOPLULUK KALDIRILDI) */
.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
}

.nav-link {
    color: #a09b8c;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 0 12px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active i {
    color: var(--gold);
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 10px;
}

.nav-link.store-btn {
    border: 1px solid rgba(200, 170, 110, 0.4);
    color: var(--gold);
    margin-left: 10px;
}

.nav-link.store-btn:hover {
    background: var(--gold);
    color: #000;
}

/* HEADER SAĞ (İSTATİSTİK KALDIRILDI) */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: #151820;
    border: 1px solid #3c3c41;
    color: #fff;
    padding: 8px 12px 8px 35px;
    border-radius: 4px;
    font-size: 0.85rem;
    outline: none;
    width: 200px;
    transition: 0.3s;
}

.search-input:focus {
    border-color: var(--gold);
    width: 240px;
}

.search-icon-small {
    position: absolute;
    left: 10px;
    font-size: 0.8rem;
    color: #666;
}

.toggle-3d-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.toggle-label {
    font-size: 0.7rem;
    font-weight: bold;
    color: #666;
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--gold);
}

input:checked+.slider:before {
    transform: translateX(16px);
}

/* USER MENU */
.user-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 15px 5px 5px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.user-trigger:hover {
    border-color: var(--gold);
    background: rgba(200, 170, 110, 0.1);
}

.user-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 240px;
    margin-top: 15px;
    background: #0f1219;
    border: 1px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2000;
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.user-dropdown:hover .user-menu {
    display: flex;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.um-header {
    background: linear-gradient(to bottom, rgba(200, 170, 110, 0.15), transparent);
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.um-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
    object-fit: cover;
}

.um-header-info {
    display: flex;
    flex-direction: column;
}

.um-header-name {
    color: #fff;
    font-weight: bold;
    font-size: 0.95rem;
    line-height: 1.2;
}

.um-header-status {
    color: #2ecc71;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.um-header-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #2ecc71;
}

.user-item {
    padding: 10px 15px;
    color: #ccc;
    font-size: 0.85rem;
    border-left: 3px solid transparent;
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    transition: 0.2s;
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-left-color: var(--gold);
}

.user-item i {
    width: 18px;
    text-align: center;
    color: #666;
    transition: 0.2s;
}

.user-item:hover i {
    color: var(--gold);
}

.user-logout {
    margin-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.user-logout:hover {
    background: rgba(231, 76, 60, 0.1);
    border-left-color: #e74c3c;
    color: #e74c3c;
}

.hextech-btn {
    text-decoration: none;
    background: linear-gradient(180deg, #1e2328 0%, #0a0a0c 100%);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hextech-btn:hover {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--gold-glow);
}

.hextech-btn.primary {
    background: #005a82;
    border-color: #0ac8b9;
    color: white;
}

/* --- CONTENT --- */
.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO SLIDER */
.hero-slider-container {
    width: 100%;
    height: 350px;
    margin: 30px 0;
    border: 1px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-1 {
    background-image: linear-gradient(90deg, #091428 0%, rgba(200, 170, 110, 0.2) 50%, #091428 100%), url('https://www.oyungunlugu.com/uploads/images/news/riftbound-spiritforged-1920-1080.jpg');
}

.slide-2 {
    background-image: linear-gradient(90deg, #091428 0%, rgba(0, 210, 255, 0.2) 50%, #091428 100%), url('https://images.steamusercontent.com/ugc/2010328424759555731/7167A3ECE235D7D7E9CDD5E866E9C556F20C22BD/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px #000;
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    color: var(--gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.hero-subtitle {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-top: 10px;
    font-style: italic;
}

/* RANDOM CARD BUTTON (YENİ) */
.random-card-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--gold);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.random-card-btn:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.05);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: 0.3s;
    opacity: 0;
}

.hero-slider-container:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--gold);
    color: #000;
}

.slider-arrow.prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.slider-arrow.next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--gold);
    cursor: pointer;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* FİLTRE BARI */
.filter-bar {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.8rem;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 5px;
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    min-width: 150px;
}

.custom-select {
    background: #111;
    border: 1px solid #444;
    color: #ccc;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.custom-select:hover {
    border-color: var(--gold);
    color: #fff;
}

.custom-options {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #151820;
    border: 1px solid #444;
    border-radius: 6px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.custom-select-wrapper.open .custom-options {
    display: flex;
}

.custom-option {
    padding: 10px 15px;
    cursor: pointer;
    color: #aaa;
    transition: 0.2s;
    font-size: 0.85rem;
}

.custom-option:hover {
    background: #222;
    color: var(--gold);
}

.reset-btn {
    background: transparent;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reset-btn:hover {
    background: #e74c3c;
    color: white;
}

/* GALERİ */
.card-gallery {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    padding-bottom: 50px;
    min-height: 800px;
    content-visibility: auto;
}

.card-wrapper {
    perspective: 1000px;
    height: 100%;
}

.card-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    position: relative;
    --card-color: var(--r-common);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.card-wrapper.flat-mode .card-item,
.card-wrapper:not(:hover) .card-item {
    transform: rotateX(0) rotateY(0) !important;
    transition: transform 0.5s ease;
}

.card-wrapper:hover .card-item {
    transform: translateY(-10px);
}

.card-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 63 / 88;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    border: 2px solid var(--border-std);
    border-bottom: none;
    z-index: 2;
    transition: border-color 0.3s;
}

.card-wrapper:hover .card-image-box {
    border-color: var(--card-color);
    box-shadow: 0 0 20px var(--card-color);
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
    will-change: transform;
}

.card-wrapper:hover .card-image-box img {
    transform: scale(1.05);
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 200%;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: overlay;
    transition: opacity 0.3s;
}

.card-wrapper:not(.flat-mode):hover .card-shine {
    opacity: 1;
}

.card-info-box {
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid #333;
    border-top: 3px solid var(--card-color);
    border-radius: 0 0 12px 12px;
    padding: 15px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    transform: translateZ(20px);
}

.card-info-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center bottom;
    filter: blur(40px) saturate(180%);
    opacity: 0.15;
    z-index: -1;
}

.title-tr {
    color: var(--card-color);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.title-en {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 12px;
}

.desc-text {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 6px;
    flex-grow: 1;
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.card-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--card-color);
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border: 1px solid var(--card-color);
    border-radius: 20px;
    z-index: 20;
}

.market-price {
    position: absolute;
    top: 40px;
    right: 10px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--market-green);
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    border: 1px solid var(--market-green);
    border-radius: 4px;
    z-index: 20;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

.fav-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ccc;
    transition: all 0.3s;
}

.fav-btn:hover {
    background: #fff;
    color: #ff4757;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
}

.fav-btn.active {
    background: #ff4757;
    color: #fff;
    border-color: #ff4757;
}

.copy-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
    transition: 0.2s;
}

.copy-btn:hover {
    color: var(--gold);
    transform: scale(1.2);
}

.keyword-highlight {
    color: #0ac8b9;
    font-weight: bold;
}

.loader {
    display: none;
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #111;
    border-left: 4px solid var(--gold);
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    animation: slideIn 0.3s ease, fadeOut 0.5s ease 2.5s forwards;
    font-weight: bold;
    font-size: 0.9rem;
}

.toast.success {
    border-color: #2ecc71;
}

.toast.error {
    border-color: #e74c3c;
}

.toast.info {
    border-color: #3498db;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* LIGHTBOX (MODAL) - İYİLEŞTİRİLMİŞ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.70);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    background: rgba(15, 20, 30, 0.95);
    border: 1px solid var(--gold);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    position: relative;
}

.lb-img-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
}

.lb-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 70vh;
    image-rendering: -webkit-optimize-contrast;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
}

.lb-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-right: 10px;
    color: #ddd;
}

.lb-title-tr {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.lb-title-en {
    font-size: 1.2rem;
    color: #777;
    font-style: italic;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.lb-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.lb-badge {
    padding: 5px 15px;
    border-radius: 20px;
    background: #222;
    border: 1px solid #444;
    font-size: 0.8rem;
    font-weight: bold;
    color: #aaa;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lb-badge.rarity {
    border-color: var(--lb-color);
    color: var(--lb-color);
}

.lb-price-box {
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.1), transparent);
    border-left: 4px solid var(--market-green);
    padding: 15px;
    margin-bottom: 20px;
}

.lb-price-label {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lb-price-val {
    font-size: 2rem;
    color: var(--market-green);
    font-weight: bold;
}

.lb-desc {
    line-height: 1.6;
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
}

/* MAĞAZADA BUL (DÜZELTİLDİ: Call to Action Style) */
.source-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(200, 170, 110, 0.1), transparent);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.source-box:hover {
    background: rgba(200, 170, 110, 0.2);
    box-shadow: 0 0 15px var(--gold-glow);
    transform: translateX(5px);
}

.sb-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sb-icon-box {
    font-size: 1.8rem;
    color: var(--gold);
    filter: drop-shadow(0 0 5px rgba(200, 170, 110, 0.5));
}

.sb-text-col {
    display: flex;
    flex-direction: column;
}

.sb-label {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.sb-value {
    font-size: 1rem;
    color: var(--gold);
    font-weight: bold;
}

.sb-icon {
    font-size: 1.2rem;
    color: var(--gold);
}

/* YASAL UYARI */
.market-disclaimer {
    margin-top: auto;
    color: #666;
    font-size: 0.7rem;
    font-style: italic;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lb-actions {
    display: flex;
    gap: 15px;
}

.lb-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 4px;
}

.lb-btn:hover {
    background: var(--gold);
    color: #000;
}

.lb-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.lb-close:hover {
    color: #fff;
}

/* FOOTER (BLOG STİLİ) */
footer {
    background: #050a10;
    border-top: 1px solid #333;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: var(--gold);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 50px;
    padding-top: 20px;
    color: #555;
    font-size: 0.8rem;
}

/* --- YENİ FİYAT STİLLERİ --- */

/* Galeri Kutusu (Grid) */
.market-price {
    position: absolute;
    top: 40px;
    right: 10px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--market-green);
    border-radius: 4px;
    padding: 4px 8px;
    color: #fff;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Eğer Foil ise bu class eklenecek */
.market-price.foil {
    border-color: #ffd700;
    color: #ffd700;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(60, 50, 0, 0.4));
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
}

/* Lightbox (Detay) Fiyat Alanı */
.lb-price-container {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.lb-price-group {
    display: flex;
    flex-direction: column;
}

.lb-label-small {
    font-size: 0.65rem;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.lb-val-normal {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

/* Parlak Fiyat Efekti */
.lb-val-foil {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffd700, #fff, #d4af37);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}


@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        gap: 15px;
        padding: 10px;
    }

    .header-left,
    .header-right {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        align-items: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .lightbox-content {
        flex-direction: column;
        padding: 20px;
    }

    .lb-img-container {
        height: 35vh;
        flex: none;
    }

    .header-stats {
        display: none;
    }

    .hero-slider-container {
        height: 200px;
        /* Mobildeki yükseklik neyse onu kesin yaz */
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#galleryContainer {
    min-height: 100vh;
    /* Sayfa yüklenirken footer'ın yukarı zıplamasını engeller */
}

/* CLS FIX - Resimler */
img {
    max-width: 100%;
    height: auto;
    font-style: italic;
    /* Resim yüklenemezse alt text daha düzgün durur */
    vertical-align: middle;
}

/* --- PREMIUM FOOTER STYLES --- */
.site-footer {
    background-color: #05080a;
    /* Sitenin en koyu tonu */
    border-top: 1px solid rgba(200, 170, 110, 0.3);
    /* Altın çizgi */
    padding: 60px 0 20px;
    margin-top: 80px;
    font-size: 0.9rem;
    color: #888;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Başlıklar */
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 800;
}

/* 1. Kolon: Marka */
.footer-logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo h2 {
    margin: 0;
    color: var(--gold);
    letter-spacing: 2px;
}

.footer-logo small {
    color: #555;
    font-size: 0.7rem;
    letter-spacing: 3px;
    display: block;
    text-align: right;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

/* Yetkili Satıcı Rozeti */
.official-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gold);
    background: linear-gradient(45deg, rgba(200, 170, 110, 0.1), transparent);
    padding: 10px 15px;
    border-radius: 6px;
    color: var(--gold);
}

.official-badge i {
    font-size: 1.5rem;
}

.official-badge span {
    font-size: 0.8rem;
    line-height: 1.2;
}

.official-badge strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Linkler */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #888;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

/* Ödeme İkonları */
.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #555;
}

.payment-icons i {
    transition: 0.3s;
    cursor: help;
}

.payment-icons i:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* SSL Badge */
.ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    padding: 8px 15px;
    border-radius: 4px;
    color: #2ecc71;
    margin-bottom: 10px;
}

.ssl-badge i {
    font-size: 1.2rem;
}

.ssl-badge div {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.ssl-badge span {
    font-size: 0.6rem;
    font-weight: bold;
}

.ssl-badge strong {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.secure-text {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Footer Altı */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

.social-links a {
    color: #555;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--gold);
    transform: scale(1.2);
}

/* Mobil Uyum */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .official-badge,
    .ssl-badge,
    .secure-text {
        margin: 0 auto 10px;
    }

    .payment-icons {
        justify-content: center;
    }

    .footer-logo small {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- GLOBAL FIX (HEADER YAPISI) --- */

/* --- GLOBAL FIX (HEADER YAPISI - FINAL V2) --- */

/* 1. MASAÜSTÜ DÜZELTMESİ (Desktop Restore) */
.header-content-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    margin-left: -15px;
    /* DÜZELTME: Boşluğu 40px'den 15px'e indirdik */
}

.header-mobile-bar {
    display: flex;
    align-items: center;
    min-width: max-content;
}

/* Masaüstünde sağ tarafı (Arama/Profil) en sağa yasla */
@media (min-width: 1001px) {
    .header-right {
        margin-left: auto;
        /* Bu kod sağ tarafı en uca iter */
        display: flex;
        align-items: center;
        gap: 20px;
    }
}

/* Masaüstünde gizlenmesi gerekenler */
.mobile-toggle {
    display: none;
}

.sidebar-header {
    display: none;
}

.mobile-overlay {
    display: none;
}

/* 2. MOBİL MENÜ CSS (AYNI TASARIM KORUNDU) */
@media (max-width: 1000px) {

    .header-container {
        padding: 0 15px;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(10, 10, 12, 0.95);
        border-bottom: 1px solid rgba(200, 170, 110, 0.2);
    }

    .header-container.menu-open {
        z-index: 9999 !important;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-mobile-bar {
        width: 100%;
        height: 70px;
        justify-content: space-between;
        position: relative;
        z-index: 10001;
    }

    .header-content-wrapper {
        margin-left: 0;
        /* Mobilde margin yok */
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--gold);
        cursor: pointer;
        padding: 10px;
        transition: 0.2s;
    }

    /* SIDEBAR */
    .header-content-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(165deg, #0e1219 0%, #050608 100%);
        border-right: 1px solid rgba(200, 170, 110, 0.3);
        box-shadow: 10px 0 50px rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        transition: left 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 10000;
        overflow-y: auto;
        pointer-events: auto;
    }

    .header-content-wrapper.active {
        left: 0;
    }

    /* Perde */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 9000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-overlay.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    /* Başlık ve Kapat Butonu */
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px 20px;
        background: linear-gradient(90deg, rgba(200, 170, 110, 0.05), transparent);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sidebar-title {
        color: var(--gold);
        font-weight: 800;
        letter-spacing: 3px;
        font-size: 0.9rem;
        text-transform: uppercase;
    }

    /* KAPAT BUTONU STİLİ */
    .close-sidebar {
        /* Görünüm */
        color: #fff;
        font-size: 1.6rem;
        opacity: 0.8;

        /* Konumlandırma ve Tıklama Alanı FIX */
        display: flex;
        /* İçindeki ikonu esnek kutu ile yönet */
        align-items: center;
        /* Dikeyde tam ortala */
        justify-content: center;
        /* Yatayda tam ortala */

        width: 44px;
        /* Sabit genişlik (parmak için ideal alan) */
        height: 44px;
        /* Sabit yükseklik */
        line-height: 1;
        /* Satır boşluğunu sıfırla */

        cursor: pointer;
        z-index: 10002;

        /* İstersen tıklama alanını görmek için geçici border ekleyip test edebilirsin */
        /* border: 1px solid red; */
    }

    /* Linkler */
    .main-nav {
        width: 100%;
        flex-direction: column;
        gap: 5px;
        padding: 20px 0;
        align-items: stretch;
    }

    .nav-link {
        width: 100%;
        height: auto;
        padding: 16px 25px;
        justify-content: flex-start;
        font-size: 1rem;
        color: #a0a0a0;
        font-weight: 600;
        border-bottom: none;
        border-left: 3px solid transparent;
        box-sizing: border-box;
    }

    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(90deg, rgba(200, 170, 110, 0.1) 0%, transparent 100%);
        color: #fff;
        border-left: 3px solid var(--gold);
        padding-left: 35px;
    }

    .nav-link i {
        width: 25px;
        text-align: center;
        margin-right: 10px;
        color: #666;
    }

    .nav-link.store-btn {
        margin: 15px 20px;
        width: auto;
        justify-content: center;
        border: 1px solid var(--gold);
        color: var(--gold);
        padding-left: 0;
    }

    /* Alt Kısım */
    .header-right {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 25px 20px;
        margin-top: auto;
        background: #08090c;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-sizing: border-box;
        align-items: stretch;
    }

    .search-input {
        width: 100% !important;
        background: #12141a;
        border: 1px solid #2a2e38;
        color: #fff;
        padding: 12px;
    }

    /* Kullanıcı Menüsü (Aşağı Açılır) */
    .user-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .user-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 12px 15px;
        background: linear-gradient(90deg, #151820, #0c0e12);
        border: 1px solid #333;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .user-menu {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        margin-top: 10px;
        background: transparent;
        border: none;
        box-shadow: none;
        display: none !important;
        flex-direction: column;
        border-left: 2px solid #333;
        padding-left: 15px;
        margin-left: 10px;
        box-sizing: border-box;
    }

    .user-menu.show {
        display: flex !important;
        animation: fadeIn 0.3s;
    }

    .user-item {
        padding: 12px 0;
        color: #888;
        font-size: 0.9rem;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    .user-item:hover {
        color: #fff;
        padding-left: 5px;
    }

    .um-header {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   🎨 MODERN VISUAL IMPROVEMENTS - PREMIUM EFFECTS
   Riftbound TR - 2026 Modern Upgrade
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- 1. GLASSMORPHISM HERO SLIDER --- */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(9, 20, 40, 0.3);
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Hero content - eski haline döndürüldü, kutu kaldırıldı */
.hero-content {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 20px;
    box-shadow: none;
}

.hero-title {
    background: linear-gradient(135deg, var(--gold), #fff, var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerTitle 4s linear infinite;
}

@keyframes shimmerTitle {
    to {
        background-position: 200% center;
    }
}

.filter-bar {
    background: rgba(15, 20, 30, 0.6) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(200, 170, 110, 0.15) !important;
    border-radius: 16px !important;
    padding: 20px 30px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 50;
    /* Kartların önünde */
}

.custom-select {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px !important;
    padding: 12px 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.custom-select:hover {
    background: rgba(200, 170, 110, 0.1) !important;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(200, 170, 110, 0.2);
}

.custom-options {
    border-radius: 12px !important;
    border: 1px solid rgba(200, 170, 110, 0.2) !important;
    backdrop-filter: blur(20px);
    background: rgba(15, 20, 30, 0.95) !important;
    overflow: hidden;
}

.custom-option {
    transition: all 0.2s !important;
}

.custom-option:hover {
    background: linear-gradient(90deg, rgba(200, 170, 110, 0.2), transparent) !important;
    padding-left: 25px !important;
}

/* --- 3. PREMIUM CARD HOVER GLOW --- */
.card-gallery {
    overflow: visible !important;
    padding: 20px;
    margin: -20px;
    margin-bottom: 0;
}

.card-wrapper {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
}

.card-wrapper:hover {
    transform: translateY(-15px) scale(1.02) !important;
    z-index: 10;
    /* Hover'da diğer kartların üstüne çık */
}

.card-wrapper:hover .card-image-box {
    box-shadow:
        0 0 30px var(--card-color),
        0 0 60px rgba(var(--card-color), 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

.card-wrapper:hover .card-info-box {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 40px -10px var(--card-color);
    border-color: var(--card-color);
}

/* Rainbow Shine Effect on Hover */
.card-shine {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 25%,
            rgba(200, 170, 110, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 75%,
            rgba(255, 255, 255, 0) 100%) !important;
}

/* --- 4. KART GİRİŞ ANİMASYONU --- */
@keyframes cardFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-wrapper {
    animation: cardFadeInUp 0.3s ease-out backwards;
}

/* Stagger delay via nth-child */
.card-wrapper:nth-child(1) {
    animation-delay: 0.05s;
}

.card-wrapper:nth-child(2) {
    animation-delay: 0.1s;
}

.card-wrapper:nth-child(3) {
    animation-delay: 0.15s;
}

.card-wrapper:nth-child(4) {
    animation-delay: 0.2s;
}

.card-wrapper:nth-child(5) {
    animation-delay: 0.25s;
}

.card-wrapper:nth-child(6) {
    animation-delay: 0.3s;
}

.card-wrapper:nth-child(7) {
    animation-delay: 0.35s;
}

.card-wrapper:nth-child(8) {
    animation-delay: 0.4s;
}

.card-wrapper:nth-child(9) {
    animation-delay: 0.45s;
}

.card-wrapper:nth-child(10) {
    animation-delay: 0.5s;
}

.card-wrapper:nth-child(n+11) {
    animation-delay: 0.55s;
}

/* --- 5. SKELETON LOADING --- */
.skeleton-card {
    background: linear-gradient(90deg, #1a1a2e 25%, #252545 50%, #1a1a2e 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease infinite;
    border-radius: 12px;
    aspect-ratio: 63 / 88;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card::after {
    content: '';
    display: block;
    height: 80px;
    margin-top: 10px;
    background: linear-gradient(90deg, #1a1a2e 25%, #252545 50%, #1a1a2e 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease infinite;
    border-radius: 0 0 12px 12px;
}

/* --- 6. MODERNIZED LIGHTBOX --- */
.lightbox {
    backdrop-filter: blur(8px) !important;
    background: rgba(0, 0, 0, 0.8) !important;
}

.lightbox.active {
    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.lightbox-content {
    animation: lightboxSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px !important;
    border: 1px solid rgba(200, 170, 110, 0.3) !important;
    background: linear-gradient(135deg, rgba(15, 20, 30, 0.98), rgba(10, 15, 25, 0.98)) !important;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.8),
        0 0 100px -50px var(--gold),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

@keyframes lightboxSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lb-img-container {
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.lb-img-container img {
    transition: transform 0.5s ease;
}

.lb-img-container:hover img {
    transform: scale(1.05);
}

.lb-close {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s !important;
}

.lb-close:hover {
    background: rgba(231, 76, 60, 0.2) !important;
    border-color: #e74c3c !important;
    color: #e74c3c !important;
    transform: rotate(90deg);
}

/* --- 7. MICRO-INTERACTIONS --- */

/* Favorite Button Animation */
.fav-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fav-btn:active {
    transform: scale(0.85) !important;
}

.fav-btn.active {
    animation: heartPop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(0.9);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Copy Button Success Animation */
.copy-btn.copied {
    color: var(--market-green) !important;
    animation: copySuccess 0.5s ease;
}

@keyframes copySuccess {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

/* Random Card Button Pulse */
.random-card-btn {
    animation: subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(200, 170, 110, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(200, 170, 110, 0);
    }
}

/* Reset Button Shake on Hover */
.reset-btn:hover {
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px) rotate(-2deg);
    }

    75% {
        transform: translateX(3px) rotate(2deg);
    }
}

/* --- SMOOTH SCROLLBAR --- */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) #1a1a2e;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0e14;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), #8b7355);
    border-radius: 10px;
    border: 2px solid #0a0e14;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4ba7a, var(--gold));
}

/* --- REDUCED MOTION SUPPORT --- */
@media (prefers-reduced-motion: reduce) {

    .card-wrapper,
    .lightbox-content,
    .fav-btn,
    .random-card-btn,
    .hero-title {
        animation: none !important;
        transition: none !important;
    }
}

/* --- LIGHTBOX ACTION BUTTONS MODERNIZATION (PREMIUM STYLE) --- */
#lb-fav-btn,
#lb-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(10, 20, 30, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#lb-fav-btn:hover,
#lb-detail-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 25px var(--gold-glow);
    transform: translateY(-3px);
}

#lb-fav-btn span,
#lb-detail-btn i {
    font-size: 1.1rem;
}