/* =============================================
   COBBLEMON FAMILY — Launcher-inspired Design
   Tokens from ~/workspace/stardew/launcher
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #ED3543;
    --primary-hover: #d42e3a;
    --primary-glow: rgba(237, 53, 67, 0.3);
    --bg-dark: #121212;
    --bg-surface: #1a1a1a;
    --bg-card: #1e1e1e;
    --glass-bg: rgba(30, 30, 30, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --btn-radius: 5px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: auto;
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
}

body {
    display: flex;
    flex-direction: column;
}

#app { flex-shrink: 0; }

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.2s ease;
}

a:hover { color: #ff6b77; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

.content {
    margin-top: 5rem;
    margin-bottom: 3rem;
}

/* =============================================
   BUTTONS (from launcher)
   ============================================= */
.cb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cb-btn-play {
    width: 280px;
    height: 70px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--btn-radius);
    box-shadow: 0 6px 30px rgba(237, 53, 67, 0.4);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.cb-btn-play:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 8px 40px rgba(237, 53, 67, 0.45);
}

.cb-btn-battlepass {
    background: rgba(237, 53, 67, 0.12);
    border: 1px solid rgba(237, 53, 67, 0.35);
    color: var(--primary);
    border-radius: var(--btn-radius);
    padding: 10px 20px;
    font-size: 14px;
}

.cb-btn-battlepass:hover {
    background: rgba(237, 53, 67, 0.22);
    border-color: var(--primary);
    color: #fff;
}

.cb-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    border-radius: var(--btn-radius);
    padding: 10px 20px;
    font-size: 14px;
}

.cb-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cb-btn-primary {
    background: var(--primary);
    color: #fff;
    border-radius: var(--btn-radius);
    box-shadow: 0 4px 10px var(--primary-glow);
}

.cb-btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(237, 53, 67, 0.4);
}

/* =============================================
   NAVBAR
   ============================================= */
.cb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.cb-nav.scrolled {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

.cb-nav .navbar-brand img { height: 50px; width: auto; }

.cb-nav .nav-link {
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: var(--btn-radius);
    transition: all 0.2s ease;
}

.cb-nav .nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
}

.cb-nav .nav-link.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.cb-nav .dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: var(--shadow-lg);
}

.cb-nav .dropdown-item {
    color: var(--text-muted);
    border-radius: var(--btn-radius);
    padding: 8px 14px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.cb-nav .dropdown-item:hover {
    color: var(--primary);
    background: rgba(237, 53, 67, 0.08);
}

.cb-nav-auth {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: var(--btn-radius);
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.cb-nav-auth:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
}

.cb-nav-cta {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: var(--btn-radius);
    border: none;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px var(--primary-glow);
    transition: all 0.2s ease;
}

.cb-nav-cta:hover {
    background: var(--primary-hover);
    color: #fff;
    box-shadow: 0 4px 16px rgba(237, 53, 67, 0.4);
}

/* =============================================
   HERO (launcher-inspired)
   ============================================= */
.cb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.cb-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.cb-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cb-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
}

.cb-hero-logo img {
    width: 500px;
    max-width: 85vw;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

.cb-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.cb-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    backdrop-filter: blur(var(--glass-blur));
}

.cb-hero-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.cb-hero-status .dot.offline {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

/* =============================================
   SECTIONS
   ============================================= */
.cb-section {
    padding: 80px 0;
}

.cb-section-alt {
    background: var(--bg-surface);
}

.cb-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.cb-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.cb-section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cb-section-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =============================================
   GLASS CARDS
   ============================================= */
.cb-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 30px;
    height: 100%;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all 0.3s ease;
}

.cb-card:hover {
    border-color: rgba(237, 53, 67, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cb-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(237, 53, 67, 0.1);
    border: 1px solid rgba(237, 53, 67, 0.15);
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
}

.cb-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cb-card-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   SPLIT SECTIONS
   ============================================= */
.cb-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cb-split-img {
    flex: 1;
    min-width: 0;
}

.cb-split-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    display: block;
}

.cb-split-body {
    flex: 1;
    min-width: 0;
}

.cb-split-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 8px;
}

.cb-split-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cb-split-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.cb-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.cb-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.cb-check-list li i {
    color: var(--primary);
    font-size: 12px;
}

/* =============================================
   NEWS
   ============================================= */
.cb-news-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(var(--glass-blur));
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cb-news-card:hover {
    border-color: rgba(237, 53, 67, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cb-news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cb-news-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cb-news-card-date {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.cb-news-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.cb-news-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.cb-news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 12px;
    transition: gap 0.2s ease;
}

.cb-news-card:hover .cb-news-card-link { gap: 8px; }

/* =============================================
   CTA BANNER
   ============================================= */
.cb-cta {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cb-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.cb-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.cb-cta-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    position: relative;
}

.cb-btn-white {
    background: #fff;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 32px;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.cb-btn-white:hover {
    color: var(--primary);
    transform: scale(1.04);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

/* =============================================
   FOOTER
   ============================================= */
.cb-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.cb-footer h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cb-footer p {
    font-size: 13px;
    line-height: 1.6;
}

.cb-footer-link {
    display: block;
    padding: 3px 0;
    color: var(--text-muted);
    font-size: 13px;
    transition: all 0.2s ease;
}

.cb-footer-link:hover { color: var(--primary); }

.cb-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    margin-right: 6px;
    transition: all 0.2s ease;
}

.cb-footer-social a:hover {
    background: rgba(237, 53, 67, 0.1);
    border-color: rgba(237, 53, 67, 0.3);
    color: var(--primary);
}

.cb-footer-bottom {
    padding-top: 20px;
    margin-top: 24px;
    border-top: 1px solid var(--glass-border);
    font-size: 12px;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.cb-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cb-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   AUTH PAGES (login / register)
   ============================================= */
.cb-auth {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.cb-auth-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.cb-auth-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cb-auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cb-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.cb-auth-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.cb-auth-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cb-auth-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.cb-form-group {
    margin-bottom: 18px;
}

.cb-form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.cb-form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

.cb-form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.cb-form-input:focus {
    border-color: var(--primary);
    background: rgba(237, 53, 67, 0.04);
    box-shadow: 0 0 0 3px rgba(237, 53, 67, 0.1);
}

.cb-form-input.is-invalid {
    border-color: var(--primary);
}

.cb-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cb-form-row .form-check-label {
    font-size: 13px;
    color: var(--text-muted);
}

.cb-form-link {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.cb-form-link:hover {
    color: #ff6b77;
}

.cb-auth-submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.cb-auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-muted);
}

.cb-auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.cb-auth-footer a:hover {
    color: #ff6b77;
}

/* Hide default header/footer when auth page is shown */

/* =============================================
   SHOP
   ============================================= */
.cb-shop-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Sidebar */
.cb-shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cb-shop-nav {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
}

.cb-shop-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.2s ease;
}

.cb-shop-nav-item:last-child { border-bottom: none; }

.cb-shop-nav-item:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
}

.cb-shop-nav-item.active {
    color: var(--primary);
    background: rgba(237, 53, 67, 0.08);
    border-left: 3px solid var(--primary);
}

.cb-shop-nav-sub {
    padding-left: 36px;
}

/* User card */
.cb-shop-user {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 18px;
}

.cb-shop-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.cb-shop-avatar {
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.cb-shop-avatar-sm {
    border-radius: 6px;
    border: 1px solid var(--glass-border);
}

.cb-shop-username {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.cb-shop-balance {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.cb-shop-user-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Widgets */
.cb-shop-widget {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 18px;
}

.cb-shop-widget-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cb-shop-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.cb-shop-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.cb-shop-progress-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

.cb-shop-recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--glass-border);
}

.cb-shop-recent-item:last-child { border-bottom: none; }

.cb-shop-recent-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

.cb-shop-recent-meta {
    font-size: 11px;
    color: var(--text-muted);
}

.cb-shop-empty-text {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Package cards */
.cb-shop-package {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cb-shop-package:hover {
    border-color: rgba(237, 53, 67, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cb-shop-package-img-link {
    display: block;
    overflow: hidden;
}

.cb-shop-package-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cb-shop-package:hover .cb-shop-package-img {
    transform: scale(1.05);
}

.cb-shop-package-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cb-shop-package-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cb-shop-package-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.cb-shop-package-old-price {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 6px;
}

/* Table */
.cb-shop-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.cb-shop-table thead th {
    background: rgba(255, 255, 255, 0.04);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 12px 16px;
    border-bottom: 1px solid var(--glass-border);
}

.cb-shop-table thead th:first-child { border-radius: 8px 0 0 0; }
.cb-shop-table thead th:last-child { border-radius: 0 8px 0 0; }

.cb-shop-table tbody td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-main);
    border-bottom: 1px solid var(--glass-border);
    vertical-align: middle;
}

.cb-shop-table tbody tr:last-child td { border-bottom: none; }

.cb-shop-table-name {
    font-weight: 600;
}

/* Inputs */
.cb-shop-qty-input {
    width: 80px !important;
    padding: 8px 12px !important;
    text-align: center;
}

.cb-shop-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cb-shop-input-group .cb-form-input {
    flex: 1;
    min-width: 0;
}

/* Alert */
.cb-shop-alert {
    padding: 16px 20px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-md);
    color: #ffc107;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Payment cards */
.cb-shop-payment-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cb-shop-payment-card:hover {
    border-color: rgba(237, 53, 67, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Modal */
.cb-shop-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.cb-shop-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
}

.cb-shop-modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.cb-shop-modal-body {
    padding: 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.cb-shop-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 12px;
}

/* Button variants */
.cb-btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.cb-btn-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    border-radius: var(--btn-radius);
}

.cb-btn-danger:hover {
    background: rgba(220, 53, 69, 0.25);
    border-color: #dc3545;
    color: #ff6b77;
}

/* =============================================
   DOWNLOAD PAGE
   ============================================= */
.cb-dl-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.cb-dl-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.cb-dl-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 8px 0 0;
    max-width: 460px;
}

.cb-dl-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.cb-dl-card:hover {
    border-color: rgba(237, 53, 67, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.cb-dl-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(237, 53, 67, 0.08);
    border: 1px solid rgba(237, 53, 67, 0.15);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.cb-dl-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cb-dl-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.cb-dl-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cb-dl-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.cb-dl-btn {
    width: 100%;
    margin-top: auto;
    padding: 14px 20px;
    font-size: 13px;
}

.cb-dl-step {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px var(--primary-glow);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .cb-split {
        flex-direction: column;
        gap: 30px;
    }
    .cb-split.cb-split-reverse { flex-direction: column-reverse; }
    .cb-section { padding: 60px 0; }
    .cb-hero-logo img { width: 350px; }
    .cb-dl-hero { min-height: 40vh; }
}

@media (max-width: 768px) {
    .cb-hero-actions { flex-direction: column; }
    .cb-btn-play { width: 240px; height: 52px; font-size: 18px; }
    .cb-section-title { font-size: 26px; }
    .cb-split-title { font-size: 24px; }
    .cb-cta { padding: 40px 20px; }
    .cb-cta-title { font-size: 24px; }
    .cb-dl-title { font-size: 22px; }
}
