/* illuzyonist.com — dark theme supplement layer */

:root {
    --site-bg-base: #141820;
    --site-bg-mid: #1a1e28;
    --site-card-bg: #282a30;
    --site-card-bg-alt: #32343a;
    --site-card-border: rgba(170, 172, 180, 0.18);
    --site-card-border-hover: rgba(185, 187, 195, 0.3);
    --site-header-bg: rgba(14, 16, 22, 0.8);
    --site-footer-bg: linear-gradient(180deg, #222428 0%, #181a1e 100%);
    --site-divider: rgba(160, 165, 175, 0.14);
    --site-input-bg: #1e2026;
    --site-input-border: rgba(160, 165, 175, 0.2);
}

/* Page background — lighter navy gradient + constellation texture */
.site-bg-glow {
    background-color: var(--site-bg-base);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Cg fill='rgba(255,255,255,0.07)'%3E%3Ccircle cx='48' cy='72' r='1'/%3E%3Ccircle cx='156' cy='36' r='1.2'/%3E%3Ccircle cx='264' cy='96' r='0.9'/%3E%3Ccircle cx='372' cy='48' r='1'/%3E%3Ccircle cx='96' cy='192' r='1'/%3E%3Ccircle cx='216' cy='168' r='1.1'/%3E%3Ccircle cx='336' cy='216' r='0.8'/%3E%3Ccircle cx='432' cy='180' r='1'/%3E%3Ccircle cx='60' cy='312' r='1'/%3E%3Ccircle cx='180' cy='288' r='1'/%3E%3Ccircle cx='300' cy='336' r='1.2'/%3E%3Ccircle cx='408' cy='300' r='0.9'/%3E%3Ccircle cx='132' cy='420' r='1'/%3E%3Ccircle cx='252' cy='396' r='1'/%3E%3Ccircle cx='372' cy='432' r='1'/%3E%3C/g%3E%3Cg stroke='rgba(255,255,255,0.045)' stroke-width='0.6' fill='none'%3E%3Cline x1='48' y1='72' x2='156' y2='36'/%3E%3Cline x1='156' y1='36' x2='264' y2='96'/%3E%3Cline x1='264' y1='96' x2='372' y2='48'/%3E%3Cline x1='96' y1='192' x2='216' y2='168'/%3E%3Cline x1='216' y1='168' x2='336' y2='216'/%3E%3Cline x1='48' y1='72' x2='96' y2='192'/%3E%3Cline x1='180' y1='288' x2='300' y2='336'/%3E%3Cline x1='300' y1='336' x2='408' y2='300'/%3E%3Cline x1='132' y1='420' x2='252' y2='396'/%3E%3Cline x1='252' y1='396' x2='372' y2='432'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(ellipse 110% 70% at 50% -20%, rgba(59, 130, 246, 0.1) 0%, transparent 58%),
        radial-gradient(ellipse 70% 45% at 88% 42%, rgba(59, 130, 246, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse 55% 35% at 10% 72%, rgba(80, 90, 120, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #1a1f2a 0%, #141820 42%, #101318 100%);
    background-size: 480px 480px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-attachment: fixed;
}

/* Header */
.site-header {
    background: var(--site-header-bg);
    border-bottom: 1px solid rgba(96, 165, 250, 0.22);
    box-shadow:
        0 1px 0 rgba(59, 130, 246, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Footer */
.site-footer {
    background: var(--site-footer-bg);
    border-top: 1px solid var(--site-divider);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Desktop nav */
.site-logo img {
    display: block;
    width: auto;
    transition: opacity 0.2s ease;
}

.site-logo-full img {
    height: 60px;
    max-width: min(100%, 401px);
}

.site-logo-compact img {
    height: 36px;
    max-width: 100%;
}

.site-logo:hover img {
    opacity: 0.92;
}

.site-header-bar {
    min-height: 5.25rem;
}

.site-nav-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 0.5rem 0.75rem;
    width: 100%;
    max-width: 100%;
}

/* Keşfet dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 0.45rem;
    margin-bottom: -0.45rem;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.nav-dropdown-chevron {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% - 0.1rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 13rem;
    padding: 0.35rem 0;
    background: var(--site-card-bg);
    border: 1px solid var(--site-card-border);
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 60;
}

.nav-dropdown-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0.6rem;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    display: block;
}

.nav-dropdown-item {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d4d4d4;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.is-active {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.site-nav-link:hover {
    color: #fff !important;
    animation: nav-heartbeat 8s ease-in-out infinite;
}

.site-nav-link.is-active:hover {
    color: #60a5fa !important;
}

@keyframes nav-heartbeat {
    0%, 38%, 100% {
        text-shadow: 0 0 5px rgba(96, 165, 250, 0.2);
    }
    6% {
        text-shadow:
            0 0 12px rgba(96, 165, 250, 0.55),
            0 0 24px rgba(59, 130, 246, 0.28);
    }
    14% {
        text-shadow: 0 0 7px rgba(96, 165, 250, 0.3);
    }
    24% {
        text-shadow:
            0 0 16px rgba(96, 165, 250, 0.7),
            0 0 32px rgba(59, 130, 246, 0.38);
    }
    38% {
        text-shadow: 0 0 5px rgba(96, 165, 250, 0.2);
    }
}

/* Card surfaces — match reference boxes */
.site-card,
.bg-neutral-900 {
    background-color: var(--site-card-bg) !important;
}

.border-neutral-800 {
    border-color: var(--site-card-border) !important;
    border-width: 1px !important;
}

.group:hover .hover\:border-neutral-700,
.hover\:border-neutral-700:hover {
    border-color: var(--site-card-border-hover) !important;
}

.bg-neutral-800,
.bg-neutral-800\/50 {
    background-color: var(--site-card-bg-alt) !important;
}

.bg-neutral-950\/80 {
    background-color: rgba(18, 22, 36, 0.82) !important;
}

.divide-neutral-800 > :not([hidden]) ~ :not([hidden]) {
    border-color: var(--site-divider) !important;
}

.border-neutral-700 {
    border-color: rgba(170, 172, 180, 0.22) !important;
}

/* Hero slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    background-color: var(--site-card-bg);
    border: 1px solid var(--site-card-border);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 10;
}

.hero-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    z-index: 30;
    pointer-events: auto;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(170, 172, 180, 0.28);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dot.is-active {
    background: #3b82f6;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: #60a5fa;
}

/* Prose for legacy post HTML content */
.prose-dark {
    color: #d4d4d4;
    line-height: 1.75;
}

.prose-dark p {
    margin-bottom: 1rem;
}

.prose-dark a {
    color: #60a5fa;
    text-decoration: underline;
}

.prose-dark a:hover {
    color: #93c5fd;
}

.prose-dark img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.prose-dark h2,
.prose-dark h3,
.prose-dark h4 {
    color: #f5f5f5;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose-dark ul,
.prose-dark ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.prose-dark blockquote {
    border-left: 3px solid #3b82f6;
    padding-left: 1rem;
    color: #a3a3a3;
    font-style: italic;
}

/* Video embeds in posts */
.prose-dark .video-embed,
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

.prose-dark .video-embed iframe,
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Form inputs (shared dark style) */
.form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: var(--site-input-bg);
    border: 1px solid var(--site-input-border);
    border-radius: 0.5rem;
    color: #f5f5f5;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #a3a3a3;
    margin-bottom: 0.375rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: #3b82f6;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #3b82f6;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 1px solid #3b82f6;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Notice alerts */
.notice {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.notice.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.notice.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.notice.notice-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #dbeafe;
}

/* Listing carousel */
.listing-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1f2937;
}

.listing-carousel--card {
    position: absolute;
    inset: 0;
}

.listing-carousel--card,
.listing-carousel--card .listing-carousel-viewport,
.listing-carousel--card .listing-carousel-empty {
    height: 100%;
    min-height: 100%;
}

.listing-carousel--detail .listing-carousel-viewport,
.listing-carousel--detail .listing-carousel-empty {
    min-height: 320px;
    max-height: 480px;
    height: min(52vw, 480px);
}

.listing-carousel-viewport,
.listing-carousel-empty {
    position: relative;
    width: 100%;
    height: 100%;
}

.listing-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.listing-carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.listing-carousel-slide.is-active {
    display: block;
}

.listing-carousel--detail .listing-carousel-slide.is-active {
    display: flex;
}

.listing-carousel-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.listing-carousel--card .listing-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-carousel--detail .listing-carousel-slide-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111827;
}

.listing-carousel-bg {
    position: absolute;
    inset: -12%;
    background-size: cover;
    background-position: center;
    filter: blur(28px) saturate(1.1) brightness(0.42);
    transform: scale(1.08);
    pointer-events: none;
}

.listing-carousel-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(15, 23, 42, 0.72) 0%, transparent 18%, transparent 82%, rgba(15, 23, 42, 0.72) 100%),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.35) 0%, transparent 22%, transparent 78%, rgba(15, 23, 42, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.listing-carousel-zoom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.listing-carousel--detail .listing-carousel-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.listing-carousel-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.listing-carousel-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.listing-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.78);
    color: #e5e7eb;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.listing-carousel-btn:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(96, 165, 250, 0.55);
    color: #fff;
}

.listing-carousel-prev {
    left: 0.5rem;
}

.listing-carousel-next {
    right: 0.5rem;
}

.listing-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 0.6rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.35rem;
}

.listing-carousel-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.listing-carousel-dot.is-active {
    background: #60a5fa;
}

/* Listing image lightbox */
.listing-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.listing-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(6px);
}

.listing-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(96vw, 1100px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.listing-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    max-height: calc(92vh - 2rem);
}

.listing-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 2rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.listing-lightbox-close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    cursor: pointer;
}

.listing-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.88);
    color: #e5e7eb;
    cursor: pointer;
}

.listing-lightbox-prev {
    left: -0.25rem;
}

.listing-lightbox-next {
    right: -0.25rem;
}

.listing-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: -2rem;
    transform: translateX(-50%);
    margin: 0;
    font-size: 0.8rem;
    color: #cbd5e1;
}

@media (min-width: 640px) {
    .listing-lightbox-prev {
        left: -3.25rem;
    }

    .listing-lightbox-next {
        right: -3.25rem;
    }
}

body.listing-lightbox-open {
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Post detail */
.post-detail-header-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.post-detail-cover {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    background: #171717;
    border-bottom: 1px solid rgba(38, 38, 38, 1);
    flex-shrink: 0;
}

.post-detail-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
}

.post-detail-header-content {
    min-width: 0;
    flex: 1;
    padding: 1.25rem;
    align-items: flex-start;
}

.post-detail-header-content--solo {
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .post-detail-header-content,
    .post-detail-header-content--solo {
        padding: 1.5rem 2rem;
    }
}

@media (min-width: 768px) {
    .post-detail-header-layout {
        flex-direction: row;
        align-items: stretch;
    }

    .post-detail-cover {
        width: 220px;
        max-width: 32%;
        max-height: none;
        border-bottom: 0;
        border-right: 1px solid rgba(38, 38, 38, 1);
    }

    .post-detail-cover-image {
        width: 100%;
        height: 100%;
        min-height: 165px;
        max-height: none;
    }

    .post-detail-header-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem 2rem;
    }
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.post-category-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.55);
    color: #bfdbfe;
}

.post-meta-bar {
    margin-top: 1.25rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.55);
}

.post-meta-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.post-meta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.15s ease;
}

.post-meta-link:hover {
    color: #93c5fd;
}

/* Share buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.65);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.share-btn-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.share-btn:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(148, 163, 184, 0.45);
    color: #fff;
}

.share-btn-copy:hover {
    border-color: rgba(148, 163, 184, 0.5);
}

.share-btn-email:hover {
    border-color: rgba(96, 165, 250, 0.45);
}

.share-btn-whatsapp:hover {
    border-color: rgba(34, 197, 94, 0.45);
    color: #bbf7d0;
}

.share-btn-facebook:hover {
    border-color: rgba(59, 130, 246, 0.45);
    color: #bfdbfe;
}

.share-btn-x:hover {
    border-color: rgba(148, 163, 184, 0.55);
}

.share-btn-instagram:hover {
    border-color: rgba(236, 72, 153, 0.45);
    color: #fbcfe8;
}

.share-buttons-feedback {
    flex-basis: 100%;
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: #86efac;
}

.share-buttons-feedback[hidden] {
    display: none !important;
}

/* Profile tabs */
.profile-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-top: 0.65rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.profile-hero-profession {
    color: #e2e8f0;
    font-weight: 500;
}

.profile-hero-sep {
    color: #64748b;
    font-size: 0.85rem;
}

.profile-hero-member-since {
    color: #94a3b8;
    font-size: 0.88rem;
}

.profile-tab-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.profile-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.profile-tab-pill:hover {
    border-color: rgba(96, 165, 250, 0.45);
    color: #e2e8f0;
}

.profile-tab-pill.is-active {
    border-color: rgba(96, 165, 250, 0.55);
    background: rgba(59, 130, 246, 0.18);
    color: #dbeafe;
}

.profile-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.65);
    font-size: 0.68rem;
    font-weight: 700;
    color: #93c5fd;
}

.profile-tab-pill.is-active .profile-tab-count {
    background: rgba(15, 23, 42, 0.85);
    color: #bfdbfe;
}

.profile-tab-panel {
    display: none;
}

.profile-tab-panel.is-active {
    display: block;
}

/* Listing seller card */
.listing-seller-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.9rem;
    background: rgba(10, 12, 18, 0.55);
}

@media (min-width: 640px) {
    .listing-seller-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
    }
}

.listing-seller-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.listing-seller-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 640px) {
    .listing-seller-actions {
        width: auto;
        justify-content: flex-end;
        flex-shrink: 0;
    }
}

/* Availability calendar widget */
.availability-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.75rem;
}

.availability-calendar .cal-head {
    color: #737373;
    font-weight: 600;
    padding: 0.25rem;
}

.availability-calendar .cal-day {
    padding: 0.375rem;
    border-radius: 0.375rem;
    color: #a3a3a3;
}

.availability-calendar .cal-day.available {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.availability-calendar .cal-day.empty {
    visibility: hidden;
}

/* Mobile nav open state */
#mobile-nav.is-open {
    display: block;
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.pagination a,
.pagination strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.pagination a {
    background: var(--site-card-bg-alt);
    border: 1px solid var(--site-card-border);
    color: #d4d4d4;
}

.pagination a:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.pagination strong {
    background: #3b82f6;
    color: #fff;
    font-weight: 600;
}

/* Static pages */
.static-section {
    padding-top: 1rem;
    border-top: 1px solid var(--site-divider);
}

.static-table-wrap {
    overflow-x: auto;
}

.static-table {
    width: 100%;
    border-collapse: collapse;
}

.static-table td {
    padding: 1rem;
    vertical-align: top;
    border-bottom: 1px solid var(--site-divider);
}

.static-table td:first-child {
    width: 140px;
}

.static-table img {
    border-radius: 0.5rem;
    max-width: 100%;
    height: auto;
}

.prose-dark strong {
    color: #f5f5f5;
}

.prose-dark hr {
    border: 0;
    border-top: 1px solid var(--site-divider);
    margin: 1.5rem 0;
}

/* Cookie consent banner */
body.cookie-banner-open {
    padding-bottom: 0;
}

.cookie-consent-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 100;
    padding: 1rem;
    pointer-events: none;
}

.cookie-consent-banner__inner {
    pointer-events: auto;
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 175, 210, 0.18);
    background: rgba(17, 24, 39, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.cookie-consent-banner__title {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f5f5;
    margin: 0 0 0.5rem;
}

.cookie-consent-banner__text {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #a3a3a3;
    margin: 0 0 1rem;
}

.cookie-consent-banner__text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cookie-consent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cookie-consent-btn--primary {
    background: #3b82f6;
    color: #fff;
}

.cookie-consent-btn--primary:hover {
    background: #2563eb;
}

.cookie-consent-btn--secondary {
    background: #262626;
    border-color: #404040;
    color: #e5e5e5;
}

.cookie-consent-btn--secondary:hover {
    background: #404040;
}

.cookie-consent-btn--ghost {
    background: transparent;
    border-color: #404040;
    color: #d4d4d4;
}

.cookie-consent-btn--ghost:hover {
    border-color: #60a5fa;
    color: #fff;
}

.cookie-consent-pref {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-consent-pref__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 175, 210, 0.12);
}

.cookie-consent-pref__row:last-child {
    border-bottom: 0;
}

.cookie-consent-pref__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e5e5e5;
    margin: 0 0 0.25rem;
}

.cookie-consent-pref__desc {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #a3a3a3;
    margin: 0;
}

.cookie-consent-pref__badge {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #93c5fd;
    white-space: nowrap;
}

.cookie-consent-toggle {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    accent-color: #3b82f6;
}

/* KVKK consent blocks */
.consent-block {
    padding: 1rem;
    border: 1px solid rgba(148, 175, 210, 0.12);
    border-radius: 0.5rem;
    background: rgba(23, 23, 23, 0.5);
}

.consent-block + .consent-block {
    margin-top: 0.75rem;
}

.consent-block__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e5e5e5;
    margin: 0 0 0.5rem;
}

.consent-block__text {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #a3a3a3;
    margin: 0 0 0.75rem;
}

.consent-block__text a {
    color: #60a5fa;
    text-decoration: underline;
}

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #d4d4d4;
    cursor: pointer;
}

.form-checkbox-row input[type="checkbox"] {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    accent-color: #3b82f6;
}

@media (max-width: 640px) {
    .cookie-consent-banner__actions {
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
    }
}
