/* =====================================================
   SIRENA MARKET - VIPNET EXACT COPY
   ===================================================== */

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

:root {
    --bg-dark: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222;
    --bg-input: #1a1a1a;
    --border: #2a2a2a;
    --text-primary: #e5e5e5;
    --text-secondary: #888;
    --text-muted: #666;
    --accent: #225189;
    --accent-light: rgba(34, 81, 137, 0.15);
    --success: #238636;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* =====================================================
   HEADER - VIPNET STYLE
   ===================================================== */
.header {
    background: var(--bg-dark);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.header-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

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

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--text-primary); }

.nav-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.7;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.header-btn:hover { background: var(--bg-card-hover); }

.header-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-tg, .btn-cerberus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-tg:hover { background: #0088cc; border-color: #0088cc; }
.btn-tg svg { width: 18px; height: 18px; fill: var(--text-primary); }
.btn-cerberus img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

/* =====================================================
   HERO SECTION - VIPNET EXACT
   ===================================================== */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 48px;
}

.hero-content {}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-light);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover { opacity: 0.9; }

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

.btn-secondary:hover { background: #2a2a2a; }

/* Hero Sidebar - Live Trust Signals */
.hero-sidebar {
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border);
}

.hero-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.hero-sidebar-title {
    font-size: 13px;
    color: var(--text-secondary);
}

.hero-sidebar-badge {
    padding: 4px 10px;
    background: var(--accent-light);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
}

.hero-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-sidebar-item {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 8px;
    border-left: 2px solid var(--border);
}

/* =====================================================
   FEATURES SECTION - VIPNET EXACT
   ===================================================== */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    border-radius: 10px;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =====================================================
   FILTERS SECTION
   ===================================================== */
.filters-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 24px;
}

.filters-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    min-width: 140px;
}

.filter-select:focus { outline: none; border-color: var(--accent); }

.filter-search {
    flex: 1;
    max-width: 280px;
    position: relative;
}

.filter-search input {
    width: 100%;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.filter-search input:focus { outline: none; border-color: var(--accent); }
.filter-search input::placeholder { color: var(--text-muted); }

.filters-count {
    margin-left: auto;
    font-size: 14px;
    color: var(--text-secondary);
}

.reset-btn {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.reset-btn:hover { background: var(--bg-card-hover); }

/* =====================================================
   SHOPS GRID
   ===================================================== */
.shops-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

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

.shop-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.shop-card:hover {
    background: var(--bg-card-hover);
}

.shop-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--bg-dark);
}

.shop-logo img, .shop-logo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-logo-img { opacity: 0.3; }

.shop-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.shop-flags {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.country-flag { height: 12px; border-radius: 2px; }

.shop-stats-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.shop-info { width: 100%; }

/* =====================================================
   FOOTER - VIPNET EXACT
   ===================================================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand {}

.footer-logo {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

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

.footer-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.footer-link-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.footer-col {}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

/* =====================================================
   SHOP DETAIL PAGE
   ===================================================== */
.shop-detail-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    transition: all 0.2s;
}

.back-link:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.shop-detail-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

.shop-sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
}

.shop-sidebar-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.shop-sidebar-logo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--bg-dark);
}

.shop-sidebar-logo img, .shop-sidebar-logo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-sidebar-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.shop-sidebar-stats {
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.sidebar-stat {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-stat:last-child { border-bottom: none; }

.sidebar-stat-label { color: var(--text-muted); }
.sidebar-stat-value { color: var(--text-primary); font-weight: 500; }

.shop-sidebar-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.shop-sidebar-btn:hover { opacity: 0.9; }
.shop-sidebar-btn svg { width: 18px; height: 18px; fill: currentColor; }

.shop-main { min-width: 0; }

.shop-description-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.shop-description-card h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.shop-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-line;
}

/* =====================================================
   TABS
   ===================================================== */
.tabs-container {}

.tabs-header {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: -1px;
    transition: all 0.2s;
}

.tab-btn:hover { color: var(--text-secondary); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* =====================================================
   PRODUCTS GRID
   ===================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.product-card:hover { background: var(--bg-card-hover); }

.product-image {
    aspect-ratio: 1;
    background: var(--bg-dark);
}

.product-image img, .product-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-caption-hidden { display: none; }

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 500;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-media { margin: 12px 0; }

.review-image, .review-video {
    max-width: 300px;
    border-radius: 8px;
    cursor: pointer;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.page-link {
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.page-link:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.page-info { font-size: 13px; color: var(--text-muted); }

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox-overlay.active { display: flex; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    opacity: 0.6;
}

.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

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

.product-lightbox-content {
    display: flex;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.product-lightbox-media {
    max-width: 60%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
}

.product-lightbox-media img, .product-lightbox-media video {
    max-width: 100%;
    max-height: 90vh;
}

.product-lightbox-caption {
    padding: 24px;
    max-width: 350px;
    min-width: 250px;
    font-size: 14px;
    color: var(--text-secondary);
    overflow-y: auto;
    white-space: pre-wrap;
}

/* =====================================================
   NO CONTENT
   ===================================================== */
.no-content, .no-shops {
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
}

/* =====================================================
   AGE POPUP
   ===================================================== */
.age-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.age-popup {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 32px;
    max-width: 480px;
    text-align: center;
}

.age-popup-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.age-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.age-btn-confirm {
    background: var(--success);
    color: white;
}

.age-btn-confirm:hover { opacity: 0.9; }

.age-btn-leave {
    background: var(--bg-dark);
    color: #f85149;
    border: 1px solid #f85149;
}

.age-btn-leave:hover { background: #f85149; color: white; }

/* =====================================================
   LEGACY / HIDDEN
   ===================================================== */
.main { min-height: calc(100vh - 200px); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.filters { display: none; }
.desktop-only { display: block; }
.mobile-only { display: none; }
.burger-btn { display: none; }
.sidebar, .sidebar-overlay { display: none; }
.mobile-results-count { display: none; }
.shop-header { display: none; }
.shop-profile { display: none; }
.shop-logo-column { display: none; }
.shop-details { display: none; }
.shop-logo-large { display: none; }
.rating-large { display: none; }
.stat-item { display: inline-flex; align-items: center; gap: 4px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
    .shops-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-wrapper { grid-template-columns: 1fr; }
    .hero-sidebar { display: none; }
}

@media (max-width: 900px) {
    .shops-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-detail-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .header-nav { display: none; }
}

@media (max-width: 600px) {
    .shops-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 28px; }
    .hero-buttons { flex-direction: column; }
    .filters-bar { flex-direction: column; }
    .filter-search { max-width: 100%; }
}
