@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-color: #0c0c0c;
    --card-bg: #151515;
    --accent-crimson: #c41e3a;
    --accent-gold: #d4af37;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://wallpapers.com/images/hd/dark-grey-background-with-smoky-texture-d1ghs0hardcvexv0.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-crimson);
}

/* Base Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    margin: 20px auto 0;
}

/* Utility Classes */
.text-gold {
    color: var(--accent-gold);
}

.text-crimson {
    color: var(--accent-crimson);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--accent-crimson);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--accent-crimson);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1598371839696-5c5bb00bdc28?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 30px;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-gold);
    color: #000;
}

/* Tattoos Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    border: 1px solid var(--glass-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(196, 30, 58, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Merch Filters */
.merch-filters {
    margin-bottom: 50px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-label {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.filter-dropdown {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

.filter-dropdown:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.filter-dropdown optgroup {
    font-size: 0.9rem;
    color: var(--accent-gold);
    background: #111;
    padding: 10px;
}

.filter-dropdown option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.merch-tabs {
    display: flex;
    gap: 15px;
}

.merch-tabs.small {
    gap: 10px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 20px;
    transition: var(--transition);
}

.merch-tabs:not(.small) .tab-btn {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    border-radius: 4px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
}

.merch-tabs:not(.small) .tab-btn.active {
    color: var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

.merch-tabs.small .tab-btn.active {
    background: var(--accent-crimson);
    color: #fff;
    border-color: var(--accent-crimson);
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.merch-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 0;
    transition: var(--transition);
    border-radius: 4px;
    overflow: hidden;
}

.merch-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-crimson);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.merch-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.merch-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.merch-info h3 {
    font-size: 1.2rem;
    margin: 0;
}

.merch-price {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Size Selector Styles */
.size-selector {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.size-selector:hover,
.size-selector:focus {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.size-selector option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.add-to-cart {
    width: 100%;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-crimson);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
}

.add-to-cart:hover {
    background: var(--accent-crimson);
    color: #fff;
}

/* Cart Elements */
.cart-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--card-bg);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: var(--transition);
}

.cart-item:hover {
    border-color: var(--accent-gold);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--accent-crimson);
    border-color: var(--accent-crimson);
}

.qty-val {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.remove-btn:hover {
    color: var(--accent-crimson);
    transform: scale(1.1);
}

/* Checkout Section */
.checkout-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
}

.checkout-total {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.bizum-card {
    background: #00aae4;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 170, 228, 0.2);
}

.bizum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 170, 228, 0.4);
}

.bizum-logo {
    font-weight: 900;
    font-size: 1.4rem;
    font-style: italic;
}

/* Footer */
footer {
    background: #080808;
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
    font-size: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-family: 'Cinzel', serif;
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .merch-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-btn {
        font-size: 1rem;
        padding: 8px 15px;
    }
}

/* Modals & Animations */
.payment-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Floating Cart Ubiquity */
.cart-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-gold);
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: var(--transition);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.cart-icon:hover {
    transform: scale(1.1) rotate(-5deg);
    background: #fff;
}

.cart-icon i {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-crimson);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--bg-color);
}