/* ==========================================================================
   Pages — Page-specific styles extracted from PHP view files
   Covers: account, auth, cart, chat, dashboard, errors, home,
   order, payment, product detail, products, status, support
   ========================================================================== */

/* ==========================================================================
   Account Page
   ========================================================================== */

.acc {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

/* ── Profile banner ─────────────────────────────────────────────────────── */

.acc__profile {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
}

.acc__avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.acc__avatar i {
    font-size: 1.4rem;
    color: #000;
}

.acc__info {
    flex: 1;
    min-width: 0;
}

.acc__name {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px;
    line-height: 1.2;
}

.acc__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.acc__role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 140, 0, 0.12);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.acc__detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.acc__detail i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.acc__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.acc .acc__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
}

.acc .acc__btn--primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.2);
}

.acc .acc__btn--primary:hover {
    background: #ffa533;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
}

.acc .acc__btn--danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.acc .acc__btn--danger:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

.acc .acc__btn--sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* ── Section cards ──────────────────────────────────────────────────────── */

.acc__section {
    background: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 16px;
}

.acc__section-head {
    margin-bottom: 20px;
}

.acc__section-head h2 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.acc__section-head h2 i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* ── Empty states ───────────────────────────────────────────────────────── */

.acc__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 16px;
    color: var(--text-secondary);
    text-align: center;
}

.acc__empty i {
    font-size: 2rem;
    opacity: 0.3;
}

.acc__empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* ── Subscriptions ──────────────────────────────────────────────────────── */

.acc__subs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acc__sub {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 20px;
}

.acc__sub-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.acc__sub-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.acc__sub-name i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.acc__sub-status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.acc__sub-status--active {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.acc__sub-status--paused {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.acc__sub-exp {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.acc__sub-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.acc__sub-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.acc__sub-date {
    opacity: 0.6;
    margin-left: 4px;
}

.acc__sub-expired {
    color: #ef4444;
}

.acc__sub-alert {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(249, 115, 22, 0.06);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: 10px;
    font-size: 0.82rem;
    color: #f97316;
    line-height: 1.5;
}

.acc__sub-alert i {
    font-size: 1.1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.acc__sub-resume,
.acc__sub-note {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ── Redeem code ────────────────────────────────────────────────────────── */

.acc__redeem {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s;
}

.acc__redeem:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.08);
}

.acc__input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    outline: none;
}

.acc__input::placeholder {
    color: var(--text-secondary);
    opacity: 0.4;
}

.acc__redeem .acc__btn {
    border-radius: 0;
    padding: 12px 24px;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Groups ─────────────────────────────────────────────────────────────── */

.acc__groups {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.acc__group {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.acc__group-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid;
    white-space: nowrap;
    flex-shrink: 0;
}

.acc__group-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0 0 6px;
}

.acc__group-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.acc__group-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.acc__group-meta i {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* ── Transaction table ──────────────────────────────────────────────────── */

.acc__table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.acc__table {
    width: 100%;
    border-collapse: collapse;
}

.acc__table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.acc__table tbody td {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.acc__table tbody tr:last-child td {
    border-bottom: none;
}

.acc__table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.acc__table-date {
    color: var(--text-secondary) !important;
    font-family: var(--font-main);
    font-feature-settings: "tnum" 1;
    white-space: nowrap;
}

.acc__table-product {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.acc__table-amount {
    font-weight: 600;
    font-family: var(--font-main);
    font-feature-settings: "tnum" 1;
}

.acc__status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.acc__status--confirmed {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.acc__status--pending {
    background: rgba(255, 193, 7, 0.15);
    color: #fbbf24;
}

.acc__status--failed {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .acc {
        padding: 20px 16px 60px;
    }

    .acc__profile {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 16px;
    }

    .acc__actions {
        width: 100%;
    }

    .acc__actions .acc__btn {
        flex: 1;
        justify-content: center;
    }

    .acc__meta {
        gap: 8px;
    }

    .acc__section {
        padding: 20px;
    }

    .acc__redeem {
        flex-direction: column;
        background: transparent;
        border: none;
        border-radius: 0;
        overflow: visible;
        gap: 10px;
    }

    .acc__redeem:focus-within {
        box-shadow: none;
    }

    .acc__input {
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.03);
    }

    .acc__redeem .acc__btn {
        width: 100%;
        justify-content: center;
        border-radius: 10px;
        border-left: none;
    }

    .acc__group {
        flex-direction: column;
        align-items: flex-start;
    }

    .acc__group-meta {
        gap: 8px;
    }

    .acc__table thead th,
    .acc__table tbody td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .acc__name {
        font-size: 1.25rem;
    }

    .acc__detail:last-child {
        display: none;
    }

    .acc__sub-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Restricted page — scoped layout */
.restricted-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    padding: var(--spacing);
}

.restricted-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.restricted-card {
            background: var(--card-color);
            border-radius: var(--border-radius);
            padding: calc(var(--spacing) * 1.5);
            text-align: center;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
        }

.status-icon {
            font-size: 48px;
            margin-bottom: var(--spacing);
            display: inline-block;
            padding: var(--spacing);
            border-radius: 50%;
            color: var(--text-color);
        }

.status-icon.banned {
            background: rgba(255, 68, 68, 0.1);
            color: var(--error-color);
        }

.status-icon.suspended {
            background: rgba(255, 193, 7, 0.1);
            color: var(--warning-color);
        }

.status-icon.locked {
            background: rgba(152, 249, 118, 0.1);
            color: var(--success-color);
        }

.status-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: calc(var(--spacing) * 0.5);
        }

.status-title.banned {
            color: var(--error-color);
        }

.status-title.suspended {
            color: var(--warning-color);
        }

.status-title.locked {
            color: var(--success-color);
        }

.status-message {
            color: var(--text-secondary);
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: var(--spacing);
        }

.support-info {
            background: var(--background-color);
            border-radius: var(--border-radius);
            padding: var(--spacing);
            margin: var(--spacing) 0;
            color: var(--text-secondary);
        }

.support-email {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: calc(var(--spacing) * 0.5);
            transition: var(--transition);
        }

.support-email:hover {
            color: var(--primary-light);
            transform: translateY(-2px);
        }

.logout-button {
            background: #ff4444;
            color: var(--text-color);
            border: none;
            padding: 14px 24px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            width: auto;
            min-width: 140px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none;
            margin: var(--spacing) auto 0;
        }

.logout-button:hover {
            background: #ff5555;
        }

.logout-button i {
            font-size: 14px;
        }

@media (max-width: 768px) {
            

            .restricted-card {
                padding: var(--spacing);
            }

            .status-icon {
                font-size: 36px;
                padding: calc(var(--spacing) * 0.75);
            }

            .status-title {
                font-size: 20px;
            }

            .status-message {
                font-size: 14px;
            }
        }

.auth-container {
    max-width: 480px;
    margin: 40px auto;
    padding: 0 20px;
}

.auth-box {
    background: var(--card-color);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.auth-box h1 {
    margin: 0 0 25px;
    color: var(--text-color);
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--text-secondary);
    border-radius: var(--border-radius);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-size: 16px;
    transition: border-color var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.auth-button {
    background: var(--primary-color);
    color: black;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.auth-button i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.auth-button:hover i {
    transform: translateX(4px);
}

.auth-links {
    margin-top: 25px;
    text-align: center;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.error-message {
    background: rgba(var(--error-rgb), 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.success-message {
    background: rgba(var(--success-rgb), 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.error-message p, .success-message p {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message p::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.success-message p::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.auth-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-message.error {
    background: var(--error-bg-color, rgba(220, 53, 69, 0.1));
    color: var(--error-text-color, #e74c3c);
    border: 1px solid var(--error-border-color, rgba(220, 53, 69, 0.2));
}

.auth-message.success {
    background: var(--success-bg-color, rgba(40, 167, 69, 0.1));
    color: var(--success-text-color, #2ecc71);
    border: 1px solid var(--success-border-color, rgba(40, 167, 69, 0.2));
}

.auth-message i {
    font-size: 18px;
}

@media (max-width: 480px) {
    .auth-box {
        padding: 30px;
        border-radius: 12px;
    }

    .auth-box h1 {
        font-size: 1.8rem;
    }

    .input-wrapper input {
        padding: 12px 40px 12px 16px;
        font-size: 0.95rem;
    }

    .auth-button {
        padding: 12px;
    }
}

.error-message p {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message p + p {
    margin-top: 8px;
}

.checkout-container {
    max-width: 1200px;
    margin: 100px auto 20px;
    padding: 0 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.checkout-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(220, 53, 69, 0.2);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.order-summary, .payment-section {
    background: var(--card-color);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.order-summary h2, .payment-section h2 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-summary h2 i, .payment-section h2 i {
    color: var(--primary-color);
}

.order-items {
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.item-details h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.item-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.item-price {
    text-align: right;
}

.price-usd {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}

.price-sats {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.order-totals {
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 1rem;
}

.total-row.total {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 10px;
}

.total-row.btc-total {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.payment-info {
    margin-bottom: 30px;
}

.payment-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.payment-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.checkout-form {
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-checkout {
    background: var(--primary-color);
    color: black;
}

.btn-checkout:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.back-to-cart {
    text-align: center;
}

@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-header h1 {
        font-size: 2rem;
    }
    
    .order-summary, .payment-section {
        padding: 20px;
    }
}

.notification-container {
        max-width: 1200px;
        margin: 100px auto 20px; /* Increased top margin to account for fixed header */
        padding: 0 20px;
        position: relative;
        z-index: 100;
    }

.notification {
        padding: 15px 20px;
        margin-bottom: 15px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        animation: slideIn 0.3s ease-out;
    }

@keyframes slideIn {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

.notification.success {
        background: var(--success-bg-color, rgba(40, 167, 69, 0.1));
        color: var(--success-text-color, #2ecc71);
        border: 1px solid var(--success-border-color, rgba(40, 167, 69, 0.2));
    }

.notification.error {
        background: var(--error-bg-color, rgba(220, 53, 69, 0.1));
        color: var(--error-text-color, #e74c3c);
        border: 1px solid var(--error-border-color, rgba(220, 53, 69, 0.2));
    }

.notification i {
        font-size: 18px;
    }

.notification-content {
        flex: 1;
    }

.notification-close {
        cursor: pointer;
        padding: 5px;
        margin: -5px;
        opacity: 0.7;
        transition: opacity 0.2s;
    }

.notification-close:hover {
        opacity: 1;
    }

@keyframes fadeOut {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(-20px);
            opacity: 0;
        }
    }

.cart-page {
    background: var(--background-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.cart-item {
    background: var(--card-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.item-info {
    flex: 1;
}

.item-name {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.item-duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.item-price {
    text-align: right;
    min-width: 120px;
}

.price-usd {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
}

.price-btc {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    background: var(--primary-color);
    border: none;
    color: black;
    padding: 6px 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--primary-light);
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    padding: 6px;
}

/* Hide arrows in Chrome, Safari, Edge, Opera */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide arrows in Firefox */
.quantity-input[type=number] {
    -moz-appearance: textfield;
}

/* Custom button styling */
.btn {
    background: var(--primary-color);
    color: black;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.coupon-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.coupon-form input {
    flex: 1;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 0.95rem;
}

.coupon-form input::placeholder {
    color: var(--text-secondary);
}

.coupon-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.coupon-form .btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Update remove button to match theme */
.btn-remove {
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-remove:hover {
    background: #ff4444;
    transform: translateY(-1px);
}

.cart-summary {
    background: var(--card-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.totals {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-secondary);
    align-items: center;
}

.total-row.discount {
    color: #e74c3c;
    display: flex;
    align-items: center;
}

.total-row.discount span:nth-child(2) {
    margin-left: auto;
    margin-right: 10px;
}

.total-row.discount .btn-remove {
    background: transparent;
    color: #e74c3c;
    padding: 4px 8px;
    font-size: 0.9rem;
}

.total-row.discount .btn-remove:hover {
    background: rgba(231, 76, 60, 0.1);
}

.total-row.total {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.total-row.btc-total {
    color: var(--primary-color);
}

.btn-checkout {
    width: 100%;
    background: var(--primary-color);
    color: black;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.btn-checkout:hover {
    background: var(--primary-light);
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
}

.empty-cart i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.empty-cart p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.empty-cart .btn {
    background: var(--primary-color);
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
}

.chat-container {
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.chat-header {
    text-align: center;
    margin-bottom: 30px;
}

.chat-header h1 {
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
}

.chat-header p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 16px;
}

.chat-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    align-items: start;
}

/* Enhanced BTC Widget */
.btc-widget {
    position: sticky;
    top: 120px;
}

.btc-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btc-card h2 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btc-card h2 i {
    font-size: 1.8rem;
    color: #f7931a;
}

.price-value {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
    line-height: 1.2;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chart Container */
.btc-chart-container {
    margin: 15px 0;
    height: 100px;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 10px;
}

#btcChart {
    width: 100% !important;
    height: 100% !important;
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-secondary);
    font-size: 12px;
    gap: 8px;
    z-index: 10;
}

.chart-loading.hidden {
    display: none;
}

/* Timeframe Tabs */
.timeframe-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.timeframe-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.timeframe-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.timeframe-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Percentage Changes */
.percentage-changes {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.change-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.change-label {
    color: #999;
    font-size: 0.7rem;
    font-weight: 500;
}

.change-value {
    font-size: 0.9rem;
    font-weight: bold;
}

.change-value.positive {
    color: #28a745;
}

.change-value.negative {
    color: #dc3545;
}

/* Chat Section */
.chat-section {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 600px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    max-width: 80%;
    display: inline-block;
    align-self: flex-start;
}

.message:hover {
    background: rgba(255, 255, 255, 0.08);
}

.message.own-message {
    background: rgba(255, 140, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.3);
    align-self: flex-end;
    max-width: 80%;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.username {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.username.admin {
    color: var(--primary-color);
}

.username.vendor {
    color: var(--warning-color);
}

.username i {
    font-size: 12px;
}

.timestamp {
    color: var(--text-secondary);
    font-size: 12px;
    font-family: monospace;
    white-space: nowrap;
}

.message-content {
    color: var(--text-primary);
    line-height: 1.4;
    word-wrap: break-word;
    font-size: 14px;
}

.chat-form {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

.input-group button {
    padding: 12px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.input-group button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.input-group button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.char-counter {
    text-align: right;
    color: var(--text-secondary);
    font-size: 12px;
    font-family: monospace;
}

.empty-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.empty-chat i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-chat h3 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
}

.empty-chat p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .btc-widget {
        position: static;
        order: 2;
    }
    
    .chat-section {
        height: 500px;
        order: 1;
    }
    
    .chat-container {
        margin: 80px auto 20px;
        padding: 0 16px;
    }
    
    .percentage-changes {
        flex-direction: column;
        gap: 10px;
    }
    
    .change-item {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Scrollbar styling */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-wrapper {
    margin: 100px auto;
    padding: 0 20px 80px;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.dashboard-title h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}

.dashboard-title p {
    margin: 8px 0 0;
    color: #cccccc;
    font-size: 16px;
}

.dashboard-actions {
    display: flex;
    align-items: center;
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.dashboard-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.dashboard-messages {
    margin-bottom: 24px;
}

.dashboard-empty {
    margin: 60px auto;
    max-width: 520px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 32px;
}

.dashboard-empty i {
    font-size: 48px;
    color: #ff8c00;
    margin-bottom: 16px;
}

.dashboard-empty h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.module-summary-card,
.subscription-modules {
    background: rgba(43, 43, 43, 0.95);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.module-summary-card header,
.subscription-modules header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.module-summary-card header h2,
.subscription-modules header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-summary-card header h2 i,
.subscription-modules header h2 i {
    color: #ff8c00;
}

.module-summary-card header p,
.subscription-modules header p {
    margin: 0;
    color: #bbbbbb;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.module-tile {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.module-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.module-tile.active::after {
    border-color: rgba(34, 197, 94, 0.32);
}

.module-tile.inactive::after {
    border-color: rgba(249, 115, 22, 0.28);
}

.module-tile-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.module-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.module-icon-placeholder {
    background: rgba(255, 140, 0, 0.18);
    border-color: rgba(255, 140, 0, 0.35);
    color: #ff8c00;
    font-size: 20px;
}

.module-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #dddddd;
}

.module-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.module-status-active {
    color: #22c55e;
}

.module-status-inactive {
    color: #f97316;
}

.visit-store-btn {
    border: none;
    background: linear-gradient(135deg, #ffb347, #ff8c00);
    color: #1c1c1c;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(255, 140, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.visit-store-btn:hover,
.visit-store-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255, 140, 0, 0.45);
    outline: none;
}

.visit-store-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.module-products {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #bbbbbb;
}

.module-products span:first-child {
    font-weight: 600;
    color: #ffffff;
}

.module-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #bbbbbb;
    margin-top: 4px;
}

.module-groups span:first-child {
    font-weight: 600;
    color: #ffffff;
}

.product-chip {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
}

.group-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

.subscription-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.subscription-card {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.subscription-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.subscription-card-header h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
}

.subscription-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subscription-status-active {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.16);
}

.subscription-status-paused {
    color: #f97316;
    background: rgba(249, 115, 22, 0.16);
}

.subscription-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 13px;
    color: #bbbbbb;
}

.subscription-meta i {
    margin-right: 6px;
}

.days-remaining {
    font-weight: 600;
    color: #ffb347;
}

.subscription-empty {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #dddddd;
}

.subscription-module-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subscription-module-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.subscription-module-item.active {
    border-color: rgba(34, 197, 94, 0.25);
}

.subscription-module-item.inactive {
    border-color: rgba(249, 115, 22, 0.25);
}

.module-details h4 {
    margin: 0 0 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-details p {
    margin: 0;
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
}

.module-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-size: 13px;
}

.module-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.module-status-badge.module-status-active {
    background: rgba(34, 197, 94, 0.16);
}

.module-status-badge.module-status-inactive {
    background: rgba(249, 115, 22, 0.16);
}

.group-modules-section {
    background: rgba(43, 43, 43, 0.95);
    border-radius: 18px;
    padding: 28px;
    margin-top: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.group-modules-section header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.group-modules-section header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.group-modules-section header h2 i {
    color: #ff8c00;
}

.group-module-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.group-card {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.group-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-left: 4px solid #ff8c00;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.group-card-title {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.group-card-title h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.group-description-text {
    margin: 6px 0 0;
    font-size: 14px;
    color: #bbbbbb;
}

.group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 20px;
}

.group-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 13px;
    color: #bbbbbb;
}

.group-card-meta span i {
    margin-right: 6px;
}

.group-module-list {
    list-style: none;
    margin: 0;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.group-module-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.group-module-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.group-module-item.active::before {
    border-color: rgba(34, 197, 94, 0.28);
}

.group-module-item.inactive::before {
    border-color: rgba(249, 115, 22, 0.26);
}

.group-module-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.module-inline-logo {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 8px;
}

.group-module-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.group-module-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.group-module-icon-placeholder {
    background: rgba(255, 140, 0, 0.18);
    border-color: rgba(255, 140, 0, 0.35);
    color: #ffb347;
    font-size: 18px;
}

.group-module-text h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.group-module-text p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #cfcfcf;
    line-height: 1.6;
}

.group-module-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.group-module-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.group-module-badge i {
    font-size: 13px;
}

.group-module-badge.status-active {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
}

.group-module-badge.status-inactive {
    background: rgba(249, 115, 22, 0.18);
    color: #f97316;
}

@media (max-width: 992px) {
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-actions {
        justify-content: flex-start;
    }

    .subscription-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .subscription-meta {
        align-items: flex-start;
    }

    .subscription-module-item {
        flex-direction: column;
    }

    .module-tags {
        align-items: flex-start;
    }

    .group-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .group-card-meta {
        align-items: flex-start;
    }

    .group-module-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .group-module-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .dashboard-wrapper {
        margin: 80px auto 40px;
        padding: 0 16px 60px;
    }

    .module-summary-card,
    .subscription-modules {
        padding: 20px;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .group-module-list {
        padding: 16px 18px;
    }

    .group-module-item {
        padding: 16px;
    }
}

/* Error page — scoped to .error-container */

.error-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-content {
    text-align: center;
    max-width: 600px;
    background: var(--bg-card);
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.error-content h1 {
    font-size: 72px;
    color: var(--primary-color);
    margin: 0 0 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.error-content h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin: 0 0 20px;
    font-weight: 600;
}

.error-content p {
    color: var(--text-secondary);
    font-size: 18px;
    margin: 0 0 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.primary-btn {
    background: var(--primary-color);
    color: black;
}

.primary-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-container {
        min-height: calc(100vh - 160px);
        padding: 20px;
    }

    .error-content {
        padding: 40px 20px;
    }

    .error-content h1 {
        font-size: 56px;
    }

    .error-content h2 {
        font-size: 24px;
    }

    .error-content p {
        font-size: 16px;
    }

    .error-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

.error-icon {
    font-size: 64px;
    color: #ff6b6b;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.error-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-card {
    background: var(--card-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.error-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.error-title {
    color: var(--text-color);
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.error-code {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0 0 1.5rem;
}

.error-description {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.error-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: black;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.error-action:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-container {
        padding: 1rem;
    }

    .error-card {
        padding: 2rem;
    }

    .error-icon {
        font-size: 3rem;
    }

    .error-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Home Page
   ========================================================================== */

.home {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 60px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.home__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 36px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.02) 60%, rgba(30, 30, 30, 0.6) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 0, 0.12);
}

.home__hero-text {
    flex: 1;
    min-width: 0;
}

.home__heading {
    font-family: var(--font-main);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.home__heading span {
    color: var(--primary-color);
}

.home__tagline {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0 0 16px;
    line-height: 1.5;
}

.home__donate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffd700;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home__donate:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

/* ── BTC Ticker ─────────────────────────────────────────────────────────── */

.home__ticker {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.home__ticker-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(247, 147, 26, 0.12);
    color: #f7931a;
    font-size: 1.3rem;
}

.home__ticker-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home__ticker-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home__ticker-price {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.home__ticker-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.home__ticker-change .change-value {
    color: var(--text-secondary);
}

.home__ticker-change .change-value.positive {
    color: var(--success-color);
}

.home__ticker-change .change-value.negative {
    color: #ef4444;
}

/* ── Section label ──────────────────────────────────────────────────────── */

.home__section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding-left: 2px;
}

.home__section-label i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* ── Sats in card footer ────────────────────────────────────────────────── */

.product-card__sats {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.product-card__sats .price-sats {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-card__sats .price-sats i {
    font-size: 0.75rem;
}

/* ── Home responsive ────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .home {
        padding: 20px 16px 48px;
    }

    .home__hero {
        flex-direction: column;
        padding: 28px 24px;
        gap: 24px;
        margin-bottom: 28px;
    }

    .home__heading {
        font-size: 1.7rem;
    }

    .home__tagline {
        font-size: 0.95rem;
    }

    .home__ticker {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .home__heading {
        font-size: 1.4rem;
    }

    .home__hero {
        padding: 24px 20px;
    }

    .home__ticker {
        padding: 16px 18px;
    }

    .home__ticker-price {
        font-size: 1.25rem;
    }
}

/* Legacy home support (pages/home.php) */
.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.products-container {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Product styling */
    .product-box {
        background: #2a2a2a;
        border-radius: 8px;
        padding: 20px;
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s, box-shadow 0.2s;
    }

.product-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    }

.product-title {
        font-size: 1.25rem;
        font-weight: bold;
        color: #fff;
        margin-bottom: 15px;
    }

.product-image-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        margin-bottom: 15px;
        background: #222;
        border-radius: 4px;
        overflow: hidden;
    }

.product-image-container.loading {
        background: linear-gradient(110deg, #2a2a2a 8%, #333 18%, #2a2a2a 33%);
        background-size: 200% 100%;
        animation: shine 1.5s linear infinite;
    }

.product-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
    }

.product-tag {
        background: #333;
        color: #fff;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.85rem;
    }

.product-description {
        color: #999;
        font-size: 0.9rem;
        margin-bottom: 20px;
        flex-grow: 1;
    }

.product-price {
        margin-top: auto;
    }

.price-label {
        display: block;
        color: #999;
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

.price-amounts {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

.price-amount {
        display: flex;
        align-items: center;
        gap: 5px;
    }

.price-usd {
        color: #adff2f;
        font-size: 1.2rem;
        font-weight: bold;
    }

@keyframes shine {
        to {
            background-position-x: -200%;
        }
    }

@media (max-width: 768px) {
        .info-sections {
            grid-template-columns: 1fr;
        }
    }

.group-access-badge {
        display: inline-flex;
        align-items: center;
        background: #2a8cff22;
        color: #2a8cff;
        border: 1px solid #2a8cff44;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
        margin-left: 8px;
        padding: 2px 8px 2px 6px;
        gap: 4px;
        vertical-align: middle;
    }

.group-access-badge i {
        font-size: 14px;
        margin-right: 2px;
    }

/* Removed rogue body override — styles handled by base.css */

.header {
            text-align: center;
            margin-bottom: 40px;
        }

.header h1 {
            color: var(--primary-color);
            font-size: 32px;
            margin-bottom: 10px;
        }

.header p {
            color: var(--text-secondary);
            font-size: 16px;
        }

.order-card {
            background: var(--card-color);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

.order-card:hover {
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 140, 0, 0.2);
        }

.order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

.order-id {
            font-family: monospace;
            color: var(--primary-color);
            font-weight: 600;
        }

.order-age {
            color: var(--text-secondary);
            font-size: 14px;
        }

.order-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            margin-bottom: 20px;
        }

.detail-item {
            display: flex;
            flex-direction: column;
        }

.detail-label {
            color: var(--text-secondary);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

.detail-value {
            color: var(--text-color);
            font-weight: 600;
        }

.order-actions {
            display: flex;
            gap: 12px;
        }

.btn {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

.btn-primary {
            background: var(--primary-color);
            color: white;
        }

.btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

.btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-color);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

.btn-danger {
            background: var(--error-color);
            color: white;
        }

.btn-danger:hover {
            background: #cc3333;
        }

.empty-state {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-secondary);
        }

.empty-state h3 {
            color: var(--text-color);
            margin-bottom: 10px;
        }

.alert {
            padding: 16px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

.alert-success {
            background: rgba(152, 249, 118, 0.1);
            border: 1px solid var(--success-color);
            color: var(--success-color);
        }

.alert-error {
            background: rgba(255, 68, 68, 0.1);
            border: 1px solid var(--error-color);
            color: var(--error-color);
        }

@media (max-width: 600px) {
            .order-details {
                grid-template-columns: 1fr;
            }
            
            .order-actions {
                flex-direction: column;
            }
        }

.payment-container {
            max-width: 600px;
            margin: 60px auto;
            background: var(--card-color);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 140, 0, 0.2);
            position: relative;
            overflow: hidden;
        }

.payment-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
        }

.status-message {
            text-align: center;
            margin: 0 0 40px 0;
            padding: 20px;
            border-radius: 16px;
            font-weight: 600;
            font-size: 16px;
            position: relative;
        }

.waiting {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(255, 140, 0, 0.05));
            color: var(--primary-color);
            border: 1px solid rgba(255, 140, 0, 0.3);
        }

.success {
            background: linear-gradient(135deg, rgba(152, 249, 118, 0.15), rgba(152, 249, 118, 0.05));
            color: var(--success-color);
            border: 1px solid rgba(152, 249, 118, 0.3);
        }

.error {
            background: linear-gradient(135deg, rgba(255, 68, 68, 0.15), rgba(255, 68, 68, 0.05));
            color: var(--error-color);
            border: 1px solid rgba(255, 68, 68, 0.3);
        }

.payment-info {
            text-align: center;
            margin: 30px 0;
        }

.payment-info h2 {
            color: var(--primary-color);
            font-size: 32px;
            margin-bottom: 30px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
        }

.copy-section {
            margin: 30px 0;
        }

.copy-item {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 24px;
            margin: 24px 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            backdrop-filter: blur(10px);
        }

.copy-item:hover {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(255, 140, 0, 0.05));
            border-color: var(--primary-color);
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(255, 140, 0, 0.25);
        }

.copy-item.copied {
            background: linear-gradient(135deg, rgba(152, 249, 118, 0.2), rgba(152, 249, 118, 0.1));
            border-color: var(--success-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(152, 249, 118, 0.3);
        }

.copy-label {
            font-size: 12px;
            color: var(--text-secondary);
            margin-bottom: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.8;
        }

.copy-value {
            font-size: 20px;
            color: var(--text-color);
            font-family: 'Inter', monospace;
            word-break: break-all;
            line-height: 1.5;
            font-weight: 500;
        }

.bitcoin-amount .copy-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-color);
            text-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
        }

.copy-icon {
            position: absolute;
            top: 24px;
            right: 24px;
            opacity: 0;
            transition: all 0.3s ease;
            color: var(--text-secondary);
            font-size: 18px;
        }

.copy-item:hover .copy-icon {
            opacity: 1;
            color: var(--primary-color);
        }

.copy-item.copied .copy-icon {
            color: var(--success-color);
            transform: scale(1.2);
        }

.copy-feedback {
            position: absolute;
            top: -10px;
            right: -10px;
            background: var(--success-color);
            color: var(--background-color);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

.copy-item.copied .copy-feedback {
            opacity: 1;
            transform: translateY(0);
        }

.payment-instructions {
            background: linear-gradient(135deg, rgba(255, 140, 0, 0.08), rgba(255, 140, 0, 0.03));
            border: 1px solid rgba(255, 140, 0, 0.2);
            border-radius: 16px;
            padding: 24px;
            margin: 40px 0;
            text-align: center;
            backdrop-filter: blur(10px);
        }

.payment-instructions h3 {
            color: var(--primary-color);
            margin: 0 0 16px 0;
            font-size: 20px;
            font-weight: 600;
        }

.payment-instructions p {
            color: var(--text-secondary);
            margin: 12px 0;
            font-size: 15px;
            line-height: 1.5;
        }

.order-timer {
            margin-top: 16px;
            padding: 12px;
            background: rgba(255, 140, 0, 0.1);
            border-radius: 8px;
            border: 1px solid rgba(255, 140, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

.timer-label {
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
        }

.timer-value {
            color: var(--primary-color);
            font-size: 18px;
            font-weight: 700;
            font-family: 'Inter', monospace;
        }

.order-actions {
            text-align: center;
            margin-top: 30px;
        }

.cancel-btn {
            padding: 12px 24px;
            background: var(--error-color);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

.cancel-btn:hover {
            background: #b91c1c;
            transform: translateY(-1px);
        }

.cancel-btn:active {
            transform: translateY(0);
        }

.cancel-btn:disabled {
            background: #666;
            cursor: not-allowed;
            transform: none;
            opacity: 0.7;
        }

@media (max-width: 600px) {
            .payment-container {
                margin: 20px auto;
                padding: 24px;
            }
            
            .payment-info h2 {
                font-size: 24px;
            }
            
            .bitcoin-amount .copy-value {
                font-size: 22px;
            }
            
            .copy-value {
                font-size: 16px;
            }
        }

/* Removed rogue body override — styles handled by base.css */

.success-container {
            max-width: 800px;
            margin: 40px auto;
            background: var(--card-color);
            padding: var(--spacing);
            border-radius: var(--border-radius);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

.thank-you {
            text-align: center;
            margin: 20px 0 40px;
            color: var(--success-color);
            font-size: 32px;
            font-weight: 700;
        }

.order-details {
            margin: 30px 0;
        }

.order-details h2 {
            color: var(--primary-color);
            font-size: 24px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

.order-info {
            background: rgba(255, 255, 255, 0.05);
            padding: 20px;
            border-radius: var(--border-radius);
            margin-bottom: 30px;
        }

.order-info p {
            margin: 10px 0;
            color: var(--text-secondary);
        }

.order-info strong {
            color: var(--text-color);
        }

.order-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            margin: 10px 0;
        }

.item-info {
            flex-grow: 1;
        }

.item-name {
            color: var(--text-color);
            font-weight: 600;
            font-size: 16px;
        }

.item-duration {
            color: var(--text-secondary);
            font-size: 14px;
            margin-top: 4px;
        }

.item-price {
            text-align: right;
            color: var(--text-secondary);
        }

.price-breakdown {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

.price-row {
            display: flex;
            justify-content: space-between;
            margin: 8px 0;
            color: var(--text-secondary);
        }

.price-row.total {
            color: var(--primary-color);
            font-size: 20px;
            font-weight: 700;
            margin-top: 12px;
        }

.discount {
            color: #98f976;
        }

.continue-shopping {
            display: block;
            width: auto;
            padding: 16px 32px;
            background: #ff8c00;
            color: white;
            text-align: center;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            margin: 30px auto 0;
            transition: background-color 0.3s ease;
            font-size: 16px;
        }

.continue-shopping:hover {
            background: #ffa533;
        }

@media (max-width: 600px) {
            .success-container {
                margin: 20px auto;
                padding: 15px;
            }

            .thank-you {
                font-size: 24px;
                margin: 15px 0 30px;
            }

            .order-item {
                flex-direction: column;
                align-items: flex-start;
            }

            .item-price {
                text-align: left;
                margin-top: 10px;
            }

            .continue-shopping {
                width: 100%;
                padding: 16px;
            }
        }

.notification-container {
        max-width: 1200px;
        margin: 100px auto 20px;
        padding: 0 20px;
        position: relative;
        z-index: 100;
    }

.product-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    color: var(--text-color);
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.product-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-image-container {
    aspect-ratio: 16/9;
    background: var(--card-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-container {
    aspect-ratio: 16/9;
    background: var(--card-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.video-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
}

.video-error i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.video-error p {
    margin: 0;
    font-size: 0.9rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-header {
    background: var(--card-color);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.last-update {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.section-title {
    color: var(--text-muted);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-description {
    background: var(--card-color);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.description-content {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Ensure proper emoji rendering */
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.summary-content {
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* Preserve indentation and formatting */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    /* Enhanced indentation */
    padding-left: 0;
}

.summary-content br {
    margin-bottom: 12px;
    display: block;
}

/* Enhanced indentation for sub-items */
.summary-content {
    padding: 0;
    margin: 0;
}

/* Make indentation much more pronounced */
.summary-content {
    text-indent: 0;
}

/* Convert spaces to more visible indentation */
.summary-content {
    tab-size: 4;
    -moz-tab-size: 4;
    -o-tab-size: 4;
}

/* Enhanced indentation styling */
.summary-content {
    line-height: 1.8;
}

/* Make indentation more visible */
.summary-content br + &nbsp; {
    margin-left: 20px;
}

/* Add visual indentation markers */
.summary-content {
    position: relative;
}

/* Make indentation much more pronounced */
.summary-content {
    font-size: 1.1rem;
}

/* Add visual spacing for indented content */
.summary-content br {
    margin-bottom: 16px;
}

/* Ensure indentation is very visible */
.summary-content {
    padding: 0;
    margin: 0;
    text-align: left;
}

.purchase-options {
    background: var(--card-color);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.purchase-options .section-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-option-form {
    margin-bottom: 15px;
    display: block;
}

.price-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    display: block;
    font-family: inherit;
    font-size: inherit;
}

.price-option.clickable {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-option.clickable {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-option.clickable:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.2);
}

.price-option-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.duration {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #ffffff;
}

.duration-text {
    font-weight: 500;
    color: #ffffff;
}

.price-amounts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.price-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.price-usd {
    color: #98f976;
    font-size: 1.4rem;
    font-weight: 600;
}

.price-sats {
    color: #ff8c00;
    font-size: 0.9rem;
}

.price-amount i {
    font-size: 0.9em;
    opacity: 0.9;
}

.add-to-cart-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ff8c00;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}

.price-option.clickable:hover .add-to-cart-indicator {
    color: #ffa533;
}

.price-option.clickable.login-required .add-to-cart-indicator {
    color: #ff8c00;
}

.no-pricing {
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
    font-size: 1.1rem;
}

.product-offline-message {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 140, 0, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 20px;
}

.product-offline-message i {
    font-size: 3rem;
    color: #ff8c00;
    margin-bottom: 20px;
    display: block;
}

.product-offline-message h2 {
    color: var(--text-primary, #ffffff);
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.product-offline-message p {
    color: var(--text-secondary, #cccccc);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .product-hero {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 2rem;
    }

    .price-option-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .price {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding: 20px 15px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .price-usd {
        font-size: 1.4rem;
    }
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing);
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-header {
    margin-bottom: var(--spacing);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing);
}

.product-header h1 {
    margin: 0;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 600;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing);
}

.product-image {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.pricing-options {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) / 2);
}

.pricing-options h2 {
    color: var(--text-color);
    margin: 0 0 var(--spacing) 0;
    font-size: 1.8rem;
}

.price-option-form {
    margin-bottom: calc(var(--spacing) / 2);
    display: block;
}

.price-option {
    background-color: var(--background-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: calc(var(--spacing) / 2);
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
}

.price-option.clickable:hover {
    background-color: var(--card-hover);
    border: 2px solid var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.2);
}

.price-option-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing);
}

.duration {
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.price-usd {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.price-sats {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.add-to-cart-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}

.price-option.clickable:hover .add-to-cart-indicator {
    color: var(--primary-light);
}

.product-offline-message {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 140, 0, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: var(--border-radius);
}

.product-offline-message i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.product-offline-message h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}

.product-offline-message p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
    }

    .price-option {
        flex-direction: column;
        text-align: center;
    }

    .price {
        align-items: center;
    }
}

.status-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

.status-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--card-color) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.status-header h1 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.status-header h1 i {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.status-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.products-list {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: var(--spacing);
}

.product-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease;
}

.product-item:last-child {
    border-bottom: none;
}

.product-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.status-dot.status-online {
    background: var(--success-color);
}

.status-dot.status-maintenance {
    background: var(--warning-color);
}

.status-dot.status-use-at-your-own-risk {
    background: #ff6b35;
}

.status-dot.status-offline {
    background: var(--error-color);
}

.product-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 1rem;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
    margin-right: 1rem;
}

.product-name {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.product-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.access-type {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    opacity: 1;
    transition: all 0.2s ease;
    position: relative;
}

.access-type::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.access-type i {
    font-size: 0.5rem;
    margin-left: 0.25rem;
}

.access-type:hover {
    opacity: 1;
}

.access-public {
    background: rgba(59, 130, 246, 0.06);
    color: #7dd3fc;
    border: none;
}

.access-group {
    background: rgba(168, 85, 247, 0.06);
    color: #d8b4fe;
    border: none;
}

.status-online {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-maintenance {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-risky {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-offline {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.last-update {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.last-update i {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    opacity: 0.7;
}

.pricing-info {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--card-color) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.no-products i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-tertiary);
    opacity: 0.6;
}

.no-products h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.no-products p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* Product Icon Styles */
.product-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    display: block;
}

.product-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-info {
    flex: 1;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.products-list .product-item{
  display: flex;
  align-items: center;            /* center everything in the row */
}

.product-header-mobile{
  display: flex;
  align-items: center;            /* align icon and title */
  gap: 1rem;
  flex: 1;                        /* occupy remaining space so right info hugs the edge */
}

.products-list .product-item .product-badges{
  margin-left: auto;              /* push badges and following info to the right */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.products-list .product-item .last-update{
  display: flex;
  align-items: center;            /* keep clock and date centered */
  margin-left: 1rem;              /* space from badges */
  white-space: nowrap;            /* keep date on one line */
}

.products-list .product-item .product-info{
  flex: 1;
  display: flex;                  /* keep title vertically centered */
  align-items: center;
  margin: 0 1rem;
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.products-list .product-item .product-name{
  margin: 0;
  line-height: 1;                 /* crisp vertical alignment */
}

.products-list .product-item .product-badges{
  display: flex;
  align-items: center;            /* align badges with title */
  margin: 0 1rem 0 0;
}

.products-list .product-item .product-status,
.products-list .product-item .access-type{
  display: inline-flex;
  align-items: center;            /* align text inside badges */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .status-page {
        padding: 0.5rem;
        max-width: 100%;
    }
    
    .status-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .status-header h1 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .status-header h1 i {
        font-size: 1.5rem;
    }
    
    .status-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .products-list {
        margin-top: 1rem;
        border-radius: 8px;
    }
    
    .product-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
        position: relative;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .product-item:last-child {
        margin-bottom: 0;
    }
    
    /* Status dot positioning */
    .status-dot {
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: 10px;
        height: 10px;
    }
    
    /* Product header row */
    .product-header-mobile {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: 1.5rem;
    }
    
    .product-icon {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .product-info {
        flex: 1;
        margin: 0;
    }
    
    .product-name {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }
    
    /* Badges row */
    .product-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 0;
        justify-content: flex-start;
    }
    
    .product-status,
    .access-type {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        border-radius: 12px;
    }
    
    /* Last update row */
    .last-update {
        font-size: 0.8rem;
        color: var(--text-tertiary);
        margin: 0;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .last-update i {
        font-size: 0.7rem;
    }
    
    .no-products {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .no-products i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .no-products h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .no-products p {
        font-size: 0.9rem;
        color: var(--text-secondary);
    }
}

@media (max-width: 480px) {
    .status-page {
        padding: 0.75rem;
    }
    
    .status-header {
        padding: 1.5rem 1rem;
    }
    
    .status-header h1 {
        font-size: 2rem;
    }
    
    .status-description {
        font-size: 1rem;
    }
    
    .product-card {
        padding: 1.25rem;
    }
    
    .product-name {
        font-size: 1.25rem;
    }
    
    .no-products {
        padding: 2.5rem 1rem;
    }
    
    .no-products h3 {
        font-size: 1.25rem;
    }
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

.support-header {
    text-align: center;
    margin-bottom: 40px;
  }

.support-header h1 {
    color: #ff8c00;
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

.support-header p {
    color: #888;
    font-size: 1.1rem;
  }

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

.support-card {
    background: var(--card-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

.card-icon {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ff8c00;
  }

.support-card h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
  }

.support-card p {
    color: #888;
    margin: 0;
  }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

.faq-item h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
  }

.faq-item p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
  }

.support-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

.form-group label {
    color: #fff;
    font-size: 0.9rem;
  }

.form-group select,
  .form-group textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px;
    color: #fff;
    font-size: 0.9rem;
  }

.form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #ff8c00;
  }

.submit-btn {
    background: #ff8c00;
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s;
  }

.submit-btn:hover {
    background: #e67e00;
  }

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

.resource-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s;
  }

.resource-item:hover {
    background: #252525;
  }

.resource-item i {
    color: #ff8c00;
    font-size: 1.2rem;
  }

@media (max-width: 768px) {
    .support-container {
      padding: 15px;
    }
    
    .support-header h1 {
      font-size: 2rem;
    }
    
    .support-grid {
      grid-template-columns: 1fr;
    }
  }

/* ==========================================================================
   Store / Products Listing Page (Redesigned)
   ========================================================================== */

.store-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.store-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 48px 24px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, rgba(255, 140, 0, 0.02) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 0, 0.12);
}

.store-title {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.store-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.store-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-secondary);
}

.store-empty i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.store-empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* ── Product Cards Grid ─────────────────────────────────────────────────── */

.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-card {
    flex: 0 0 280px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    background: var(--card-color);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 140, 0, 0.35);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 140, 0, 0.15);
}

/* Card image */
.product-card__image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-dark);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-card__badge--offline {
    background: rgba(255, 140, 0, 0.85);
    color: #000;
}

/* Card body */
.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    gap: 10px;
}

.product-card__title {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Card footer */
.product-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card__price-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.product-card__price-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--success-color);
    font-family: var(--font-main);
}

.product-card__cta {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.product-card:hover .product-card__cta {
    gap: 10px;
}

/* ── Store responsive ───────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .store-page {
        padding: 24px 16px 48px;
    }

    .store-header {
        padding: 32px 20px;
        margin-bottom: 32px;
    }

    .store-title {
        font-size: 1.8rem;
    }

    .store-description {
        font-size: 1rem;
    }

    .product-card {
        flex: 0 0 240px;
        max-width: 240px;
    }

    .products-grid {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .store-title {
        font-size: 1.5rem;
    }

    .product-card {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .products-grid {
        gap: 12px;
    }

    .product-card__body {
        padding: 14px;
    }
}


/* ==========================================================================
   Product Page — Complete Redesign
   ========================================================================== */

/* ── Container ───────────────────────────────────────────────────────────── */

.pp {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 60px;
}

/* ── Back link ───────────────────────────────────────────────────────────── */

.pp__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.pp__back:hover {
    color: var(--primary-color);
}

/* ── Two-column layout ──────────────────────────────────────────────────── */

.pp__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

/* ── Carousel (left column) ─────────────────────────────────────────────── */

.pp__carousel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pp__main-image {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pp__main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.pp__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: #404040 transparent;
}

.pp__thumbs::-webkit-scrollbar {
    height: 4px;
}

.pp__thumbs::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 2px;
}

.pp__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.6;
}

.pp__thumb:hover {
    opacity: 0.9;
}

.pp__thumb--active {
    border-color: var(--primary-color);
    opacity: 1;
}

.pp__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Product info (right column) ────────────────────────────────────────── */

.pp__info {
    display: flex;
    flex-direction: column;
}

.pp__name {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pp__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px;
}

.pp__meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.pp__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    padding: 5px 12px;
    border-radius: 6px;
}

.pp__tag--ok {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.pp__tag--warn {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* ── Body ────────────────────────────────────────────────────────────────── */

.pp__body {
    margin-top: 40px;
}

.pp__heading {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 20px;
}

/* ── Pricing cards ───────────────────────────────────────────────────────── */

.pp__pricing {
    margin-top: 8px;
}

.pp__plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.pp__plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px 28px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pp__plan:hover {
    border-color: rgba(255, 140, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.pp__plan--featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color), 0 8px 28px rgba(255, 140, 0, 0.1);
}

.pp__plan-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--primary-color);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
    white-space: nowrap;
}

.pp__plan-duration {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.pp__plan-price {
    font-family: var(--font-main);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 6px;
}

.pp__plan-sats {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.pp__plan-sats i {
    font-size: 0.7rem;
}

.pp .pp__plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.25);
}

.pp .pp__plan-btn:hover {
    background: #ffaa40;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
}

.pp .pp__plan-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.2);
}

.pp .pp__plan-btn--login {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.pp .pp__plan-btn--login:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

/* ── Offline banner ──────────────────────────────────────────────────────── */

.pp__offline-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: rgba(255, 140, 0, 0.06);
    border: 1px solid rgba(255, 140, 0, 0.15);
    border-radius: 14px;
    margin-bottom: 36px;
}

.pp__offline-banner i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.pp__offline-banner strong {
    display: block;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.pp__offline-banner p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ── Sections (video, features) ──────────────────────────────────────────── */

.pp__section {
    margin-bottom: 36px;
}

.pp__video {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pp__video iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.pp__features {
    background: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px 32px;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
    font-family: var(--font-body);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .pp__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pp__main-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .pp__name {
        font-size: 1.6rem;
    }

    .pp__body {
        padding: 24px 16px 48px;
    }

    .pp__thumb { width: 56px; height: 42px; }

    .pp__plans {
        grid-template-columns: 1fr;
    }

    .pp__plan {
        padding: 28px 20px 24px;
    }

    .pp__features {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .pp__name {
        font-size: 1.4rem;
    }

    .pp__plan-price {
        font-size: 2rem;
    }
}