/* Weezirtech.com Custom CSS - Framed Editorial White Spine Theme */

:root {
    --bg-primary: #07080c;         /* Cinematic Deep Space Black Outer Gutter */
    --bg-spine: #ffffff;           /* Clean Pure White Central Spine */
    --bg-secondary: #f8fafc;       /* Breathable Soft Slate Section Background */
    --bg-card: #ffffff;            /* Pure White Elevated Card */
    --bg-card-hover: #f1f5f9;      /* Card Hover Subtle Slate Tint */
    --border-card: #e2e8f0;        /* Crisp Modern Slate Border */
    --border-card-hover: #cbd5e1;  /* Hover Border */
    
    /* Vibrant Tech-Forward Palette */
    --accent-color: #059669;       /* Modern Emerald Green */
    --accent-color-hover: #047857; /* Deep Emerald */
    --accent-contrast: #ea580c;    /* Vibrant Warm Orange / Terracotta Glow */
    --accent-glow: rgba(5, 150, 105, 0.16);
    
    --text-primary: #0f172a;       /* Deep Charcoal Slate for Headings & Titles */
    --text-secondary: #334155;     /* High-Contrast Readable Slate for Body & Descriptions */
    --text-muted: #64748b;         /* Crisp Muted Slate */
    --success-color: #10b981;      /* Radiant Green */
    
    --border-radius: 14px;         /* Modern elegant corners */
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.65;
    overflow-x: hidden;
}

/* Central Framed Spine (Ahmet Kıvanç Satı Editorial Architecture) */
.site-spine {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 48px auto;
    background-color: var(--bg-spine);
    min-height: 100vh;
    border: 1px solid var(--border-card);
    border-radius: 28px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55), 
                0 0 35px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1220px) {
    .site-spine {
        margin: 0 auto;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navbar */
header.site-header, body > header {
    background: rgba(10, 11, 16, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 26px;
    background-color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: #0c0e14;
    text-decoration: none;
}

.logo span {
    color: var(--accent-contrast);
}

.logo-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-contrast);
    border-radius: 50%;
    margin-left: 3px;
}

.logo-img {
    max-height: 38px;
    width: auto;
    display: block;
    /* Removed brightness(0) invert(1) since navbar is now solid white */
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #2d2621;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent-contrast);
}

.nav-links a.active {
    color: #0c0e14;
    font-weight: 700;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-contrast);
}

.navbar nav {
    margin: 0 18px;
}

/* WeezirTech Resmi Sosyal Medya Butonları (Navbar) */
.nav-social-divider {
    width: 1px;
    height: 18px;
    background: #e2e8f0;
    margin: 0 4px;
    display: inline-block;
}

.nav-social-item {
    display: inline-flex;
    align-items: center;
}

.nav-social-icon-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    background: #f1f5f9;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 0 !important;
    line-height: 1 !important;
    position: relative;
    cursor: pointer;
}

.nav-social-icon-btn svg {
    display: block;
    transition: transform 0.2s ease;
}

.nav-social-icon-btn::after {
    display: none !important;
}

/* X (Twitter) Butonu: Orijinal Siyah & Glow */
.nav-social-icon-btn.x-icon-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nav-social-icon-btn.x-icon-btn:hover svg {
    transform: scale(1.1);
}

/* Instagram Butonu: Orijinal Canlı Degrade */
.nav-social-icon-btn.ig-icon-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
}

.nav-social-icon-btn.ig-icon-btn:hover svg {
    transform: scale(1.1);
}

/* Navbar Sağ Bölüm (Arama Kutusu + CTA Butonu Grubu) */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

/* Floating pill button styles */
.navbar .btn-secondary {
    background-color: #0c0e14;
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.navbar .btn-secondary:hover {
    background-color: var(--accent-contrast);
    box-shadow: 0 6px 16px rgba(230, 139, 94, 0.3);
    transform: translateY(-1px);
}

/* Navbar Site İçi Arama Kutusu & Canlı Sonuç Stilleri */
.navbar-search-wrapper {
    position: relative;
    margin: 0;
}

.navbar-search-form {
    display: flex;
    align-items: center;
    background-color: #f1f3f5;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 6px 14px;
    transition: all 0.25s ease;
}

.navbar-search-form:focus-within {
    background-color: #ffffff;
    border-color: var(--accent-color, #e68b5e);
    box-shadow: 0 0 0 3px rgba(230, 139, 94, 0.18);
}

.navbar-search-icon {
    font-size: 13px;
    margin-right: 6px;
    opacity: 0.6;
    display: flex;
    align-items: center;
}

.navbar-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13.5px;
    color: #1e293b;
    width: 120px;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
}

.navbar-search-input::placeholder {
    color: #94a3b8;
}

.navbar-search-input:focus {
    width: 190px;
}

/* Canlı Arama Açılır Penceresi (Dropdown) */
.search-dropdown-container {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    max-height: 440px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
    padding: 8px 0;
    z-index: 1200;
    animation: fadeInDown 0.15s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-dropdown-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--accent-contrast, #ea580c);
    padding: 8px 16px 4px 16px;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: background 0.15s;
    border-bottom: 1px solid #f1f5f9;
}

.search-dropdown-item:hover {
    background: #f8fafc;
}

.search-dropdown-item .item-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.search-dropdown-item .item-info {
    flex: 1;
    min-width: 0;
}

.search-dropdown-item .item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-dropdown-item .item-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.search-dropdown-item .item-badge {
    font-size: 10.5px;
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
    font-weight: 500;
}

.search-dropdown-footer {
    padding: 10px 16px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    margin-top: 4px;
}

.search-dropdown-footer a {
    color: var(--accent-color, #e68b5e);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.search-dropdown-footer a:hover {
    text-decoration: underline;
}

.search-dropdown-empty {
    padding: 28px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 13.5px;
}

.search-dropdown-empty span {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
    opacity: 0.7;
}

.search-dropdown-empty p {
    margin: 0;
}

/* Mobil Uyumlu Arama */
@media (max-width: 900px) {
    .navbar-search-wrapper {
        margin: 0 10px;
    }
    .navbar-search-input {
        width: 90px;
    }
    .navbar-search-input:focus {
        width: 140px;
    }
    .search-dropdown-container {
        width: 290px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 12px 26px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--accent-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(45, 38, 33, 0.08);
}

.btn:hover {
    background-color: var(--accent-color-hover);
    border-color: var(--accent-color-hover);
    box-shadow: 0 4px 12px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-card);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border-card);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-card);
    background-color: rgba(246, 238, 223, 0.3);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.hero-title span {
    color: var(--accent-contrast);
    font-style: italic;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Section Title */
.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 32px;
    height: 2px;
    background-color: var(--accent-contrast);
}

.section-container {
    padding: 80px 0;
}

/* Dynamic Category Filters */
.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    justify-content: center;
}

.filter-btn {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(45, 38, 33, 0.02);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(59, 90, 79, 0.15);
}

/* App Grid & Poster Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.poster-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
    align-items: stretch;
}

/* Premium Card Wrapper */
.poster-card-wrapper {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 38, 33, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
    height: 100%;
}

.poster-card-wrapper:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 16px 36px rgba(45, 38, 33, 0.08);
}

/* Inner poster image */
.poster-card {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    background-color: #2b2621;
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.poster-card:hover img {
    transform: scale(1.04);
}

/* Poster Hover Overlay Button */
.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 38, 33, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.poster-card:hover .poster-overlay {
    opacity: 1;
}

.view-details-btn {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: var(--accent-contrast);
    padding: 10px 18px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(201, 122, 83, 0.3);
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
}

.poster-card:hover .view-details-btn {
    transform: translateY(0);
}

.view-details-btn:hover {
    background-color: #b5653f;
}

/* Card footer details */
.poster-card-footer {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: var(--bg-card);
}

.card-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.card-footer-title {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.card-footer-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.card-footer-title a:hover {
    color: var(--accent-contrast);
}

.card-footer-version {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--accent-color);
    background-color: rgba(59, 90, 79, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.card-footer-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.card-footer-meta {
    display: flex;
    gap: 16px;
    border-top: 1px solid var(--border-card);
    padding-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    font-style: normal;
}

/* Fallback Vintage Stylized Text Card if no poster is uploaded */
.poster-fallback {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #ecdccf 100%);
    padding: 24px;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid rgba(45, 38, 33, 0.05);
}

.fallback-brand {
    font-family: var(--font-serif);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 10px;
}

.fallback-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: auto 0;
    line-height: 1.35;
}

.fallback-version {
    font-size: 11px;
    color: var(--text-secondary);
    background: rgba(45, 38, 33, 0.06);
    padding: 4px 10px;
    border-radius: 4px;
    align-self: center;
    margin-bottom: 20px;
    font-weight: 600;
}



.app-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-card);
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-meta h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.app-version {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    background-color: rgba(59, 90, 79, 0.08);
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
}

.app-desc {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.app-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-card);
    padding-top: 20px;
}

.app-stats {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.app-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.learn-more {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.app-card:hover .learn-more {
    color: var(--accent-contrast);
    transform: translateX(3px);
}

/* App Detail Page */
.app-detail {
    padding: 60px 0;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    list-style: none;
    margin-bottom: 40px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.app-detail-container {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 48px;
}

.app-detail-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.app-detail-info {
    display: flex;
    gap: 32px;
}

.app-detail-icon {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-card);
    flex-shrink: 0;
}

.app-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-detail-meta h1 {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.app-detail-badges {
    display: flex;
    gap: 12px;
    align-items: center;
}

.app-detail-description {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.app-detail-description h2, 
.app-detail-description h3 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin: 32px 0 16px 0;
}

.app-detail-description p {
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery-section {
    margin-top: 20px;
    border-top: 1px solid var(--border-card);
    padding-top: 40px;
}

.gallery-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-card);
    aspect-ratio: 16/10;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.gallery-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* App Detail Sidebar */
.app-detail-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    padding: 32px;
    align-self: start;
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 4px 16px rgba(45, 38, 33, 0.02);
}

.sidebar-download-btn {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    text-align: center;
    background-color: var(--accent-contrast);
    border-color: var(--accent-contrast);
}

.sidebar-download-btn:hover {
    background-color: #b5653f;
    border-color: #b5653f;
    box-shadow: 0 4px 12px rgba(201, 122, 83, 0.15);
}

.sidebar-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    border-bottom: 1px dotted var(--border-card);
    padding-bottom: 12px;
}

.sidebar-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-info-label {
    color: var(--text-muted);
}

.sidebar-info-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(45, 38, 33, 0.95);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-card);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-contrast);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border-card);
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
}

.empty-state h3 {
    font-family: var(--font-serif);
    margin-bottom: 12px;
    font-size: 22px;
}

.empty-state p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 0;
    background-color: #07080c;
    color: #94a3b8;
    font-size: 13.5px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-copy strong {
    font-family: var(--font-serif);
    font-size: 16px;
    color: #f1f5f9;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-contrast);
}

/* Responsive CSS */
@media (max-width: 992px) {
    .app-detail-container {
        grid-template-columns: 1fr;
    }
    
    .app-detail-sidebar {
        position: static;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .navbar {
        height: auto;
        background-color: #ffffff !important;
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .app-detail-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .app-detail-badges {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* =========================================================================
   Hero Showcase Section (Split Slider + 2x2 Blog Grid)
   ========================================================================= */

.hero-showcase-section {
    margin: 28px auto 16px auto;
}

.hero-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: stretch;
}

.hero-showcase-grid.no-blogs {
    grid-template-columns: 1fr;
}

.hero-slider-col {
    min-width: 0;
    display: flex;
    height: 100%;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 490px;
    margin: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 100% !important;
    padding: 0 44px; /* Balanced horizontal padding inside slider column */
    background-size: cover;
    background-position: center;
    position: relative;
    align-items: center;
    box-sizing: border-box;
    cursor: pointer;
    filter: brightness(1.06) saturate(1.1);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(10, 11, 16, 0.90) 0%, rgba(10, 11, 16, 0.45) 50%, rgba(10, 11, 16, 0.1) 85%);
    z-index: 1;
}

.slide.active {
    display: flex;
    animation: slideFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: scale(1.01); }
    to { opacity: 1; transform: scale(1); }
}

.slide-overlay-link {
    display: block;
    width: 100%;
    text-decoration: none;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.slide-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
}

.slide-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.slide-title {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(10, 11, 16, 0.9), 
                 0 8px 30px rgba(10, 11, 16, 0.6);
}

.slide-desc {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 26px;
    line-height: 1.65;
    text-shadow: 0 2px 8px rgba(10, 11, 16, 0.85), 
                 0 4px 20px rgba(10, 11, 16, 0.45);
}

.slide-actions {
    display: flex;
    gap: 16px;
}

/* Hero Blog Showcase Column (2x2 Grid) */
.hero-blog-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 2px;
}

.hero-blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-contrast);
}

.hero-blog-all-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.hero-blog-all-link:hover {
    color: var(--accent-contrast);
    transform: translateX(3px);
}

/* Hero Blog Carousel Navigation Controls */
.hero-blog-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-blog-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 3px 8px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.hero-blog-arrow {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-primary);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    user-select: none;
}

.hero-blog-arrow:hover {
    background: var(--accent-contrast);
    border-color: var(--accent-contrast);
    color: #ffffff;
    transform: scale(1.1);
}

.hero-blog-arrow:active {
    transform: scale(0.95);
}

.hero-blog-page-indicator {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 32px;
    text-align: center;
    user-select: none;
}

/* Hero Blog Carousel Pages & Smooth Animation */
.hero-blog-carousel-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-blog-page {
    display: none;
    flex-direction: column;
    flex: 1;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.hero-blog-page.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* 2x2 Grid for 4 Cards */
.hero-blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    flex: 1;
}

.hero-blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    padding: 12px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.hero-blog-card:hover {
    border-color: var(--accent-contrast);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.hero-blog-card-img {
    width: 100%;
    height: 105px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.hero-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-blog-card:hover .hero-blog-card-img img {
    transform: scale(1.06);
}

.hero-blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: #f8fafc;
    color: var(--text-muted);
}

.hero-blog-card-cat {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent-contrast);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
}

.hero-blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.hero-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.hero-blog-card-title {
    font-family: var(--font-serif);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    transition: color 0.2s ease;
}

.hero-blog-card:hover .hero-blog-card-title {
    color: var(--accent-contrast);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    bottom: 24px;
    background: rgba(10, 11, 16, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
    background: var(--accent-contrast);
    color: #ffffff;
    border-color: var(--accent-contrast);
    transform: translateY(-2px);
}

.prev-arrow {
    right: 76px;
    left: auto;
}

.next-arrow {
    right: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 40px; /* Aligned with the center of the arrows */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--accent-contrast);
    width: 20px;
    border-radius: 4px;
}

/* Responsive Slider */
@media (max-width: 992px) {
    .slide-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .slide-text {
        align-items: center;
    }
    
    .slide-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .slider-arrow {
        display: none; /* Hide arrows on mobile/tablet */
    }
}

@media (max-width: 1024px) {
    .hero-showcase-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-slider-container {
        height: 420px;
        min-height: 420px;
    }

    .hero-blog-grid {
        grid-template-rows: auto auto;
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 28px;
    }
    .slide {
        padding: 0 24px; /* Center content horizontally inside mobile slides */
        height: 100%;
        min-height: 100% !important;
    }
    header {
        padding: 12px 0 0 0;
    }
    .navbar {
        padding: 10px 20px;
        margin: 0 12px;
        border-radius: 30px;
    }
    .logo-img {
        max-height: 28px;
    }
    .navbar .btn-secondary {
        display: none;
    }
    .navbar-right {
        gap: 8px;
    }
    .navbar-search-input {
        width: 80px;
    }
    .navbar-search-input:focus {
        width: 120px;
    }
    .navbar nav {
        margin: 0 8px;
    }
    .nav-links {
        gap: 14px;
    }
    .search-dropdown-container {
        width: min(340px, 85vw);
        right: -10px;
    }
    .hero-slider-container {
        width: 100%;
        margin: 0;
        height: 360px; /* Fixed height on mobile screens */
        min-height: 360px;
    }
    .hero-blog-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }
    .hero-blog-card {
        flex-direction: row;
        gap: 14px;
        align-items: center;
    }
    .hero-blog-card-img {
        width: 105px;
        height: 80px;
        margin-bottom: 0;
    }
}

/* Interactive Web Utility Tools Shared Styles */
.interactive-tool-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-top: 48px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.tool-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.tool-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tool-col {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.tool-input, .tool-select, .tool-textarea {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14.5px;
    transition: var(--transition);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.tool-input:focus, .tool-select:focus, .tool-textarea:focus {
    border-color: var(--accent-contrast);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.tool-btn {
    background-color: var(--accent-contrast);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.tool-btn:hover {
    background-color: #c2410c;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}

.tool-btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-card);
    box-shadow: none;
}

.tool-btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
    box-shadow: none;
}

.tool-card {
    background-color: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.tool-result-box {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 20px;
    font-family: monospace;
    font-size: 13.5px;
    color: #34d399;
    overflow-x: auto;
    position: relative;
    min-height: 80px;
}

/* Navbar Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle .arrow {
    font-size: 8px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    border: 1px solid #e8ded2;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    list-style: none;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.dropdown-menu li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu li a {
    color: #2d2621 !important;
    padding: 10px 20px;
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-secondary);
    color: var(--accent-contrast) !important;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Adjustments for mobile view */
@media (max-width: 768px) {
    .dropdown:hover .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 8px;
        padding: 6px 0;
        margin-top: 6px;
        min-width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-menu li a {
        text-align: center;
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Page Content Typography & Spacing */
.page-content-wrapper {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 15.5px;
}

.page-content-wrapper p {
    margin: 0 0 16px 0;
    line-height: 1.75;
}

.page-content-wrapper p:empty {
    display: none;
}

.page-content-wrapper h2 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    font-size: 24px;
    margin: 32px 0 14px 0;
}

.page-content-wrapper h3 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    font-size: 19px;
    margin: 26px 0 12px 0;
}

.page-content-wrapper ul,
.page-content-wrapper ol {
    margin: 0 0 18px 24px;
    padding: 0;
}

.page-content-wrapper li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.page-content-wrapper a {
    color: var(--accent-contrast);
    text-decoration: underline;
}

.page-content-wrapper a:hover {
    color: var(--accent-color);
}

/* Responsive rich text editor image styling */
.app-detail-description img, .page-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Responsive Ad Slot Placements */
.ad-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin: 24px auto;
    max-width: 100%;
    box-sizing: border-box;
}

.ad-slot ins.adsbygoogle {
    display: block;
    margin: 0 auto;
}

.ad-top-banner {
    margin-top: 32px;
    margin-bottom: 24px;
}

.ad-in-content {
    margin: 32px 0;
    padding: 16px 0;
    border-top: 1px dashed var(--border-card);
    border-bottom: 1px dashed var(--border-card);
}

.ad-sidebar {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-card);
    width: 100%;
}

.ad-bottom-banner {
    margin-top: 48px;
    margin-bottom: 24px;
}

/* =========================================================================
   Blog & Autonomous AI Magazine Styling (Weezirtech Dark Retro-Modern)
   ========================================================================= */

/* Blog Index Hero */
.blog-index-hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 48px auto;
}

.blog-index-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(230, 139, 94, 0.12);
    border: 1px solid rgba(230, 139, 94, 0.3);
    color: var(--accent-contrast);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.blog-index-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.blog-index-title span {
    color: var(--accent-contrast);
}

.blog-index-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto;
}

/* Blog Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-contrast);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.blog-card-img-link {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.blog-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.blog-card:hover .blog-card-img-link img {
    transform: scale(1.06);
}

.blog-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent-contrast);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--accent-contrast);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-card);
    padding-top: 16px;
    margin-top: auto;
}

.blog-author-tag {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-contrast);
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.blog-read-more:hover {
    color: var(--accent-color-hover);
    transform: translateX(4px);
}

/* =========================================================================
   Blog Detail Page Styling
   ========================================================================= */

.blog-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.blog-header {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 32px;
}

.blog-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-category-badge {
    background: rgba(230, 139, 94, 0.12);
    border: 1px solid rgba(230, 139, 94, 0.25);
    color: var(--accent-contrast);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.blog-detail-title {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 18px;
}

.blog-detail-summary {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
    font-style: italic;
    border-left: 3px solid var(--accent-contrast);
    padding-left: 18px;
}

.blog-author-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    margin-top: 24px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.12);
    border: 1px solid rgba(5, 150, 105, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-cover-wrapper {
    margin: 32px 0 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.blog-cover-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-content-body {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-content-body h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--text-primary);
    margin: 36px 0 16px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 8px;
}

.blog-content-body h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    color: var(--accent-contrast);
    margin: 28px 0 12px;
}

.blog-content-body p {
    margin-bottom: 22px;
}

.blog-content-body blockquote {
    border-left: 4px solid var(--accent-contrast);
    background: var(--bg-secondary);
    padding: 16px 22px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0;
    font-style: italic;
    color: var(--text-primary);
}

.blog-content-body ul, .blog-content-body ol {
    margin: 18px 0 26px 28px;
}

.blog-content-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.blog-content-body code {
    background: #f1f5f9;
    padding: 3px 7px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    color: #0284c7;
}

.blog-content-body pre {
    background: #0c0e14;
    border: 1px solid var(--border-card);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

/* Social Share Bar */
.blog-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    margin: 48px 0;
}

.share-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn.whatsapp {
    background: #25D366;
    color: #ffffff;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #ffffff;
}

.share-btn.linkedin {
    background: #0077b5;
    color: #ffffff;
}

.share-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border-card);
}

.related-title {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* Mobile Responsive Media Queries */
@media (max-width: 768px) {
    .blog-index-title {
        font-size: 30px;
    }
    
    .blog-detail-title {
        font-size: 26px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        width: 100%;
    }

    .share-btn {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
}

/* =========================================================================
   Blog 70/30 Detail Layout & Sticky Sidebar
   ========================================================================= */

.blog-detail-layout,
.content-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 48px;
    align-items: start;
}

.blog-main-col,
.content-main-col {
    min-width: 0;
}

.blog-sidebar-col,
.content-sidebar-col {
    min-width: 0;
}

/* Content Page (Hakkımızda, İletişim, etc.) Specific Styles */
.content-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 80px;
}

.content-page-title {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.content-page-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 36px;
    height: 3px;
    background-color: var(--accent-contrast);
    border-radius: 2px;
}

.content-main-col .page-content-wrapper {
    line-height: 1.85;
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 14px;
}

.content-main-col .page-content-wrapper h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-primary);
    margin: 32px 0 14px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 6px;
}

.content-main-col .page-content-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--accent-contrast);
    margin: 24px 0 12px;
}

.content-main-col .page-content-wrapper p {
    margin-bottom: 20px;
}

.content-main-col .page-content-wrapper strong {
    color: var(--text-primary);
}

.content-main-col .page-content-wrapper ul, 
.content-main-col .page-content-wrapper ol {
    margin: 18px 0 24px 28px;
}

.content-main-col .page-content-wrapper li {
    margin-bottom: 8px;
}

.sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius);
    padding: 22px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.sidebar-widget .widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
}

.sidebar-widget .widget-icon {
    font-size: 18px;
}

.sidebar-widget .widget-title {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Widget Apps List */
.widget-apps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.widget-app-item:hover {
    background: #f1f5f9;
    border-color: var(--accent-contrast);
    transform: translateY(-2px);
}

.widget-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(5, 150, 105, 0.12);
    border: 1px solid rgba(5, 150, 105, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--accent-contrast);
    overflow: hidden;
    flex-shrink: 0;
}

.widget-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-app-info {
    flex: 1;
    min-width: 0;
}

.widget-app-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-app-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.widget-app-btn {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-contrast);
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(230, 139, 94, 0.12);
    border: 1px solid rgba(230, 139, 94, 0.2);
    transition: var(--transition);
}

.widget-app-item:hover .widget-app-btn {
    background: var(--accent-contrast);
    color: #ffffff;
}

/* Widget Posts List */
.widget-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.widget-post-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
    padding: 6px 8px;
    border-radius: 8px;
}

.widget-post-item:hover {
    background: #f8fafc;
}

.widget-post-thumb {
    width: 72px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-card);
}

.widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-post-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.widget-post-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-contrast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-post-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.widget-post-item:hover .widget-post-title {
    color: var(--accent-contrast);
}

.widget-post-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* Widget Ad Slot */
.widget-ad .ad-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}

/* =========================================================================
   Homepage Blog Showcase Section (index.php)
   ========================================================================= */

.blog-showcase-section {
    padding: 70px 0 90px;
    border-top: 1px solid var(--border-card);
    background: var(--bg-secondary);
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
}

.showcase-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-contrast);
    background: rgba(230, 139, 94, 0.12);
    border: 1px solid rgba(230, 139, 94, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.showcase-title {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.showcase-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
}

.showcase-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: #ffffff;
    border: 1px solid var(--border-card);
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.showcase-view-all:hover {
    background: var(--accent-contrast);
    border-color: var(--accent-contrast);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 139, 94, 0.3);
}

/* Breakpoint for 992px & under */
@media (max-width: 992px) {
    .blog-detail-layout,
    .content-page-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sticky-sidebar {
        position: static;
    }

    .showcase-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .showcase-view-all {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================================
   Author Personas & Star Rating Comments Component
   ========================================================================= */
.blog-author-bio-box {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.blog-author-bio-box:hover {
    border-color: rgba(230, 139, 94, 0.3);
    box-shadow: 0 12px 35px rgba(230, 139, 94, 0.08);
}

.comment-input, .comment-textarea {
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-input:focus, .comment-textarea:focus {
    border-color: var(--accent-contrast, #e68b5e) !important;
    box-shadow: 0 0 0 3px rgba(230, 139, 94, 0.15);
}

.star-item {
    transition: transform 0.15s ease, opacity 0.15s ease;
    display: inline-block;
    user-select: none;
}

.star-item:hover {
    transform: scale(1.25);
}

.comment-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.comment-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Weezirtech Central Auth Modal & User Dropdown */
.btn-auth-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: linear-gradient(135deg, rgba(230, 139, 94, 0.15), rgba(77, 124, 103, 0.2));
    border: 1px solid rgba(230, 139, 94, 0.4);
    color: #2d2621;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-auth-trigger:hover {
    background: linear-gradient(135deg, rgba(230, 139, 94, 0.25), rgba(77, 124, 103, 0.3));
    border-color: var(--accent-contrast);
    transform: translateY(-1px);
}
.user-account-dropdown {
    position: relative;
}
.btn-account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    background: #f1f3f9;
    border: 1px solid #d1d5db;
    color: #2d2621;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-account-toggle:hover {
    background: #e5e7eb;
}
.user-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 250px;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    z-index: 1100;
}
.user-account-header {
    padding-bottom: 8px;
}
.user-account-header strong {
    display: block;
    color: var(--text-primary);
    font-size: 14px;
}
.user-account-header small {
    color: var(--text-muted);
    font-size: 12px;
}
.user-account-menu hr {
    border: none;
    border-top: 1px solid var(--border-card);
    margin: 8px 0;
}
.user-account-menu a {
    display: block;
    padding: 8px 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: 0.2s;
}
.user-account-menu a:hover {
    background: #f8fafc;
    color: var(--accent-contrast);
}

/* Modal Overlay & Card */
.weezir-auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 8, 12, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.weezir-auth-modal-card {
    width: 90%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
    position: relative;
    color: var(--text-primary);
    animation: fadeIn 0.3s ease;
}
.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.auth-modal-close:hover {
    color: var(--text-primary);
}
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
}
.auth-tab-btn {
    flex: 1;
    padding: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}
.auth-tab-btn.active {
    background: var(--accent-contrast, #ea580c);
    color: #ffffff;
}
.auth-input-group {
    margin-bottom: 14px;
}
.auth-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-align: left;
}
.auth-input-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}
.auth-input-group input:focus {
    border-color: var(--accent-contrast, #ea580c);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}
.btn-auth-submit {
    width: 100%;
    padding: 11px;
    background: var(--accent-contrast, #ea580c);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
}
.btn-auth-submit:hover {
    filter: brightness(1.1);
}
.auth-alert {
    padding: 10px;
    border-radius: 8px;
    font-size: 12.5px;
    margin-bottom: 14px;
    display: none;
}
.auth-alert.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    display: block;
}
.auth-alert.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    display: block;
}

/* =========================================================================
   WEEZIR DISCOVER & AI MAKER DISCOVERY PLATFORM STYLES
   ========================================================================= */

.discover-container {
    padding-top: 36px;
    padding-bottom: 70px;
}

/* Discover Hero */
.discover-hero {
    max-width: 1080px;
    margin: 0 auto 32px auto;
    background: linear-gradient(135deg, rgba(16, 18, 27, 0.96) 0%, rgba(11, 13, 20, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.discover-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.discover-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-visual-col {
    flex-shrink: 0;
    position: relative;
    width: 130px;
    height: 130px;
}

.hero-globe-wrap {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.4), inset 0 0 25px rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(96, 165, 250, 0.5);
    background: #050814;
}

.hero-globe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.15) contrast(1.1);
    animation: rotateGlobe 75s linear infinite;
}

@keyframes rotateGlobe {
    0% { transform: scale(1.15) rotate(0deg); }
    50% { transform: scale(1.22) rotate(180deg); }
    100% { transform: scale(1.15) rotate(360deg); }
}

.hero-logo-badge-overlay {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0f111a;
    border: 2px solid var(--accent-contrast, #ea580c);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-logo-badge-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-col {
    flex: 1;
    min-width: 0;
}

.discover-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 139, 94, 0.12);
    border: 1px solid rgba(230, 139, 94, 0.3);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-contrast, #ea580c);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulseDotAnim 2s infinite;
}

@keyframes pulseDotAnim {
    0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.discover-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    font-family: var(--font-serif, inherit);
    margin-bottom: 8px;
}

.discover-hero-title span {
    color: var(--accent-contrast, #ea580c);
    display: inline;
}

.discover-hero-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 18px;
    max-width: 680px;
}

/* Discover Search Form */
.discover-search-box {
    max-width: 580px;
    margin-bottom: 16px;
}

.discover-search-form {
    display: flex;
    align-items: center;
    background: #13151f;
    border: 1px solid #2a2e3f;
    border-radius: 40px;
    padding: 5px 6px 5px 16px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.discover-search-form:focus-within {
    border-color: var(--accent-contrast, #ea580c);
    box-shadow: 0 0 0 3px rgba(230, 139, 94, 0.15);
}

.discover-search-form .search-icon {
    font-size: 15px;
    margin-right: 8px;
    opacity: 0.6;
}

.discover-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 13.5px;
}

.discover-search-form .btn-search {
    background: var(--accent-contrast, #ea580c);
    color: #ffffff;
    border: none;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.discover-search-form .btn-search:hover {
    filter: brightness(1.1);
}

/* Weezir Pulse Bar */
.weezir-pulse-bar {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 12px;
    color: #94a3b8;
}

.weezir-pulse-bar .pulse-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-weight: 600;
}

.weezir-pulse-bar .pulse-items {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.weezir-pulse-bar .pulse-item strong {
    color: #ffffff;
}

.weezir-pulse-bar .pulse-item.highlight strong {
    color: #10b981;
}

.weezir-pulse-bar .pulse-item.hot strong {
    color: var(--accent-contrast, #ea580c);
}

.weezir-pulse-bar .pulse-sep {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .discover-hero {
        padding: 24px 18px;
    }
    .discover-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .hero-visual-col {
        margin: 0 auto;
    }
    .discover-search-box {
        margin-left: auto;
        margin-right: auto;
    }
    .discover-hero-title {
        font-size: 24px;
    }
    .discover-hero-desc {
        font-size: 13px;
    }
}

/* Discover Nav Tabs */
.discover-nav-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}

.discover-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.discover-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.discover-tab.active {
    color: #ffffff;
    background: #1a1d29;
    border: 1px solid rgba(230, 139, 94, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Filter Strip & Pills */
.discover-filter-strip {
    background: #10121a;
    border: 1px solid #202434;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.filter-pills-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

.filter-pills-row .pill {
    font-size: 11.5px;
    color: #cbd5e1;
    background: #181b26;
    border: 1px solid #2a2e3f;
    padding: 3px 10px;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.filter-pills-row .pill:hover {
    color: #ffffff;
    border-color: #3b425b;
}

.filter-pills-row .pill.active {
    background: var(--accent-contrast, #ea580c);
    color: #ffffff;
    border-color: var(--accent-contrast, #ea580c);
    font-weight: 600;
}

/* Results Header */
.discover-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12.5px;
    color: #94a3b8;
}

.discover-results-header .results-count strong {
    color: #ffffff;
}

.results-sort select {
    background: #13151f;
    border: 1px solid #2a2e3f;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

/* Discover Bento Harmonic Grid (4 Columns Base, Small Refined Fonts) */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1140px) {
    .discover-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .discover-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   WEECOACH INSPIRED SOFT PASTEL BENTO CARD THEMES
   ========================================================================= */

.project-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #64748b;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

/* 1. MINT / EMERALD PASTEL THEME */
.project-card.theme-mint,
.discover-grid > .project-card:nth-child(6n+1) {
    border-top-color: #10b981;
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.75) 0%, #ffffff 45%);
}
.project-card.theme-mint:hover,
.discover-grid > .project-card:nth-child(6n+1):hover {
    border-color: rgba(16, 185, 129, 0.45);
    border-top-color: #10b981;
}
.discover-grid > .project-card:nth-child(6n+1) .tag-ai-tool {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 2. VIOLET / PURPLE PASTEL THEME */
.project-card.theme-violet,
.discover-grid > .project-card:nth-child(6n+2) {
    border-top-color: #8b5cf6;
    background: linear-gradient(180deg, rgba(245, 243, 255, 0.75) 0%, #ffffff 45%);
}
.project-card.theme-violet:hover,
.discover-grid > .project-card:nth-child(6n+2):hover {
    border-color: rgba(139, 92, 246, 0.45);
    border-top-color: #8b5cf6;
}
.discover-grid > .project-card:nth-child(6n+2) .tag-ai-tool {
    background: #f5f3ff;
    color: #5b21b6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* 3. SKY / OCEAN BLUE PASTEL THEME */
.project-card.theme-sky,
.discover-grid > .project-card:nth-child(6n+3) {
    border-top-color: #0ea5e9;
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.75) 0%, #ffffff 45%);
}
.project-card.theme-sky:hover,
.discover-grid > .project-card:nth-child(6n+3):hover {
    border-color: rgba(14, 165, 233, 0.45);
    border-top-color: #0ea5e9;
}
.discover-grid > .project-card:nth-child(6n+3) .tag-ai-tool {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* 4. CORAL / SUNSET ORANGE PASTEL THEME */
.project-card.theme-coral,
.discover-grid > .project-card:nth-child(6n+4) {
    border-top-color: #f97316;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.75) 0%, #ffffff 45%);
}
.project-card.theme-coral:hover,
.discover-grid > .project-card:nth-child(6n+4):hover {
    border-color: rgba(249, 115, 22, 0.45);
    border-top-color: #f97316;
}
.discover-grid > .project-card:nth-child(6n+4) .tag-ai-tool {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

/* 5. ROSE / PINK PASTEL THEME */
.project-card.theme-rose,
.discover-grid > .project-card:nth-child(6n+5) {
    border-top-color: #ec4899;
    background: linear-gradient(180deg, rgba(253, 242, 248, 0.75) 0%, #ffffff 45%);
}
.project-card.theme-rose:hover,
.discover-grid > .project-card:nth-child(6n+5):hover {
    border-color: rgba(236, 72, 153, 0.45);
    border-top-color: #ec4899;
}
.discover-grid > .project-card:nth-child(6n+5) .tag-ai-tool {
    background: #fdf2f8;
    color: #9d174d;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* 6. INDIGO / ELECTRIC PASTEL THEME */
.project-card.theme-indigo,
.discover-grid > .project-card:nth-child(6n+6) {
    border-top-color: #6366f1;
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.75) 0%, #ffffff 45%);
}
.project-card.theme-indigo:hover,
.discover-grid > .project-card:nth-child(6n+6):hover {
    border-color: rgba(99, 102, 241, 0.45);
    border-top-color: #6366f1;
}
.discover-grid > .project-card:nth-child(6n+6) .tag-ai-tool {
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Spotlight Asymmetric Bento Card (spans 2 columns on wide screens) */
.project-card.is-spotlight {
    grid-column: span 2;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
}

@media (max-width: 580px) {
    .project-card.is-spotlight {
        grid-column: span 1;
    }
}

.project-card-header {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.project-logo-wrap {
    flex-shrink: 0;
}

.project-logo {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.project-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-contrast, #ea580c);
}

.project-meta-head {
    flex: 1;
    min-width: 0;
}

.project-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.project-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.project-title a {
    color: #0f172a;
    text-decoration: none;
    transition: var(--transition);
}

.project-title a:hover {
    color: var(--accent-contrast, #ea580c);
}

.badge-labs {
    font-size: 10px;
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.35);
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 700;
}

.badge-trend {
    font-size: 10px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
}

.project-maker-row {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.project-maker-row .maker-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
}

.project-maker-row .maker-link:hover {
    color: var(--accent-contrast, #ea580c);
}

.project-maker-row .country-tag {
    font-size: 11px;
    opacity: 0.85;
}

/* Tagline */
.project-tagline {
    font-size: 12.5px;
    color: #334155;
    line-height: 1.55;
    margin-bottom: 12px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card.is-spotlight .project-tagline {
    -webkit-line-clamp: 3;
}

/* Project Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.tag-platform {
    font-size: 10.5px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
}

.tag-oss {
    font-size: 10.5px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
}

.tag-ai-tool {
    font-size: 10.5px;
    background: #f8fafc;
    color: #334155;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

/* Card Footer */
.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 11.5px;
    color: #64748b;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.source-label strong {
    color: #0f172a;
}

.github-stars {
    color: #d97706;
    font-weight: 700;
}

.growth-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-discover-more {
    color: var(--accent-contrast, #ea580c);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    transition: var(--transition);
}

.btn-discover-more:hover {
    transform: translateX(2px);
}

/* Discover CTA Banner */
.discover-cta-banner {
    margin-top: 60px;
    background: linear-gradient(135deg, #181b29 0%, #12141f 100%);
    border: 1px solid rgba(230, 139, 94, 0.35);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.cta-content {
    max-width: 650px;
    margin: 0 auto;
}

.cta-pill {
    display: inline-block;
    background: rgba(230, 139, 94, 0.15);
    color: var(--accent-contrast, #e68b5e);
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.discover-cta-banner h2 {
    font-size: 28px;
    color: #ffffff;
    font-family: var(--font-serif, inherit);
    margin-bottom: 10px;
}

.discover-cta-banner p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cta {
    background: var(--accent-contrast, #e68b5e);
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.cta-actions .btn-secondary,
.discover-cta-banner .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.cta-actions .btn-secondary:hover,
.discover-cta-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* =========================================================================
   PROJECT DETAIL PAGE STYLES
   ========================================================================= */

.project-detail-wrapper {
    padding-top: 32px;
    padding-bottom: 80px;
}

.project-header-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    background: #11131c;
    border: 1px solid #222638;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-left {
    display: flex;
    gap: 24px;
    flex: 1;
    min-width: 320px;
}

.project-logo-large img, .logo-fallback-large {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid #2a2e3f;
}

.logo-fallback-large {
    background: #1a1d29;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-contrast, #e68b5e);
}

.title-meta-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.title-meta-line h1 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-serif, inherit);
    margin: 0;
}

.project-tagline-main {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 14px;
}

.project-quick-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qbadge {
    font-size: 12px;
    background: #181b26;
    color: #cbd5e1;
    border: 1px solid #2a2e3f;
    padding: 3px 10px;
    border-radius: 6px;
}

.qbadge.oss {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.qbadge.score {
    background: rgba(230, 139, 94, 0.15);
    color: var(--accent-contrast, #e68b5e);
    border-color: rgba(230, 139, 94, 0.3);
    font-weight: 700;
}

.hero-right-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

.btn-action-big {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
}

.hero-right-actions .btn-secondary,
.project-header-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
}

.hero-right-actions .btn-secondary:hover,
.project-header-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* 70/30 Layout */
.project-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 991px) {
    .project-main-layout {
        grid-template-columns: 1fr;
    }
}

.project-summary-box {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-left: 5px solid var(--accent-contrast, #ea580c);
    padding: 18px 22px;
    border-radius: 10px;
    margin-bottom: 28px;
    font-size: 15px;
    color: #0f172a;
    line-height: 1.65;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.project-summary-box strong {
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 6px;
}

.project-summary-box p {
    color: #1e293b;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
}

/* AI Tools Box */
.project-ai-tools-box {
    margin: 32px 0;
    background: #11131c;
    border: 1px solid #222638;
    border-radius: 12px;
    padding: 22px;
}

.project-ai-tools-box h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 16px;
}

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.ai-tool-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #181b26;
    border: 1px solid #2a2e3f;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition);
}

.ai-tool-card:hover {
    border-color: var(--accent-contrast, #e68b5e);
    transform: translateY(-2px);
}

.ai-tool-card small {
    display: block;
    color: #94a3b8;
    font-size: 11.5px;
}

/* Source Transparency Card & Weezir Labs Box */
.project-source-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 5px solid var(--accent-contrast, #ea580c);
    border-radius: 12px;
    padding: 22px 26px;
    margin: 32px 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.source-header {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-source-card p {
    color: #1e293b;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 12px;
}

.project-source-card p strong {
    color: #0f172a;
    font-weight: 800;
}

.source-links {
    font-size: 14px;
    color: #334155;
    font-weight: 600;
}

.source-links span {
    color: #0f172a;
    font-weight: 700;
    margin-right: 6px;
}

.source-links a {
    color: var(--accent-contrast, #ea580c);
    text-decoration: underline;
    font-weight: 700;
    word-break: break-all;
    transition: var(--transition);
}

.source-links a:hover {
    color: #c2410c;
}

/* Claim Banner - High Contrast Professional Redesign */
.project-claim-banner {
    background: #f8fafc;
    border: 2px dashed #94a3b8;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 32px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.claim-info h4 {
    color: #0f172a;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.claim-info p {
    color: #334155;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

.btn-claim-cta {
    background: #ea580c;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-claim-cta:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}

/* Verified & Claimed Trust Badges */
.badge-verified-project {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-verified-maker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

.qbadge.verified-trust {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-weight: 700;
}

.qbadge.radar-trust {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    font-weight: 700;
}

.project-claimed-verified-card {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-left: 5px solid #10b981;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 32px 0;
}

/* Sidebar Cards */
.sidebar-card {
    background: #11131c;
    border: 1px solid #222638;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
}

.sidebar-card h4 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.maker-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.maker-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-contrast, #e68b5e);
}

.maker-avatar-fallback {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1a1d29;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.maker-title {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 2px 0;
    font-weight: 700;
}

.maker-country {
    font-size: 12px;
    color: #94a3b8;
}

.maker-bio {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 14px;
}

.maker-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.maker-links a {
    font-size: 12px;
    color: #cbd5e1;
    background: #181b26;
    border: 1px solid #2a2e3f;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.maker-links a:hover {
    color: #ffffff;
    border-color: var(--accent-contrast, #e68b5e);
}

.meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meta-list li {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
}

.meta-label {
    color: #94a3b8;
}

.meta-val {
    color: #ffffff;
    font-weight: 600;
}

/* Similar list */
.similar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.similar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.similar-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.similar-item img, .similar-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.similar-placeholder {
    background: #1a1d29;
    border: 1px solid #2a2e3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-contrast, #e68b5e);
}

.similar-item strong {
    font-size: 13.5px;
    color: #ffffff;
    display: block;
}

.similar-item p {
    font-size: 12px;
    color: #94a3b8;
    margin: 2px 0 0 0;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #13151f;
    border: 1px solid #2a2e3f;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    padding: 28px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

.modal-close:hover {
    color: #ffffff;
}

.claim-form .form-group {
    margin-bottom: 14px;
}

.claim-form label {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.claim-form input, .claim-form textarea {
    width: 100%;
    background: #1a1d29;
    border: 1px solid #33384c;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    outline: none;
}

.claim-form input:focus, .claim-form textarea:focus {
    border-color: var(--accent-contrast, #e68b5e);
}

.claim-form small {
    display: block;
    color: #64748b;
    font-size: 11.5px;
    margin-top: 4px;
}

/* =========================================================================
   MAKERS DIRECTORY STYLES
   ========================================================================= */

.makers-index-hero {
    text-align: center;
    margin-bottom: 40px;
}

.makers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.maker-card-item {
    background: #11131c;
    border: 1px solid #222638;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.maker-card-item:hover {
    border-color: rgba(230, 139, 94, 0.4);
    transform: translateY(-3px);
}

.maker-avatar-img, .maker-avatar-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px auto;
    border: 2px solid var(--accent-contrast, #e68b5e);
}

.maker-avatar-circle {
    background: #1a1d29;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.maker-card-name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 3px 0;
}

.maker-card-name a {
    color: #ffffff;
    text-decoration: none;
}

.maker-card-handle {
    display: block;
    font-size: 12.5px;
    color: var(--accent-contrast, #e68b5e);
    margin-bottom: 4px;
    font-weight: 600;
}

.maker-card-country {
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
}

.maker-card-bio {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 40px;
}

.maker-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proj-count-badge {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}

.btn-profile {
    color: var(--accent-contrast, #e68b5e);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
}

/* Maker Profile Card (Single) */
.maker-profile-card {
    display: flex;
    gap: 28px;
    background: #11131c;
    border: 1px solid #222638;
    border-radius: 18px;
    padding: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.maker-profile-avatar, .maker-profile-avatar-fallback {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-contrast, #e68b5e);
}

.maker-profile-avatar-fallback {
    background: #1a1d29;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.maker-profile-info {
    flex: 1;
    min-width: 280px;
}

.maker-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.maker-name-row h1 {
    font-size: 28px;
    color: #ffffff;
    font-family: var(--font-serif, inherit);
    margin: 0;
}

.maker-username-tag {
    font-size: 14px;
    color: var(--accent-contrast, #e68b5e);
    font-weight: 600;
}

.badge-verified {
    font-size: 11px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.maker-location {
    font-size: 13.5px;
    color: #94a3b8;
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.maker-bio-text {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.maker-social-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-chip {
    font-size: 12.5px;
    background: #181b26;
    border: 1px solid #2a2e3f;
    color: #cbd5e1;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.social-chip:hover {
    color: #ffffff;
    border-color: var(--accent-contrast, #e68b5e);
}

/* =========================================================================
   WEEZIR LABS SHOWCASE ATÖLYE SECTION (WeeCoach-Inspired Premium Layout)
   ========================================================================= */

.weezir-labs-showcase-box {
    margin-top: 56px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.labs-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.labs-header-left {
    max-width: 680px;
}

.labs-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid rgba(234, 88, 12, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-contrast, #ea580c);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.labs-pill-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.labs-showcase-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    font-family: var(--font-serif, inherit);
    line-height: 1.25;
}

.labs-showcase-title .gradient-accent {
    color: var(--accent-contrast, #ea580c);
}

.labs-showcase-desc {
    color: #475569;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

.labs-verified-chip {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.labs-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1140px) {
    .labs-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .labs-cards-grid {
        grid-template-columns: 1fr;
    }
}

.labs-app-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.labs-app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

/* Weezir Labs App Card Variants (Pastel Accents) */
.labs-app-card.card-weewake {
    border-top: 4px solid #10b981;
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.7) 0%, #ffffff 45%);
}
.labs-app-card.card-weecoach {
    border-top: 4px solid #8b5cf6;
    background: linear-gradient(180deg, rgba(245, 243, 255, 0.7) 0%, #ffffff 45%);
}
.labs-app-card.card-weeshot {
    border-top: 4px solid #f97316;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.7) 0%, #ffffff 45%);
}
.labs-app-card.card-lingopop {
    border-top: 4px solid #0ea5e9;
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.7) 0%, #ffffff 45%);
}

.labs-app-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.labs-app-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.labs-app-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.labs-app-title a {
    color: #0f172a;
    text-decoration: none;
    transition: var(--transition);
}

.labs-app-title a:hover {
    color: var(--accent-contrast, #ea580c);
}

.labs-app-meta {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    display: block;
    font-weight: 600;
}

.labs-app-desc {
    color: #334155;
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.labs-app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 11.5px;
}

.labs-app-dl {
    color: #64748b;
    font-weight: 600;
}

.labs-app-btn {
    color: var(--accent-contrast, #ea580c);
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.labs-app-btn:hover {
    transform: translateX(2px);
    color: #c2410c;
}

/* =========================================================================
   SPOTLIGHT TOP SHOWCASE & LEADERBOARD (Balanced 50/50 Layout)
   ========================================================================= */

.discover-top-showcase {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .discover-top-showcase {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.spotlight-leaderboard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #f59e0b;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.spotlight-leaderboard-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

/* 1. Numaralı Düzeltme: Üst Başlık & Buton Tek Satır */
.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0 !important;
    overflow: hidden !important;
}

.leaderboard-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0 !important;
    flex: 1;
    overflow: hidden !important;
}

.leaderboard-pill {
    background: #fef3c7;
    color: #b45309;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    flex-shrink: 0;
}

.leaderboard-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0 !important;
}

.leaderboard-more-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-contrast, #ea580c);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.leaderboard-more-link:hover {
    transform: translateX(2px);
    text-decoration: underline;
}

/* 2. Numaralı Düzeltme: Sağ Taraf 2x2 4'lü Kompakt Kart Izgarası */
.spotlight-compact-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

@media (max-width: 680px) {
    .spotlight-compact-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.compact-discover-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 135px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.compact-discover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.compact-discover-card.theme-mint { border-top: 3px solid #10b981; }
.compact-discover-card.theme-violet { border-top: 3px solid #8b5cf6; }
.compact-discover-card.theme-sky { border-top: 3px solid #0ea5e9; }
.compact-discover-card.theme-coral { border-top: 3px solid #f97316; }
.compact-discover-card.theme-rose { border-top: 3px solid #f43f5e; }
.compact-discover-card.theme-indigo { border-top: 3px solid #6366f1; }

.compact-card-top {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.compact-logo-link {
    flex-shrink: 0;
}

.compact-logo {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.compact-logo-fallback {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: #1e293b;
    color: var(--accent-contrast, #ea580c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.compact-meta {
    flex: 1;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.compact-title {
    font-size: 12.5px;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.compact-title a {
    color: #0f172a;
    text-decoration: none;
    transition: var(--transition);
}

.compact-title a:hover {
    color: var(--accent-contrast, #ea580c);
}

.compact-maker {
    font-size: 10px;
    color: #64748b;
    display: block;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-badge-trend {
    font-size: 9.5px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.compact-desc {
    font-size: 11px;
    color: #475569;
    line-height: 1.45;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.compact-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid #f8fafc;
}

.compact-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.compact-tag {
    font-size: 9.5px;
    padding: 1px 5px;
    border-radius: 3px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
}

.compact-tag.oss {
    background: #eff6ff;
    color: #2563eb;
}

.compact-inspect-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-contrast, #ea580c);
    text-decoration: none;
}

.compact-inspect-link:hover {
    text-decoration: underline;
}

.leaderboard-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.leaderboard-row:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: translateX(3px);
}

.leaderboard-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0 !important;
    max-width: calc(100% - 130px) !important;
    overflow: hidden !important;
}

.rank-badge {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rank-1 { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.rank-2 { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.rank-3 { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.rank-4 { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }

.leaderboard-mini-logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.leaderboard-text-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto;
    overflow: hidden !important;
}

.leaderboard-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.lb-main-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block !important;
    min-width: 0 !important;
    max-width: 240px !important;
    flex: 1 1 auto !important;
}

.leaderboard-item-maker {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap !important;
    flex: 0 1 auto !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    max-width: 140px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.leaderboard-item-tagline {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: block !important;
    line-height: 1.35;
}

.leaderboard-row-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.leaderboard-metric-stars {
    font-size: 12px;
    font-weight: 700;
    color: #d97706;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.leaderboard-metric-growth {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 1px 6px;
    border-radius: 10px;
}

.leaderboard-score-pill {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--accent-contrast, #ea580c);
    background: #fff7ed;
    border: 1px solid rgba(234, 88, 12, 0.25);
    padding: 2px 8px;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .spotlight-leaderboard-card {
        grid-column: span 1;
        padding: 14px 12px;
    }
    .leaderboard-row-left {
        max-width: calc(100% - 55px) !important;
        gap: 8px !important;
    }
    .leaderboard-metric-growth,
    .leaderboard-metric-stars {
        display: none !important;
    }
    .leaderboard-row-right {
        gap: 0 !important;
    }
    .leaderboard-score-pill {
        font-size: 11px !important;
        padding: 2px 6px !important;
    }
    .lb-main-title {
        font-size: 12.5px !important;
        max-width: 100% !important;
    }
    .leaderboard-item-maker {
        font-size: 9.5px !important;
        max-width: 85px !important;
    }
}

/* Discover Admin Bulk Action Bar */
.bulk-action-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #181b26;
    border-bottom: 1px solid #2a2e3f;
    flex-wrap: wrap;
}

.bulk-action-bar span {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 600;
    margin-right: 6px;
}

/* =========================================================================
   DISCOVER SEARCH MODE: 2-COLUMN LAYOUT & SIDEBAR
   ========================================================================= */
.discover-search-header-box {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.discover-search-title-wrap h2 {
    font-size: 21px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discover-search-title-wrap p {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin: 0;
}

.discover-search-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.discover-search-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .discover-search-layout {
        grid-template-columns: 1fr;
    }
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 680px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
}

.search-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.search-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag-chip {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.search-tag-chip:hover {
    background: var(--accent-contrast, #ea580c);
    color: #ffffff;
    border-color: var(--accent-contrast, #ea580c);
}


