/* ==================================================================
   GÜNCELLENMİŞ style.css
   Ortak stiller (renkler, butonlar, formlar, container vb.) 
   'common.css' dosyasına taşındı.
   Bu dosya artık SADECE siteye özel bileşenleri ve 
   sayfa stillerini (Ana Sayfa, Blog, Dükkan vb.) içerir.
   ================================================================== */

/* :root, *, html, body, h1-h6, scrollbar, .btn, .container, */
/* .modern-form, .skeleton, .notification, global modal, */
/* #scroll-to-top stilleri common.css'e TAŞINDI. */


.modal-enter { 
    animation: modalFadeIn 0.3s ease-out forwards; 
}
@keyframes modalFadeIn { 
    from { opacity: 0; transform: scale(0.95); } 
    to { opacity: 1; transform: scale(1); } 
}
.brand-logo, .category-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}
.brand-card:hover .brand-logo, .category-card:hover .category-logo {
    transform: scale(1.05);
}
#page-container {

    position: relative;
    min-height: 500px;
}
.page {
    width: 100%;
}
.page.active {
    position: relative;
}
.comparison-image {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
}
.bg-slate-800 { 
    background-color: var(--bg-light); 
    border: none; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}
.bg-slate-800:hover {
    box-shadow: 0 0 15px rgba(255, 72, 0, 0.3); 
}
.tooltip-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.info-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.info-icon-wrapper .info-icon {
    width: 1rem;
    height: 1rem;
    color: var(--text-dark);
    transition: color 0.2s ease;
}
.info-icon-wrapper:hover .info-icon {
    color: var(--primary);
}
.tooltip-content {
    position: absolute;
    left: 110%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    padding: 0.75rem;
    border-radius: 0.5rem;
    width: 250px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.info-icon-wrapper:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}
.tooltip-content::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent var(--primary) transparent transparent;
}
.tooltip-content a {
    color: var(--primary);
    text-decoration: underline;
}
.tooltip-content a:hover {
    color: var(--primary-hover);
}

/* .btn stilleri common.css'e TAŞINDI */

.unavailable-overlay {
    background-color: red; 
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
}
@keyframes slideInFromTop {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-slide-in-top {
    animation: slideInFromTop 0.5s ease-out forwards;
}
@keyframes fadeInOut {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1); }
}
.animate-vs-effect {
    animation: fadeInOut 1.5s ease-in-out forwards;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}
.animate-shake {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}
.service-brand-card {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}
.service-brand-card:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    opacity: 1;
}
.service-brand-card.selected-brand {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
    background-color: #3a3a3a;
    transform: scale(1.05);
    opacity: 1;
}
.service-brand-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
}
#brand-select-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: #374151; 
    border: 1px solid #4b5563; 
    color: white;
    transition: all 0.2s ease;
}
#brand-select-button:hover, #brand-select-button.open {
    border-color: var(--primary);
}
#brand-select-button .icon {
    transition: transform 0.3s ease;
}
#brand-select-button.open .icon {
    transform: rotate(180deg);
}
#brand-logo-dropdown {
    background-color: #1f2937; 
    border: 1px solid var(--primary);
    border-radius: 0.5rem;
    padding: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.service-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px; 
    color: white;
    margin-top: 0.75rem;
}
.badge-authorized {
    background-color: #22c55e; 
}
.badge-private {
    background-color: #f97316; 
}
.path-is-fixed {
    position: fixed;
    top: 7rem; 
}
.path-is-absolute-bottom {
    position: absolute;
    bottom: 0; 
}
#notification-panel.visible {
    display: block;
    animation: slideInFromLeft 0.3s ease-out forwards;
}
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
#notification-list a {
    display: block;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    color: var(--text-light);
}
#notification-list a:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
}
#notification-list a.unread {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-left: 3px solid var(--primary);
}

/* #notification-container ve .notification stilleri common.css'e TAŞINDI */

/* .skeleton stilleri common.css'e TAŞINDI */

@media (max-width: 640px) {
    #motorcycle-grid .bg-slate-800,
    #video-grid .bg-slate-800 {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
    #motorcycle-grid .relative,
    #video-grid .relative {
        flex-basis: 40%;
        flex-shrink: 0;
    }
    #motorcycle-grid .w-full.h-48,
    #video-grid .w-full.h-52 {
        height: 100%;
    }
    #motorcycle-grid .p-5,
    #video-grid .p-4 {
        padding: 0.75rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #motorcycle-grid .flex.justify-between.items-center,
    #motorcycle-grid .flex.gap-2.mt-4 {
        display: none;
    }
    #video-grid .text-xs {
            display: none;
    }
    #video-grid h4,
    #motorcycle-grid h3 {
        font-size: 1rem;
    }
}
.spotlight-effect {
    position: relative;
    z-index: 201;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.8);
    border-radius: 0.75rem;
    transition: box-shadow 0.3s ease-in-out;
    transform: scale(1.03);
    animation: pulse-effect 1.5s infinite;
}
#auth-container {
    position: relative;
    z-index: 202;
}
@keyframes pulse-effect {
    0% {
        transform: scale(1.03);
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.8), 0 0 25px rgba(var(--primary-rgb), 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.8), 0 0 40px rgba(var(--primary-rgb), 0.7);
    }
    100% {
        transform: scale(1.03);
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.8), 0 0 25px rgba(var(--primary-rgb), 0.4);
    }
}
#spotlight-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(3px);
    z-index: 200;
    mask: url(#spotlight-mask);
    -webkit-mask: url(#spotlight-mask);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#spotlight-overlay.visible {
    visibility: visible;
    opacity: 1;
}
#spotlight-hole {
    transition: all 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.spotlight-pulse-target {
    position: relative;
    z-index: 201;
    animation: fast-pulse 0.8s infinite;
}
@keyframes fast-pulse {
    0% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5); }
    50% { box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.9); }
    100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5); }
}
.cotw-container {
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
}
.cotw-vs-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}
.cotw-moto-card {
    background-color: rgba(0,0,0,0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    /* Popover için eklendi (style.css'den) */
    position: relative; 
}
.cotw-moto-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-light);
}
.cotw-moto-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
}
.advanced-search-promo {
    background: radial-gradient(circle at top, var(--bg-light) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.advanced-search-promo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background-image: radial-gradient(circle, rgba(var(--primary-rgb), 0.10) 0%, rgba(var(--primary-rgb), 0) 60%);
    transform: translate(-50%, -50%);
    animation: spin 20s linear infinite;
    z-index: 0;
}
.advanced-search-promo > * {
    position: relative;
    z-index: 1;
}
@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.compare-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}
.compare-pane {
    background-color: var(--bg-dark);
    border-radius: 1rem;
    padding: 1.5rem;
    max-height: calc(90vh - 4rem);
    overflow-y: auto;
    position: relative;
}
.moto-selection-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: calc(90vh - 14rem);
    overflow-y: auto;
}
.selection-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.selection-item:hover {
    background-color: var(--primary);
}
.selection-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
    flex-shrink: 0;
}
body.light-mode {
    --bg-dark: #f0f2f5;
    --bg-light: #ffffff;
    --text-light: #1c1e21;
    --text-dark: #65676b;
    --border-color: #ced0d4;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
}
input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
}
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}
.notification-item {
    display: block;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: 0.2s ease;
    color: var(--text-light);
    border-left: 3px solid transparent;
}
.notification-item:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
}
.notification-item.unread {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-left-color: var(--primary);
}
#notification-bell {
    position: relative;
}
#notification-count {
    position: absolute;
    top: 0px;
    right: 0px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: linear-gradient(135deg, #ff4d4d, #e60023);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
#notification-count:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, #ff6666, #ff1a1a);
}
#header-placeholder {
    position: relative;
    z-index: 1000;
}
#main-header {
    position: sticky;
    top: 0;
}
.truncate-text-single-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
label[for="phone-visibility-toggle"] .relative div {
    pointer-events: none;
}
.forum-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at 50% 0, rgba(var(--primary-rgb), 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.forum-container > * {
    position: relative;
    z-index: 1;
}
label {
    background-color: transparent;
    color: var(--text-dark);
}

/* Form eleman stilleri (.modern-textarea, .modal-input vb.) common.css'e TAŞINDI */

/* ==========================================================================
   --- MOTOSİKLET KARTI BİLEŞENİ (TÜM SİTEDE ORTAK) ---
   ========================================================================== */
.moto-card {
    background-color: #1e293b;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* ... (diğer .moto-card stilleri burada kalır) ... */
.moto-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 15px -3px rgba(255, 72, 0, 0.1), 0 4px 6px -4px rgba(255, 72, 0, 0.1);
}
.moto-card__image-wrapper {
    position: relative;
    height: 13rem;
}
.moto-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.moto-card:hover .moto-card__image {
    transform: scale(1.05);
}
.moto-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #FF4800;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}
.moto-card__details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.moto-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.moto-card__subtitle {
    font-size: 0.875rem;
    color: #f97316;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.moto-card__specs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    border-top: 1px solid #334155;
    padding-top: 0.75rem;
    margin-top: auto;
}
.moto-card__spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
}
.moto-card__spec-item i {
    width: 1.25rem;
    height: 1.25rem;
    margin-bottom: 0.25rem;
    color: #fb923c;
}
.moto-card__spec-item span {
    font-weight: 700;
    color: white;
}


/* --- Video Galeri Stilleri --- */
.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}
/* ... (diğer video galeri, arena, header link vb. stilleri burada kalır) ... */
.video-thumbnail-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.video-thumbnail-image {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.video-thumbnail-wrapper:hover .video-thumbnail-image {
    transform: scale(1.05);
}
.video-thumbnail-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-thumbnail-wrapper:hover .video-thumbnail-overlay {
    opacity: 1;
}
.video-thumbnail-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Karşılaştırma Arenası --- */
#comparison-arena-section {
    padding-top: 42rem;
    padding-bottom: 4rem;
}
@media (min-width: 1024px) {
    #comparison-arena-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}
.arena-background {
    position: absolute; inset: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: blur(5px) brightness(0.5); transform: scale(1.1);
    z-index: 1;
}
.arena-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.9) 90%);
    z-index: 2;
}
.arena-content {
    position: relative; z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width:-7xl;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .arena-content {
        grid-template-columns: 1fr auto 1fr;
        gap: 2rem;
    }
}
.arena-vs-icon {
    color: var(--primary);
    border: 3px solid var(--primary);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: -1rem auto;
    background-color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.5);
    transform: rotate(-15deg);
}
@media (min-width: 1024px) {
    .arena-vs-icon { margin: 0; transform: rotate(0); }
}
.arena-vs-icon i { width: 32px; height: 32px; }
.competitor-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    padding: 1rem;
    display: flex; flex-direction: column;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.competitor-card:nth-child(3) { animation-delay: 0.2s; }
.competitor-card.voted-for {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.4);
}
.competitor-image-wrapper {
    min-height: 200px; 
    margin: -3rem -1rem 1rem -1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.competitor-image {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}
.competitor-brand {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}
.competitor-name {
    color: white;
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.competitor-specs {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.spec-item {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: var(--text-dark);
}
.spec-item i { color: var(--text-dark); width: 24px; height: 24px; }
.spec-item span { color: white; font-weight: 700; font-size: 1.25rem; }

.competitor-card .vote-btn {
    width: 100%;
}
.arena-poll-section {
    position: relative; z-index: 3;
    max-width:-4xl;
     margin: 3rem auto 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}
.poll-bar {
    height: 1rem; background-color: rgba(0,0,0,0.5);
    border-radius: 0.5rem; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.poll-bar-fill {
    height: 100%; background: var(--primary);
    border-radius: 0.5rem;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.poll-info {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 0.25rem 0.5rem 0.25rem;
    color: var(--text-dark);
}
.arena-summary {
    position: relative;
    z-index: 3;
    max-width:-3xl;
    margin: 0 auto 2rem auto;
    padding: 1.5rem;
    text-align: center;
    background-color: rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}
.arena-summary .voter-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.arena-summary .voter-count strong {
    color: white;
    font-size: 1.1rem;
}
.arena-summary .winner-status {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}
.arena-summary .winner-name {
    color: var(--primary);
    font-family: 'Russo One', sans-serif;
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
    font-size: 1.5rem;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Header Link Stilleri --- */
.nav-link-main,
.nav-link-cta {
    position: relative;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 8px 4px;
    transition: color 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}
.nav-link-cta {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    border-radius: 6px;
}
.nav-link-main::after,
.nav-link-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.nav-link-main:hover,
.nav-link-cta:hover {
    color: white;
}
.nav-link-main:hover::after,
.nav-link-cta:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.nav-link-cta i {
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease;
    width: 20px;
    height: 20px;
}
.nav-link-cta:hover {
    color: white !important;
    background-color: rgba(var(--primary-rgb), 0.1);
}
.nav-link-cta:hover i {
    transform: scale(1.1);
    color: white;
}
.nav-link-cta:hover::after {
    transform: scaleX(1);
}


/* --- ANA SAYFA STİLLERİ --- */
.hero-section {
    height: 100vh;
    padding-top: 80px;
    margin-top: -80px;
     background-image: url('images/hero_fallback.jpg');
    background-size: cover;
    background-position: center;
}
/* ... (diğer tüm ana sayfa, blog, dükkan, ilan vb. stilleri burada kalır) ... */
.hero-video-bg video,
.hero-video-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}
.hero-overlay {
    background: linear-gradient(to top, var(--bg-dark) 0%, rgba(17, 24, 39, 0.7) 100%);
}
.hero-title {
    font-family: 'Russo One', sans-serif;
    letter-spacing: 0.05em;
    text-shadow: 0 5px 25px rgba(0,0,0,0.5);
    color: white;
}
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotate(5deg);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-title.revealed .char {
    opacity: 1;
    transform: translateY(0) rotate(0);
}
.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}
.hero-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
}
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
        line-height: 1;
    }
}
.hero-title {
    font-size: 3rem;
    line-height: 1.1;
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
    color: white;
    font-family: 'Russo One', sans-serif;
    letter-spacing: 0.02em;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    border-radius: 2px;
}
.explore-card {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.2);
}
.explore-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: transform 0.4s ease-out;
}
.explore-card:hover .explore-card-img {
    transform: scale(1.1);
}
.explore-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 20%, transparent 100%);
}
.explore-card-title {
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
#selection-engine {
    transition: all 0.5s ease;
}
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.selection-card {
    background-color: var(--bg-dark);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.selection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.2);
}
.selection-card-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.4s ease-out;
}
.selection-card:hover .selection-card-img {
    transform: scale(1.1);
}
.selection-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 20%, transparent 100%);
    text-align: center;
}
.btn-danger {
    background-color: #be123c;
    color: white;
}
#compare-now-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@keyframes slideOutToLeft { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-50%); } }
@keyframes slideInFromRight { from { opacity: 0; transform: translateX(50%); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.animate-slide-out-left { animation: slideOutToLeft 0.5s ease-in-out forwards; }
.animate-slide-in-right { animation: slideInFromRight 0.5s ease-in-out forwards; }
.animate-scale-in { animation: scaleIn 0.5s ease-in-out forwards; }
#page-container {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    background-color: rgba(17, 24, 39, 0.85);
    min-height: 400px;
    transition: height 0.4s ease-in-out;
}
#page-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/selection_bg.jpg');
    background-size: cover;
    background-position: center bottom;
    filter: brightness(0.7) blur(2px);
    z-index: 0;
}
#page-container > .page {
    position: relative;
    z-index: 1;
    background-color: rgba(17, 24, 39, 0.6);
    padding: 1.5rem;
}
.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}
.hero-buttons.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-button:hover {
  background-color: #ff6600;
  transform: scale(1.05);
  transition: all 0.3s ease;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 45;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}
body.mobile-menu-open {
    overflow: hidden;
}
.dropdown {
    position: relative;
}
.dropdown-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
.dropdown-toggle i {
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(15, 23, 42, 0.6);
     border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 50;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 0.25rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
}
.dropdown-item:hover {
    background-color: var(--primary);
    color: white;
}
#user-profile-menu {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(10px);
}
#user-profile-area.dropdown:hover #user-profile-menu {
    transform: translateX(0) translateY(0);
}
@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}
button.nav-link-main {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    color: inherit;
    cursor: pointer;
}
.rich-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.rich-selection-card {
    position: relative;
    height: 250px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    /* YENİ: Yükseklik eşitleme */
    display: flex; 
    flex-direction: column; 
    height: 100%; 
}
.rich-selection-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
}
.rich-selection-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.rich-selection-card:hover .rich-selection-card-bg {
    transform: scale(1.1);
    filter: brightness(1.1);
}
.rich-selection-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
    transition: background-color 0.3s ease;
}
.rich-selection-card-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    text-align: center;
}
/* YENİ: Başlığı en alta itmek için */
.rich-selection-card-content { 
    margin-top: auto; 
    position: relative; /* Başlığın absolute pozisyonu için */
    z-index: 1; /* Overlay'in üzerinde kalması için */
    padding: 1.5rem; /* Başlığın padding'ini buraya taşıyabiliriz */
}

#video-gallery-promo {
    background-color: var(--bg-dark-alt);
    border-radius: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    margin-top: 6rem;
    margin-bottom: 6rem;
}
.video-promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.video-promo-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) blur(2px);
    transform: scale(1.05);
}
.video-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(17, 24, 39, 0.7) 0%,
        rgba(31, 41, 55, 0.8) 50%,
        rgba(17, 24, 39, 0.9) 100%
    );
}
#video-gallery-promo h2 {
    font-family: 'Russo One', sans-serif;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 72, 0, 0.6), 0 0 10px rgba(255, 72, 0, 0.4);
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
#video-gallery-promo p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}
.video-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
}
.video-promo-btn i {
    width: 1.5rem;
    height: 1.5rem;
}
.btn-primary.video-promo-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 72, 0, 0.4);
}
.btn-secondary.video-promo-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-dark-hover);
}
@media (max-width: 768px) {
    #video-gallery-promo {
        padding: 4rem 1rem;
        border-radius: 1.5rem;
    }
    #video-gallery-promo h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    #video-gallery-promo p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .video-promo-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    .flex-col.sm:flex-row {
        flex-direction: column;
    }
}
#featured-videos-section {
    background: linear-gradient(to bottom, var(--bg-dark-alt) 0%, rgba(17, 24, 39, 0.95) 100%);
    padding: 6rem 0;
}
#featured-videos-section .section-title {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(255, 72, 0, 0.4);
    font-family: 'Russo One', sans-serif;
    letter-spacing: 0.05em;
}
.video-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column; 
    position: relative; 
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary);
}
.video-card__thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .video-card {
        flex-direction: row; 
        height: 200px; 
    }
    .video-card__thumbnail-wrapper {
        flex-basis: 40%; 
        width: 40%;
        padding-bottom: 0; 
    }
}
.video-card__thumbnail,
.video-card__video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.4s ease;
}
.video-card:hover .video-card__thumbnail,
.video-card:hover .video-card__video-preview {
    transform: scale(1.05);
}
.video-card__video-preview {
    opacity: 0;
}
.video-card:hover .video-card__video-preview {
    opacity: 1;
}
.video-card__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 0.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    z-index: 5;
}
.video-card:hover .video-card__play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}
.video-card__content {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.video-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.video-card__category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}
.btn-primary.btn-lg i {
    font-size: 1.5rem;
}
.join-garage-cta-only {
    padding: 5rem 2rem;
    text-align: center;
    background-color: var(--bg-light);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.motw-cta-combined {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
@media (min-width: 1024px) {
    .motw-cta-combined {
        grid-template-columns: 1fr 2fr 1fr;
        padding: 3rem;
    }
}
.motw-details-combined {
    text-align: center;
}
@media (min-width: 1024px) {
    .motw-details-combined {
        text-align: left;
    }
}
.motw-image-wrapper-combined {
    position: relative;
    height: 250px;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.motw-image-wrapper-combined .motw-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #0d1117;
    transition: transform 0.4s ease;
}
.motw-image-wrapper-combined:hover .motw-image {
    transform: scale(1.05);
}
.cta-details-combined {
    text-align: center;
}
@media (min-width: 1024px) {
    .cta-details-combined {
        text-align: right;
    }
}
.motw-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 1rem;
    justify-content: center;
}
@media (min-width: 1024px) {
    .motw-stats {
        justify-content: flex-start;
    }
}
.motw-owner-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
}
@media (min-width: 1024px) {
    .motw-owner-info {
        justify-content: flex-start;
    }
}
.motw-owner-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px rgba(255, 72, 0, 0.4);
}
.category-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1280px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
.category-grid .type-selection-card {
    height: 250px;
}
.category-grid .type-selection-card-title {
    font-size: 1.8rem;
}
.model-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (min-width: 1280px) {
    .model-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
.moto-card.minimal {
    background-color: transparent;
    border: 1px solid var(--border-color);
}
.moto-card.minimal:hover {
    background-color: var(--bg-light);
    border-color: var(--primary);
}
.moto-card.minimal .moto-card__image-wrapper {
    height: 10rem;
}
.moto-card.minimal .moto-card__details {
    padding: 0.75rem;
    text-align: center;
}
.moto-card.minimal .moto-card__title {
    font-size: 1rem;
    margin-bottom: 0;
    white-space: normal;
}
.moto-card.minimal .moto-card__specs {
    display: none;
}
.moto-card.minimal .btn-sm {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}
#selection-engine #selection-title {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(255, 72, 0, 0.5);
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    #page-container > .page {
        padding: 1rem;
    }
}
.cotw-specs-popover {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
}
.cotw-moto-card:hover .cotw-specs-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.cotw-specs-popover .spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-dark);
    font-size: 0.8rem;
}
.cotw-specs-popover .spec-item i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}
.cotw-specs-popover .spec-item span {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1rem;
}
.category-grid .selection-card-img {
    height: 150px;
}
.category-grid .selection-card-title {
    font-size: 1.25rem;
}
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5em;
  }
  .hero-section p {
    font-size: 1em;
  }
}
.type-selection-card {
    position: relative;
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    display: block;
    text-decoration: none;
}
.type-selection-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
}
.type-selection-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.type-selection-card:hover .type-selection-card-bg {
    transform: scale(1.1);
    filter: brightness(1.1);
}
.type-selection-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
    transition: opacity 0.4s ease;
}
.type-selection-card:hover .type-selection-card-overlay {
    opacity: 0;
}
.type-selection-card-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    text-align: center;
    transition: color 0.3s ease;
}
.type-selection-card:hover .type-selection-card-title {
    color: var(--primary);
}
#video-hub-section .grid.lg\\:grid-cols-2 {
    display: block;
}
#video-type-selection-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
    #video-type-selection-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
#video-type-selection-grid .type-selection-card {
    height: 220px;
}
#video-type-selection-grid .type-selection-card-title {
    font-size: 1.5rem;
}
#featured-videos-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    #featured-videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.selection-card.logo-card {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--bg-dark);
}
.selection-card.logo-card:hover {
    background-color: var(--bg-light);
}
.selection-card-img.logo-only {
    height: 100%;
    width: 100%;
    object-fit: contain;
    padding: 1.5rem;
}
.selection-card.logo-card:hover .selection-card-img.logo-only {
    transform: scale(1.05);
}
.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.2);
}
.featured-post-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.4s ease;
}
.featured-post-card:hover .featured-post-bg {
    transform: scale(1.05);
}
.featured-post-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, rgba(0,0,0,0.8) 50%, transparent 100%);
}
.featured-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    color: white;
}
.featured-post-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary);
    color: white;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.featured-post-title {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
}
.featured-post-author {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}
.secondary-post-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    text-decoration: none;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.secondary-post-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}
.secondary-post-category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.secondary-post-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
}
#maintenance-calculator-section {
    background: radial-gradient(circle at 50% 100%, rgba(var(--primary-rgb), 0.1), transparent 60%);
    padding-bottom: 6rem;
}
#calculator-form {
    border: 1px solid var(--border-color);
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 1.5rem;
}
#calculate-maintenance-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-image: none;
    background-color: var(--border-color);
    box-shadow: none;
    transform: none;
}
#maintenance-result {
    margin-top: 3rem;
    animation: scaleIn 0.5s ease-out forwards;
}
.maintenance-result-card {
    margin-left: auto;
    margin-right: auto;
    background-color: var(--bg-light);
    border: 1px solid var(--primary);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.2);
}
.maintenance-result-card.error { border-color: #ef4444; }
.maintenance-result-card.info { border-color: #3b82f6; }
.result-title {
    font-size: 1.25rem;
    color: var(--text-dark);
}
.result-km {
    font-family: 'Russo One', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    margin-top: 0.5rem;
}
.result-service-name {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}
.result-cost {
    font-size: 1.5rem;
    color: white;
    padding: 1rem;
    background-color: rgba(0,0,0,0.2);
    border-radius: 1rem;
    display: inline-block;
}
.result-cost span {
    color: var(--primary);
    font-weight: 700;
}
.result-disclaimer {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* .container stilleri common.css'e TAŞINDI */

#comparison-bar {
    transform: translateX(-50%) translateY(100%);
    transition: transform 0.4s ease-in-out;
}
#comparison-bar.visible {
    transform: translateX(-50%) translateY(calc(100% - 60px));
}
#comparison-bar.visible.open {
    transform: translateX(-50%) translateY(0);
}
#comparison-toggle {
    transition: background-color 0.3s ease;
}
#comparison-toggle:hover {
    background-color: rgba(var(--primary-rgb), 0.2);
}
.selection-back-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(8px);
    color: var(--text-light);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.selection-back-btn:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    transform: scale(1.05);
    border-color: var(--primary);
}
.site-footer {
    background-color: #0A0E13;
    color: var(--text-dark);
    padding: 4rem 1rem;
    border-top: 1px solid var(--border-color);
}
.site-footer .footer-logo .logo-text {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    color: white;
}
.site-footer .footer-logo .logo-text span {
    color: var(--primary);
}
.site-footer .footer-links a {
    color: var(--text-dark);
    transition: color 0.3s ease;
    font-weight: 600;
}
.site-footer .footer-links a:hover {
    color: var(--primary);
}
.site-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s ease;
}
.site-footer .social-icons a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}
.site-footer .footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 3rem;
}
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}
.video-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.video-modal-content {
    position: relative;
    background-color: var(--bg-dark-alt);
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 900px;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(100vh - 2rem);
}
.video-modal-overlay.open .video-modal-content {
    transform: scale(1);
    opacity: 1;
}
.video-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1010;
    transition: color 0.3s ease;
}
.video-modal-close-btn:hover {
    color: var(--primary);
}
.video-modal-close-btn i {
    width: 32px;
    height: 32px;
}
.video-modal-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.video-modal-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.video-modal-details {
    padding: 1.5rem;
    color: var(--text-light);
    overflow-y: auto;
}
.video-modal-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}
.video-modal-category {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .video-modal-content {
        max-width: 95%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    .video-modal-close-btn {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
    .video-modal-title {
        font-size: 1.5rem;
    }
    .video-modal-details {
        padding: 1rem;
    }
}
body.video-modal-open {
    overflow: hidden;
}
#chat-panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom right;
}
#chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
#chat-launcher-btn {
    transition: transform 0.3s ease;
}
#chat-launcher-btn:hover {
    transform: scale(1.1);
}

/* [id$="-modal"] stilleri common.css'e TAŞINDI */

#new-thread-modal {
    z-index: 5000;
}

/* Çakışan notification stilleri common.css'e TAŞINDI */

/* --- ÜRÜN KARTI (PRODUCT CARD) --- */
.product-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* YENİ: Yükseklik eşitleme */
    height: 100%;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.15);
}
.product-card__image-wrapper {
    position: relative;
    padding-bottom: 75%;
    background-color: var(--bg-dark);
}
.product-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card__image {
    transform: scale(1.05);
}
.product-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    text-transform: uppercase;
}
.product-card__out-of-stock {
    position: absolute;
    inset: 0;
    background-color: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.product-card__details {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Yükseklik eşitleme */
}
.product-card__category {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.product-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-light);
    /* flex-grow: 1; */ /* Kaldırıldı */
    margin-bottom: 0.5rem; /* Azaltıldı */
    line-height: 1.4; 
    height: calc(1.4em * 1.125rem * 2); 
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card__price {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    margin-top: auto; /* Yükseklik eşitleme */
}

/* --- İLAN KARTI (ILAN CARD) --- */
.ilan-card {
    display: block;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    /* YENİ: Yükseklik eşitleme */
    height: 100%;
}
.ilan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.15);
}
.ilan-card__image-wrapper {
    position: relative;
    padding-bottom: 75%;
    background-color: var(--bg-dark);
}
.ilan-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ilan-card:hover .ilan-card__image {
    transform: scale(1.05);
}
.ilan-card__category-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(4px);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    text-transform: capitalize;
}
.ilan-card__details {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Yükseklik eşitleme */
}
.ilan-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
    /* flex-grow: 1; */ /* Kaldırıldı */
    margin-bottom: 0.5rem; /* Eklendi */
}
.ilan-card:hover .ilan-card__title {
    color: var(--primary);
}
.ilan-card__price {
    font-size: 1.75rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    margin-top: auto; /* Yükseklik eşitleme */
    /* padding-top: 0.75rem; */ /* Kaldırılabilir */
    white-space: nowrap; 
}
.ilan-card__seller {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem; 
    color: var(--text-dark); 
    margin-top: 0.75rem; 
    padding-top: 0.75rem; 
    border-top: 1px solid var(--border-color); 
}
.ilan-card__seller i {
    width: 0.9rem; 
    height: 0.9rem;
    flex-shrink: 0;
}
.ilan-card__seller span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ilan-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-top: 0.5rem; 
    /* border-top: 1px solid var(--border-color); */ /* Kaldırıldı */
    /* padding-top: 0.75rem; */ /* Kaldırıldı */
}
.ilan-card__meta i {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* --- MOBİL NAVİGASYON --- */
.bottom-nav { /* ... (Aynı kalır) ... */ }
.nav-item { /* ... (Aynı kalır) ... */ }
.nav-item-fab { /* ... (Aynı kalır) ... */ }
.mobile-flyout-menu { /* ... (Aynı kalır) ... */ }
.mobile-flyout-overlay { /* ... (Aynı kalır) ... */ }
.mobile-menu-link { /* ... (Aynı kalır) ... */ }
.mobile-search-overlay { /* ... (Aynı kalır) ... */ }

/* --- SWIPER (CAROUSEL) --- */
/* GÜNCELLENDİ: Swiper Slide için yükseklik ve flex ayarları */
.swiper-slide {
    height: auto; 
    display: flex; 
    flex-direction: column; 
    padding-top: 8px; 
    padding-bottom: 8px; 
}
/* GÜNCELLENDİ: Slide içindeki ana elemanın (kart) yüksekliği %100 */
.swiper-slide > a,
.swiper-slide > div {
    height: 100%;
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}
.swiper-wrapper { /* ... (İmleç stilleri aynı kalır) ... */ }

/* GÜNCELLENDİ: Eski Ok Stilleri KALDIRILDI */
/*
.swiper-button-prev,
.swiper-button-next { ... }
.swiper-button-prev:hover,
.swiper-button-next:hover { ... }
.swiper:hover .swiper-button-prev,
.swiper:hover .swiper-button-next { ... }
.swiper-button-prev::after,
.swiper-button-next::after { ... }
.swiper-button-prev { ... }
.swiper-button-next { ... }
@media (max-width: 1023px) { ... }
*/

/* --- Pagination Stilleri --- */
.swiper-pagination { /* ... (Aynı kalır) ... */ }
.swiper-pagination-bullet { /* ... (Aynı kalır) ... */ }
.swiper-pagination-bullet-active { /* ... (Aynı kalır) ... */ }
.swiper-pagination-bullet-active-main { /* ... (Aynı kalır) ... */ }
.swiper { /* ... (padding-bottom aynı kalır) ... */ }
.swiper-pagination-bullet-active::after { /* ... (Animasyon aynı kalır) ... */ }
@keyframes pagination-timer { /* ... (Animasyon aynı kalır) ... */ }


.thread-card:hover { /* ... (Aynı kalır) ... */ }
.thread-card .text-xl { /* ... (Aynı kalır) ... */ }

/* ... (Modal animasyonları aynı kalır) ... */
#new-thread-modal { /* ... (Aynı kalır) ... */ }
#new-thread-modal.open { /* ... (Aynı kalır) ... */ }
#new-thread-modal.open > div { /* ... (Aynı kalır) ... */ }
#new-thread-modal.closing > div { /* ... (Aynı kalır) ... */ }

/* ... (Password rules stilleri aynı kalır) ... */
.password-rules { /* ... */ }
.password-rules li { /* ... */ }
.password-rules li .rule-icon::before { /* ... */ }
.password-rules li.valid { /* ... */ }
.password-rules li.valid .rule-icon::before { /* ... */ }
#register-submit-btn:disabled { /* ... (Aynı kalır) ... */ }

/* ... (Product Card title 2 satır sınırlaması aynı kalır) ... */
.product-card__title { /* ... (Yukarıda güncellendi) ... */ }

/* ... (Scroll-to-top mobil çakışma düzeltmesi aynı kalır) ... */
@media (max-width: 767px) { button#scroll-to-top { /* ... */ } }

/* ============================================= */
/* --- Marketplace Layout (Promo + Slider) --- */
/* ============================================= */
.marketplace-container-flex {
    display: flex;
    flex-direction: column; /* Mobil'de alt alta */
    gap: 1.5rem; 
    align-items: flex-start; /* GÜNCELLENDİ */
}

.promo-box-fixed {
    width: 100%; 
    flex-shrink: 0;
}
/* GÜNCELLENDİ: Promo kutusunun içindeki ana div'in yüksekliği %100 */
#promo-box-container > div {
    height: 100%;
}

.swiper-container-flex-grow {
    width: 100%; 
    min-width: 0; 
    overflow: hidden; /* GÜNCELLENDİ: Ellipsis sorununu çözebilir */
}

/* Masaüstü ve üzeri */
@media (min-width: 1024px) {
    .marketplace-container-flex {
        flex-direction: row; /* Yan yana */
        gap: 2rem; 
        align-items: stretch; /* GÜNCELLENDİ */
    }

    .promo-box-fixed {
        width: 300px; 
    }

    .swiper-container-flex-grow {
        flex-grow: 1; 
    }
    
    #marketplace-prev-standalone,
    #marketplace-next-standalone {
        top: 50%;
        transform: translateY(-50%);
    }
     #marketplace-prev-standalone { left: -16px; } 
     #marketplace-next-standalone { right: -16px; }
     
     .swiper-container-flex-grow:hover #marketplace-prev-standalone { left: 8px; }
     .swiper-container-flex-grow:hover #marketplace-next-standalone { right: 8px; }
}

/* GÜNCELLENDİ: Diğer slider container'ları için de overflow hidden */
#discovery-tools-section .relative.group, 
#shop-preview-section .relative.group {
    overflow: hidden;
}

/* ============================================= */
/* --- Discovery Tools Slider Stilleri (GÜNCELLENDİ) --- */
/* ============================================= */

#discovery-slider {
    padding-top: 1rem; /* Üstte biraz boşluk */
    padding-bottom: 3rem; /* Pagination için yer */
    /* Mobil'de (coverflow aktifken) taşmayı görünür yap */
    overflow: hidden; /* Varsayılan olarak gizli */
}

@media (max-width: 1023px) {
    #discovery-slider {
        overflow: visible; /* Coverflow için taşmayı göster */
    }
    /* Mobil'de bağımsız ok butonlarını gizle (JS zaten gizliyor ama CSS ile garanti) */
    #discovery-prev-standalone,
    #discovery-next-standalone {
        display: none !important;
    }
}

/* Slide'ın kendisi - Yükseklik ve temel görünüm */
#discovery-slider .swiper-slide {
    width: 65%; /* Coverflow için genişlik yüzdesi (ayarlanabilir) */
    /* height: auto; - Swiper kendi ayarlar */
    transition: transform 0.4s ease, opacity 0.4s ease; /* Yumuşak geçiş */
    opacity: 0.4; /* Aktif olmayan slaytları soluklaştır */
    transform: scale(0.8); /* Aktif olmayan slaytları küçült */
}
@media (min-width: 1024px) {
     #discovery-slider .swiper-slide {
        width: auto; /* Masaüstünde Swiper genişliği kendi ayarlasın */
        opacity: 1; /* Masaüstünde soluklaştırma yok */
        transform: scale(1); /* Masaüstünde küçültme yok */
    }
}


/* Aktif (Ortadaki) Slayt Stili - SADECE MOBİLDE */
@media (max-width: 1023px) {
    #discovery-slider .swiper-slide-active {
        opacity: 1; /* Aktif slaytı netleştir */
        transform: scale(1); /* Aktif slaytı normal boyutuna getir */
        z-index: 1; /* Diğerlerinin üzerine çıksın */
    }
}


/* Kartın İçeriği (discovery-card) - Yükseklik vs. */
.discovery-card {
    display: flex;
    flex-direction: column;
    height: 300px; /* Mobil için biraz daha küçük yükseklik */
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Biraz daha hafif gölge */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    width: 100%; /* Slide genişliğini doldur */
}
@media (min-width: 1024px) {
    .discovery-card {
        height: 350px; /* Masaüstü yüksekliği */
    }
     .discovery-card:hover { /* Masaüstü hover efekti */
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.2);
    }
}

.discovery-card .card-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.discovery-card .card-background video,
.discovery-card .card-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.discovery-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    z-index: 1;
}
.discovery-card .card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    margin-top: auto;
    color: white;
    text-align: center;
}
.discovery-card .card-title {
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    margin-bottom: 0.5rem;
}

/* Forum Kartı Özel İçeriği */
.forum-card-content {
    font-size: 0.875rem;
    color: var(--text-dark);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.forum-card-content .topic-title {
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 0.25rem;
}
.forum-card-content .topic-author {
     display: block;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
}

/* Pagination Konumu */
.discovery-pagination {
    bottom: 0px !important;
}

/* Masaüstünde Navigasyon/Pagination Gizleme */
@media (min-width: 1024px) {
    /* Discovery Slider için okları ve sayfalamayı gizle */
    #discovery-prev-standalone,
    #discovery-next-standalone,
    .discovery-pagination {
        display: none !important;
    }
}