/* ========================================
   STORE PAGE — ENHANCED STYLES
   ======================================== */


/* ---- Store Banner (store.webp hero) ---- */

.store-banner-section {
    position: relative;
    z-index: 10;
    padding-top: 0;
}

.store-banner-wrapper {
    position: relative;
    width: 100%;
    max-height: 450px;
    overflow: hidden;
}

.store-banner-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    filter: brightness(0.6) saturate(1.2);
    transition: filter 0.6s ease;
}

.store-banner-wrapper:hover .store-banner-img {
    filter: brightness(0.7) saturate(1.25);
}

.store-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(9, 9, 11, 1) 0%,
            rgba(9, 9, 11, 0.7) 15%,
            rgba(9, 9, 11, 0.15) 40%,
            rgba(9, 9, 11, 0.3) 70%,
            rgba(9, 9, 11, 1) 100%);
    z-index: 1;
}

.store-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 2.5rem 2rem 3rem;
}

.store-banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.store-banner-subtitle {
    font-size: 1.15rem;
    color: rgba(250, 250, 250, 0.75);
    max-width: 580px;
    margin: 0 auto;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.store-banner-subtitle strong {
    color: #a78bfa;
}


/* ---- Store Hero (currency area) ---- */

.store-hero {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.store-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 10%, rgba(147, 51, 234, 0.15) 0%, transparent 60%);
    z-index: -1;
}


/* ---- Payment Badge ---- */

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: rgba(34, 197, 94, 0.9);
    margin-top: 1rem;
    font-weight: 500;
}

.payment-badge svg {
    opacity: 0.7;
}

.payment-badge strong {
    font-weight: 700;
    letter-spacing: 0.02em;
}


/* ---- Rank Grid ---- */

.rank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0 8rem;
    max-width: 900px;
    margin: 0 auto;
}


/* ---- Rank Card ---- */

.rank-card {
    position: relative;
    background: rgba(24, 24, 27, 0.5);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 10;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: hidden;
}

/* Shimmer effect overlay */
.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(234, 179, 8, 0.04) 40%,
            rgba(234, 179, 8, 0.08) 50%,
            rgba(234, 179, 8, 0.04) 60%,
            transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.rank-card:hover .card-shimmer {
    animation: shimmer-sweep 1.5s ease-in-out;
}

@keyframes shimmer-sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.rank-card.elite .card-shimmer {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(147, 51, 234, 0.04) 40%,
            rgba(147, 51, 234, 0.08) 50%,
            rgba(147, 51, 234, 0.04) 60%,
            transparent 100%);
}

.rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #eab308;
    opacity: 0.6;
    transition: opacity 0.4s ease, height 0.3s ease;
    border-radius: 0;
}

.rank-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 30px 60px -15px rgba(234, 179, 8, 0.25),
        0 0 20px 0 rgba(234, 179, 8, 0.1) inset;
}

.rank-card:hover::before {
    opacity: 1;
    height: 6px;
    box-shadow: 0 0 20px #eab308;
}


/* ---- Rank Icon Badge ---- */

.rank-icon-badge {
    width: auto;
    height: 56px;
    min-width: 56px;
    padding: 0 1rem;
    border-radius: 12px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.4s ease;
}

.rank-asset-img {
    height: 32px;
    width: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.rank-card:hover .rank-icon-badge {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.3);
}

.rank-icon-badge.elite-badge {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
}

.rank-card.elite:hover .rank-icon-badge {
    box-shadow: 0 0 25px rgba(147, 51, 234, 0.4);
}


/* ---- VIP Card ---- */

.rank-card.vip {
    background: linear-gradient(180deg, rgba(39, 39, 42, 0.7) 0%, rgba(24, 24, 27, 0.9) 100%);
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.rank-card.vip:hover {
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 30px 60px -15px rgba(234, 179, 8, 0.2),
        0 0 30px 0 rgba(234, 179, 8, 0.1) inset;
}

/* ---- Elite Card ---- */

.rank-card.elite {
    background: linear-gradient(180deg, rgba(39, 39, 42, 0.7) 0%, rgba(24, 24, 27, 0.9) 100%);
    border: 1px solid rgba(147, 51, 234, 0.25);
    z-index: 11;
}

.rank-card.elite::before {
    background: linear-gradient(90deg, #9333ea, #c026d3, #9333ea);
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

.rank-card.elite:hover {
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 30px 60px -15px rgba(147, 51, 234, 0.2),
        0 0 30px 0 rgba(147, 51, 234, 0.1) inset;
}

.rank-card.elite:hover::before {
    box-shadow: 0 0 20px #c026d3;
}


/* ---- Rank Header ---- */

.rank-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 2rem;
}

.rank-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.rank-card:hover .rank-header::after {
    width: 100px;
    background: #eab308;
}

.rank-card.elite:hover .rank-header::after {
    background: var(--accent-purple);
}

.rank-name {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.rank-card.vip .rank-name {
    background: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(234, 179, 8, 0.2);
}

.rank-card.elite .rank-name {
    background: linear-gradient(135deg, #e9d5ff 0%, #a855f7 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(168, 85, 247, 0.2);
}

.rank-card.vip::before {
    background: linear-gradient(90deg, #eab308, #f59e0b, #eab308);
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

.rank-card.vip:hover::before {
    box-shadow: 0 0 20px #eab308;
}


/* ---- Price ---- */

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
}

.price-old-inline {
    position: relative;
    opacity: 0.7;
    font-size: 0.75em;
    color: #f87171;
    margin-right: 0.35rem;
}

.price-old-inline::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: 45%;
    height: 3px;
    background: #f87171;
    border-radius: 2px;
}

.price-old-inline .rank-price {
    font-size: 1.6rem;
    text-shadow: none;
    color: #f87171;
}

.price-old-inline .price-currency {
    font-size: 0.85rem;
    color: #f87171;
}

.discount-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(147, 51, 234, 0.35);
    color: #c4b5fd;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 0.15rem;
}

.release-pill {
    display: inline-block;
    margin-top: 1.25rem;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    letter-spacing: 0.01em;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.rank-price {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.rank-duration {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}


/* ---- Features ---- */

.rank-features {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.rank-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.rank-card:hover .rank-features li {
    color: var(--text-primary);
}

.rank-features li:hover {
    transform: translateX(5px);
}

.feature-icon {
    margin-top: 0.2rem;
    color: #eab308;
    font-size: 1.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(234, 179, 8, 0.4));
}

.rank-card.elite .feature-icon {
    color: var(--accent-purple);
    filter: drop-shadow(0 0 5px rgba(147, 51, 234, 0.4));
}


/* ---- Buy Button ---- */

.btn-buy {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 12px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid #eab308;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-buy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 150%;
    height: 150%;
    background: linear-gradient(135deg, #eab308, #d97706);
    border-radius: 50%;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(234, 179, 8, 0.4);
    border-color: transparent;
    color: #09090b;
}

.btn-buy:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-buy:active {
    transform: translateY(0) scale(0.98);
}

.rank-card.elite .btn-buy {
    background: rgba(147, 51, 234, 0.1);
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.rank-card.elite .btn-buy::before {
    background: var(--accent-purple);
}

.rank-card.elite .btn-buy:hover {
    box-shadow: 0 10px 20px -5px rgba(147, 51, 234, 0.4);
    color: white;
}


/* ---- Animations ---- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}


/* ---- Glow Orbs ---- */

.glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 15s infinite ease-in-out alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(147, 51, 234, 0.5);
    top: -100px;
    left: 15%;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: rgba(234, 179, 8, 0.25);
    bottom: -50px;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(56, 189, 248, 0.2);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, -30px) scale(1.05);
    }
}




/* ---- Mobile Comparison Cards ---- */

.mobile-compare {
    display: none;
    /* hidden on desktop */
}

/* ---- Comparison Section ---- */

.table-swipe-hint,
.expand-table-btn,
.rank-swipe-hint {
    display: none;
}

.comparison-section {
    padding: 2rem 0 6rem;
    position: relative;
    z-index: 10;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.table-wrapper {
    background: rgba(24, 24, 27, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2rem;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-table th {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.compare-table td.feature-name {
    font-weight: 500;
    color: var(--text-primary);
    width: 40%;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
    text-align: center;
}

.text-gold {
    color: #eab308;
    font-weight: 700;
}

.text-purple {
    color: var(--accent-purple);
    font-weight: 700;
}

.icon-check {
    color: #22c55e;
    font-weight: bold;
}

.icon-cross {
    color: #ef4444;
    font-weight: bold;
}

.compare-table td small {
    display: block;
    color: var(--text-muted, #71717a);
    font-size: 0.78rem;
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.4;
    white-space: normal;
}


/* ---- Alternative Payment Section ---- */

.alt-payment-section {
    padding: 0 0 4rem;
    position: relative;
    z-index: 10;
}

.alt-payment-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.08) 0%, rgba(24, 24, 27, 0.5) 100%);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s ease;
}

.alt-payment-card:hover {
    border-color: rgba(88, 101, 242, 0.35);
    box-shadow: 0 15px 40px -10px rgba(88, 101, 242, 0.15);
    transform: translateY(-3px);
}

.alt-payment-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 18px;
    background: rgba(88, 101, 242, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7289da;
}

.alt-payment-text {
    flex: 1;
}

.alt-payment-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.alt-payment-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.alt-payment-text strong {
    color: #7289da;
}

.alt-payment-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 12px;
    color: #7289da;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.alt-payment-btn:hover {
    background: rgba(88, 101, 242, 0.25);
    color: #8fa0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.2);
}


/* ---- Donate Section ---- */

.donate-section {
    padding: 2rem 0 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 750px;
    margin: 3rem auto 0;
}

.donate-card {
    background: rgba(24, 24, 27, 0.85);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donate-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.donate-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.03);
}

.bisect-icon {
    color: #5dade2;
    background: rgba(93, 173, 226, 0.1);
}

.kofi-icon {
    color: #ff5e5b;
    background: rgba(255, 94, 91, 0.1);
}

.donate-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.donate-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.donate-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
}

.btn-bisect {
    background: rgba(93, 173, 226, 0.15);
    color: #5dade2;
    border: 1px solid rgba(93, 173, 226, 0.4);
}

.btn-bisect:hover {
    background: rgba(93, 173, 226, 0.3);
}

.btn-kofi {
    background: rgba(255, 94, 91, 0.15);
    color: #ff5e5b;
    border: 1px solid rgba(255, 94, 91, 0.4);
}

.btn-kofi:hover {
    background: rgba(255, 94, 91, 0.3);
}


/* ---- Shake animation (form validation) ---- */

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-4px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(4px);
    }
}

.shake {
    animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}


/* ---- Responsive ---- */

@media (max-width: 992px) {
    .rank-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .section-heading {
        font-size: 2rem;
    }

    .alt-payment-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .alt-payment-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .store-banner-section {
        padding-top: 0;
    }

    .store-banner-img {
        height: 280px;
    }

    .store-banner-wrapper {
        max-height: 280px;
    }

    .store-banner-title {
        font-size: 2.2rem;
    }

    .store-banner-subtitle {
        font-size: 0.95rem;
    }

    .store-hero {
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }

    .rank-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 8vw;
        padding: 0 4vw;
        margin: 0 -1.25rem;
        -webkit-overflow-scrolling: touch;
        max-width: none;
        scrollbar-width: none;
    }

    .rank-grid::-webkit-scrollbar {
        display: none;
    }

    .rank-grid::after {
        display: none;
    }

    .rank-card {
        min-width: 92vw;
        max-width: 92vw;
        width: 92vw;
        scroll-snap-align: center;
        flex-shrink: 0;
        padding: 3rem 1.5rem;
        border-radius: 24px;
        transform: none !important;
    }

    .rank-name {
        font-size: 1.85rem;
    }

    .rank-price {
        font-size: 2.75rem;
    }

    .rank-swipe-hint {
        display: block;
        text-align: center;
        color: var(--text-muted);
        font-size: 0.85rem;
        margin-bottom: 1rem;
        animation: pulse 2s infinite;
    }

    .price-container {
        justify-content: center;
    }

    .table-wrapper {
        padding: 0.5rem;
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1rem;
    }

    .table-swipe-hint {
        display: block;
        text-align: center;
        color: var(--text-muted);
        font-size: 0.85rem;
        margin-bottom: 1rem;
        animation: pulse 2s infinite;
    }

    .table-collapse-wrapper {
        position: relative;
        max-height: 250px;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .table-collapse-wrapper.expanded {
        max-height: 2000px;
        /* large enough to fit content */
    }

    .table-collapse-fade {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, transparent, var(--bg-main));
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .table-collapse-wrapper.expanded .table-collapse-fade {
        opacity: 0;
    }

    .expand-table-btn {
        width: 100%;
        margin-top: 0.5rem;
        display: block;
        position: relative;
        z-index: 10;
        cursor: pointer;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 0.5;
        }

        50% {
            opacity: 1;
        }
    }

    .compare-table th,
    .compare-table td {
        padding: 0.85rem 0.6rem;
        font-size: 0.82rem;
    }

    .compare-table th {
        font-size: 0.9rem;
    }

    .donate-grid {
        grid-template-columns: 1fr;
        gap: 0;
        background: rgba(24, 24, 27, 0.85);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        overflow: hidden;
    }

    .donate-card {
        border-radius: 0;
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        background: transparent;
        border: none;
    }

    .donate-card:last-child {
        border-bottom: none;
    }

    .donate-icon {
        display: none;
    }

    .donate-title {
        margin-bottom: 0.5rem;
        font-size: 1.35rem;
    }

    .donate-text {
        width: 100%;
        margin-top: 0.75rem;
        margin-bottom: 1.25rem;
        font-size: 0.9rem;
    }

    .donate-btn {
        width: 100%;
    }

    .donate-section {
        padding-bottom: 0;
    }

    .alt-payment-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .alt-payment-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    /* Popular badge repositioned for mobile */
    .popular-badge {
        top: 28px;
        right: -55px;
    }
}


/* ===== VERY SMALL SCREENS ===== */
@media (max-width: 400px) {
    .store-banner-title {
        font-size: 1.85rem;
    }

    .rank-price {
        font-size: 2.5rem;
    }

    .btn-buy {
        font-size: 0.95rem;
        padding: 1rem;
    }
}