/* ═══════════════════════════════════════════════════════════════════
   PS Game Rental Panel — Customer Storefront Styles
   Theme: Black Ash + Infinite GameStop Red (#ED1C25)
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #161616;
    --bg-card: #1e1e1e;
    --bg-card-hover: #262626;
    --bg-input: #1a1a1a;
    --border: #2d2d2d;
    --border-light: #3a3a3a;

    --accent: #ED1C25;
    --accent-hover: #ff2d36;
    --accent-glow: rgba(237, 28, 37, 0.3);
    --accent-subtle: rgba(237, 28, 37, 0.08);

    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    --text-muted: #9a9a9a;

    --success: #00e676;
    --warning: #ffab00;
    --danger: #ff5252;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out), opacity 0.2s ease;
}

/* ─── Light Theme ────────────────────────────────────────────────── */
html.light-theme {
    --bg-primary: #f5f5f7;
    --bg-secondary: #eaeaec;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f2;
    --bg-input: #f0f0f2;
    --border: #d4d4d8;
    --border-light: #c0c0c4;

    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b72;

    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;

    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

html.light-theme .customer-nav {
    background: rgba(245, 245, 247, 0.9);
}

html.light-theme .nav-links.open {
    background: var(--bg-secondary);
}

html.light-theme .customer-footer {
    background: #e0e0e2 !important;
}

html.light-theme .footer-bottom {
    border-top-color: var(--border);
}

html.light-theme ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

html.light-theme ::-webkit-scrollbar-thumb {
    background: var(--border);
}

/* ─── Theme Toggle Button ───────────────────────────────────────── */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
    .theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
.customer-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 68px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.nav-brand i {
    color: var(--accent);
    font-size: 24px;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .nav-link:hover {
    color: #fff;
}
}

.whatsapp-link {
    background: #25D366;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 24px;
    font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
    .whatsapp-link:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    margin-left: auto;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.highlight {
    color: var(--accent);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s ease infinite;
}

.glow-circle.secondary {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(237, 28, 37, 0.15) 0%, transparent 70%);
    animation-delay: 2s;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 24px var(--accent-glow);
    transform: translateY(-2px);
}
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─── How It Works ───────────────────────────────────────────────── */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .step-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--accent-glow);
}
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--accent);
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ─── Game Catalog ───────────────────────────────────────────────── */
.game-catalog {
    padding: 80px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.game-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .game-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
}

.game-item-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-secondary);
    display: block;
}

.game-item-info {
    padding: 16px;
}

.game-item-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.game-slots {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.slots-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.slot-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slot-available {
    background: rgba(0, 230, 118, 0.15);
    color: var(--success);
}

.slot-rented {
    background: rgba(255, 82, 82, 0.15);
    color: var(--danger);
}

.game-price {
    font-size: 14px;
    color: var(--text-muted);
}

.game-price strong {
    color: var(--accent);
    font-size: 18px;
}

/* ─── Order Modal ────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.18s ease-out;
}

.order-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
    animation: dialogIn 0.22s var(--ease-out);
}

.order-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.order-modal-header h2 {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .modal-close:hover {
    color: var(--danger);
}
}

.order-modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.price-display {
    background: var(--bg-primary);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    margin: 20px 0;
}

.price-display .price-label {
    font-size: 13px;
    color: var(--text-muted);
}

.price-display .price-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-top: 4px;
}

.form-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 24px 0 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}
@media (hover: hover) and (pointer: fine) {
    .file-upload:hover {
    border-color: var(--accent);
}
}

.file-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload .file-label {
    font-size: 13px;
    color: var(--text-muted);
}

.file-upload .file-label i {
    color: var(--accent);
    margin-right: 4px;
}

.success-screen {
    text-align: center;
    padding: 40px 20px;
}

.success-screen i {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 16px;
}

.success-screen h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.success-screen p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ─── Toast ──────────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    box-shadow: var(--shadow);
    animation: slideInRight 0.3s ease;
}

.toast-success {
    background: var(--success);
    color: #111;
}

.toast-error {
    background: var(--danger);
    color: #fff;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.customer-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
}

.customer-footer p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-sub {
    font-size: 12px !important;
    margin-top: 4px;
}

/* ─── Loading ────────────────────────────────────────────────────── */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    color: var(--text-muted);
    font-size: 16px;
    gap: 10px;
}

.loading-spinner i {
    color: var(--accent);
}

/* ─── Animations ─────────────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dialogIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.customer-footer {
    background: #0a0a0f;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 56px 24px 0;
    margin-top: 80px;
}

.customer-footer .container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 40px;
    align-items: start;
}

.footer-brand img {
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    margin: 0;
    max-width: 280px;
}

.footer-links {
    padding-top: 4px;
    text-align: right;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    text-decoration: none;
    padding: 7px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}
}

.footer-links a i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.footer-links a .fab.fa-whatsapp {
    color: #25D366;
}

.footer-links a .fab.fa-facebook {
    color: #1877F2;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-sub {
    font-size: 11px !important;
    margin-top: 4px !important;
    opacity: 0.5;
}

/* ─── Responsive ─────────────────────────────────────────────────── */

/* Tablet nav — hamburger at ≤1024px */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 16px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 15px;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-modal {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── V2: Rental Period Buttons ─────────────────────────────────── */
.period-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.period-presets.slot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.period-btn {
    padding: 10px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .period-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}
}

.period-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.slot-btn {
    padding: 10px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
    width: 100%;
}
@media (hover: hover) and (pointer: fine) {
    .slot-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}
}

.slot-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.slot-btn.slot-btn-preorder {
    border-color: rgba(255, 165, 0, 0.35);
    color: #ffa502;
}

.slot-btn.slot-btn-preorder.active {
    background: rgba(255, 165, 0, 0.85);
    border-color: #ffa502;
    color: #fff;
    box-shadow: 0 2px 12px rgba(255, 165, 0, 0.3);
}

.slot-preorder-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.slot-btn.active .slot-preorder-tag {
    opacity: 0.9;
}

/* ─── V2: Auth Forms & Modals ──────────────────────────────────── */
.form-error {
    background: rgba(255, 82, 82, 0.15);
    color: var(--danger);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 82, 82, 0.2);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--accent);
    font-weight: 600;
}

/* ─── V2: Profile Grid ─────────────────────────────────────────── */
.profile-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.profile-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.profile-value {
    font-size: 14px;
    color: var(--text-primary);
}

.profile-rental-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 8px;
}

.profile-rental-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-rental-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ─── Testimonials ──────────────────────────────────────────────── */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--accent-glow);
}
}

.testimonial-stars {
    color: #ffab00;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ─── We Also Sell ──────────────────────────────────────────────── */
.also-sell-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.also-sell-wrapper {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    overflow: hidden;
    position: relative;
}

.also-sell-content {
    flex: 1;
    z-index: 1;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.also-sell-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.also-sell-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sell-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
}

.sell-feature i {
    color: var(--accent);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.also-sell-visual {
    position: relative;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: pulseGlow 4s ease infinite;
}

.sell-icons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 24px;
    font-size: 48px;
    color: var(--accent);
}

.sell-icons i:nth-child(2) {
    font-size: 64px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ─── Contact / Support ─────────────────────────────────────────── */
.contact-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin-top: -32px;
    margin-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
}
@media (hover: hover) and (pointer: fine) {
    .contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--accent-glow);
}
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
}

.contact-icon.facebook {
    background: rgba(24, 119, 242, 0.12);
    color: #1877F2;
}

.contact-icon.email {
    background: var(--accent-subtle);
    color: var(--accent);
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ─── Enhanced Footer ──────────────────────────────────────────── */
.customer-footer {
    background: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 0;
    transition: var(--transition);
    text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover {
    color: var(--accent);
}
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ─── Responsive: New Sections ──────────────────────────────────── */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .also-sell-wrapper {
        flex-direction: column;
        padding: 32px 24px;
    }

    .also-sell-visual {
        width: 200px;
        height: 200px;
    }

    .also-sell-features {
        grid-template-columns: 1fr;
    }

    .also-sell-content .section-title {
        text-align: center !important;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .customer-footer {
        text-align: left;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links a {
        justify-content: flex-start;
    }

    .sell-icons {
        font-size: 36px;
    }

    .sell-icons i:nth-child(2) {
        font-size: 48px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   CART SYSTEM
   ═══════════════════════════════════════════════════════════════════ */

/* Cart Icon in Nav */
.nav-cart {
    position: relative;
    cursor: pointer;
    padding: 8px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 18px;
}
@media (hover: hover) and (pointer: fine) {
    .nav-cart:hover {
    color: #fff;
}
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-badge:empty {
    display: none;
}

/* Cart Drawer Overlay */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Cart Drawer Panel */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-drawer-header h3 i {
    color: var(--accent);
}

.cart-drawer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .cart-drawer-close:hover {
    color: #fff;
}
}

/* Cart Items List */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 48px;
    opacity: 0.15;
    margin-bottom: 16px;
    display: block;
}

.cart-empty p {
    font-size: 14px;
    margin: 0;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    position: relative;
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .cart-item:hover {
    border-color: var(--border-light);
}
}

.cart-item-cover {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-input);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 4px;
}

.cart-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    opacity: 0;
    transition: var(--transition);
}
@media (hover: hover) and (pointer: fine) {
    .cart-item:hover .cart-item-remove {
    opacity: 1;
}
}
@media (hover: hover) and (pointer: fine) {
    .cart-item-remove:hover {
    color: var(--danger);
}
}

/* Cart Footer */
.cart-footer {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    background: var(--bg-primary);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.cart-total-value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    font-family: inherit;
}
@media (hover: hover) and (pointer: fine) {
    .cart-checkout-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
}

.cart-checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cart-clear-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: var(--transition);
    font-family: inherit;
}
@media (hover: hover) and (pointer: fine) {
    .cart-clear-btn:hover {
    border-color: var(--danger);
    color: var(--danger);
}
}

/* Add to cart button in game modal */
.btn-add-cart {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    font-family: inherit;
}
@media (hover: hover) and (pointer: fine) {
    .btn-add-cart:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
}
/* ─── Tablet Responsive (769px – 1024px) ────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Hero */
    .hero { padding: 80px 24px 60px; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 15px; }

    /* Steps */
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Games grid */
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Membership / plans */
    .plans-grid,
    .membership-cards { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }

    /* Shop filters */
    .shop-filters { flex-wrap: wrap; gap: 10px; }

    /* Order modal */
    .order-modal { max-width: 92%; }

    /* Period presets */
    .period-presets { gap: 6px; }
    .period-btn { padding: 8px 14px; font-size: 12px; }

    /* Also sell section */
    .also-sell-wrapper { padding: 40px 32px; gap: 32px; }
    .also-sell-visual { width: 220px; height: 220px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

    /* Contact */
    .contact-grid { grid-template-columns: repeat(2, 1fr); }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

    /* Account page tabs */
    .account-tabs { flex-wrap: wrap; gap: 8px; }
    .tab-btn { font-size: 13px; padding: 10px 16px; }

    /* Tables on account page */
    .orders-table { font-size: 13px; }
    .orders-table th, .orders-table td { padding: 10px 10px; }

    /* Section padding */
    .section { padding: 60px 24px; }
}

/* ─── Search Overlay ─────────────────────────────────────────────────────── */
.nav-search-toggle {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 16px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
}
@media (hover: hover) and (pointer: fine) {
    .nav-search-toggle:hover { color: var(--accent); background: rgba(255,255,255,0.06); }
}

/* Header search icon for when the nav links collapse into the hamburger drawer */
.nav-search-mobile { display: none; }
@media (max-width: 1024px) {
    .nav-search-mobile { display: flex; margin-left: auto; font-size: 18px; padding: 8px 10px; }
    .nav-search-mobile + .mobile-nav-toggle { margin-left: 4px; }
    .nav-links .nav-search-toggle { display: none; }
}

.search-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--bg-secondary, #1a1a1a);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
}
.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.search-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1099;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.search-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.search-overlay-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 20px 12px;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary, #111);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 10px 14px;
}
.search-overlay-icon { appearance: none; -webkit-appearance: none; background: none; border: none; outline: none; box-shadow: none; color: var(--text-muted); font-size: 15px; flex-shrink: 0; cursor: pointer; padding: 0 4px; transition: color .2s; }
@media (hover: hover) and (pointer: fine) {
    .search-overlay-icon:hover { color: var(--accent); }
}
.search-input-wrap input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
}
.search-input-wrap input::placeholder { color: var(--text-muted); }
.search-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
    .search-close-btn:hover { color: var(--text); }
}

.search-results {
    margin-top: 8px;
    max-height: 360px;
    overflow-y: auto;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}
@media (hover: hover) and (pointer: fine) {
    .search-result-item:hover { background: rgba(255,255,255,0.06); }
}
.search-result-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    background: #222;
    flex-shrink: 0;
}
.search-result-name { font-weight: 600; font-size: 14px; }
.search-result-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.search-no-results { padding: 16px 12px; color: var(--text-muted); font-size: 14px; text-align: center; }

@media (max-width: 768px) {
    .search-overlay { top: 60px; }
    .search-overlay-inner { padding: 12px 14px 10px; }
}

/* ─── Login pop-up: make "create an account" easy to see ─────────── */
.auth-divider {
    display: flex; align-items: center; gap: 12px; margin: 22px 0 14px;
    font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-register-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 18px;
    background: transparent; color: var(--accent);
    border: 2px solid var(--accent); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
    transition: var(--transition);
}
.auth-register-btn:focus-visible {
    background: var(--accent); color: #fff; box-shadow: 0 4px 18px var(--accent-glow);
}

@media (hover: hover) and (pointer: fine) {
    .auth-register-btn:hover {
    background: var(--accent); color: #fff; box-shadow: 0 4px 18px var(--accent-glow);
}
}

/* Phone menu: My Account and Log out are real tap targets, stacked */
@media (max-width: 1024px) {
    .nav-links #authNav { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
    .nav-links #authNav .nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; }
    .nav-links #authNav .nav-logout { color: var(--danger); }
}

/* ─── Registration: steps, upload tiles, ID toggle ───────────────── */
#registerForm [hidden], .upload-tile [hidden] { display: none !important; }

.reg-progress { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.reg-progress-bar { height: 100%; width: 33.33%; background: var(--accent); border-radius: 2px; transition: width 0.3s ease; }
.reg-stepname { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 18px; }
.reg-lead { font-size: 14px; color: var(--text-secondary); margin: 0 0 16px; }

.field-hint { font-size: 13px; color: var(--text-muted); margin-top: 5px; }
.field-error { display: none; font-size: 13px; color: var(--danger); margin-top: 5px; }
.form-group.has-error input { border-color: var(--danger); }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border: none; background: transparent;
    color: var(--text-muted); font-size: 15px; cursor: pointer; border-radius: 50%;
}
@media (hover: hover) and (pointer: fine) {
    .pw-toggle:hover { color: var(--text-primary); }
}

.help-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; margin-left: 6px; padding: 0;
    border: none; border-radius: 50%; background: var(--border-light); color: var(--text-primary);
    font-size: 12px; font-weight: 700; cursor: pointer; vertical-align: middle;
}
.help-box {
    margin-top: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.5;
    color: var(--text-secondary); background: var(--bg-input);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
}

/* ID type switch */
.seg-toggle {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
    background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.seg-toggle button {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 8px 10px; border: none; border-radius: 6px;
    background: transparent; color: var(--text-secondary);
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.seg-toggle button.active { background: var(--accent); color: #fff; box-shadow: 0 2px 10px var(--accent-glow); }

/* Upload tile */
.upload-tile {
    border: 2px dashed var(--border-light); border-radius: var(--radius);
    background: var(--bg-input); transition: var(--transition);
}
.upload-tile.dragover { border-color: var(--accent); background: var(--accent-subtle); }

@media (hover: hover) and (pointer: fine) {
    .upload-tile:hover { border-color: var(--accent); background: var(--accent-subtle); }
}
.upload-tile.filled { border-style: solid; border-color: var(--success); background: var(--bg-input); }
.upload-empty {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 20px 14px; text-align: center; cursor: pointer; outline: none; border-radius: var(--radius);
}
.upload-empty:focus-visible { box-shadow: 0 0 0 3px var(--accent-glow); }
.upload-icon {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: 4px; border-radius: 50%;
    background: var(--accent-subtle); color: var(--accent); font-size: 22px;
}
.upload-title { font-size: 15px; color: var(--text-primary); }
.upload-hint { font-size: 13px; color: var(--text-muted); }
.upload-cta { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.upload-gallery { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--text-secondary); text-decoration: underline; }
.upload-filled { display: flex; align-items: center; gap: 12px; padding: 10px; }
.upload-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 8px; object-fit: cover; background: var(--bg-card); }
.upload-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
.upload-name { font-size: 14px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-ok { font-size: 13px; font-weight: 600; color: var(--success); }
.upload-replace {
    flex-shrink: 0; min-height: 40px; padding: 0 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
    background: transparent; color: var(--text-primary); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.upload-remove {
    flex-shrink: 0; width: 40px; height: 40px; border: none; border-radius: 50%;
    background: transparent; color: var(--text-muted); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
    .upload-remove:hover { color: var(--danger); }
}

.trust-note {
    display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; padding: 12px;
    font-size: 13px; line-height: 1.5; color: var(--text-secondary);
    background: var(--accent-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.trust-note i { color: var(--success); margin-top: 3px; }

@media (max-width: 768px) {
    #registerForm .form-group input { font-size: 16px; min-height: 46px; }
    .upload-empty { padding: 24px 14px; }
}

/* ─── Press, focus and reduced motion ───────────────────────────── */
.btn:active, .btn-add-cart:active, .cart-checkout-btn:active, .cart-clear-btn:active,
.period-btn:active, .slot-btn:active, .auth-register-btn:active, .modal-close:active,
.nav-cart:active, .theme-toggle:active, .seg-toggle button:active {
    transform: scale(0.97);
}

:where(a, button, summary, select, [role="button"], [tabindex]):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
