/* Boutique Page Specific Styles */

/* Navbar active state */
.nav-links a.active {
    color: var(--accent);
    font-weight: 600;
}

/* Boutique Hero */
.boutique-hero {
    padding: 150px 10% 60px;
    text-align: center;
}

.boutique-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.boutique-hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Cards */
.pricing-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0 10% 4rem;
    flex-wrap: wrap;
}

.pricing-card {
    text-align: center;
    padding: 2rem;
    min-width: 200px;
    flex: 1;
    max-width: 280px;
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(109, 40, 217, 0.15));
    transform: scale(1.05);
}

.pricing-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.pricing-card p {
    color: var(--text-muted);
}

.pricing-card .save {
    color: #10b981;
    font-weight: 600;
}

/* Pack Sections */
.pack-section {
    padding: 3rem 10%;
    margin-bottom: 2rem;
}

.pack-section:nth-child(even) {
    background: linear-gradient(180deg, rgba(109, 40, 217, 0.03), transparent);
}

/* Pack Accordions - Grid Layout */
.pack-accordion {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: var(--glass-bg);
    transition: border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.pack-accordion:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.pack-accordion[open] {
    border-color: var(--accent);
    grid-column: 1 / -1;
    /* Expand full width when open */
}

.pack-accordion summary.pack-header-full {
    cursor: pointer;
    list-style: none;
    padding: 1.2rem 1.5rem;
    margin-bottom: 0;
    border-bottom: none;
}

.pack-accordion summary.pack-header-full::-webkit-details-marker {
    display: none;
}

.pack-accordion summary.pack-header-full::after {
    content: "▸";
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform 0.3s;
    margin-left: auto;
    padding-left: 1rem;
}

.pack-accordion[open] summary.pack-header-full::after {
    transform: rotate(90deg);
}

.pack-section-content {
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    animation: accordionOpen 0.3s ease-out;
}

@keyframes accordionOpen {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 5000px;
    }
}

/* Badges Section Container - Grid for Accordions */
.badges-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1rem;
    padding: 0 5%;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .badges-packs-grid {
        grid-template-columns: 1fr;
        padding: 0 3%;
    }
}

.pack-header-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 1rem;
}

.pack-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pack-num {
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pack-title h2 {
    font-size: 1.8rem;
    margin: 0;
}

.pack-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-total {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pack-price-tag {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Pack Description */
.pack-description {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.pack-description p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.color-legend,
.border-legend {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.color-legend li,
.border-legend li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.color-dot.green {
    background: #00ff00;
}

.color-dot.blue {
    background: #0064ff;
}

.color-dot.red {
    background: #ff0000;
}

.border-sample {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #333;
}

.border-sample.none {
    border: none;
}

.border-sample.white {
    border: 3px solid white;
}

.border-sample.gold {
    border: 3px solid gold;
}

/* Badges Grid */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.badges-grid.thematic-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.badge-showcase {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.3s, transform 0.3s;
}

.badge-showcase:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.badge-showcase.emoji {
    text-align: center;
}

.badge-images {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-images img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 4px;
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.badge-info strong {
    font-size: 1.1rem;
}

.badge-info small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Thematic Intro */
.thematic-intro {
    padding: 4rem 10% 2rem;
    text-align: center;
}

.thematic-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.thematic-intro p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.thematic-intro .border-legend {
    justify-content: center;
}

/* Final CTA */
.boutique-cta-section {
    padding: 4rem 10%;
    display: flex;
    justify-content: center;
}

.boutique-cta-section .cta-box {
    max-width: 600px;
    text-align: center;
}

.boutique-cta-section ol {
    text-align: left;
    margin: 1.5rem auto;
    max-width: 400px;
    color: var(--text-muted);
}

.boutique-cta-section li {
    margin-bottom: 0.5rem;
}

.boutique-cta-section code {
    background: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .boutique-hero h1 {
        font-size: 2rem;
    }

    .pricing-info {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pack-header-full {
        flex-direction: column;
        text-align: center;
    }

    .badges-grid {
        grid-template-columns: 1fr;
    }

    .badge-images img {
        width: 40px;
        height: 40px;
    }
}

/* Purchase Buttons */
.btn-buy {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    font-size: 0.9rem;
}

.btn-buy:hover {
    transform: translateY(-2px);
    background: #0891b2;
}

/* HUD Licenses Section */
.hud-licenses {
    padding: 4rem 10%;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(109, 40, 217, 0.05));
    border-radius: 20px;
    margin: 2rem 5%;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.license-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.license-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.license-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(6, 182, 212, 0.1));
}

.license-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.license-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.license-price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1rem 0;
}

.license-features {
    list-style: none;
    margin-bottom: 2rem;
    color: var(--text-muted);
    text-align: left;
}

.license-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.license-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-secondary);
    margin: 8% auto;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.1rem;
}

.payment-btn:hover {
    transform: translateY(-2px);
}

.btn-stripe {
    background: linear-gradient(135deg, #635bff, #7a73ff);
    color: white;
}

.btn-stripe:hover {
    box-shadow: 0 5px 20px rgba(99, 91, 255, 0.4);
}

.btn-paypal {
    background: #0070ba;
    color: white;
}

.btn-paypal:hover {
    box-shadow: 0 5px 20px rgba(0, 112, 186, 0.3);
}

.btn-crypto {
    background: #f7931a;
    color: white;
}

.btn-crypto:hover {
    box-shadow: 0 5px 20px rgba(247, 147, 26, 0.3);
}

.hwid-reminder {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--accent);
    padding: 1.2rem;
    border-radius: 12px;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.hwid-reminder strong {
    color: var(--accent);
}