/* shop.css - view‑only showcase styles */

.shop-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    position: relative;
    z-index: 2;
}

/* Shop hero - matching main page styling */
.shop-hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
    position: relative;
}

.shop-hero .hero-tag {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.shop-hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    color: var(--gold-light);
    text-shadow: 0 0 60px rgba(201, 168, 76, 0.4), 0 0 120px rgba(201, 168, 76, 0.15);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

.shop-hero-subtitle {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

.shop-hero-desc {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(184, 196, 208, 0.7);
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin: 2rem 0 3rem;
}

.filter-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1.6rem;
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--silver);
    cursor: pointer;
    transition: all 0.25s;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.07);
}

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

.product-card {
    background: rgba(10, 8, 20, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 168, 76, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 168, 76, 0.1) inset;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(201, 168, 76, 0.3);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 15;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0818;
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    border: 1px solid rgba(255, 215, 120, 0.6);
}

.product-image-frame {
    position: relative;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    background: linear-gradient(180deg, rgba(42, 34, 72, 0.5) 0%, transparent 100%);
    min-height: 260px;
}

.product-rune-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 20px;
    animation: slowSpin 30s linear infinite;
    pointer-events: none;
}

.product-rune-ring::before,
.product-rune-ring::after {
    content: '';
    position: absolute;
    border-radius: 20px;
    border: 1px dashed rgba(201, 168, 76, 0.15);
}

.product-rune-ring::before {
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    animation: slowSpinReverse 20s linear infinite;
}

.product-rune-ring::after {
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border: 1px dotted rgba(201, 168, 76, 0.1);
}

.product-img {
    display: block;
    max-width: 100%;
    max-height: 110%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.3s, filter 0.3s;
    filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.3));
}

.product-card:hover .product-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--gold));
}

.product-info {
    padding: 1.5rem 1.2rem 1.8rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.product-name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
    margin-bottom: 0.3rem;
}

.product-category {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
    padding: 0.2rem 1rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    text-transform: uppercase;
    margin-bottom: 1rem;
    clip-path: polygon(0 0, 90% 0, 100% 30%, 100% 100%, 10% 100%, 0 70%);
}

/* Pet category special colour (optional) */
.product-card[data-cat="pet"] .product-category {
    background: rgba(100, 160, 255, 0.15);
    border-color: #64a0ff;
    color: #a0c4ff;
}

.product-desc {
    font-size: 0.8rem;
    color: rgba(184, 196, 208, 0.7);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-perks {
    list-style: none;
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 0.5rem;
}

.product-perks li {
    font-size: 0.7rem;
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--silver);
}

.product-perks li::before {
    content: "✦";
    color: var(--gold);
    font-size: 0.6rem;
}

.product-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px dashed rgba(201, 168, 76, 0.3);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.product-price {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold);
}

/* Buy button removed – view only */

/* Animations */
@keyframes slowSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes slowSpinReverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* Product card entrance animation */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1),
        transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger effect when filtering */
.products-grid .product-card:nth-child(1) {
    transition-delay: 0.05s;
}

.products-grid .product-card:nth-child(2) {
    transition-delay: 0.10s;
}

.products-grid .product-card:nth-child(3) {
    transition-delay: 0.15s;
}

.products-grid .product-card:nth-child(4) {
    transition-delay: 0.20s;
}

.products-grid .product-card:nth-child(5) {
    transition-delay: 0.25s;
}

.products-grid .product-card:nth-child(6) {
    transition-delay: 0.30s;
}

.products-grid .product-card:nth-child(7) {
    transition-delay: 0.35s;
}

.products-grid .product-card:nth-child(8) {
    transition-delay: 0.40s;
}

.products-grid .product-card:nth-child(9) {
    transition-delay: 0.45s;
}

.products-grid .product-card:nth-child(10) {
    transition-delay: 0.50s;
}

.product-card.visible {
    transition-delay: 0s;
}

/* Responsive */
@media (max-width: 768px) {
    .shop-wrapper {
        padding: 1rem;
    }
}

/* ===== DISCORD PURCHASE PANEL ===== */
.discord-purchase-panel {
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.purchase-panel-inner {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(13, 11, 26, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.25);
    backdrop-filter: blur(4px);
    padding: 2.5rem 2rem;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 168, 76, 0.1) inset;
}

.purchase-icon {
    color: var(--gold);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px var(--glow-gold));
}

.purchase-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
    text-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
}

.purchase-desc {
    color: rgba(184, 196, 208, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.purchase-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--silver);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gold-dark);
    color: var(--deep);
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.7rem;
    border: 1px solid var(--gold);
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
}

.btn-purchase-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #4752c4, #7289da);
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    box-shadow: 0 0 20px rgba(114, 137, 218, 0.3);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-purchase-discord:hover {
    box-shadow: 0 0 35px rgba(114, 137, 218, 0.6);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5b66d0, #8393e5);
}

.purchase-note {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--gold-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 640px) {
    .purchase-panel-inner {
        padding: 1.8rem 1.2rem;
    }

    .purchase-title {
        font-size: 1.2rem;
    }

    .purchase-steps {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .btn-purchase-discord {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
    }
}