/* =====================================================================
   PrimeTime RolePlay -- original design system, built from scratch.
   No code is reused from any other LeaderOS theme. This is the ONLY
   stylesheet the theme loads (besides bootstrap.min.css, used purely
   as a UI-behavior toolkit for offcanvas/modal/grid mechanics).

   Structure:
   1. Design tokens
   2. Reset & base
   3. Typography
   4. Layout / containers
   5. Bootstrap component re-skin (site-wide, covers every page)
   6. Buttons
   7. Cards
   8. Forms
   9. Header
   10. Footer
   11. Hero
   12. Store (categories / products)
   13. Cart
   14. Auth pages
   15. Animations & scroll reveal
   16. Generic fallback rules (graceful styling for any legacy class
       pattern on pages that were not individually redesigned)
   17. Responsive
   18. RTL fine-tuning (base layout already uses logical properties)
===================================================================== */

/* ---------------------------------------------------------------
   1. Design tokens
--------------------------------------------------------------- */
:root {
    --pt-primary-rgb: 144, 28, 223;
    --pt-primary-bright-rgb: 186, 55, 255;
    --pt-primary-deep-rgb: 27, 0, 68;
    --pt-glow-rgb: 255, 240, 255;

    --pt-radius-sm: 8px;
    --pt-radius-md: 14px;
    --pt-radius-lg: 22px;
    --pt-radius-pill: 999px;

    --pt-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pt-speed: 0.35s;

    --pt-shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
    --pt-shadow-2: 0 20px 50px rgba(0, 0, 0, 0.5);
    --pt-glow: 0 0 30px rgba(var(--pt-primary-bright-rgb), 0.35);

    --pt-font: "Poppins", "Segoe UI", sans-serif;
}

/* ---------------------------------------------------------------
   2. Reset & base
--------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--pt-font);
    color: var(--white);
    background-color: var(--body-bg);
    background-image:
        radial-gradient(ellipse 80% 45% at 50% -10%, rgba(var(--pt-primary-rgb), 0.32), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 10%, rgba(var(--pt-primary-bright-rgb), 0.12), transparent 60%),
        radial-gradient(ellipse 65% 45% at 0% 90%, rgba(var(--pt-primary-deep-rgb), 0.35), transparent 60%);
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    padding-inline-start: 1.2rem;
}

::selection {
    background: rgb(var(--pt-primary-bright-rgb));
    color: #14001f;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #08020c;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgb(var(--pt-primary-bright-rgb)), rgb(var(--pt-primary-deep-rgb)));
    border-radius: var(--pt-radius-pill);
}

/* ---------------------------------------------------------------
   3. Typography
--------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--pt-font);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.pt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--pt-radius-pill);
    background: rgba(var(--pt-primary-rgb), 0.12);
    border: 1px solid rgba(var(--pt-primary-bright-rgb), 0.35);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(var(--pt-primary-rgb), 0.15);
}

.pt-eyebrow i {
    color: rgb(var(--pt-primary-bright-rgb));
}

.pt-heading-glow {
    background: linear-gradient(90deg, var(--white) 0%, rgb(var(--pt-glow-rgb)) 25%, rgb(var(--pt-primary-bright-rgb)) 50%, rgb(var(--pt-glow-rgb)) 75%, var(--white) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ptGradientFlow 8s ease-in-out infinite;
}

/* ---------------------------------------------------------------
   4. Layout / containers
--------------------------------------------------------------- */
.pt-container {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 2rem;
}

.pt-section {
    padding: 5rem 0;
    position: relative;
}

.pt-section-head {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

.pt-section-head p {
    margin-top: 0.75rem;
}

.pt-grid {
    display: grid;
    gap: 1.75rem;
}

.pt-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pt-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pt-grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ---------------------------------------------------------------
   5. Bootstrap component re-skin
--------------------------------------------------------------- */
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--pt-radius-md);
    color: var(--white);
    backdrop-filter: blur(14px);
    box-shadow: var(--pt-shadow-1);
}

.card-header, .card-footer {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.card-title {
    color: var(--white);
    font-weight: 700;
}

a.card:hover, .card.card-link:hover {
    border-color: rgba(var(--pt-primary-bright-rgb), 0.4);
    box-shadow: 0 0 30px rgba(var(--pt-primary-rgb), 0.25);
}

.table {
    color: var(--white);
    --bs-table-bg: transparent;
    --bs-table-color: var(--white);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-bg: rgba(var(--pt-primary-rgb), 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.table th {
    color: rgb(var(--pt-primary-bright-rgb));
    font-weight: 700;
    border-bottom-width: 1px;
}

.btn {
    border-radius: var(--pt-radius-sm);
    font-weight: 600;
    transition: transform var(--pt-speed) var(--pt-ease), box-shadow var(--pt-speed) ease;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(var(--pt-primary-bright-rgb)) 0%, rgb(var(--pt-primary-deep-rgb)) 100%);
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, rgb(var(--pt-primary-bright-rgb)) 0%, rgb(var(--pt-primary-deep-rgb)) 100%);
    box-shadow: 0 8px 24px rgba(var(--pt-primary-rgb), 0.4);
    transform: translateY(-2px);
}

.btn-secondary, .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.badge {
    font-weight: 600;
    border-radius: var(--pt-radius-sm);
}

.bg-primary {
    background: rgb(var(--pt-primary-rgb)) !important;
}

.form-control, .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    border-radius: var(--pt-radius-sm);
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgb(var(--pt-primary-bright-rgb));
    box-shadow: 0 0 0 3px rgba(var(--pt-primary-rgb), 0.25);
    color: var(--white);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-label {
    color: var(--white);
    font-weight: 500;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.alert {
    border-radius: var(--pt-radius-sm);
    border: 1px solid transparent;
}

.alert-success { background: rgba(40, 167, 69, 0.15); border-color: rgba(40, 167, 69, 0.35); color: #7be79a; }
.alert-danger { background: rgba(220, 53, 69, 0.15); border-color: rgba(220, 53, 69, 0.35); color: #ff9aa5; }
.alert-warning { background: rgba(255, 193, 7, 0.15); border-color: rgba(255, 193, 7, 0.35); color: #ffdc7a; }
.alert-info { background: rgba(var(--pt-primary-rgb), 0.15); border-color: rgba(var(--pt-primary-bright-rgb), 0.35); color: #e3c2ff; }

.pagination .page-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background: rgb(var(--pt-primary-rgb));
    border-color: rgb(var(--pt-primary-rgb));
}

.modal-content {
    background: #0c0512;
    border: 1px solid rgba(var(--pt-primary-bright-rgb), 0.25);
    border-radius: var(--pt-radius-md);
    color: var(--white);
    box-shadow: var(--pt-shadow-2);
}

.modal-header, .modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

.offcanvas {
    background: rgba(6, 2, 10, 0.92);
    backdrop-filter: blur(16px);
    color: var(--white);
    border-inline-start: 1px solid rgba(var(--pt-primary-bright-rgb), 0.2);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

.list-group-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.nav-tabs {
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 0;
}

.nav-tabs .nav-link.active {
    background: transparent;
    color: rgb(var(--pt-primary-bright-rgb));
    border-bottom: 2px solid rgb(var(--pt-primary-bright-rgb));
}

.dropdown-menu {
    background: #0c0512;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    color: var(--white);
}

.dropdown-item:hover, .dropdown-item:focus {
    background: rgba(var(--pt-primary-rgb), 0.2);
    color: var(--white);
}

.spinner-border.text-light {
    color: rgb(var(--pt-primary-bright-rgb)) !important;
}

/* ---------------------------------------------------------------
   6. Buttons (original components)
--------------------------------------------------------------- */
.pt-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.9rem 2rem;
    border-radius: var(--pt-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--pt-speed) var(--pt-ease), box-shadow var(--pt-speed) ease;
    text-decoration: none;
}

.pt-btn::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 45%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-160%) skewX(-20deg);
    transition: transform 0.7s ease;
}

.pt-btn:hover::before {
    transform: translateX(340%) skewX(-20deg);
}

.pt-btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, rgb(var(--pt-primary-bright-rgb)) 0%, rgb(var(--pt-primary-deep-rgb)) 100%);
    box-shadow: 0 8px 24px rgba(var(--pt-primary-rgb), 0.35);
}

.pt-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(var(--pt-primary-rgb), 0.5);
    color: var(--white);
}

.pt-btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.pt-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--pt-primary-bright-rgb), 0.5);
    color: var(--white);
    transform: translateY(-3px);
}

.pt-btn-block {
    width: 100%;
}

.pt-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ---------------------------------------------------------------
   7. Cards (original components)
--------------------------------------------------------------- */
.pt-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--pt-radius-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.5s var(--pt-ease), box-shadow 0.5s ease;
}

.pt-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(var(--pt-primary-bright-rgb), 0), rgba(var(--pt-primary-bright-rgb), 0.6), rgba(var(--pt-primary-deep-rgb), 0.7), rgba(var(--pt-primary-bright-rgb), 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.pt-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(var(--pt-primary-rgb), 0.3);
}

.pt-card:hover::after {
    opacity: 1;
}

.pt-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.pt-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--pt-ease), filter 0.7s ease;
}

.pt-card:hover .pt-card-media img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}

.pt-card-body {
    padding: 1.4rem;
}

.pt-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.pt-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.pt-card-meta i {
    color: rgb(var(--pt-primary-bright-rgb));
    margin-inline-end: 0.35rem;
}

/* ---------------------------------------------------------------
   8. Forms (auth pages)
--------------------------------------------------------------- */
.pt-field {
    width: 100%;
    padding: 0.95rem 1.15rem;
    margin-bottom: 1rem;
    border-radius: var(--pt-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-family: var(--pt-font);
    font-size: 0.95rem;
    transition: border-color var(--pt-speed) ease, box-shadow var(--pt-speed) ease, background var(--pt-speed) ease;
}

.pt-field::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.pt-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgb(var(--pt-primary-bright-rgb));
    box-shadow: 0 0 0 3px rgba(var(--pt-primary-rgb), 0.25);
}

/* ---------------------------------------------------------------
   9. Header
--------------------------------------------------------------- */
.pt-topbar {
    background: rgba(5, 2, 9, 0.55);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(var(--pt-primary-bright-rgb), 0.16);
    position: relative;
    z-index: 50;
}

.pt-topbar::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(var(--pt-primary-bright-rgb)) 50%, transparent);
    opacity: 0.75;
}

.pt-topbar-inner {
    max-width: 1560px;
    margin-inline: auto;
    padding-inline: 2rem;
    height: 78px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 993px) {
    .pt-topbar-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        position: relative;
    }

    .pt-topbar-inner::before {
        content: "";
        position: absolute;
        top: 50%;
        inset-inline-start: 50%;
        width: 240px;
        height: 240px;
        background: radial-gradient(circle, rgba(var(--pt-primary-bright-rgb), 0.25), rgba(var(--pt-primary-rgb), 0.14) 42%, transparent 74%);
        transform: translate(-50%, -50%);
        animation: ptGlowPulse 4.5s ease-in-out infinite;
        pointer-events: none;
    }

    .pt-brand {
        grid-column: 1;
        justify-self: start;
    }

    .pt-nav {
        grid-column: 2;
        justify-self: center;
    }

    .pt-topbar-actions {
        grid-column: 3;
        justify-self: end;
    }
}

.pt-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.pt-brand-logo {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(var(--pt-primary-bright-rgb), 0.4));
    transition: transform var(--pt-speed) var(--pt-ease), filter var(--pt-speed) ease;
}

.pt-brand:hover .pt-brand-logo {
    transform: scale(1.07) rotate(-2deg);
    filter: drop-shadow(0 0 22px rgba(var(--pt-primary-bright-rgb), 0.7));
}

.pt-brand-name {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    background: linear-gradient(90deg, rgb(var(--pt-glow-rgb)), rgb(var(--pt-primary-bright-rgb)), rgb(var(--pt-glow-rgb)));
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ptGradientFlow 6s ease-in-out infinite;
}

.pt-nav {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    height: 100%;
}

.pt-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    font-weight: 500;
    padding-block: 0.4rem;
    transition: color var(--pt-speed) ease;
}

.pt-nav-link i {
    font-size: 0.85rem;
    color: rgb(var(--pt-primary-bright-rgb));
}

.pt-nav-link::after {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgb(var(--pt-primary-rgb)), rgb(var(--pt-primary-bright-rgb)));
    transform: translateX(-50%);
    transition: width var(--pt-speed) var(--pt-ease);
}

.pt-nav-link:hover,
.pt-nav-link.is-active {
    color: var(--white);
}

.pt-nav-link:hover::after,
.pt-nav-link.is-active::after {
    width: 100%;
}

.pt-nav-dropdown {
    position: relative;
}

.pt-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    inset-inline-start: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: rgba(8, 3, 13, 0.97);
    border: 1px solid rgba(var(--pt-primary-bright-rgb), 0.25);
    border-radius: var(--pt-radius-md);
    padding: 0.5rem;
    box-shadow: var(--pt-shadow-2);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--pt-speed) ease, transform var(--pt-speed) var(--pt-ease);
    z-index: 60;
}

.pt-nav-dropdown:hover .pt-nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.pt-nav-dropdown-link {
    display: block;
    padding: 0.65rem 0.9rem;
    border-radius: var(--pt-radius-sm);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
}

.pt-nav-dropdown-link:hover {
    background: rgba(var(--pt-primary-rgb), 0.18);
    color: var(--white);
}

.pt-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.pt-cart-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--pt-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    transition: all var(--pt-speed) ease;
}

.pt-cart-icon:hover {
    background: rgba(var(--pt-primary-rgb), 0.2);
    border-color: rgba(var(--pt-primary-bright-rgb), 0.5);
    color: var(--white);
}

.pt-cart-count {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    background: rgb(var(--pt-primary-bright-rgb));
    color: #14001f;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 3px;
}

.pt-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pt-radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.pt-broadcast {
    background: rgba(5, 2, 9, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0;
}

.pt-broadcast-inner {
    max-width: 1560px;
    margin-inline: auto;
    padding-inline: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
}

.pt-broadcast-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--pt-radius-pill);
    background: rgba(var(--pt-primary-rgb), 0.15);
    border: 1px solid rgba(var(--pt-primary-bright-rgb), 0.3);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pt-broadcast-text {
    white-space: nowrap;
    animation: ptMarquee 26s linear infinite;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.pt-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: var(--pt-radius-sm);
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    margin-bottom: 0.6rem;
}

.pt-mobile-link i {
    color: rgb(var(--pt-primary-bright-rgb));
    width: 18px;
}

.pt-mobile-link.is-active {
    background: linear-gradient(135deg, rgb(var(--pt-primary-bright-rgb)), rgb(var(--pt-primary-deep-rgb)));
}

.pt-profile-user {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.pt-profile-avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(var(--pt-primary-bright-rgb), 0.5);
}

.pt-profile-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: var(--pt-radius-sm);
    color: var(--white);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 0.5rem;
    width: 100%;
    border: none;
    text-align: start;
}

.pt-profile-item:hover {
    background: rgba(var(--pt-primary-rgb), 0.16);
}

.pt-profile-item i:first-child {
    color: rgb(var(--pt-primary-bright-rgb));
    width: 18px;
}

.pt-profile-item i:last-child {
    margin-inline-start: auto;
    opacity: 0.5;
    font-size: 0.75rem;
}

/* ---------------------------------------------------------------
   10. Footer
--------------------------------------------------------------- */
.pt-footer {
    border-top: 1px solid rgba(var(--pt-primary-bright-rgb), 0.15);
    padding: 4rem 0 2rem;
    background: rgba(4, 1, 7, 0.6);
    position: relative;
}

.pt-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.pt-footer-logo {
    height: 46px;
    filter: drop-shadow(0 0 14px rgba(var(--pt-primary-bright-rgb), 0.35));
    margin-bottom: 1.25rem;
}

.pt-footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.pt-footer-nav-group h3 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: rgb(var(--pt-primary-bright-rgb));
}

.pt-footer-nav-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    padding-block: 0.35rem;
    transition: color var(--pt-speed) ease, transform var(--pt-speed) ease;
}

.pt-footer-nav-group a:hover {
    color: var(--white);
    transform: translateX(4px);
}

[dir="rtl"] .pt-footer-nav-group a:hover {
    transform: translateX(-4px);
}

.pt-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.pt-footer-settings {
    display: flex;
    gap: 0.75rem;
}

.pt-footer-setting-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--pt-radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.8rem;
}

.pt-footer-social {
    display: flex;
    gap: 0.6rem;
}

.pt-footer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    transition: all var(--pt-speed) var(--pt-ease);
}

.pt-footer-social a:hover {
    transform: translateY(-4px) scale(1.08);
    color: var(--white);
    background: rgb(var(--pt-primary-rgb));
    box-shadow: 0 8px 20px rgba(var(--pt-primary-rgb), 0.4);
}

/* ---------------------------------------------------------------
   11. Hero
--------------------------------------------------------------- */
.pt-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.pt-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 0, 6, 0.55) 0%, rgba(3, 0, 6, 0.85) 65%, var(--body-bg) 100%),
        radial-gradient(ellipse 70% 60% at 50% 20%, rgba(var(--pt-primary-rgb), 0.4), transparent 70%);
}

.pt-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
    padding-inline: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pt-hero-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    margin-block: 1.4rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.pt-hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: 2.2rem;
}

.pt-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pt-hero-stat-value {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white), rgb(var(--pt-primary-bright-rgb)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pt-hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.pt-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pt-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.pt-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--pt-primary-bright-rgb), 0.95), rgba(var(--pt-primary-bright-rgb), 0));
    animation: ptFloat 9s ease-in-out infinite;
    opacity: 0.55;
}

.pt-bolt {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(var(--pt-glow-rgb), 0.06) 50%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    animation: ptFlicker 7s ease-in-out infinite;
}

/* ---------------------------------------------------------------
   12. Store
--------------------------------------------------------------- */
.pt-store-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(5, 2, 9, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(var(--pt-primary-bright-rgb), 0.15);
}

.pt-store-nav-inner {
    max-width: 1560px;
    margin-inline: auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
}

.pt-store-nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.pt-store-nav-links {
    display: flex;
    gap: 0.5rem;
}

.pt-store-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: var(--pt-radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all var(--pt-speed) ease;
}

.pt-store-nav-link:hover {
    background: rgba(var(--pt-primary-rgb), 0.18);
    border-color: rgba(var(--pt-primary-bright-rgb), 0.4);
    color: var(--white);
}

.pt-store-nav-right {
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.pt-wallet {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--pt-radius-pill);
    background: rgba(var(--pt-primary-rgb), 0.14);
    border: 1px solid rgba(var(--pt-primary-bright-rgb), 0.3);
    font-weight: 600;
    font-size: 0.85rem;
}

.pt-price {
    font-weight: 800;
    color: var(--white);
    font-size: 1.15rem;
}

.pt-price-old {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    margin-inline-end: 0.4rem;
}

.pt-price-discount {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: var(--pt-radius-sm);
    background: rgba(40, 167, 69, 0.18);
    color: #6bdc8c;
    font-size: 0.75rem;
    font-weight: 700;
    margin-inline-start: 0.5rem;
}

.pt-stock {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.9rem;
}

.pt-stock.is-out {
    color: #ff8a94;
}

.pt-stock.is-low {
    color: #ffce6d;
}

.pt-product-hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.pt-product-media {
    border-radius: var(--pt-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--pt-shadow-1);
}

.pt-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.pt-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--pt-radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pt-meta-badge.success { background: rgba(40, 167, 69, 0.15); color: #6bdc8c; border-color: rgba(40,167,69,.3); }
.pt-meta-badge.warning { background: rgba(255, 193, 7, 0.15); color: #ffce6d; border-color: rgba(255,193,7,.3); }
.pt-meta-badge.danger { background: rgba(220, 53, 69, 0.15); color: #ff8a94; border-color: rgba(220,53,69,.3); }

.pt-details-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--pt-radius-sm);
    padding: 1.1rem;
    max-height: 190px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.pt-price-box {
    background: rgba(var(--pt-primary-rgb), 0.08);
    border: 1px solid rgba(var(--pt-primary-bright-rgb), 0.25);
    border-radius: var(--pt-radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.pt-price-main {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.pt-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    padding-block: 0.3rem;
}

.pt-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pt-quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--pt-radius-sm);
    overflow: hidden;
}

.pt-quantity-controls button {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: background var(--pt-speed) ease;
}

.pt-quantity-controls button:hover {
    background: rgba(var(--pt-primary-rgb), 0.25);
}

.pt-quantity-controls span {
    width: 52px;
    text-align: center;
    font-weight: 700;
}

/* ---------------------------------------------------------------
   13. Cart
--------------------------------------------------------------- */
.pt-cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.6rem;
}

.pt-cart-table th {
    text-align: start;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.55);
    padding-inline: 1rem;
    padding-bottom: 0.5rem;
}

.pt-cart-table tr.pt-cart-row {
    background: rgba(255, 255, 255, 0.04);
}

.pt-cart-table td {
    padding: 1rem;
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.pt-cart-table td:first-child {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.06);
    border-start-start-radius: var(--pt-radius-sm);
    border-end-start-radius: var(--pt-radius-sm);
}

.pt-cart-table td:last-child {
    border-inline-end: 1px solid rgba(255, 255, 255, 0.06);
    border-start-end-radius: var(--pt-radius-sm);
    border-end-end-radius: var(--pt-radius-sm);
}

.pt-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--pt-radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    cursor: pointer;
}

.pt-qty-input {
    width: 48px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--white);
    font-weight: 700;
}

.pt-remove-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--pt-radius-sm);
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff8a94;
    cursor: pointer;
}

.pt-summary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--pt-radius-lg);
    padding: 1.75rem;
    position: sticky;
    top: 100px;
}

.pt-summary-row {
    display: flex;
    justify-content: space-between;
    padding-block: 0.55rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pt-summary-row.total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    border-bottom: none;
}

.pt-promo {
    margin-block: 1.25rem;
}

.pt-promo-input-row {
    display: flex;
    gap: 0.5rem;
}

.pt-payment-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: var(--pt-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 0.6rem;
    cursor: pointer;
    transition: all var(--pt-speed) ease;
}

.pt-payment-option.selected {
    border-color: rgb(var(--pt-primary-bright-rgb));
    background: rgba(var(--pt-primary-rgb), 0.15);
}

/* ---------------------------------------------------------------
   14. Auth pages
--------------------------------------------------------------- */
.pt-auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.pt-auth-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    background: rgba(10, 4, 16, 0.75);
    border: 1px solid rgba(var(--pt-primary-bright-rgb), 0.22);
    border-radius: var(--pt-radius-lg);
    padding: 2.75rem 2.25rem;
    backdrop-filter: blur(18px);
    box-shadow: var(--pt-shadow-2);
}

.pt-auth-head {
    text-align: center;
    margin-bottom: 2rem;
}

.pt-auth-title {
    font-size: 1.6rem;
    margin-top: 1rem;
}

.pt-auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
}

.pt-auth-social {
    margin-top: 1.75rem;
    text-align: center;
}

.pt-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin: 1.25rem 0;
}

.pt-auth-divider::before, .pt-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.pt-auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.75rem;
    font-size: 0.85rem;
}

.pt-auth-links a:hover {
    color: rgb(var(--pt-primary-bright-rgb));
}

/* ---------------------------------------------------------------
   15. Animations & scroll reveal
--------------------------------------------------------------- */
@keyframes ptGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes ptGlowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes ptFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(8px); }
}

@keyframes ptFlicker {
    0%, 19%, 21%, 23%, 100% { opacity: 0.35; }
    20%, 22% { opacity: 0.85; }
}

@keyframes ptMarquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

[dir="rtl"] .pt-broadcast-text {
    animation-name: ptMarqueeRtl;
}

@keyframes ptMarqueeRtl {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--pt-ease), transform 0.8s var(--pt-ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------------------------------------------------------------
   16. Generic fallback rules
--------------------------------------------------------------- */
[class$="-section"] {
    padding-block: 2.5rem;
}

[class$="-title"] {
    color: var(--white);
}

[class$="-card"], [class$="-box"] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--pt-radius-md);
}

[class$="-button"]:not(.pt-btn) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--pt-radius-sm);
    background: linear-gradient(135deg, rgb(var(--pt-primary-bright-rgb)), rgb(var(--pt-primary-deep-rgb)));
    color: var(--white);
    border: none;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--pt-speed) var(--pt-ease);
}

[class$="-button"]:not(.pt-btn):hover {
    transform: translateY(-2px);
    color: var(--white);
}

[class$="-input"], [class$="-textarea"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    border-radius: var(--pt-radius-sm);
    padding: 0.8rem 1rem;
}

/* ---------------------------------------------------------------
   17. Responsive
--------------------------------------------------------------- */
@media (max-width: 992px) {
    .pt-nav, .pt-topbar-actions .pt-btn-ghost, .pt-topbar-actions .pt-btn-primary {
        display: none;
    }

    .pt-mobile-toggle {
        display: inline-flex;
    }

    .pt-grid-3, .pt-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-footer-grid, .pt-product-hero {
        grid-template-columns: 1fr;
    }

    .pt-store-nav-right .pt-wallet span {
        display: none;
    }
}

@media (max-width: 640px) {
    .pt-grid-3, .pt-grid-4 {
        grid-template-columns: 1fr;
    }

    .pt-container {
        padding-inline: 1.25rem;
    }

    .pt-hero {
        min-height: 80vh;
    }
}

/* ---------------------------------------------------------------
   18. RTL fine-tuning
--------------------------------------------------------------- */
[dir="rtl"] .pt-btn::before {
    transform: translateX(160%) skewX(20deg);
}

[dir="rtl"] .pt-btn:hover::before {
    transform: translateX(-340%) skewX(20deg);
}
