/* Dodatkowe style dla AShop - Ciemny motyw z fioletowymi akcentami */

/* Style dla przycisków filtrów */
.filter-btn {
    background-color: #242444;
    color: #d1d5db;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.filter-btn:hover {
    background-color: #2d2d4d;
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(to right, #8b5cf6, #a855f7, #c084fc);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

/* Animacje */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-card {
    animation: fadeIn 0.3s ease-out;
}

/* Line clamp dla długich tekstów */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* No-scroll pages - everything fits in viewport */
html.no-scroll,
html.no-scroll body {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Focus states dla dostępności - fioletowe */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Responsywne obrazy */
img {
    max-width: 100%;
    height: auto;
}

/* Override for images that must fill their container */
img.img-fill {
    max-width: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Scaled down version for product cards */
img.img-fill-sm {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

/* Center images in their containers */
.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Efekt świetlny fioletowy */
@keyframes pulse-purple {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

/* Gradient tekstu */
.gradient-text-purple {
    background: linear-gradient(to right, #8b5cf6, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scrollbar ciemny z fioletowymi akcentami */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8b5cf6, #a855f7);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #a855f7, #c084fc);
}

/* Efekt świetlny dla kart */
.item-card:hover {
    animation: pulse-purple 2s ease-in-out infinite;
}

/* Dodatkowe animacje */
@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.8));
    }
}

/* Style dla linków w nawigacji */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #8b5cf6, #a855f7, #c084fc);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero section styling */
.hero-section {
    position: relative;
    background: #0f0f23;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-section img {
    min-width: 100%;
}

/* Separator glow animation */
.separator-glow {
    animation: separator-pulse 3s ease-in-out infinite;
}

@keyframes separator-pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Sold out overlay */
.sold-out-overlay {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.sold-out-overlay span {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a855f7;
    border: 3px solid #a855f7;
    padding: 0.35rem 1.4rem;
    transform: rotate(-20deg);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), inset 0 0 20px rgba(168, 85, 247, 0.05);
}

.sold-out-overlay-sm span {
    font-size: 0.55rem;
    padding: 0.15rem 0.6rem;
    border-width: 2px;
}

.sold-out-overlay-lg span {
    font-size: 1.6rem;
    padding: 0.5rem 2rem;
    border-width: 4px;
}

/* Menu styling */
nav {
    transition: all 0.3s ease;
}

/* Logo font styling */
.logo-text {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.02em;
}

/* Table header hover effect */
.table-header:hover {
    background-color: #2d1040 !important;
    transform: translateY(-2px);
}

.table-header:hover h3 {
    background: linear-gradient(to bottom, #fbbf24, #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}
