/* =========================================================================
   AllianceMC Store — Main Stylesheet
   Dark Minecraft-themed design
   ========================================================================= */

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
    --mc-bg: #0d0f12;
    --mc-surface: #161a20;
    --mc-surface-2: #1e242d;
    --mc-surface-3: #252c38;
    --mc-border: #2a3244;
    --mc-border-light: #3a4560;

    --mc-green: #4ade80;
    --mc-green-dark: #22c55e;
    --mc-green-deeper: #16a34a;
    --mc-blue: #60a5fa;
    --mc-yellow: #fbbf24;
    --mc-red: #f87171;
    --mc-purple: #c084fc;

    --mc-text: #e2e8f0;
    --mc-text-muted: #64748b;
    --mc-text-dim: #94a3b8;

    --navbar-h: 64px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow-green: 0 0 20px rgba(74, 222, 128, 0.15);
    --shadow-glow-blue: 0 0 20px rgba(96, 165, 250, 0.15);

    --transition: 0.2s ease;
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ── Reset & Base ───────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--mc-bg);
    color: var(--mc-text);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: var(--mc-green);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--mc-green-dark);
}

img {
    max-width: 100%;
}

/* ── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--mc-surface);
}
::-webkit-scrollbar-thumb {
    background: var(--mc-border-light);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--mc-text-muted);
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--mc-text);
}

.section-title {
    font-size: 1.75rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: "";
    display: block;
    height: 3px;
    width: 48px;
    background: linear-gradient(90deg, var(--mc-green), transparent);
    border-radius: 2px;
    position: absolute;
    bottom: -6px;
    left: 0;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.mc-navbar {
    background: rgba(13, 15, 18, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--mc-border);
    height: var(--navbar-h);
    z-index: 1030;
}

/* Brand */
.brand-name {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.05em;
    color: var(--mc-text);
}
.brand-accent {
    color: var(--mc-green);
}
.brand-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.6));
}

/* Nav links */
.mc-navbar .nav-link {
    color: var(--mc-text-dim);
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition:
        color var(--transition),
        background var(--transition);
    position: relative;
}
.mc-navbar .nav-link:hover,
.mc-navbar .nav-link.active {
    color: var(--mc-green);
    background: rgba(74, 222, 128, 0.08);
}

/* Cart button */
.cart-btn {
    position: relative;
    font-size: 1.25rem;
    padding: 0.35rem 0.6rem !important;
}
.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--mc-green);
    color: #000;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Avatar */
.mc-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    border-radius: var(--radius-sm);
    image-rendering: pixelated;
    border: 1px solid var(--mc-border);
    object-fit: cover;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-block;
}
.mc-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--mc-surface-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--mc-text-muted);
    border: 1px solid var(--mc-border);
}

/* Navbar username label — truncates long nicks */
.nav-username {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* Dropdown */
.mc-dropdown {
    background: var(--mc-surface-2);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-md);
    min-width: 200px;
    box-shadow: var(--shadow-card);
    padding: 0.4rem 0;
    animation: dropdownReveal 0.2s cubic-bezier(0.2, 0, 0.13, 1.5);
    transform-origin: top right;
}
@keyframes dropdownReveal {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(-6px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.mc-dropdown .dropdown-item {
    color: var(--mc-text-dim);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition:
        background var(--transition-smooth),
        color var(--transition),
        padding-left var(--transition);
}
.mc-dropdown .dropdown-item:hover {
    background: var(--mc-surface-3);
    color: var(--mc-text);
    padding-left: 1.2rem;
}
.mc-dropdown .dropdown-item.text-danger:hover {
    color: var(--mc-red) !important;
}
.mc-dropdown .dropdown-item.text-warning:hover {
    color: var(--mc-yellow) !important;
}
.mc-dropdown .dropdown-divider {
    border-color: var(--mc-border);
}
.mc-dropdown .dropdown-header {
    color: var(--mc-text-muted);
}

/* =========================================================================
   ALERTS / MESSAGES
   ========================================================================= */
.mc-alert {
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    animation: alertSlideIn 0.4s cubic-bezier(0.2, 0, 0.13, 1.5);
}
@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.mc-alert.fade:not(.show) {
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    transform: translateY(-8px);
}
.mc-alert-success {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.35);
    color: var(--mc-green);
}
.mc-alert-error,
.mc-alert-danger {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.35);
    color: var(--mc-red);
}
.mc-alert-warning {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.35);
    color: var(--mc-yellow);
}
.mc-alert-info {
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
    color: var(--mc-blue);
}

/* =========================================================================
   MAIN CONTENT
   ========================================================================= */
.mc-main {
    flex: 1;
    animation: pageEnter 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.mc-hero {
    position: relative;
    padding: 80px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse 70% 60% at 60% 50%,
            rgba(74, 222, 128, 0.07) 0%,
            transparent 70%
        ),
        linear-gradient(180deg, var(--mc-bg) 0%, var(--mc-surface) 100%);
    border-bottom: 1px solid var(--mc-border);
}

.mc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(var(--mc-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--mc-border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.18;
    pointer-events: none;
}

.mc-hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    animation: heroTextIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}
.hero-title .text-green {
    color: var(--mc-green);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--mc-text-dim);
    max-width: 520px;
    margin-bottom: 2rem;
    animation: heroTextIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--mc-border);
    animation: heroTextIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mc-green);
    line-height: 1;
    transition: transform 0.3s ease;
}
.stat-item:hover .stat-value {
    transform: scale(1.1);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--mc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn-mc-green {
    background: linear-gradient(
        135deg,
        var(--mc-green-dark),
        var(--mc-green-deeper)
    );
    color: #000;
    font-weight: 700;
    font-family: "Rajdhani", sans-serif;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-sm);
    transition:
        filter var(--transition-smooth),
        transform var(--transition-smooth),
        box-shadow var(--transition-smooth);
    box-shadow: 0 2px 12px rgba(74, 222, 128, 0.25);
    position: relative;
    overflow: hidden;
}
.btn-mc-green::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--ripple-x, 50%) var(--ripple-y, 50%),
        rgba(255, 255, 255, 0.3) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.btn-mc-green:active::after {
    opacity: 1;
    transition: opacity 0s;
}
.btn-mc-green:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(74, 222, 128, 0.45);
    color: #000;
}
.btn-mc-green:active {
    transform: translateY(0) scale(0.97);
    filter: brightness(0.95);
    transition-duration: 0.1s;
}

.btn-mc-outline {
    background: transparent;
    color: var(--mc-green);
    border: 1px solid var(--mc-green);
    font-weight: 600;
    font-family: "Rajdhani", sans-serif;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    transition:
        background var(--transition-smooth),
        color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        transform var(--transition-smooth);
}
.btn-mc-outline:hover {
    background: rgba(74, 222, 128, 0.12);
    color: var(--mc-green);
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.2);
    transform: translateY(-1px);
}
.btn-mc-outline:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}

.btn-mc-ghost {
    background: var(--mc-surface-2);
    color: var(--mc-text-dim);
    border: 1px solid var(--mc-border);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition:
        background var(--transition-smooth),
        color var(--transition-smooth),
        border-color var(--transition-smooth),
        transform var(--transition);
}
.btn-mc-ghost:hover {
    background: var(--mc-surface-3);
    color: var(--mc-text);
    border-color: var(--mc-border-light);
}
.btn-mc-ghost:active {
    transform: scale(0.96);
    transition-duration: 0.1s;
}

.btn-mc-danger {
    background: rgba(248, 113, 113, 0.12);
    color: var(--mc-red);
    border: 1px solid rgba(248, 113, 113, 0.3);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition:
        background var(--transition-smooth),
        box-shadow var(--transition-smooth),
        transform var(--transition);
}
.btn-mc-danger:hover {
    background: rgba(248, 113, 113, 0.2);
    color: var(--mc-red);
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.2);
}
.btn-mc-danger:active {
    transform: scale(0.95);
    transition-duration: 0.1s;
}

/* =========================================================================
   CARDS — Generic
   ========================================================================= */
.mc-card {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition:
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        transform var(--transition-smooth);
}
.mc-card:hover {
    border-color: var(--mc-border-light);
    box-shadow: var(--shadow-card), var(--shadow-glow-green);
    transform: translateY(-2px);
}

/* =========================================================================
   PRODUCT CARD
   ========================================================================= */
.product-card {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        transform var(--transition-smooth);
    height: 100%;
}

.product-card:hover {
    border-color: rgba(74, 222, 128, 0.45);
    box-shadow:
        var(--shadow-card),
        0 0 28px rgba(74, 222, 128, 0.12);
    transform: translateY(-4px);
}

.product-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--mc-surface-2);
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card__img {
    transform: scale(1.07);
}

.product-card__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--mc-border-light);
    background: var(--mc-surface-2);
}

.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--mc-green-deeper);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    transition: transform var(--transition-bounce);
}
.product-card:hover .product-card__badge {
    transform: scale(1.08);
}

.product-card__body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__category {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mc-green);
    margin-bottom: 0.35rem;
}

.product-card__title {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--mc-text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.product-card__title a {
    color: inherit;
}
.product-card__title a:hover {
    color: var(--mc-green);
}

.product-card__desc {
    font-size: 0.83rem;
    color: var(--mc-text-muted);
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-top: 1px solid var(--mc-border);
    padding-top: 0.75rem;
    margin-top: auto;
}

.product-card__price {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mc-green);
}

/* =========================================================================
   CATEGORY FILTER PILLS
   ========================================================================= */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--mc-border);
    background: var(--mc-surface-2);
    color: var(--mc-text-dim);
    cursor: pointer;
    text-decoration: none;
    transition:
        border-color var(--transition-smooth),
        color var(--transition-smooth),
        background var(--transition-smooth),
        transform var(--transition),
        box-shadow var(--transition-smooth);
}
.category-pill:hover {
    border-color: var(--mc-green);
    color: var(--mc-green);
    background: rgba(74, 222, 128, 0.07);
    transform: translateY(-1px);
}
.category-pill:active {
    transform: translateY(0) scale(0.96);
    transition-duration: 0.1s;
}
.category-pill.active {
    background: rgba(74, 222, 128, 0.15);
    border-color: var(--mc-green);
    color: var(--mc-green);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.15);
}

/* =========================================================================
   FORMS
   ========================================================================= */
.mc-form-wrapper {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem;
    box-shadow: var(--shadow-card);
    max-width: 480px;
    width: 100%;
}

.form-control,
.form-select {
    background: var(--mc-surface-2) !important;
    border: 1px solid var(--mc-border) !important;
    color: var(--mc-text) !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.9rem;
    padding: 0.55rem 0.85rem;
    transition:
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        background var(--transition-smooth);
}

.form-control::placeholder {
    color: var(--mc-text-muted) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--mc-green) !important;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15) !important;
    background: var(--mc-surface-3) !important;
    outline: none;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mc-text-dim);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.form-text {
    color: var(--mc-text-muted) !important;
    font-size: 0.78rem;
}

.invalid-feedback {
    font-size: 0.78rem;
}
.form-control.is-invalid {
    border-color: var(--mc-red) !important;
}
.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
}

/* =========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================= */
.product-detail__img-wrap {
    background: var(--mc-surface-2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--mc-border);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-detail__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-detail__no-img {
    font-size: 6rem;
    color: var(--mc-border-light);
}

.product-detail__category {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mc-green);
    margin-bottom: 0.5rem;
}

.product-detail__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.product-detail__price {
    font-family: "Rajdhani", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--mc-green);
    margin: 1rem 0;
}

.product-detail__desc {
    color: var(--mc-text-dim);
    font-size: 0.95rem;
    line-height: 1.75;
    border-top: 1px solid var(--mc-border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}
.qty-btn {
    background: var(--mc-surface-2);
    border: none;
    color: var(--mc-text);
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    cursor: pointer;
    transition:
        background var(--transition-smooth),
        color var(--transition),
        transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    background: var(--mc-surface-3);
    color: var(--mc-green);
}
.qty-btn:active {
    transform: scale(0.88);
    transition-duration: 0.08s;
}
.qty-input {
    background: var(--mc-surface) !important;
    border: none !important;
    border-left: 1px solid var(--mc-border) !important;
    border-right: 1px solid var(--mc-border) !important;
    border-radius: 0 !important;
    width: 55px;
    text-align: center;
    font-weight: 700;
}
.qty-input:focus {
    box-shadow: none !important;
}
/* Скрыть нативные стрелочки у input[type=number] */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
.qty-input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* =========================================================================
   CART
   ========================================================================= */
.cart-item {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition:
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        transform var(--transition-smooth);
}
.cart-item:hover {
    border-color: var(--mc-border-light);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    transform: translateX(4px);
}

.cart-item__img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--mc-border);
    flex-shrink: 0;
    background: var(--mc-surface-2);
}
.cart-item__no-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--mc-border);
    flex-shrink: 0;
    background: var(--mc-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--mc-border-light);
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--mc-text);
}
.cart-item__name a {
    color: inherit;
}
.cart-item__name a:hover {
    color: var(--mc-green);
}

.cart-item__price {
    font-size: 0.85rem;
    color: var(--mc-text-muted);
}

.cart-summary {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--navbar-h) + 1rem);
}
.cart-summary__title {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--mc-border);
}
.cart-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--mc-text-dim);
    margin-bottom: 0.5rem;
}
.cart-summary__total {
    display: flex;
    justify-content: space-between;
    font-family: "Rajdhani", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--mc-green);
    padding-top: 0.75rem;
    border-top: 1px solid var(--mc-border);
    margin-top: 0.5rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}
.cart-empty__icon {
    font-size: 4rem;
    color: var(--mc-border-light);
    margin-bottom: 1rem;
}
.cart-empty__title {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.5rem;
    color: var(--mc-text-dim);
    margin-bottom: 0.5rem;
}

/* =========================================================================
   CHECKOUT
   ========================================================================= */
.checkout-section-title {
    font-family: "Rajdhani", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mc-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--mc-border);
}

.order-confirm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--mc-border);
    font-size: 0.88rem;
    gap: 0.5rem;
}
.order-confirm-item:last-child {
    border-bottom: none;
}
.order-confirm-item__name {
    color: var(--mc-text-dim);
    flex: 1;
}
.order-confirm-item__qty {
    color: var(--mc-text-muted);
    font-size: 0.8rem;
}
.order-confirm-item__price {
    color: var(--mc-green);
    font-weight: 700;
    font-family: "Rajdhani", sans-serif;
    font-size: 0.95rem;
}

/* =========================================================================
   ORDERS LIST & DETAIL
   ========================================================================= */
.order-card {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    transition:
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        transform var(--transition-smooth);
}
.order-card:hover {
    border-color: var(--mc-border-light);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}
.order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.order-card__id {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mc-text);
}
.order-card__date {
    font-size: 0.8rem;
    color: var(--mc-text-muted);
}
.order-card__items {
    font-size: 0.85rem;
    color: var(--mc-text-dim);
    margin-bottom: 0.75rem;
}
.order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--mc-border);
    flex-wrap: wrap;
    gap: 0.5rem;
}
.order-card__total {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mc-green);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
}
.badge-warning {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
    color: var(--mc-yellow);
}
.badge-info {
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.3);
    color: var(--mc-blue);
}
.badge-success {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.3);
    color: var(--mc-green);
}
.badge-danger {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.3);
    color: var(--mc-red);
}
.badge-secondary {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.3);
    color: var(--mc-text-muted);
}

/* =========================================================================
   PROFILE PAGE
   ========================================================================= */
.profile-header {
    background: linear-gradient(135deg, var(--mc-surface), var(--mc-surface-2));
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    transition: box-shadow var(--transition-smooth);
}
.profile-header:hover {
    box-shadow: var(--shadow-card);
}
.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    image-rendering: pixelated;
    border: 2px solid var(--mc-border);
    flex-shrink: 0;
    transition:
        transform var(--transition-bounce),
        border-color var(--transition-smooth);
}
.profile-header:hover .profile-avatar {
    transform: scale(1.08);
    border-color: var(--mc-green);
}
.profile-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: var(--mc-surface-3);
    border: 2px solid var(--mc-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--mc-text-muted);
    flex-shrink: 0;
}
.profile-name {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}
.profile-mc-nick {
    font-size: 0.85rem;
    color: var(--mc-green);
    font-weight: 600;
}
.profile-balance {
    margin-left: auto;
    text-align: right;
}
.balance-label {
    font-size: 0.75rem;
    color: var(--mc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.balance-value {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mc-yellow);
}

/* =========================================================================
   AUTH PAGES (login / register)
   ========================================================================= */
.auth-page {
    min-height: calc(100vh - var(--navbar-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background:
        radial-gradient(
            ellipse 60% 50% at 50% 40%,
            rgba(74, 222, 128, 0.05) 0%,
            transparent 70%
        ),
        var(--mc-bg);
}
.auth-page .mc-form-wrapper {
    animation: authFormIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes authFormIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.75rem;
}
.auth-logo .brand-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.4rem;
}
.auth-logo .brand-name {
    font-size: 1.75rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--mc-text-muted);
    font-size: 0.8rem;
    margin: 1.25rem 0;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--mc-border);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.mc-footer {
    background: var(--mc-surface);
    border-top: 2px solid var(--mc-border-light);
}
.mc-footer .footer-links a {
    transition:
        color var(--transition-smooth),
        padding-left var(--transition);
}
.mc-footer .footer-links a:hover {
    padding-left: 4px;
}

.footer-heading {
    font-family: "Rajdhani", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mc-green);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--mc-border);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links a {
    color: var(--mc-text-dim);
    font-size: 0.9rem;
    transition: color var(--transition);
    display: flex;
    align-items: center;
}
.footer-links a:hover {
    color: var(--mc-green);
}

.server-ip-badge {
    display: inline-flex;
    align-items: center;
    background: var(--mc-surface-2);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.85rem;
    font-size: 0.88rem;
    font-family: "Courier New", monospace;
    color: var(--mc-green);
    cursor: text;
    user-select: all;
}

.social-link {
    color: var(--mc-text-dim);
    transition:
        color var(--transition-smooth),
        transform var(--transition-bounce);
    display: inline-flex;
}
.social-link:hover {
    color: var(--mc-green);
    transform: translateY(-3px) scale(1.15);
}

/* =========================================================================
   SECTION LAYOUTS
   ========================================================================= */
.shop-section {
    padding: 3rem 0;
}
.shop-section--sm {
    padding: 1.75rem 0;
}

/* =========================================================================
   BREADCRUMBS
   ========================================================================= */
.mc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--mc-text-muted);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.mc-breadcrumb a {
    color: var(--mc-text-muted);
}
.mc-breadcrumb a:hover {
    color: var(--mc-green);
}
.mc-breadcrumb__sep {
    color: var(--mc-border-light);
}
.mc-breadcrumb__current {
    color: var(--mc-text-dim);
}

/* =========================================================================
   PAGE HEADER STRIP
   ========================================================================= */
.page-header {
    background: linear-gradient(180deg, var(--mc-surface) 0%, transparent 100%);
    border-bottom: 1px solid var(--mc-border);
    padding: 2rem 0 1.5rem;
}
.page-header__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 0;
    animation: heroTextIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}
.mc-breadcrumb {
    animation: heroTextIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* =========================================================================
   EMPTY STATE
   ========================================================================= */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}
.empty-state__icon {
    font-size: 3.5rem;
    color: var(--mc-border-light);
    margin-bottom: 1.25rem;
    display: block;
}
.empty-state__title {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mc-text-dim);
    margin-bottom: 0.5rem;
}
.empty-state__text {
    font-size: 0.9rem;
    color: var(--mc-text-muted);
    max-width: 360px;
    margin: 0 auto 1.5rem;
}

/* =========================================================================
   ORDER DETAIL
   ========================================================================= */
.order-detail-header {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}
.order-items-table {
    width: 100%;
    border-collapse: collapse;
}
.order-items-table th {
    background: var(--mc-surface-2);
    color: var(--mc-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--mc-border);
}
.order-items-table td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--mc-border);
    font-size: 0.88rem;
    color: var(--mc-text-dim);
    vertical-align: middle;
}
.order-items-table tr:last-child td {
    border-bottom: none;
}
.order-items-table tr:hover td {
    background: var(--mc-surface-2);
}

/* =========================================================================
   UTILITIES
   ========================================================================= */
.text-green {
    color: var(--mc-green) !important;
}
.text-yellow {
    color: var(--mc-yellow) !important;
}
.text-blue {
    color: var(--mc-blue) !important;
}
.text-red {
    color: var(--mc-red) !important;
}
.text-muted-mc {
    color: var(--mc-text-muted) !important;
}

.bg-surface {
    background: var(--mc-surface) !important;
}
.bg-surface-2 {
    background: var(--mc-surface-2) !important;
}

.border-mc {
    border-color: var(--mc-border) !important;
}

.rounded-mc {
    border-radius: var(--radius-md) !important;
}

.divider-mc {
    border: none;
    border-top: 1px solid var(--mc-border);
    margin: 1.5rem 0;
}

/* Glow effects */
.glow-green {
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}
.glow-box-green {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.25) !important;
}

/* Pixel image rendering */
.pixel {
    image-rendering: pixelated;
}

/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes pulse-green {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pulse-green {
    animation: pulse-green 2s infinite;
}

/* ── Scroll reveal system ─────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition:
        opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(24px);
    transition:
        opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition:
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ── AJAX catalog crossfade ───────────────────────────────────────────── */
#catalog-inner {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#catalog-inner.is-loading {
    opacity: 0.4;
    pointer-events: none;
}
#catalog-inner.is-entering {
    animation: catalogFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes catalogFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Staggered list items ─────────────────────────────────────────────── */
.stagger-item {
    opacity: 0;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.stagger-item:nth-child(1) {
    animation-delay: 0.03s;
}
.stagger-item:nth-child(2) {
    animation-delay: 0.06s;
}
.stagger-item:nth-child(3) {
    animation-delay: 0.09s;
}
.stagger-item:nth-child(4) {
    animation-delay: 0.12s;
}
.stagger-item:nth-child(5) {
    animation-delay: 0.15s;
}
.stagger-item:nth-child(6) {
    animation-delay: 0.18s;
}
.stagger-item:nth-child(7) {
    animation-delay: 0.21s;
}
.stagger-item:nth-child(8) {
    animation-delay: 0.24s;
}
.stagger-item:nth-child(9) {
    animation-delay: 0.27s;
}
.stagger-item:nth-child(10) {
    animation-delay: 0.3s;
}
.stagger-item:nth-child(n + 11) {
    animation-delay: 0.33s;
}

/* Staggered product cards */
.product-grid .product-card {
    opacity: 0;
    animation: fadeInUp 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.product-grid .product-card:nth-child(1) {
    animation-delay: 0.05s;
}
.product-grid .product-card:nth-child(2) {
    animation-delay: 0.1s;
}
.product-grid .product-card:nth-child(3) {
    animation-delay: 0.15s;
}
.product-grid .product-card:nth-child(4) {
    animation-delay: 0.2s;
}
.product-grid .product-card:nth-child(5) {
    animation-delay: 0.25s;
}
.product-grid .product-card:nth-child(6) {
    animation-delay: 0.3s;
}
.product-grid .product-card:nth-child(7) {
    animation-delay: 0.35s;
}
.product-grid .product-card:nth-child(8) {
    animation-delay: 0.4s;
}

/* ── Section title animation ──────────────────────────────────────────── */
.section-title {
    overflow: hidden;
}
.section-title::after {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Cart summary sticky bounce ───────────────────────────────────────── */
.cart-summary {
    transition:
        box-shadow var(--transition-smooth),
        border-color var(--transition-smooth);
}
.cart-summary:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--mc-border-light);
}

/* ── Quantity value change flash ──────────────────────────────────────── */
.qty-flash {
    animation: qtyFlash 0.3s ease;
}
@keyframes qtyFlash {
    0% {
        background: var(--mc-surface) !important;
    }
    50% {
        background: rgba(74, 222, 128, 0.15) !important;
    }
    100% {
        background: var(--mc-surface) !important;
    }
}

/* ── Empty state entrance ─────────────────────────────────────────────── */
.empty-state {
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}
.cart-empty {
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

/* ── Server IP badge interaction ──────────────────────────────────────── */
.server-ip-badge {
    transition:
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth),
        transform var(--transition);
}
.server-ip-badge:hover {
    border-color: var(--mc-green);
    box-shadow: var(--shadow-glow-green);
    transform: translateY(-1px);
}

/* ── Tooltip-like smooth navbar link indicator ────────────────────────── */
.mc-navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--mc-green);
    border-radius: 1px;
    transition:
        width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mc-navbar .nav-link:hover::after,
.mc-navbar .nav-link.active::after {
    width: 60%;
    left: 20%;
}

/* ── Enhanced modal transitions ───────────────────────────────────────── */
.mc-modal-overlay {
    transition: opacity 0.2s ease;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
/* ── Reduce motion for accessibility ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .mc-hero {
        padding: 50px 0 44px;
    }
    .hero-stats {
        gap: 1.25rem;
    }

    .cart-item {
        flex-wrap: wrap;
    }
    .cart-item__actions {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .profile-balance {
        margin-left: 0;
        text-align: left;
    }

    .order-detail-header {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .mc-form-wrapper {
        padding: 1.5rem 1.25rem;
    }
    .cart-summary {
        position: static;
    }
    .product-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================================
   CUSTOM CONFIRM MODAL
   ========================================================================= */
.mc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
.mc-modal-overlay.active {
    display: flex;
    animation: mcModalFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes mcModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.mc-modal-box {
    background: var(--mc-surface);
    border: 1px solid var(--mc-border);
    border-radius: 12px;
    padding: 2rem 2rem 1.5rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: mcModalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mcModalSlideIn {
    from {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}
.mc-modal-icon {
    font-size: 2rem;
    color: #f87171;
    margin-bottom: 0.75rem;
}
.mc-modal-message {
    color: var(--mc-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.mc-modal-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}
.mc-modal-actions kbd {
    font-size: 0.65rem;
    background: var(--mc-bg);
    border: 1px solid var(--mc-border);
    border-radius: 4px;
    padding: 1px 4px;
    color: var(--mc-text-muted);
}
