/* ── Reset / base ── */
* { box-sizing: border-box; }

/* ── Two-column layout ── */
.edition-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 900px) {
    .edition-layout {
        grid-template-columns: 3fr 2fr;
        gap: 2rem;
        align-items: start;
    }
}

/* ── Inner card grid (Community + Premium side by side) ── */
.cards-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .cards-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* ── Pricing card base ── */
.pricing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.25s;
}
.pricing-card:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.pricing-header {
    padding: 1.5rem 1.5rem 1rem;
}
.pricing-body {
    padding: 0 1.5rem 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.875rem;
    color: #374151;
    border-bottom: 1px solid #f9fafb;
}
.feature-item:last-child { border-bottom: none; }
.feature-item .check { color: #16a34a; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
.feature-item .cross-red { color: #dc2626; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
.feature-item .cross-muted { color: #d1d5db; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }

/* ── "We Hate Premium" stamp ── */
.stamp-container {
    position: relative;
    display: inline-block;
}
.hate-stamp {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 10;
    background: #dc2626;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 9999px;
    transform: rotate(12deg);
    box-shadow: 0 2px 8px rgba(220,38,38,0.35);
    white-space: nowrap;
}
.love-stamp {
    position: absolute;
    top: -12px;
    left: -12px;
    z-index: 10;
    background: #059669;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 9999px;
    transform: rotate(-8deg);
    box-shadow: 0 2px 8px rgba(5,150,105,0.35);
    white-space: nowrap;
}
.hate-stamp-line {
    position: absolute;
    top: 50%;
    left: -4%;
    right: -4%;
    height: 3px;
    background: #dc2626;
    z-index: 5;
    transform: rotate(-8deg);
    opacity: 0.35;
    border-radius: 9999px;
}

/* ── Flagship "bad" card ── */
.flagship-bad {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fef2f2 0%, #fff 40%);
}
.flagship-bad:hover {
    border-color: #ef4444;
    box-shadow: 0 12px 36px rgba(239,68,68,0.1);
}

/* ── Payment card ── */
.payment-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
}
.payment-card .blur-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0 0 20px 20px;
    pointer-events: none;
}
.payment-card .blur-overlay .coming-soon-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 4px 16px rgba(5,150,105,0.3);
    pointer-events: none;
}
.blur-content {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}
.payment-header {
    background: linear-gradient(135deg, #059669, #10b981);
    padding: 1.25rem 1.5rem;
    text-align: center;
}
.payment-header .wallet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.amount-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 60px;
}
.amount-chip:hover {
    border-color: #059669;
    color: #059669;
    box-shadow: 0 2px 8px rgba(5,150,105,0.15);
}
.amount-chip.custom-chip {
    border-style: dashed;
    color: #6b7280;
}
.amount-chip.custom-chip:hover {
    border-color: #059669;
}

.amount-chip.selected , .custom-chip.selected{
    border-color: #059669;
    background: #059669;
    color: #fff;
}
.contribute-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.contribute-btn:hover {
    box-shadow: 0 6px 20px rgba(5,150,105,0.3);
    transform: translateY(-2px);
}
.contribute-btn:active {
    transform: translateY(0);
}

/* ── Contribution log ── */
.log-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.8rem;
}
.log-entry:last-child { border-bottom: none; }
.log-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.log-dot.green { background: #10b981; }
.log-dot.amber { background: #f59e0b; }
.log-dot.blue { background: #3b82f6; }

/* ── Gift ticket (cinema stub) ── */
.gift-ticket {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 2px dashed #a7f3d0;
    border-radius: 14px;
    padding: 14px 18px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}
.gift-ticket::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.gift-ticket::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.ticket-icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #059669, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(5,150,105,0.25);
}
.ticket-body { flex: 1; min-width: 0; }
.ticket-body h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #065f46;
    letter-spacing: 0.02em;
}
.ticket-body p {
    font-size: 0.65rem;
    color: #6b7280;
    margin-top: 1px;
}
.ticket-divider {
    width: 0;
    height: 40px;
    border-left: 2px dashed #a7f3d0;
    flex-shrink: 0;
}
.ticket-stub {
    flex-shrink: 0;
    text-align: center;
    padding-left: 4px;
}
/* Hide number input spinners (up/down arrows) */
.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.no-spinner {
    -moz-appearance: textfield;
}
.ticket-stub .stub-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.35rem;
    font-weight: 900;
    color: #059669;
    letter-spacing: 0.08em;
    line-height: 1.1;
    padding: 2px 0;
}
.ticket-stub .stub-label {
    font-size: 0.5rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Form inputs ── */
.ticket-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ticket-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
    background: #fff;
}
.ticket-input::placeholder {
    color: #9ca3af;
}

/* ── Sidebar card shadow ── */
.sidebar-card {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}

/* ── Seamless logo fade-in ── */
.seamless-logo { opacity: 0.7; transition: opacity 0.3s; }
.seamless-logo:hover { opacity: 1; }