/* ─── Order Flow Styles v6 ─── */

/* ─── Navbar: always show background on order pages ─── */
.navbar {
    background: #050505 !important;
    border-bottom: 1px solid var(--border) !important;
}

/* ─── Nav links: more visible on order pages ─── */
.navbar .nav-links a {
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-xs);
    transition: all 0.2s;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: var(--text);
    background: var(--surface-2);
}

.navbar .nav-btn-secondary {
    border: 1px solid var(--border-hover);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 600;
    transition: all 0.2s;
}

.navbar .nav-btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--accent);
}

/* ─── Fix navbar overlap: push content below fixed header ─── */
.order-progress {
    padding-top: 96px; /* navbar height + spacing */
}

/* Progress Bar */
.order-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-bottom: 0;
    padding-left: 24px;
    padding-right: 24px;
    max-width: 820px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.progress-step { cursor: pointer; }
.progress-step.active { color: var(--accent); }
.progress-step.completed { color: var(--text-secondary); }
.progress-step.completed:hover { color: var(--text); }
.progress-step.future:hover { color: var(--text-secondary); }
.progress-step.future:hover .progress-dot { border-color: var(--border-hover); }

.progress-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s;
}

.progress-step.active .progress-dot {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
}

.progress-step.completed .progress-dot {
    border-color: var(--accent-dim);
    background: var(--accent-dim);
    color: #fff;
}

.progress-line {
    width: 48px;
    height: 2px;
    background: var(--border);
    margin: 0 8px;
    flex-shrink: 0;
}

.progress-line.completed { background: var(--accent-dim); }

@media (max-width: 640px) {
    .progress-step span { display: none; }
    .progress-line { width: 32px; }
}

/* Page Container */
.order-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.order-page h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.order-page .subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
    font-size: 16px;
}

/* ─── View Toggle (Simple / Compare specs) ─── */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: var(--radius-xs);
    background: transparent;
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.view-btn:hover {
    color: var(--text-secondary);
}

.view-btn.active {
    background: var(--surface-2);
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Game Cards — Step 1 */
.game-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.game-select-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.3s;
    position: relative;
}

.game-select-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.game-select-card.featured {
    grid-column: span 2;
}

@media (max-width: 640px) {
    .game-select-card.featured { grid-column: span 1; }
}

.game-select-card.featured:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.game-select-card .card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.game-select-card.featured .card-img { height: 220px; }

.game-select-card .card-body {
    padding: 20px;
}

.game-select-card .card-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.game-select-card .card-body p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 12px;
}

.game-select-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.game-select-card .card-tag {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 3px 10px;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.game-select-card .card-status {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-status.live { color: #22c55e; }
.card-status.live::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

.card-status.soon { color: var(--text-tertiary); }

.game-select-card .card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-select-card.coming-soon {
    opacity: 0.5;
    cursor: default;
}

.game-select-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

/* Notify overlay for coming soon */
.notify-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(5,5,5,0.85);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border-radius: var(--radius);
    z-index: 2;
}

.game-select-card.coming-soon:hover .notify-overlay { display: flex; }

.notify-overlay span {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* ─── Plan Cards — Step 2 ─── */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 16px;
    align-items: start;
}

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

@media (max-width: 1100px) {
    .plan-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .plan-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .plan-grid-4 { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.3s, background 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.plan-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 12px 40px var(--accent-glow);
}

/* Popular plan: subtle visual elevation */
.plan-card.popular {
    border-color: rgba(239,68,68,0.2);
    background: linear-gradient(180deg, rgba(239,68,68,0.04) 0%, var(--surface) 40%);
    transform: scale(1.02);
}

.plan-card.popular:hover {
    transform: scale(1.02) translateY(-4px);
}

.plan-card .plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.plan-card .plan-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.plan-card .plan-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-card .plan-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.plan-card .plan-price {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 4px;
}

.plan-card .plan-price .currency {
    font-size: 18px;
    font-weight: 500;
    vertical-align: top;
    line-height: 2.2;
    margin-right: 2px;
}

.plan-card .plan-price .period {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-tertiary);
}

/* Player range pill */
.plan-player-range {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 14px;
    margin: 12px 0 16px;
    width: fit-content;
}

.plan-player-range svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Highlights (simple view) */
.plan-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plan-highlights li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-highlights li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #22c55e;
}

/* Specs (advanced view) */
.plan-card .plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plan-card .plan-specs li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-card .plan-specs li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent);
}

/* Select button inside card */
.plan-select-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
}

.plan-select-btn:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.plan-select-btn.selected,
.plan-card.selected .plan-select-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.plan-card.popular .plan-select-btn {
    border-color: rgba(239,68,68,0.3);
    background: var(--accent-glow);
    color: var(--text);
}

.plan-card.popular .plan-select-btn:hover,
.plan-card.popular.selected .plan-select-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.plan-card .plan-works-with {
    font-size: 12px;
    color: var(--text-tertiary);
    font-style: italic;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Custom plan card */
/* ─── Custom Card: Inline Builder ─── */
.plan-card-custom {
    border-style: dashed;
    border-color: var(--border-hover);
    background: transparent;
}

.plan-card-custom:hover {
    border-color: var(--accent);
    border-style: dashed;
    background: rgba(239,68,68,0.02);
}

.plan-card-custom.selected {
    border-style: solid;
    border-color: var(--accent);
    background: rgba(239,68,68,0.04);
}

.plan-card-custom .plan-desc {
    margin-bottom: 12px;
}

/* Compact inline selectors */
.custom-inline-selectors {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.custom-inline-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.custom-inline-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.custom-inline-select {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 8px 28px 8px 10px;
    color: var(--text);
    font-size: 12px;
    font-family: var(--font);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color 0.2s;
}

.custom-inline-select:hover {
    border-color: var(--border-hover);
}

.custom-inline-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

/* Live price inside custom card */
.custom-inline-price {
    margin-bottom: 12px;
    text-align: center;
}

.custom-price-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

/* Enterprise CTA (compact) */
.enterprise-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.enterprise-cta a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.enterprise-cta a:hover {
    text-decoration: underline;
}

/* ─── Add-ons ─── */
/* ─── Addons Divider ─── */
.addons-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 48px 0 40px;
}

.addons-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.addons-divider-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* ─── Addons Section ─── */
.addons-section {
    margin-bottom: 48px;
}

.addons-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.addons-section .addons-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
    text-align: center;
}

.addon-category {
    margin-bottom: 32px;
}

.addon-category-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.addon-category-label svg {
    width: 15px;
    height: 15px;
    opacity: 0.6;
}

.one-time-tag {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-tertiary);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
}

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

.addon-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.3s, background 0.2s;
}

/* Subtle top-edge gradient accent on hover */
.addon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.addon-card:hover::before { opacity: 1; }
.addon-card.selected::before { opacity: 1; }

.addon-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.2);
}

.addon-card.selected {
    border-color: var(--accent);
    background: rgba(239,68,68,0.04);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 30px var(--accent-glow);
}

/* Badge (Popular / Recommended) */
.addon-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}

.addon-badge.recommended {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

/* Corner check badge */
.addon-check-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    z-index: 2;
}

.addon-check-corner svg {
    width: 12px;
    height: 12px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.addon-card.selected .addon-check-corner {
    border-color: var(--accent);
    background: var(--accent);
    transform: scale(1.1);
}

.addon-card.selected .addon-check-corner svg { opacity: 1; }

/* Icon circle */
.addon-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.addon-card:hover .addon-icon {
    background: rgba(239,68,68,0.12);
    transform: scale(1.05);
}

.addon-card.selected .addon-icon {
    background: rgba(239,68,68,0.18);
    box-shadow: 0 0 20px var(--accent-glow);
}

.addon-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.addon-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    padding-right: 32px;
}

.addon-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Feature list inside addon cards */
.addon-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.addon-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.addon-features li svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: #22c55e;
}

/* Price row: price pill + action button */
.addon-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.addon-price-pill {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.addon-card.selected .addon-price-pill {
    color: var(--accent);
}

.addon-action-btn {
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-hover);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.addon-action-btn:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
}

.addon-action-btn.selected {
    border-color: transparent;
    background: rgba(239,68,68,0.1);
    color: var(--accent);
}

.addon-action-btn.selected:hover {
    background: rgba(239,68,68,0.15);
}

/* Ghost skip button */
.btn-continue-ghost {
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text-secondary);
}

.btn-continue-ghost:hover {
    border-color: var(--text-tertiary);
    color: var(--text);
    background: var(--surface-2);
}

/* Game selector bar (step 2+) */
.selected-game-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.selected-game-bar img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    object-fit: cover;
}

.selected-game-bar .game-name {
    font-weight: 600;
    font-size: 15px;
    flex: 1;
}

.selected-game-bar .change-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.selected-game-bar .change-link:hover { text-decoration: underline; }

/* Continue Button */
.order-continue {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-continue {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-continue:hover {
    background: var(--accent-dim);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow-strong);
}

.btn-continue:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─── Bundles — Add-ons page ─── */
/* ─── Bundle Section ─── */
.bundle-section {
    margin-bottom: 0;
    position: relative;
    padding: 48px 0;
}

/* Ambient glow behind bundles */
.bundle-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}

.bundle-section-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.bundle-section-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.06));
    border: 1px solid rgba(239,68,68,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 32px rgba(239,68,68,0.1);
}

.bundle-section-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.bundle-section-title {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.bundle-section-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

@media (max-width: 900px) {
    .bundle-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

.bundle-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Top gradient accent line */
.bundle-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
    transition: background 0.3s;
}

.bundle-card:hover::after {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.bundle-card.selected::after {
    background: var(--accent);
}

.bundle-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.bundle-card.selected {
    border-color: var(--accent);
    background: rgba(239,68,68,0.03);
    box-shadow: 0 0 0 1px var(--accent), 0 12px 40px var(--accent-glow);
}

.bundle-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 0 0 12px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 2;
}

.bundle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bundle-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.bundle-save {
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34,197,94,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.bundle-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.bundle-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex: 1;
}

.bundle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 10px;
    background: var(--surface-2);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.bundle-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #22c55e;
}

.bundle-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.bundle-original-price {
    font-size: 15px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.bundle-discounted-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.bundle-select-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bundle-select-btn:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: scale(1.02);
}

.bundle-select-btn.selected,
.bundle-card.selected .bundle-select-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* ─── Add-ons Floating Summary Bar ─── */
.addons-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.addons-actions.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.addons-actions > * {
    max-width: 960px;
}

.addons-selected-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.summary-price {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.addons-buttons {
    flex-shrink: 0;
}

.addons-buttons .btn-continue {
    padding: 12px 32px;
}

@media (max-width: 500px) {
    .addons-actions {
        flex-direction: column;
        text-align: center;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        gap: 12px;
    }
    .addons-selected-summary {
        flex-direction: column;
        gap: 4px;
    }
    .summary-price {
        border-left: none;
        padding-left: 0;
    }
    .addons-buttons { width: 100%; }
    .addons-buttons .btn-continue { width: 100%; }
}

/* Skip button */
.skip-section {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding-bottom: 40px;
}

.btn-skip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.btn-skip:hover {
    color: var(--text-secondary);
    background: var(--surface);
}

.btn-skip svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ─── Review Page — Step 4 ─── */
.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 640px;
    margin: 0 auto 24px;
    overflow: hidden;
}

/* Plan header */
.review-plan-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(239,68,68,0.06) 0%, transparent 60%);
    border-bottom: 1px solid var(--border);
}

.review-plan-img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
}

.review-plan-info {
    flex: 1;
}

.review-plan-game {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.review-plan-name {
    font-size: 20px;
    font-weight: 700;
}

.review-plan-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
}

/* Sections */
.review-section {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
}

.review-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.review-section-header h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.review-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    transition: all 0.2s;
}

.review-edit-link:hover {
    background: var(--accent-glow);
}

.review-edit-link svg {
    width: 13px;
    height: 13px;
}

/* Specs grid */
.review-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .review-specs-grid { grid-template-columns: 1fr; }
}

.review-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.review-spec-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-spec-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.review-spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.review-spec-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Addon rows */
.review-addon-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.review-addon-row:last-child { border-bottom: none; }

.review-addon-row .addon-name {
    flex: 1;
    color: var(--text-secondary);
    font-weight: 500;
}

.addon-type-tag {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-tertiary);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 10px;
    margin-right: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.review-addon-row .addon-price {
    font-weight: 600;
    white-space: nowrap;
}

/* Total section */
/* Summary rows (checkout sidebar) */
.review-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.review-row:last-child { border-bottom: none; }

.review-row .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.review-row .value {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.review-total-section {
    padding: 24px 32px;
}

.review-total {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-savings {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: var(--radius-xs);
    padding: 8px 14px;
}

.review-savings svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.review-total-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.review-total-line .label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    padding-top: 4px;
}

.total-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
}

.total-price-wrap {
    text-align: right;
}

.total-price-wrap .total-price {
    font-size: 32px;
}

.total-per-month {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.original-price {
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: line-through;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.review-total-note {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: right;
}

/* Billing Period Toggle */
.period-toggle {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}

.period-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 120px;
}

.period-btn:hover { border-color: var(--border-hover); }

.period-btn.active {
    border-color: var(--accent);
    color: var(--text);
    background: rgba(239,68,68,0.06);
}

.period-btn .period-label {
    font-weight: 600;
}

.period-btn .period-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 2px 0;
}

.period-btn .discount {
    font-size: 11px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34,197,94,0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

/* ─── Review Two-Column Layout ─── */
.review-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.review-right .review-summary-card {
    position: sticky;
    top: 100px;
}

.review-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.review-checkout-btn {
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 860px) {
    .review-layout {
        grid-template-columns: 1fr;
    }
    .review-right .review-summary-card {
        position: static;
    }
}

/* ─── Review Breakdown ─── */
.review-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.review-breakdown-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.review-breakdown-line span:last-child {
    font-weight: 500;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.review-breakdown-discount {
    color: #22c55e;
}

.review-breakdown-discount span:last-child {
    font-weight: 600;
    color: #22c55e !important;
}

.review-breakdown-tax {
    color: var(--text-tertiary);
}

.review-breakdown-tax span:last-child {
    color: var(--text-tertiary) !important;
}

.review-subtotal {
    padding-top: 12px;
    margin-bottom: 4px;
    border-top: 1px solid var(--border);
}

.review-subtotal .review-breakdown-line {
    font-weight: 600;
    color: var(--text);
}

.review-subtotal .review-breakdown-line span:last-child {
    font-weight: 600;
}

.review-total-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 16px;
}

.total-per-month-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* ─── Checkout — Step 5 ─── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.checkout-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.checkout-form-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-row.full { grid-template-columns: 1fr; }

@media (max-width: 500px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 12px 14px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input::placeholder { color: var(--text-tertiary); }

.form-error {
    color: var(--accent);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.checkout-summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary-card h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.login-prompt {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.login-prompt a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.login-prompt a:hover { text-decoration: underline; }

/* Shared animations */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

.order-page > * {
    animation: fadeInUp 0.3s ease-out both;
}

/* ─── Focus-visible: all interactive cards & buttons ─── */
.game-select-card:focus-visible,
.plan-card:focus-visible,
.bundle-card:focus-visible,
.addon-card:focus-visible,
.period-btn:focus-visible,
.view-btn:focus-visible,
.btn-continue:focus-visible,
.btn-skip:focus-visible,
.bundle-select-btn:focus-visible,
.plan-select-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.spec-select:focus-visible,
.form-group input:focus-visible,
.form-group select:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ─── Mobile: Tablet ─── */
@media (max-width: 768px) {
    /* Navbar hamburger on order pages */
    .navbar .nav-links { display: none; }
    .navbar .nav-actions { display: none; }
    .navbar .nav-hamburger { display: block; }

    .navbar .nav-links.open,
    .navbar .nav-actions.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #050505;
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 12px;
        z-index: 99;
    }
    .navbar .nav-actions.open {
        padding-top: 0;
        border-bottom: none;
        padding-bottom: 20px;
    }

    /* Order page header */
    .order-page h1 { font-size: 24px; }
    .order-page .subtitle { font-size: 14px; margin-bottom: 24px; }
    .order-page { padding: 28px 16px 60px; }

    /* Progress bar */
    .order-progress { padding-left: 16px; padding-right: 16px; }
    .progress-dot { width: 28px; height: 28px; font-size: 12px; }
    .progress-line { width: 24px; margin: 0 4px; }

    /* Game cards */
    .game-select-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .game-select-card.featured { grid-column: 1 / -1; }
    .card-body { padding: 12px 14px; }
    .card-body h3 { font-size: 15px; }
    .card-body p { font-size: 12px; }
    .card-tags { gap: 4px; }
    .card-tag { font-size: 10px; padding: 2px 8px; }
    .card-status { font-size: 11px; padding: 4px 10px; }

    /* Plan cards */
    .plan-grid { grid-template-columns: 1fr; max-width: 100%; }
    .plan-grid-4 { grid-template-columns: 1fr; max-width: 100%; }
    .plan-card { padding: 22px; }

    /* Custom builder — already stacked by default */

    /* Addon grids */
    .addon-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .addon-card { padding: 18px 16px 16px; }
    .addon-icon { width: 40px; height: 40px; margin-bottom: 10px; }
    .addon-icon svg { width: 18px; height: 18px; }
    .addon-name { font-size: 14px; }
    .addon-desc { font-size: 12px; }
    .addon-price-pill { font-size: 13px; }
    .addon-check-corner { width: 20px; height: 20px; top: 10px; right: 10px; }
    .addon-badge { font-size: 9px; padding: 2px 8px; top: 10px; left: 10px; }
    .addon-features li { font-size: 11px; }
    .addon-action-btn { font-size: 11px; padding: 5px 12px; }

    /* Bundles */
    .bundle-grid { grid-template-columns: 1fr; max-width: 100%; }
    .bundle-card { padding: 20px; }
    .bundle-section-title { font-size: 20px; }
    .bundle-section::before { width: 300px; height: 200px; }

    /* Divider */
    .addons-divider { margin: 32px 0 28px; }

    /* Summary bar extra bottom padding for page content */
    .order-page { padding-bottom: 100px; }

    /* Review page */
    .review-plan-header { padding: 18px 20px; gap: 12px; }
    .review-plan-name { font-size: 17px; }
    .review-plan-price { font-size: 18px; }
    .review-section { padding: 18px 20px; }
    .review-specs-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    /* Period toggle */
    .period-toggle { flex-wrap: wrap; gap: 8px; }
    .period-btn { padding: 10px 16px; font-size: 13px; flex: 1; min-width: 0; text-align: center; }

    /* Checkout */
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-form-card { padding: 24px 18px; }
    .checkout-summary-card { position: static; }
    .form-row { grid-template-columns: 1fr; }

    /* Continue button */
    .order-continue { padding: 0 0 20px; }
    .btn-continue { font-size: 14px; padding: 14px 28px; }
}

/* ─── Mobile: Phone ─── */
@media (max-width: 480px) {
    .order-page h1 { font-size: 20px; }
    .order-page { padding: 20px 14px 48px; }

    /* Progress: icons only */
    .progress-step span { display: none; }
    .progress-dot { width: 26px; height: 26px; font-size: 11px; }
    .progress-line { width: 20px; }

    /* Game cards stack */
    .game-select-grid { grid-template-columns: 1fr; gap: 10px; }

    /* Addon cards stack */
    .addon-grid { grid-template-columns: 1fr; }
    .addon-features { display: none; } /* Hide features on small phones to save space */

    /* Review */
    .review-specs-grid { grid-template-columns: 1fr; }
    .review-plan-header { flex-wrap: wrap; }
    .review-plan-price { width: 100%; margin-top: 4px; }

    /* Period toggle stack */
    .period-toggle { flex-direction: column; }
    .period-btn { width: 100%; justify-content: center; }

    /* View toggle */
    .view-toggle { flex-direction: column; width: 100%; }
    .view-btn { justify-content: center; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
