
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Bebas+Neue&display=swap');

:root {
    --bg: #0a0a0a;
    --bg-card: #151515;
    --bg-card-hover: #1e1e1e;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --cta: #dc2626;
    --cta-hover: #ef4444;
    --text: #e8e8e8;
    --text-muted: #888;
    --text-dim: #555;
    --border: #2a2a2a;
    --radius: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Age Gate ── */

.age-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.age-gate-box {
    max-width: 480px;
    text-align: center;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.age-gate-box .logo {
    margin-bottom: 0.5rem;
}
.age-gate-box .logo .logo-img {
    height: 60px;
    width: auto;
}

.age-gate-box .tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.age-gate-box .warning-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.age-gate-box .warning-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-gate-box .btn-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-enter {
    background: var(--accent);
    color: #fff;
}
.btn-enter:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-leave {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-leave:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

/* ── Header ── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.site-header .logo .logo-img {
    height: 32px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.header-nav a:hover { color: var(--text); }

.btn-shop {
    background: var(--cta);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-shop:hover {
    background: var(--cta-hover);
    transform: translateY(-1px);
}

/* ── Main Gallery Grid ── */

.page-title {
    text-align: center;
    padding: 3rem 2rem 1rem;
}
.page-title h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    letter-spacing: 3px;
    font-weight: 400;
}
.page-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 1.5rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.category-card:hover img {
    transform: scale(1.05);
}

.category-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.category-card .cat-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #fff;
}

.category-card .cat-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.cat-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
    gap: 0.5rem;
}
.cat-placeholder span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Category Page Gallery ── */

.category-header {
    padding: 2rem 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    transition: color 0.2s;
}
.category-header .back-link:hover { color: var(--accent); }

.category-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.category-header .count {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    padding: 1rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    position: relative;
}
.gallery-item:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

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

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

.gallery-item .video-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    pointer-events: none;
}

/* ── Lightbox ── */

.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
    transition: color 0.2s;
}
.lightbox-nav:hover { color: #fff; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

.lightbox-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    z-index: 1001;
}

/* ── Footer ── */

.site-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.8;
}
.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
}
.site-footer a:hover { color: var(--accent); }

/* ── Responsive ── */

@media (max-width: 768px) {
    .site-header { padding: 0.75rem 1rem; }
    .header-nav { gap: 0.75rem; }
    .header-nav .nav-text { display: none; }
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); padding: 1rem; gap: 0.75rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); padding: 1rem; gap: 0.5rem; }
    .page-title { padding: 2rem 1rem 0.5rem; }
    .page-title h1 { font-size: 1.8rem; }
    .category-header { padding: 1.5rem 1rem 0.5rem; }
    .age-gate-box { padding: 2rem 1.5rem; }
    .age-gate-box .logo .logo-img { height: 45px; }
    .btn { padding: 0.65rem 1.5rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox-content img,
    .lightbox-content video { max-width: 95vw; max-height: 80vh; }
}
