/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #FF7518;
    --primary-dim: #c95e0e;
    --secondary-color: #e53935;
    --secondary-dim: #c62828;
    --dark-bg: #1a1a1a;
    --card-bg: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #5a9fb4;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-headline: 'Montserrat', sans-serif;
    --font-subheadline: 'Source Sans 3', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== NAVIGATION ===== */
.nav {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 117, 24, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* ===== HERO SECTION WITH PARALLAX & GLOWING CIRCLE ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    transform: translateZ(0);
    will-change: transform;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
}

.hero-content-circle {
    position: relative;
    z-index: 10;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 70%, transparent 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    box-shadow: 
        0 0 60px 20px rgba(255, 117, 24, 0.3),
        0 0 100px 40px rgba(255, 107, 0, 0.2),
        inset 0 0 80px rgba(255, 117, 24, 0.1);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.hero-content-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, 
        rgba(255, 117, 24, 0.6) 0%, 
        rgba(255, 107, 0, 0.4) 50%, 
        rgba(255, 117, 24, 0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    filter: blur(8px);
    animation: hero-circle-border-pulse 3s ease-in-out infinite;
}

@keyframes hero-circle-border-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-circle-title {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-circle-subtitle {
    font-family: var(--font-subheadline);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.hero-circle-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 117, 24, 0.35);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 117, 24, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 117, 24, 0.6);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0d0d0d 100%);
}

.section-title {
    font-family: var(--font-headline);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 400;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    background: var(--card-bg);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.search-bar:focus-within {
    box-shadow: 0 4px 30px rgba(255, 117, 24, 0.3);
}

#searchInput {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

#searchInput::placeholder {
    color: var(--text-secondary);
}

#searchButton {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    border: none;
    color: var(--dark-bg);
    cursor: pointer;
    transition: var(--transition);
}

#searchButton:hover {
    background: var(--secondary-color);
}

/* ===== FILTERS ===== */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-select {
    padding: 0.75rem 1.25rem;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid rgba(255, 117, 24, 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 117, 24, 0.2);
}

.reset-button {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.reset-button:hover {
    background: var(--card-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.results-info {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.search-page-link {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    text-align: center;
}
.search-page-link a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}
.search-page-link a:hover {
    color: var(--secondary-color);
}

.vb-note {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

/* ===== COMICS GRID ===== */
.comics-grid-section {
    padding: 3rem 0;
    background: #0d0d0d;
}

.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.comic-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    animation: fadeIn 0.5s ease-out;
}

.comic-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(255, 117, 24, 0.2);
}

.comic-image-container {
    position: relative;
    padding-top: 150%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    overflow: hidden;
}

.comic-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.comic-card:hover .comic-image {
    transform: scale(1.1);
}

.comic-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.comic-info {
    padding: 1.5rem;
}

.comic-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.comic-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.comic-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.comic-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 117, 24, 0.1);
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.condition-badge {
    background: rgba(255, 117, 24, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== LOADING & NO RESULTS ===== */
.loading {
    text-align: center;
    padding: 4rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 117, 24, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 1rem;
    padding: 2rem;
    box-sizing: border-box;
    background: var(--card-bg);
    border-radius: 20px;
    max-height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
    z-index: 1;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--secondary-color);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: transparent;
    color: var(--primary-color);
    border: none;
    font-size: 2.25rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-prev { left: 0; }
.modal-next { right: 0; }

.modal-prev:hover,
.modal-next:hover {
    color: var(--primary-dim);
    transform: translateY(-50%) scale(1.15);
}

.modal-prev.hidden,
.modal-next.hidden {
    display: none !important;
}

.modal-body {
    padding: 0;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-grid > div:first-child {
    padding-top: 1.5rem;
}

.modal-image {
    width: 100%;
    border-radius: 10px;
    cursor: zoom-in;
    transition: var(--transition);
}

.modal-image:hover {
    transform: scale(1.02);
}

/* Lightbox for full image view – zoom and prev/next */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 95vw;
    max-height: 95vh;
    transform: translate(0, 0) scale(1);
    transform-origin: center center;
    cursor: grab;
    user-select: none;
}
.lightbox-image-wrap.dragging {
    cursor: grabbing;
}

.lightbox-image-wrap img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 117, 24, 0.25);
    pointer-events: none;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: var(--secondary-color);
}

.modal-contact {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 117, 24, 0.1);
    border-radius: 10px;
    text-align: center;
}

.modal-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.modal-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.modal-contact a:hover {
    color: var(--secondary-color);
}

.modal-info h2 {
    font-family: var(--font-headline);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-info-grid {
    display: grid;
    gap: 0;
    margin-bottom: 2rem;
    background: rgba(255, 117, 24, 0.05);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    background: none;
    border-radius: 0;
}

.info-label {
    font-family: var(--font-headline);
    color: var(--text-secondary);
    font-weight: 600;
}

.info-value {
    color: var(--text-primary);
}

.modal-price {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 117, 24, 0.1);
    border-radius: 15px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 117, 24, 0.1);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 117, 24, 0.1);
    color: var(--text-secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 16px 1rem;
    }
    .nav-links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 1.25rem;
        font-size: 0.9rem;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content-circle {
        width: 90vw;
        height: 90vw;
        max-width: 450px;
        max-height: 450px;
        padding: 2rem;
    }
    
    .hero-circle-title {
        font-size: 2rem;
    }
    
    .hero-circle-subtitle {
        font-size: 0.9rem;
    }

    .hero-circle-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }

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

    .filters {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-grid > div:first-child {
        padding-top: 1rem;
    }

    .modal-content {
        margin: 0.5rem;
        padding: 0.5rem;
        max-height: 96vh;
        border-radius: 12px;
    }

    .modal-body {
        padding: 0;
    }

    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .modal-prev,
    .modal-next {
        position: fixed;
        top: auto;
        bottom: 1rem;
        transform: none;
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
        background: var(--primary-color);
        color: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    .modal-prev { left: 1.5rem; right: auto; }
    .modal-next { right: 1.5rem; left: auto; }
    .modal-prev:hover,
    .modal-next:hover {
        background: var(--secondary-color);
        transform: none;
    }

    .modal-info h2 {
        font-size: 1.3rem;
    }

    .modal-price {
        font-size: 1.6rem;
        padding: 0.75rem;
    }

    .info-label,
    .info-value {
        font-size: 0.85rem;
    }

    .info-row {
        padding: 0.25rem 0;
    }

    .modal-contact {
        font-size: 0.85rem;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-description {
        font-size: 0.95rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .category-card {
        padding: 1.25rem;
    }

    .category-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-content {
        gap: 0.5rem;
        padding: 0.6rem 12px 0.75rem;
    }
    .nav-links {
        gap: 0.9rem;
        font-size: 0.85rem;
    }
    
    .hero-content-circle {
        width: 95vw;
        height: 95vw;
    }

    .comics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .modal-content {
        margin: 0.25rem;
        padding: 0.25rem;
        max-height: 98vh;
    }

    .modal-grid > div:first-child {
        padding-top: 0.5rem;
    }

    .modal-info h2 {
        font-size: 1.1rem;
    }

    .modal-price {
        font-size: 1.4rem;
        padding: 0.6rem;
    }

    .info-label,
    .info-value {
        font-size: 0.8rem;
    }

    .modal-contact {
        font-size: 0.8rem;
    }
}

/* ===== CATEGORY PAGE STYLES ===== */
.category-hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0d0d0d 100%);
    text-align: center;
}

.category-title {
    font-family: var(--font-headline);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 400;
}

.category-description {
    font-family: var(--font-subheadline);
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.category-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(255, 117, 24, 0.2);
}

.category-icon-wrap {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
}

.category-icon {
    font-size: 3rem;
}

.category-icon-img {
    max-height: 3.5rem;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.category-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-decoration: none;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(229, 57, 53, 0.4);
}
.back-to-top svg {
    width: 22px;
    height: 22px;
}
