:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --border: #222;
    --text: #e8e8e8;
    --text-muted: #888;
    --gold: #c9a84c;
    --gold-light: #f4d675;
    --blue: #4a90d9;
    --blue-light: #67b8f4;
    --green: #27ae60;
    --green-light: #2ecc71;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
    background: linear-gradient(180deg, #111 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}
.logo img {
    display: block;
    width: clamp(160px, 16vw, 222px);
    height: auto;
    max-height: 80px;
    object-fit: contain;
}
.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.header-nav a:hover { color: var(--gold); }

/* Navbar Search — Premium Design */
.nav-search { position: relative; flex: 0 1 380px; }
.nav-search-form {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-search-form:focus-within {
    background: rgba(255,255,255,0.07);
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.08), 0 2px 12px rgba(0,0,0,0.2);
}
.nav-search-form input {
    flex: 1; padding: 10px 18px; background: transparent; border: none;
    color: var(--text); font-size: 0.88rem; font-weight: 400;
    letter-spacing: 0.2px; outline: none; min-width: 0;
    font-family: 'Inter', sans-serif;
}
.nav-search-form input::placeholder { color: #4a4a4a; font-style: italic; }
.nav-search-form button {
    padding: 10px 14px; background: none; border: none;
    color: rgba(201,168,76,0.5); cursor: pointer; display: flex; align-items: center;
    transition: color 0.2s, transform 0.2s;
}
.nav-search-form button:hover { color: var(--gold); transform: scale(1.1); }

/* Search Dropdown Panel */
.nav-search-dropdown {
    position: absolute; top: calc(100% + 12px);
    left: 50%; transform: translateX(-50%);
    width: 720px; max-height: 82vh; overflow-y: auto;
    background: linear-gradient(180deg, #161616 0%, #111 100%);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03), inset 0 1px 0 rgba(255,255,255,0.04);
    z-index: 200; padding: 20px;
    animation: searchDropIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes searchDropIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-search-dropdown::-webkit-scrollbar { width: 6px; }
.nav-search-dropdown::-webkit-scrollbar-track { background: transparent; }
.nav-search-dropdown::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

/* Filter Chips */
.search-filters-row {
    display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
    margin-bottom: 16px; padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sf-chip {
    display: flex; align-items: center; gap: 4px;
    color: #555; font-size: 0.78rem; font-weight: 500;
    cursor: pointer; padding: 5px 12px;
    border-radius: 20px; border: 1px solid transparent;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}
.sf-chip:hover { color: var(--text-muted); background: rgba(255,255,255,0.04); }
.sf-chip input { appearance: none; -webkit-appearance: none; width: 0; height: 0; margin: 0; padding: 0; }
.sf-chip:has(input:checked) {
    color: var(--gold); background: rgba(201,168,76,0.1);
    border-color: rgba(201,168,76,0.2);
}
.sf-sep { color: rgba(255,255,255,0.08); font-size: 1rem; margin: 0 2px; }
.sf-select {
    background: rgba(255,255,255,0.04); color: #888; font-size: 0.78rem;
    border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
    padding: 5px 28px 5px 12px; cursor: pointer; outline: none;
    font-family: 'Inter', sans-serif; letter-spacing: 0.3px;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%23555'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
    transition: all 0.25s ease;
}
.sf-select:hover { border-color: rgba(201,168,76,0.3); color: var(--text-muted); }
.sf-select:focus { border-color: rgba(201,168,76,0.4); color: var(--gold); background-color: rgba(201,168,76,0.06); }
.sf-select option { background: #161616; color: #ccc; }

/* Results Count */
.search-count-row {
    color: var(--text-muted); font-size: 0.82rem; margin-bottom: 14px;
    font-family: 'Inter', sans-serif; letter-spacing: 0.2px;
}
.search-count-row strong { color: var(--gold); font-weight: 600; }

/* Results Grid */
.search-dropdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.search-dropdown-grid .s-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none; color: var(--text); display: block;
    position: relative;
}
.search-dropdown-grid .s-card:hover {
    border-color: rgba(201,168,76,0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
    transform: translateY(-2px);
}
.search-dropdown-grid .s-card img {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.search-dropdown-grid .s-card:hover img { transform: scale(1.04); }
.search-dropdown-grid .s-card-body {
    padding: 10px 12px;
    background: linear-gradient(0deg, var(--surface) 0%, rgba(20,20,20,0.95) 100%);
}
.search-dropdown-grid .s-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.82rem; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: var(--text);
}
.search-dropdown-grid .s-card-meta {
    font-size: 0.72rem; color: var(--text-muted); margin-top: 4px;
    display: flex; align-items: center; gap: 6px;
}
.search-dropdown-grid .s-badge {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px;
}
.search-dropdown-grid .s-badge.premium {
    background: linear-gradient(135deg, rgba(201,168,76,0.9), rgba(244,214,117,0.9));
    color: #1a1a2e;
}
.search-dropdown-grid .s-badge.normal {
    background: linear-gradient(135deg, rgba(74,144,217,0.85), rgba(103,184,244,0.85));
    color: #fff;
}
.search-dropdown-grid .s-badge.free {
    background: linear-gradient(135deg, rgba(39,174,96,0.85), rgba(46,204,113,0.85));
    color: #fff;
}

/* Search Pagination */
.search-paging-row {
    display: flex; justify-content: center; gap: 6px;
    margin-top: 16px; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.search-paging-row button {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted); padding: 6px 14px;
    border-radius: 8px; cursor: pointer; font-size: 0.8rem;
    font-weight: 500; transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.search-paging-row button:hover {
    border-color: rgba(201,168,76,0.3); color: var(--gold);
    background: rgba(201,168,76,0.06);
}
.search-paging-row button.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0a0a; border-color: var(--gold); font-weight: 700;
}

/* Search Loading Shimmer */
.search-loading { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.search-shimmer {
    background: var(--surface); border-radius: 10px; overflow: hidden;
    aspect-ratio: 1; position: relative;
}
.search-shimmer::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.04), transparent);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* No Results State */
.search-empty {
    text-align: center; padding: 40px 20px;
    color: var(--text-muted); font-family: 'Inter', sans-serif;
}
.search-empty svg { opacity: 0.3; margin-bottom: 12px; }
.search-empty p { font-size: 0.9rem; }

/* Promoted ribbon — dezent oben rechts in der Ecke */
.ribbon-promoted { position: absolute; top: 0; right: 0; width: 80px; height: 80px; overflow: hidden; z-index: 3; pointer-events: none; }
.ribbon-promoted span { display: block; position: absolute; top: 14px; right: -24px; width: 110px; padding: 3px 0; font-family: 'Playfair Display', serif; font-size: 0.4rem; font-weight: 700; letter-spacing: 1.5px; text-align: center; text-transform: uppercase; transform: rotate(45deg); box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.ribbon-promoted.premium span { background: linear-gradient(90deg, #8b6914, #c9a84c, #f4d675, #ffe9a0, #f4d675, #c9a84c, #8b6914); background-size: 200% 100%; animation: premiumShimmer 4s ease-in-out infinite; color: #1a1100; text-shadow: 0 1px 1px rgba(244,214,117,0.5); }
.ribbon-promoted.normal span { background: linear-gradient(90deg, #1e5a99, #4a90d9, #67b8f4, #8ecfff, #67b8f4, #4a90d9, #1e5a99); background-size: 200% 100%; animation: premiumShimmer 5s ease-in-out infinite; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }

/* Free page tag sections */
.free-tag-section { margin-bottom: 48px; }
.free-tag-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.free-tag-header h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--text); }
.free-tag-header a { color: var(--gold); font-size: 0.85rem; text-decoration: none; }
.free-tag-header a:hover { text-decoration: underline; }

/* Collection Pages (Premium / Standard) */
.collection-hero { padding: 60px 0 40px; }
.collection-hero-content { display: flex; align-items: center; gap: 48px; margin-top: 24px; }
.collection-hero-text { flex: 1; }
.collection-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border: 1px solid; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; }
.collection-hero h1 { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.collection-hero-desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 28px; }
.collection-stats { display: flex; gap: 32px; }
.collection-stats .stat { text-align: center; }
.collection-stats .stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; }
.collection-stats .stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.collection-hero-gallery { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.collection-hero-img img { width: 100%; border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.collection-features { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.collection-feature { text-align: center; }
.collection-feature .feature-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.collection-feature h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; margin-bottom: 4px; }
.collection-feature p { color: var(--text-muted); font-size: 0.85rem; }
.collection-content { padding-bottom: 60px; }
.collection-tag-section { margin-bottom: 48px; }
.collection-tag-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.collection-tag-header h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--text); }
.section-more { color: var(--gold); font-size: 0.85rem; text-decoration: none; }
.section-more:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .collection-hero-content { flex-direction: column; gap: 24px; }
    .collection-hero h1 { font-size: 2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .collection-hero-gallery { max-width: 320px; }
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 24px;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* Collection Cards */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0; }
.collection-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.collection-card.premium { border-color: rgba(201,168,76,0.3); }
.collection-card.premium:hover { box-shadow: 0 4px 32px rgba(201,168,76,0.15); }
.collection-card.normal { border-color: rgba(74,144,217,0.3); }
.collection-card.free { border-color: rgba(39,174,96,0.3); }
.collection-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 8px; }
.collection-card.premium h3 { color: var(--gold); }
.collection-card.normal h3 { color: var(--blue); }
.collection-card.free h3 { color: var(--green); }
.collection-card .price { font-size: 2rem; font-weight: 700; margin: 12px 0; }
.collection-card.premium .price { color: var(--gold-light); }
.collection-card.normal .price { color: var(--blue-light); }
.collection-card.free .price { color: var(--green-light); }
.collection-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Image Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.2s, opacity 0.4s ease;
    position: relative;
    opacity: 1;
    contain: content;
}
.card.card-pending { opacity: 0; transform: translateY(8px); }
.card.card-visible { opacity: 1; transform: translateY(0); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card.premium:hover { box-shadow: 0 4px 32px rgba(201,168,76,0.12); }
.card a { display: block; position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #1a1a1a; }
.card img {
    width: 100%;
    height: auto;
    display: block;
}
.tag-mid-cta { grid-column: 1 / -1; }
.card-body { padding: 16px; }
.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.card-price { font-weight: 600; font-size: 0.95rem; }
.card-price.premium { color: var(--gold); }
.card-price.normal { color: var(--blue); }
.card-price.free { color: var(--green); }

.badge-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; background: rgba(0,0,0,0.6); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; backdrop-filter: blur(4px);
    transition: transform 0.2s, background 0.2s;
}
.card:hover .badge-play { background: rgba(201,168,76,0.8); transform: translate(-50%, -50%) scale(1.1); }
.badge-duration {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.8); color: #fff; font-size: 0.7rem;
    padding: 2px 8px; border-radius: 4px; font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.badge-ai {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.45);
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}
.badge-collection {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.badge-collection.premium {
    background: linear-gradient(135deg, rgba(163,135,42,0.9), rgba(201,168,76,0.95), rgba(244,214,117,0.9));
    color: #1a1a2e;
    border-color: rgba(244,214,117,0.4);
    box-shadow: 0 2px 12px rgba(201,168,76,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
    text-shadow: 0 1px 0 rgba(244,214,117,0.5);
}
.badge-collection.normal {
    background: linear-gradient(135deg, rgba(42,106,179,0.9), rgba(74,144,217,0.95));
    color: #fff;
    border-color: rgba(103,184,244,0.3);
    box-shadow: 0 2px 12px rgba(74,144,217,0.25);
}
.badge-collection.free {
    background: linear-gradient(135deg, rgba(30,140,76,0.9), rgba(39,174,96,0.95));
    color: #fff;
    border-color: rgba(46,204,113,0.3);
    box-shadow: 0 2px 12px rgba(39,174,96,0.25);
}

/* Premium Badge — Luxurious Gold Seal with Light Reflection */
@keyframes premiumShine {
    0% { left: -100%; }
    60%, 100% { left: 200%; }
}
@keyframes premiumGlow {
    0%, 100% {
        box-shadow: 0 2px 12px rgba(201,168,76,0.25),
                    inset 0 1px 0 rgba(255,255,255,0.25),
                    inset 0 -1px 0 rgba(0,0,0,0.15);
    }
    50% {
        box-shadow: 0 2px 24px rgba(201,168,76,0.45),
                    0 0 48px rgba(244,214,117,0.12),
                    inset 0 1px 0 rgba(255,255,255,0.25),
                    inset 0 -1px 0 rgba(0,0,0,0.15);
    }
}
@keyframes premiumShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    pointer-events: none;
}
.ribbon span {
    display: inline-block;
    padding: 7px 18px 6px;
    background: linear-gradient(135deg,
        #7a5c10 0%, #9b7a1f 12%, #b8942b 24%, #c9a84c 36%,
        #dfc06a 44%, #f4d675 50%, #dfc06a 56%, #c9a84c 64%,
        #b8942b 76%, #9b7a1f 88%, #7a5c10 100%);
    background-size: 200% 100%;
    animation: premiumShimmer 8s linear infinite, premiumGlow 3s ease-in-out infinite;
    color: #1a0e00;
    font-family: 'Playfair Display', serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(244,214,117,0.5);
    border-radius: 4px;
    border: 1px solid rgba(244,214,117,0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
/* Diagonaler Lichtstreifen */
.ribbon span::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 50%;
    height: calc(100% + 4px);
    background: linear-gradient(105deg,
        transparent 0%, rgba(255,255,255,0.05) 30%,
        rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0.25) 55%, rgba(255,255,255,0.05) 70%,
        transparent 100%);
    transform: skewX(-20deg);
    animation: premiumShine 5s ease-in-out infinite;
}
/* Goldener Außen-Glow */
.ribbon span::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 6px;
    background: linear-gradient(135deg,
        rgba(244,214,117,0.15), transparent 40%,
        transparent 60%, rgba(201,168,76,0.15));
    z-index: -1;
}

/* Detail-Page — größer */
.ribbon.ribbon-lg { top: 16px; left: 16px; }
.ribbon.ribbon-lg span {
    padding: 9px 24px 8px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    border-radius: 5px;
}

/* Section Headers */
.section-header {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 48px 0 24px;
    color: var(--text);
}
.section-sub { color: var(--text-muted); margin-bottom: 24px; }
.new-badge { display: inline-block; background: var(--accent-green); color: #fff; font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 12px; vertical-align: middle; margin-left: 10px; letter-spacing: 0.02em; }

/* Tag Cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tag-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s;
}
.tag-pill:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
.tag-pill .count { color: #555; font-size: 0.75rem; margin-left: 4px; }

/* Category Cards */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 24px 0; }
.category-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: var(--text);
}
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold); }
.category-thumbs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; }
.category-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #1a1a1a; }
.category-info { padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; }
.category-name { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 0.95rem; text-transform: capitalize; }
.category-count { font-size: 0.75rem; color: var(--text-muted); }
.find-more-wrap { text-align: center; margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.find-more-btn {
    display: inline-block; padding: 14px 32px; border: 2px solid var(--accent, #c9a84c);
    color: var(--accent, #c9a84c); border-radius: 12px; font-family: 'Playfair Display', serif;
    font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.3s;
    letter-spacing: 0.02em;
}
.find-more-btn:hover {
    background: var(--accent, #c9a84c); color: #0a0a0a; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Image Detail Page */
.image-detail { display: grid; grid-template-columns: 1fr 400px; gap: 40px; margin: 40px 0; }
.image-preview { position: relative; }
.image-preview img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.image-info { padding: 20px 0; }
.image-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1.3;
}
.image-info .description { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.file-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.spec-item {
    background: var(--surface);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.spec-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; }
.spec-value { font-size: 1rem; font-weight: 600; color: var(--text); }
.image-info .meta-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; }
.image-info .meta-value { color: var(--text); font-weight: 500; }
.image-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.image-tag {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.2s;
}
.image-tag:hover { border-color: var(--gold); color: var(--gold); }

/* Buy Button */
.buy-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
    margin: 24px 0;
}
.buy-btn:hover { transform: translateY(-2px); }
.buy-btn.premium {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a1a2e;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.buy-btn.normal {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(74,144,217,0.3);
}
.buy-btn.free {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(39,174,96,0.3);
}
.buy-btn:disabled { opacity: 0.6; cursor: wait; }

/* Pricing Tiers */
.pricing-tiers { display: flex; flex-direction: column; gap: 6px; margin: 20px 0; }
.tier-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--surface); cursor: pointer; transition: all 0.2s; position: relative;
}
.tier-row:hover { border-color: var(--text-muted); }
.tier-row.active.premium { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.tier-row.active.normal { border-color: var(--blue); background: rgba(74,144,217,0.06); }
.tier-radio {
    width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border);
    flex-shrink: 0; position: relative; transition: border-color 0.2s;
}
.tier-row.active .tier-radio { border-color: var(--gold); }
.tier-row.active.normal .tier-radio { border-color: var(--blue); }
.tier-row.active .tier-radio::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.tier-row.active.normal .tier-radio::after { background: var(--blue); }
.tier-info { flex: 1; }
.tier-label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.tier-res { font-size: 0.75rem; color: var(--text-muted); }
.tier-price { font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.tier-price small { font-size: 0.7rem; font-weight: 400; color: var(--green); margin-left: 4px; }
.tier-row.premium .tier-price { color: var(--gold); }
.tier-row.normal .tier-price { color: var(--blue); }
@media (max-width: 480px) { .pricing-tiers { flex-direction: column; } }

/* Free Download Tiers */
.tier-row.active.free { border-color: var(--green); background: rgba(39,174,96,0.06); }
.tier-row.active.free .tier-radio { border-color: var(--green); }
.tier-row.active.free .tier-radio::after { background: var(--green); }
.tier-row.free .tier-price { color: var(--green); }
.download-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 14px 24px; border: none; border-radius: var(--radius);
    font-size: 1rem; font-weight: 600; text-decoration: none;
    cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    margin-top: 12px; letter-spacing: 0.3px;
}
.download-btn:hover { transform: translateY(-1px); }
.download-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.download-btn.free {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: #fff; box-shadow: 0 4px 20px rgba(39,174,96,0.25);
}
.download-btn.free:hover { box-shadow: 0 6px 24px rgba(39,174,96,0.35); color: #fff; }
.download-btn.premium {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a1a2e; box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}
.download-btn.premium:hover { box-shadow: 0 6px 24px rgba(201,168,76,0.35); }
.download-btn.normal {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: #fff; box-shadow: 0 4px 20px rgba(74,144,217,0.25);
}
.download-btn.normal:hover { box-shadow: 0 6px 24px rgba(74,144,217,0.35); color: #fff; }

/* Related Images */
.related-section { margin: 60px 0; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-grid .card a { background: #1a1a1a; }
@media (max-width: 1100px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .related-grid { grid-template-columns: 1fr; } }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 48px 0; }
.page-link {
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s;
}
.page-link:hover, .page-link.active { border-color: var(--gold); color: var(--gold); }
.page-link.active { background: rgba(201,168,76,0.1); }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }

/* PayPal Container */
#paypal-button-container { margin: 16px 0; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close { position: fixed; top: 20px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; z-index: 1001; }

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; color: #444; }

/* Gallery Intro */
.gallery-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 900px;
    margin-bottom: 28px;
}
.gallery-intro a { color: var(--gold); }
.gallery-intro strong { color: var(--text); font-weight: 600; }

/* SEO Note — elegant 1-liner */
.seo-note {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    margin-top: 48px;
}

/* License Badges — inline for image detail */
.license-badges {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}
.license-badge {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: left;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 12px;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 3px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-about {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}
.footer-bottom {
    text-align: center;
}
.footer-bottom p {
    color: #555;
    font-size: 0.78rem;
    line-height: 1.6;
}


/* Responsive */
@media (max-width: 1024px) {
    .image-detail { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .nav-search { flex: 0 1 280px; }
    .nav-search-dropdown { width: 540px; }
    .search-dropdown-grid { grid-template-columns: repeat(2, 1fr); }
    .search-loading { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .buy-widget { max-width: 600px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    .collections { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .hero { padding: 48px 16px; }
    .hero h1 { font-size: 1.8rem; }
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .site-header { padding: 12px 0; }
    .logo img { width: 158px; max-height: 58px; }
    .header-nav {
        max-width: calc(100vw - 206px);
        gap: 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .header-nav::-webkit-scrollbar { display: none; }
    .header-nav a { white-space: nowrap; font-size: 0.82rem; }
    .nav-search { flex: 1 1 100%; order: 3; }
    .nav-search-dropdown { width: calc(100vw - 32px); left: 0; transform: none; }
    @keyframes searchDropIn {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .search-dropdown-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .search-loading { grid-template-columns: repeat(2, 1fr); }
    .search-filters-row { gap: 4px; }
    .sf-chip { font-size: 0.72rem; padding: 4px 8px; }
    .footer-grid { grid-template-columns: 1fr; }
    .buy-widget { padding: 20px; margin: 16px 0; }
    .buy-widget-header .bw-price { font-size: 1.8rem; }
    .buy-widget-trust { gap: 14px; }
    .trust-badge { font-size: 0.65rem; }
}
@media (max-width: 480px) {
    .container { padding-left: 14px; padding-right: 14px; }
    .logo img { width: 142px; max-height: 52px; }
    .header-nav { max-width: calc(100vw - 184px); gap: 10px; }
    .buy-widget { padding: 16px; border-radius: 12px; }
    .tier-card { padding: 12px 14px; }
    .buy-widget-cta { padding: 14px 18px; font-size: 1rem; }
    .payment-tabs { flex-direction: column; }
    .buy-widget-trust { flex-wrap: wrap; gap: 10px; }
}

/* Lazy loading placeholder */
img[loading="lazy"] { background: #1a1a1a; }

/* ─── Buy Widget ─── */
.buy-widget {
    position: relative;
    background: #111;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px;
    margin: 24px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03) inset;
}
.buy-widget::before {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 4px;
    border-radius: 0 0 4px 4px;
}
.buy-widget.premium::before {
    background: linear-gradient(90deg, #8b6914, #c9a84c, #f4d675, #c9a84c, #8b6914);
    background-size: 200% 100%;
    animation: premiumShimmer 6s linear infinite;
}
.buy-widget.normal::before {
    background: linear-gradient(90deg, #1e5a99, #4a90d9, #67b8f4, #4a90d9, #1e5a99);
}
.buy-widget.free::before {
    background: linear-gradient(90deg, #1a8a4a, #27ae60, #2ecc71, #27ae60, #1a8a4a);
}

.buy-widget-header {
    text-align: center;
    margin-bottom: 20px;
}
.buy-widget-header .bw-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.buy-widget-header .bw-price {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
}
.buy-widget.premium .bw-price { color: var(--gold-light); }
.buy-widget.normal .bw-price { color: var(--blue-light); }
.buy-widget.free .bw-price { color: var(--green-light); }

/* Tier Cards */
.buy-widget-tiers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.tier-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.tier-card:hover {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}
.tier-card.active {
    border-color: rgba(201,168,76,0.4);
    background: rgba(201,168,76,0.06);
    box-shadow: inset 0 0 0 1px rgba(201,168,76,0.15);
}
.tier-card.active.normal {
    border-color: rgba(74,144,217,0.4);
    background: rgba(74,144,217,0.06);
    box-shadow: inset 0 0 0 1px rgba(74,144,217,0.15);
}
.tier-card.active.free {
    border-color: rgba(39,174,96,0.4);
    background: rgba(39,174,96,0.06);
    box-shadow: inset 0 0 0 1px rgba(39,174,96,0.15);
}
.tier-card-check {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}
.tier-card.active .tier-card-check {
    border-color: var(--gold);
    background: var(--gold);
}
.tier-card.active.normal .tier-card-check {
    border-color: var(--blue);
    background: var(--blue);
}
.tier-card.active.free .tier-card-check {
    border-color: var(--green);
    background: var(--green);
}
.tier-card-check svg {
    width: 12px; height: 12px;
    fill: #111;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}
.tier-card.active .tier-card-check svg {
    opacity: 1;
    transform: scale(1);
    animation: tierCheckIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tier-card-info { flex: 1; }
.tier-card-label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.tier-card-res { font-size: 0.75rem; color: var(--text-muted); margin-top: 1px; }
.tier-card-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    margin-left: 8px;
}
.tier-card-price { font-size: 1.05rem; font-weight: 700; flex-shrink: 0; }
.tier-card.premium .tier-card-price { color: var(--gold); }
.tier-card.normal .tier-card-price { color: var(--blue); }
.tier-card.free .tier-card-price { color: var(--green); }
.tier-card-price small {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(39,174,96,0.12);
    color: var(--green);
    margin-left: 6px;
    vertical-align: middle;
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 3px;
    margin-bottom: 16px;
    gap: 3px;
}
.payment-tab {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
}
.payment-tab:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.payment-tab.active {
    background: rgba(255,255,255,0.08);
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.payment-tab svg { width: 16px; height: 16px; fill: currentColor; }
.payment-panel-paypal { display: block; }

.payment-panel-paypal .pp-reassure {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
}

/* CTA Button */
.buy-widget-cta {
    display: block;
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: #111;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    margin-top: 16px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}
.buy-widget-cta:hover { transform: translateY(-2px); color: #111; }
.buy-widget-cta::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.35) 48%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0.35) 52%, transparent 70%);
    transform: skewX(-20deg);
    animation: ctaShine 4s ease-in-out infinite;
    pointer-events: none;
}
.buy-widget-cta.premium-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.buy-widget-cta.premium-cta:hover { box-shadow: 0 8px 32px rgba(201,168,76,0.4); }
.buy-widget-cta.normal-cta {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    box-shadow: 0 4px 20px rgba(74,144,217,0.3);
}
.buy-widget-cta.normal-cta:hover { box-shadow: 0 8px 32px rgba(74,144,217,0.4); }
.buy-widget-cta.free-cta {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    box-shadow: 0 4px 20px rgba(39,174,96,0.3);
}
.buy-widget-cta.free-cta:hover { box-shadow: 0 8px 32px rgba(39,174,96,0.4); }
.buy-widget-cta .cta-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 2px;
    letter-spacing: 0;
}

/* Compress inside widget */
.buy-widget-compress {
    margin-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 14px;
}
.buy-widget-compress .compress-toggle {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.buy-widget-compress .compress-toggle:hover {
    border-color: rgba(201,168,76,0.3);
    color: var(--gold);
}
.buy-widget-compress .compress-toggle svg { width: 14px; height: 14px; fill: currentColor; }

/* Trust Badges */
.buy-widget-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.trust-badge {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
}
.trust-badge svg { width: 13px; height: 13px; fill: currentColor; opacity: 0.6; }

/* Keyframes */
@keyframes ctaShine {
    0%, 65% { left: -100%; }
    100% { left: 200%; }
}
@keyframes discountPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(247,147,26,0); }
    50% { box-shadow: 0 0 8px 2px rgba(247,147,26,0.3); }
}
@keyframes tierCheckIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Compress panel */
.compress-btn { background:transparent; border:1px solid #c9a84c; color:#c9a84c; padding:2px 8px; border-radius:4px; font-size:0.75rem; cursor:pointer; margin-left:8px; transition:background 0.2s; }
.compress-btn:hover { background:rgba(201,168,76,0.15); }
.compress-panel { background:rgba(255,255,255,0.05); border:1px solid rgba(201,168,76,0.3); border-radius:8px; padding:12px; margin-top:8px; }
.compress-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.compress-row label { color:rgba(255,255,255,0.5); font-size:0.85rem; }
.compress-row select { background:#1a1a1a; color:#fff; border:1px solid #333; padding:4px 8px; border-radius:4px; }
.compress-download-btn { width:100%; padding:8px; background:#c9a84c; color:#0a0a0a; border:none; border-radius:6px; font-weight:600; cursor:pointer; font-size:0.85rem; transition:opacity 0.2s; }
.compress-download-btn:hover { opacity:0.9; }
.compress-download-btn:disabled { opacity:0.6; cursor:wait; }
.compress-spinner { display:inline-block; width:14px; height:14px; border:2px solid #0a0a0a; border-top-color:transparent; border-radius:50%; animation:cspin 0.6s linear infinite; vertical-align:middle; margin-right:4px; }
@keyframes cspin { to { transform:rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════
   TAG DETAIL PAGES — Ultra Premium Design
   ══════════════════════════════════════════════════════════════ */

/* Hero Banner */
.tag-hero {
    text-align: center;
    padding: 56px 24px 40px;
    margin-bottom: 32px;
    background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, transparent 100%);
    border-bottom: 1px solid rgba(201,168,76,0.12);
}
.tag-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.tag-hero-sub {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.tag-hero-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Featured Tag Pills (Image Detail Page — first 5 tags) */
.tag-featured-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tag-featured-pill {
    display: inline-block;
    background: rgba(201,168,76,0.06);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 24px;
    padding: 8px 20px;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}
.tag-featured-pill:hover {
    background: rgba(201,168,76,0.12);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201,168,76,0.15);
    transform: translateY(-1px);
}

/* SEO Content Blocks (distributed across gallery) */
.tag-seo-block {
    background: linear-gradient(135deg, rgba(201,168,76,0.03), rgba(20,20,20,0.8));
    border: 1px solid rgba(201,168,76,0.1);
    border-left: 3px solid var(--gold);
    border-radius: 12px;
    padding: 28px 32px;
    margin: 32px 0;
}
.tag-seo-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.tag-seo-block p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.tag-seo-label {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Mid-grid CTA */
.tag-mid-cta {
    background: linear-gradient(135deg, rgba(201,168,76,0.06), rgba(20,20,20,0.95));
    border-color: rgba(201,168,76,0.2);
    text-align: center;
}
.tag-mid-cta h3 {
    color: var(--gold-light);
}

/* Bottom SEO */
.tag-bottom-seo {
    margin-top: 48px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    border-left: none;
    background: transparent;
    border: none;
}
.tag-bottom-seo h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

/* After-grid info */
.tag-after-grid {
    margin-top: 16px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .tag-hero-title { font-size: 1.8rem; }
    .tag-hero { padding: 32px 16px 24px; }
    .tag-featured-pill { padding: 6px 14px; font-size: 0.8rem; }
    .tag-seo-block { padding: 20px 20px; }
}

/* ============================================================
   HOMEPAGE — Full-Width Redesign
   ============================================================ */

.hp-section {
    padding: 60px clamp(20px, 4vw, 64px);
    position: relative;
}
.hp-section-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}
.hp-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}
.hp-section-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}
.hp-section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    margin: 0 clamp(20px, 4vw, 64px);
}

/* ---- Hero ---- */
.hp-hero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hp-hero-mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
}
.hp-hero-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: heroZoom 12s ease-in-out infinite alternate;
}
.hp-hero-mosaic img:nth-child(2) { animation-delay: -2s; }
.hp-hero-mosaic img:nth-child(3) { animation-delay: -4s; }
.hp-hero-mosaic img:nth-child(4) { animation-delay: -6s; }
.hp-hero-mosaic img:nth-child(5) { animation-delay: -8s; }
.hp-hero-mosaic img:nth-child(6) { animation-delay: -10s; }
@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}
.hp-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 80px clamp(24px, 6vw, 100px);
    background: linear-gradient(90deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.78) 55%, rgba(10,10,10,0.25) 100%);
    width: 100%;
}
.hp-hero-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 700px;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hp-hero-overlay p {
    color: rgba(232,232,232,0.85);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.02em;
}

/* ---- Stats Strip ---- */
.hp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(90deg, #111 0%, #131313 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    gap: 4px;
    border-right: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}
.hp-stat:last-child { border-right: none; }
.hp-stat:hover { background: rgba(255,255,255,0.02); }
.hp-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}
.hp-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.hp-stat.stat-premium .hp-stat-num { color: var(--gold); }
.hp-stat.stat-normal .hp-stat-num { color: var(--blue); }
.hp-stat.stat-free .hp-stat-num { color: var(--green); }

/* ---- New This Week ---- */
.hp-ntw-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* ---- Category Grid — 2-image cards ---- */
.hp-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 0;
}
.hp-cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.hp-cat-card:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(201,168,76,0.18), 0 0 0 1px rgba(201,168,76,0.1);
    color: var(--text);
}
.hp-cat-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.hp-cat-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: #1a1a1a;
    transition: filter 0.3s;
}
.hp-cat-card:hover .hp-cat-thumbs img { filter: brightness(1.12); }
.hp-cat-ph { background: #181818; aspect-ratio: 1; }
.hp-cat-info {
    padding: 8px 12px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hp-cat-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 72%;
}
.hp-cat-count {
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Collection Showcase ---- */
.hp-cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}
.hp-cs-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}
.hp-cs-card:hover { transform: translateY(-4px); color: var(--text); }
.hp-cs-card.cs-premium:hover { box-shadow: 0 16px 48px rgba(201,168,76,0.25); }
.hp-cs-card.cs-normal:hover { box-shadow: 0 16px 48px rgba(74,144,217,0.2); }
.hp-cs-card.cs-free:hover { box-shadow: 0 16px 48px rgba(39,174,96,0.2); }
.hp-cs-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    flex: 1;
    min-height: 300px;
}
.hp-cs-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.hp-cs-card:hover .hp-cs-images img { transform: scale(1.04); }
.hp-cs-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(0deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 50%, transparent 100%);
}
.hp-cs-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.hp-cs-card.cs-premium .hp-cs-overlay h3 { color: var(--gold-light); }
.hp-cs-card.cs-normal .hp-cs-overlay h3 { color: var(--blue-light); }
.hp-cs-card.cs-free .hp-cs-overlay h3 { color: var(--green-light); }
.hp-cs-meta {
    color: rgba(232,232,232,0.75);
    font-size: 0.88rem;
    margin-bottom: 14px;
}
.hp-cs-btn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s;
    align-self: flex-start;
}
.hp-cs-card.cs-premium .hp-cs-btn {
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold-light);
}
.hp-cs-card.cs-normal .hp-cs-btn {
    background: rgba(74,144,217,0.12);
    border: 1px solid rgba(74,144,217,0.35);
    color: var(--blue-light);
}
.hp-cs-card.cs-free .hp-cs-btn {
    background: rgba(39,174,96,0.12);
    border: 1px solid rgba(39,174,96,0.35);
    color: var(--green-light);
}
.hp-cs-card:hover .hp-cs-btn { transform: translateX(3px); }

/* ---- Featured Gallery (4-col full-width) ---- */
.hp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 0;
}

/* ---- Trending Strips ---- */
.hp-trending-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 14px;
}
.hp-trending-label.tl-normal {
    background: rgba(74,144,217,0.1);
    border: 1px solid rgba(74,144,217,0.25);
    color: var(--blue-light);
}
.hp-trending-label.tl-free {
    background: rgba(39,174,96,0.1);
    border: 1px solid rgba(39,174,96,0.25);
    color: var(--green-light);
}
.hp-trending-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

/* ============================================================
   HOMEPAGE RESPONSIVE
   ============================================================ */
@media (max-width: 1400px) {
    .hp-cat-grid { grid-template-columns: repeat(5, 1fr); }
    .hp-gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .hp-trending-grid { grid-template-columns: repeat(5, 1fr); }
    .hp-ntw-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1100px) {
    .hp-cat-grid { grid-template-columns: repeat(4, 1fr); }
    .hp-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-trending-grid { grid-template-columns: repeat(4, 1fr); }
    .hp-ntw-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
    .hp-stats { grid-template-columns: repeat(2, 1fr); }
    .hp-stats .hp-stat:nth-child(2) { border-right: none; }
    .hp-stats .hp-stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.05); }
    .hp-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-cs-grid { grid-template-columns: 1fr; gap: 14px; }
    .hp-cs-card { min-height: 240px; }
    .hp-cs-images { min-height: 240px; }
    .hp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-trending-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-ntw-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-hero-mosaic { display: none; }
    .hp-hero {
        background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.1) 0%, transparent 70%), #0a0a0a;
        min-height: 380px;
    }
    .hp-hero-overlay { background: transparent; padding: 60px 24px; }
}
@media (max-width: 600px) {
    .hp-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-trending-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-ntw-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-section { padding: 40px 16px; }
    .hp-section-header h2 { font-size: 1.4rem; }
    .hp-hero-overlay h1 { font-size: 1.8rem; }
}


/* ── Buttons ──────────────────────────────────────────────────────────────
   .btn was already used in the markup (pagination, 404 page, CTAs) but had
   no rule, so those links rendered unstyled. Matches .find-more-btn. */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--accent, #c9a84c);
    color: var(--accent, #c9a84c);
    border-radius: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}
.btn:hover {
    background: var(--accent, #c9a84c);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ── Infinite scroll sentinel ─────────────────────────────────────────── */
.grid-more {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0 48px;
}
.grid-more-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 24px;
}
.grid-more-loading {
    color: var(--accent, #c9a84c);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
}
.grid-more-loading::after {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    margin-left: 10px;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: gridMoreSpin 0.7s linear infinite;
}
@keyframes gridMoreSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .grid-more-loading::after { animation: none; }
}
.pagination { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
