html {
    scroll-behavior: smooth;
}

/* neutralise shop.css's flex override */
html, body {
    display: block;
}

main {
    flex: unset;
}

/* closed-shop message centering without body flex */
#shop-closed.shop-message {
    display: flex;
    min-height: 60vh;
}

/* ── HERO ─────────────────────────────────────────────────────────────── */

.shop-hero {
    background: linear-gradient(135deg, #1a2c56 0%, #2b4889 55%, #347ed7 100%);
    color: white;
    text-align: center;
    padding: 7rem 1.5rem 5.5rem;
    position: relative;
    overflow: hidden;
}

.shop-hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: white;
}

.hero-shape-1 { width: 400px; height: 400px; top: -120px; left: -80px; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -100px; right: -60px; }
.hero-shape-3 { width: 200px; height: 200px; top: 40%; left: 60%; }

.shop-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.shop-hero-eyebrow {
    display: inline-block;
    font-size: 0.88rem;
    font-family: Gotham_Book, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 1rem;
}

.shop-hero-title {
    font-size: 3rem;
    font-family: Avenir_Black, sans-serif;
    margin: 0 0 1rem;
    line-height: 1.15;
}

.shop-hero-subtitle {
    font-size: 1.1rem;
    font-family: Gotham_Book, sans-serif;
    opacity: 0.85;
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.shop-hero-cta {
    display: inline-block;
    padding: 13px 34px;
    background: white;
    color: #1a2c56;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    font-family: Avenir_Black, sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.shop-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

/* ── FEATURE HIGHLIGHTS ──────────────────────────────────────────────── */

.features-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

@media (max-width: 860px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

.feature-card {
    background: white;
    border-radius: 14px;
    padding: 24px 22px;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-card h3 {
    font-family: Avenir_Black, sans-serif;
    font-size: 1.05rem;
    color: #1a2c56;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card p {
    font-family: Gotham_Book, sans-serif;
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ── SECTION LAYOUT ──────────────────────────────────────────────────── */

.section-title {
    font-size: 2.2rem;
    font-family: Avenir_Black, sans-serif;
    color: #1a2c56;
    text-align: center;
    margin: 0 0 0.6rem;
}

.section-subtitle {
    text-align: center;
    font-family: Gotham_Book, sans-serif;
    font-size: 1rem;
    color: #4b5563;
    margin: 0 0 2rem;
}

.passes-intro {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.passes-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

/* ── COMPARISON TABLE ────────────────────────────────────────────────── */

.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 0 0 0.75rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: white;
}

th, td {
    padding: 13px 16px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

thead th {
    background: #f3f4f6;
    font-family: Avenir_Black, sans-serif;
    color: #1a2c56;
    font-size: 0.92rem;
}

.th-feature {
    text-align: left;
    width: 38%;
}

tbody td:first-child {
    text-align: left;
    font-family: Gotham_Book, sans-serif;
    color: #374151;
    background: #fafafa;
}

td.best, th.best {
    background: linear-gradient(135deg, #7c3aed, #3b82f6, #ec4899) fixed;
    color: white;
}

.cross {
    color: #f87171;
}

.table-note {
    font-size: 0.78rem;
    color: #9ca3af;
    font-family: Gotham_Book, sans-serif;
    text-align: center;
    margin-top: 0.5rem;
}

/* ── PASS CARDS ──────────────────────────────────────────────────────── */

.passes-container {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.passes-error {
    text-align: center;
    color: #6b7280;
    padding: 3rem;
    font-family: Gotham_Book, sans-serif;
    font-size: 1rem;
}

.pass-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 22px 28px;
    width: 430px;
    color: #1a2c56;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.pass-card--best {
    border-color: #a59051;
    box-shadow: 0 6px 28px rgba(165,144,81,0.18);
}

.pass-card--best:hover {
    box-shadow: 0 16px 48px rgba(165,144,81,0.28);
}

/* Badge */
.pass-badge {
    background: linear-gradient(135deg, #a59051, #c8a85e);
    color: white;
    font-size: 0.78rem;
    font-weight: bold;
    padding: 5px 14px;
    border-radius: 20px;
    align-self: center;
    letter-spacing: 0.04em;
    font-family: Avenir_Black, sans-serif;
}

.pass-badge-empty {
    height: 26px;
}

/* Pass image */
.pass-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* Header */
.pass-title {
    font-size: 1.35rem;
    font-family: Avenir_Black, sans-serif;
    color: #1a2c56;
}

.pass-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    font-family: Gotham_Book, sans-serif;
    margin-top: 4px;
}

/* Duration tabs */
.duration-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.duration-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 0;
    border-radius: 6px;
    cursor: pointer;
    font-family: Gotham_Book, sans-serif;
    transition: background 0.2s, color 0.2s;
}

.duration-tab.active {
    background: white;
    color: #1a2c56;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.pass-card--best .duration-tab.active {
    background: linear-gradient(135deg, #a59051, #c8a85e);
    color: white;
    box-shadow: none;
}

/* Price block */
.price-block {
    background: #f8f9fc;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pass-card--best .price-block {
    background: #fdf8ee;
    border: 1px solid rgba(165,144,81,0.2);
}

.price-total {
    font-size: 2.1rem;
    font-weight: bold;
    line-height: 1;
    font-family: Avenir_Black, sans-serif;
    color: #1a2c56;
}

.price-per-month {
    font-size: 0.82rem;
    color: #6b7280;
    font-family: Gotham_Book, sans-serif;
}

.price-old {
    font-size: 0.82rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-family: Gotham_Book, sans-serif;
}

.price-savings {
    font-size: 0.82rem;
    color: #16a34a;
    font-weight: 600;
    font-family: Gotham_Book, sans-serif;
}

/* Perks */
.pass-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pass-perks li {
    font-size: 0.88rem;
    color: #374151;
    display: flex;
    align-items: baseline;
    gap: 9px;
    line-height: 1.4;
    font-family: Gotham_Book, sans-serif;
}

.perk-check {
    color: #347ed7;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pass-card--best .perk-check {
    color: #a59051;
}

/* Perks show more/less */
.perks-toggle {
    background: none;
    border: none;
    padding: 4px 0;
    font-size: 0.82rem;
    color: #347ed7;
    cursor: pointer;
    font-family: Gotham_Book, sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    margin-top: -4px;
}

.perks-toggle:hover {
    color: #1a2c56;
}

.pass-card--best .perks-toggle {
    color: #a59051;
}

.pass-card--best .perks-toggle:hover {
    color: #7a6c3c;
}

.perks-arrow {
    font-size: 0.78rem;
    line-height: 1;
}

/* Buy button */
.buy-btn {
    margin-top: 6px;
    padding: 13px;
    border: 2px solid #1a2c56;
    border-radius: 9px;
    background: transparent;
    color: #1a2c56;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    font-family: Avenir_Black, sans-serif;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.buy-btn:hover {
    background: #1a2c56;
    color: white;
    transform: translateY(-1px);
}

.pass-card--best .buy-btn {
    background: linear-gradient(135deg, #a59051, #c8a85e);
    border-color: transparent;
    color: white;
}

.pass-card--best .buy-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ── DISCORD CTA ─────────────────────────────────────────────────────── */

.discord-cta-section {
    margin: 2rem 1.5rem 1rem;
}

.discord-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a2c56 0%, #2b4889 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.discord-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.discord-cta-inner h2 {
    font-family: Avenir_Black, sans-serif;
    font-size: 1.8rem;
    margin: 0 0 0.75rem;
    color: white;
}

.discord-cta-inner p {
    font-family: Gotham_Book, sans-serif;
    font-size: 1rem;
    opacity: 0.85;
    margin: 0 0 1.75rem;
    line-height: 1.6;
}

.discord-cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: white;
    color: #1a2c56;
    border-radius: 10px;
    font-family: Avenir_Black, sans-serif;
    font-size: 0.97rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.discord-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}

/* ── FAQ (matches about-page style exactly) ──────────────────────────── */

.shop-faq {
    max-width: 1000px;
    padding: 1rem 2rem 2rem;
    margin: 1rem auto 0;
}

.shop-faq h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a2c56;
}

.shop-faq .faq-item {
    border-bottom: 2px solid #ddd;
    padding: 1rem 0;
}

.shop-faq .faq-question {
    display: flex;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.3rem;
    color: #2c2c43;
    transition: color 0.3s ease;
}

.shop-faq .faq-question:hover {
    color: #0f59aa;
}

.shop-faq .arrow-icon {
    transition: transform 0.3s ease;
}

.shop-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    line-height: 1.6;
    color: #444;
    margin-top: 0.5rem;
}

.shop-faq .faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.shop-faq .faq-item.active .arrow-icon {
    transform: rotate(180deg);
}

.shop-faq .faq-answer a {
    color: rgb(15, 89, 170);
    font-weight: bold;
    display: inline-block;
    text-decoration: underline;
    transition: color 0.3s;
}

.shop-faq .faq-answer a:hover {
    color: rgb(2, 48, 97);
}

.shop-faq .faq-answer strong {
    color: rgb(13, 65, 120);
}

/* ── CHECKOUT MODAL EXTRAS ───────────────────────────────────────────── */

.modal-summary {
    background: #f6f8ff;
    border: 1.5px solid #dde5f5;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.modal-summary-pass {
    font-size: 1.05rem;
    font-weight: bold;
    color: #1a2c56;
    font-family: Avenir_Black, sans-serif;
}

.modal-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #4b5563;
    font-family: Gotham_Book, sans-serif;
}

.modal-summary-total {
    border-top: 1px solid #dde5f5;
    padding-top: 7px;
    margin-top: 2px;
    color: #1a2c56;
    font-weight: bold;
}

.modal-recipient {
    margin-bottom: 1rem;
}

.modal-recipient-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    font-family: Gotham_Book, sans-serif;
    margin: 0 0 8px;
}

.modal-recipient-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: Gotham_Book, sans-serif;
    color: #374151;
    transition: border-color 0.2s, background 0.2s;
}

.modal-radio-label:has(input:checked) {
    border-color: #347ed7;
    background: #f0f7ff;
}

.modal-radio-label input[type="radio"] {
    accent-color: #347ed7;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.modal-login-hint {
    font-size: 0.88rem;
    color: #6b7280;
    font-family: Gotham_Book, sans-serif;
    margin: 0 0 1rem;
}

.modal-login-hint a {
    color: #347ed7;
    font-weight: 600;
}

/* MC username validation icon */
.mc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.mc-input-wrapper .modal-input {
    padding-right: 38px;
    width: 100%;
    box-sizing: border-box;
}

.mc-val-icon {
    position: absolute;
    right: 12px;
    font-size: 0.88rem;
    pointer-events: none;
    line-height: 1;
}

.mc-val-icon.mc-valid       { color: #16a34a; }
.mc-val-icon.mc-invalid     { color: #dc2626; }
.mc-val-icon.mc-unavailable { color: #9ca3af; }

.mc-val-icon.mc-loading::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid #d1d5db;
    border-top-color: #347ed7;
    border-radius: 50%;
    animation: mc-spin 0.65s linear infinite;
    vertical-align: middle;
}

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

/* Active pass notice */
.modal-notice {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-family: Gotham_Book, sans-serif;
    line-height: 1.55;
    margin-bottom: 10px;
}

.modal-notice--warn {
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    color: #9a3412;
}

.modal-notice--info {
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #1e40af;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */

@media (max-width: 800px) {
    .shop-hero-title { font-size: 2.2rem; }
    .shop-hero { padding: 5.5rem 1.25rem 3.5rem; }
    .pass-card { width: 90%; max-width: 420px; }
    .discord-cta-inner { padding: 2.5rem 1.5rem; }
    .discord-cta-inner h2 { font-size: 1.5rem; }
}

@media (max-width: 500px) {
    .modal { padding: 1.5rem 1.25rem 1.25rem; }
    .shop-faq { padding: 2rem 1rem 1rem; }
}
