/* ==========================================================================
   3Q HOÀNG KIM — THEME: MIDNIGHT NAVY & IMPERIAL GOLD (XANH DẠ LAM & ÁNH KIM)
   ========================================================================== */

:root {
    --theme-bg: #070b14;
    --theme-panel: rgba(13, 21, 39, 0.90);
    --theme-panel-light: rgba(18, 29, 54, 0.85);
    --theme-border: rgba(56, 189, 248, 0.22);
    --theme-border-gold: rgba(245, 158, 11, 0.35);
    --theme-cyan: #38bdf8;
    --theme-blue: #3b82f6;
    --theme-gold: #fbbf24;
    --theme-gold-bright: #fde047;
    --theme-gold-dark: #d97706;
    --theme-text-main: #f8fafc;
    --theme-text-muted: #94a3b8;
    --theme-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

html {
    background: var(--theme-bg);
}

body.public-site {
    background: var(--theme-bg);
    color: var(--theme-text-main);
    font-family: "Be Vietnam Pro", Arial, sans-serif;
}

/* Background Backdrop với ảnh Dạ Lam chiến trường */
.public-backdrop {
    position: fixed;
    z-index: -2;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 11, 20, 0.55) 0%, rgba(10, 16, 30, 0.88) 65%, #070b14 100%),
                url("/images/bg_dallam.jpg") center top / cover no-repeat !important;
}

.public-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 12%, rgba(56, 189, 248, 0.16), transparent 55%),
                radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.14), transparent 45%);
    pointer-events: none;
}

/* Header mượt mà phong cách Glassmorphism */
.public-header {
    background: rgba(9, 14, 26, 0.88) !important;
    border-bottom: 1px solid var(--theme-border) !important;
    backdrop-filter: blur(18px);
}

.public-brand-mark, .brand-hk {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(251, 191, 36, 0.7) !important;
    border-radius: 12px;
    background: linear-gradient(145deg, #1e3a8a, #0f172a) !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3), inset 0 0 12px rgba(251, 191, 36, 0.25) !important;
    color: var(--theme-gold) !important;
    display: grid;
    place-items: center;
    font-family: 'Cinzel', serif;
    font-size: 19px;
    font-weight: 900;
}

/* Huy hiệu server status */
.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    font-size: 12px;
    color: var(--theme-cyan);
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap !important;
}

.status-dot-cyan {
    width: 8px;
    height: 8px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
    display: inline-block;
}

/* Navigation Links & Header Fix */
.public-header-inner {
    width: min(1500px, calc(100% - 24px)) !important;
    gap: 6px !important;
}

.public-nav {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    flex-wrap: nowrap !important;
    margin-left: auto !important;
}

.public-nav a {
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    padding: 5px 7px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.nav-uname {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: bottom;
}

@media (max-width: 1400px) {
    .public-nav a {
        padding: 4px 4.5px !important;
        font-size: 11px !important;
        gap: 2px !important;
    }
    .public-nav a.nav-priority-play,
    .public-nav a.nav-priority-download,
    .public-nav a.nav-priority-zalo {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }
    .nav-text-opt {
        display: none !important;
    }
}

.server-status-pill {
    display: none !important;
}

.public-nav a:hover,
.public-nav a.active {
    background: rgba(56, 189, 248, 0.12) !important;
    color: var(--theme-cyan) !important;
}

.public-nav .public-nav-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35) !important;
    border: none !important;
}

.public-nav .public-nav-secondary {
    border: 1px solid var(--theme-border) !important;
    color: #e2e8f0 !important;
}

/* Ưu tiên nổi bật nút Chơi Ngay WebGL, Tải Game & Group Zalo trên Header */
@keyframes navPlayPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55), 0 4px 14px rgba(220, 38, 38, 0.45); }
    50% { box-shadow: 0 0 0 5px rgba(249, 115, 22, 0), 0 4px 18px rgba(251, 146, 60, 0.72); }
}

.public-nav a.nav-priority-play {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 6px 11px !important;
    border-radius: 8px !important;
    border: 1.5px solid #fde047 !important;
    animation: navPlayPulse 2.2s infinite !important;
}

.public-nav a.nav-priority-play i {
    color: #fde047 !important;
}

.public-nav a.nav-priority-play:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

@keyframes navZaloPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.55), 0 4px 14px rgba(0, 104, 255, 0.45); }
    50% { box-shadow: 0 0 0 5px rgba(0, 132, 255, 0), 0 4px 18px rgba(56, 189, 248, 0.7); }
}

.public-nav a.nav-priority-download {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 6px 11px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(52, 211, 153, 0.55) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

.public-nav a.nav-priority-download:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.public-nav a.nav-priority-zalo {
    background: linear-gradient(135deg, #0084ff 0%, #0052cc 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1.5px solid #fbbf24 !important;
    animation: navZaloPulse 2s infinite !important;
}

.public-nav a.nav-priority-zalo i {
    color: #fbbf24 !important;
}

.public-nav a.nav-priority-zalo:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* Nút tải nhanh Mobile trên Header */
.header-mobile-downloads {
    display: none;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 6px;
}

.hdr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    height: auto;
    padding: 5px 11px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
    text-align: left;
    text-decoration: none !important;
    letter-spacing: 0.01em;
    transition: transform 0.15s, opacity 0.15s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.hdr-btn i {
    font-size: 15px;
    flex-shrink: 0;
}

.hdr-btn span {
    display: inline-block;
    line-height: 1.15;
}

.hdr-btn:active {
    transform: scale(0.96);
}

.hdr-btn-apk {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    border: 1px solid rgba(52, 211, 153, 0.55);
}

.hdr-btn-ipa {
    background: linear-gradient(135deg, #334155, #1e293b);
    color: #f8fafc !important;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.hdr-btn-zalo {
    background: linear-gradient(135deg, #0084ff 0%, #0052cc 100%);
    color: #ffffff !important;
    border: 1.5px solid #fbbf24;
    animation: navZaloPulse 2s infinite;
}

.hdr-btn-zalo i {
    color: #fbbf24;
}

.hdr-btn-play {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    color: #ffffff !important;
    border: 1.5px solid #fde047;
    animation: navPlayPulse 2.2s infinite;
}

.hdr-btn-play i {
    color: #fde047;
}

/* Nút bấm chuẩn hoá - Uniform Buttons */
.btn-play-webgl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    height: 48px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 15px;
    border-radius: 10px;
    border: 1.5px solid rgba(253, 224, 71, 0.75);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.45);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-play-webgl i {
    color: #fde047;
    font-size: 17px;
}

.btn-play-webgl:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.62);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    height: 48px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-cyan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    height: 48px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    height: 48px;
    padding: 10px 22px;
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0 !important;
    font-weight: 600;
    font-size: 14.5px;
    border-radius: 10px;
    border: 1px solid var(--theme-border);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--theme-cyan);
    color: var(--theme-cyan) !important;
    transform: translateY(-2px);
}

/* Thẻ cân đối không xọc xệch */
.panel-card {
    background: var(--theme-panel);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    box-shadow: var(--theme-shadow);
    transition: border-color 0.25s, transform 0.25s;
}

.panel-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
}

/* Tiêu đề gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan-gradient {
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   GLOBAL RESPONSIVE RESET & CONTAINERS
   ========================================================================== */
html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.public-container {
    width: min(1200px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   LAYOUT GRIDS (DESKTOP & MOBILE-FIRST)
   ========================================================================== */
.hero-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cards-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.features-layout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.hero-btn-group .btn-play-webgl {
    flex: 1 1 100%;
    width: 100%;
    min-height: 56px;
    height: 56px;
    padding: 12px 24px;
    font-size: 15.5px;
    letter-spacing: 0.02em;
}

.hero-btn-group .btn-cyan,
.hero-btn-group .btn-gold {
    flex: 1 1 200px;
    min-width: 180px;
    min-height: 54px;
    height: 54px;
    padding: 12px 24px;
    font-size: 15px;
}

.faction-showcase-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--theme-border);
    transition: background-image 0.3s ease;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS: TABLET & LAPTOP SMALL (< 1220px)
   ========================================================================== */
@media (max-width: 1220px) {
    .public-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(56, 189, 248, 0.12) !important;
        border: 1.5px solid var(--theme-border) !important;
        border-radius: 12px !important;
        color: var(--theme-gold) !important;
        font-size: 20px !important;
        cursor: pointer;
        z-index: 101;
    }

    .public-nav:not(.open) {
        display: none !important;
    }

    .public-nav.open {
        display: flex !important;
        position: absolute !important;
        top: 68px !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        flex-direction: column !important;
        background: rgba(7, 11, 20, 0.98) !important;
        border: 1px solid var(--theme-border) !important;
        border-radius: 14px !important;
        padding: 16px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9) !important;
        z-index: 9999 !important;
        gap: 6px !important;
    }

    .public-nav.open a {
        width: 100% !important;
        padding: 12px 16px !important;
    }

    .public-header-inner {
        width: min(1200px, calc(100% - 28px)) !important;
        min-height: 64px !important;
        padding: 0 !important;
    }

    .hero-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .cards-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .features-layout-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS: SMARTPHONE (< 640px & < 480px)
   ========================================================================== */
@media (max-width: 640px) {
    .public-container {
        width: calc(100% - 24px) !important;
    }

    /* Bỏ chữ Hoàng Kim Tam Quốc Vô Song trên mobile */
    .public-brand .brand-text {
        display: none !important;
    }

    /* Hiện 2 nút tải APK và iOS lên Header mobile */
    .header-mobile-downloads {
        display: inline-flex !important;
    }

    .server-status-pill {
        display: none !important;
    }

    .hero-btn-group {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero-btn-group .btn-play-webgl,
    .hero-btn-group .btn-cyan,
    .hero-btn-group .btn-gold,
    .hero-btn-group .btn-outline {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 100% !important;
        min-height: 54px !important;
        height: 54px !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
    }

    .features-layout-grid {
        grid-template-columns: 1fr !important;
    }

    .faction-showcase-box {
        min-height: 320px !important;
        padding: 18px !important;
    }

    .panel-card {
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .public-container {
        width: calc(100% - 20px) !important;
    }

    .public-brand strong {
        font-size: 14.5px !important;
    }
    
    .public-brand small {
        display: none !important;
    }

    .public-hero-art {
        border-radius: 12px !important;
    }

    .btn-play-webgl, .btn-gold, .btn-cyan, .btn-outline {
        font-size: 13.5px !important;
    }

    .hero-btn-group .btn-play-webgl {
        font-size: 13px !important;
        padding: 10px 14px !important;
        gap: 7px !important;
        white-space: nowrap !important;
    }

    .public-menu-toggle {
        flex-shrink: 0 !important;
    }

    .header-mobile-downloads {
        gap: 4px !important;
        margin-right: 4px !important;
    }

    .hdr-btn {
        padding: 4px 7px !important;
        font-size: 10px !important;
        gap: 4px !important;
        border-radius: 10px !important;
        min-height: 36px !important;
    }

    .hdr-btn span {
        white-space: nowrap !important;
    }

    .hdr-btn i {
        font-size: 13px !important;
    }
}

@media (max-width: 385px) {
    .public-header-inner {
        width: calc(100% - 16px) !important;
        gap: 4px !important;
    }

    .public-brand-mark, .brand-hk {
        width: 38px !important;
        height: 38px !important;
    }

    .public-menu-toggle {
        width: 38px !important;
        height: 38px !important;
    }

    .header-mobile-downloads {
        gap: 3px !important;
        margin-right: 2px !important;
    }

    .hdr-btn {
        padding: 4px 5.5px !important;
        font-size: 9.2px !important;
        gap: 3px !important;
        border-radius: 9px !important;
        min-height: 34px !important;
    }

    .hdr-btn i {
        font-size: 11.5px !important;
    }

    .hero-btn-group .btn-play-webgl {
        font-size: 12px !important;
        padding: 10px 10px !important;
    }
}

/* ==========================================================================
   GLOBAL REWARD ITEMS STYLING - MODERN SLOTS SYSTEM
   ========================================================================== */
.reward-slots-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 16px 14px;
    padding: 6px 2px;
}
.reward-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 96px;
    cursor: default;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reward-slot:hover {
    transform: translateY(-3px);
}
.reward-slot-frame {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 30%, #2a2016 0%, #110d08 100%);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.25s ease;
}
.reward-slot:hover .reward-slot-frame {
    box-shadow: inset 0 0 10px rgba(245, 158, 11, 0.35), 0 6px 16px rgba(245, 158, 11, 0.4);
}
.reward-slot-frame img {
    width: 84%; height: 84%; max-width: 84%;
    max-height: 84%;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.7));
    transition: transform 0.2s ease;
}
.reward-slot:hover .reward-slot-frame img {
    transform: scale(1.08);
}
.reward-slot-frame.quality-1 { border: 2px solid #64748b; }
.reward-slot-frame.quality-2 { border: 2px solid #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.3); }
.reward-slot-frame.quality-3 { border: 2px solid #38bdf8; box-shadow: 0 0 10px rgba(56, 189, 248, 0.35); }
.reward-slot-frame.quality-4 { border: 2px solid #c084fc; box-shadow: 0 0 12px rgba(192, 132, 252, 0.4); }
.reward-slot-frame.quality-5 { border: 2px solid #fb923c; box-shadow: 0 0 12px rgba(251, 146, 60, 0.45); }
.reward-slot-frame.quality-6 { border: 2px solid #ef4444; box-shadow: 0 0 14px rgba(239, 68, 68, 0.5); }
.reward-slot-frame.quality-7 { border: 2px solid #fbbf24; box-shadow: 0 0 16px rgba(251, 191, 36, 0.6); }
.reward-slot-frame.quality-8 { border: 2px solid #ef4444; box-shadow: 0 0 18px rgba(239, 68, 68, 0.72), inset 0 0 10px rgba(244, 63, 94, 0.3); }
.reward-slot-frame.quality-9 { border: 2px solid #f43f5e; box-shadow: 0 0 20px rgba(244, 63, 94, 0.75), inset 0 0 12px rgba(236, 72, 153, 0.32); }

.reward-slot-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: rgba(12, 9, 6, 0.94);
    border: 1px solid rgba(245, 158, 11, 0.6);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 5px;
    line-height: 1.25;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    text-shadow: 0 1px 2px #000;
}
.reward-slot-name {
    margin-top: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #e2e8f0;
    text-align: center;
    line-height: 1.35;
    max-width: 108px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.reward-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}
.reward-item-card {
    background: #1c1712;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}
.reward-item-card:hover {
    background: #231c15;
    border-color: rgba(245, 158, 11, 0.3);
}
.reward-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: #0d0a08;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
}
.reward-item-icon img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 6px;
}
.reward-item-icon.quality-1 { border: 2px solid #94a3b8; }
.reward-item-icon.quality-2 { border: 2px solid #22c55e; }
.reward-item-icon.quality-3 { border: 2px solid #3b82f6; }
.reward-item-icon.quality-4 { border: 2px solid #b042f5; box-shadow: 0 0 8px rgba(176, 66, 245, 0.25); }
.reward-item-icon.quality-5 { border: 2px solid #f97316; box-shadow: 0 0 8px rgba(249, 115, 22, 0.25); }
.reward-item-icon.quality-6 { border: 2px solid #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.3); }
.reward-item-icon.quality-7 { border: 2px solid #e2e8f0; box-shadow: 0 0 10px rgba(226, 232, 240, 0.35); }

.reward-item-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.reward-item-name {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.reward-item-meta {
    color: #8c8273;
    font-size: 11px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reward-item-qty {
    color: #f59e0b;
    font-size: 14.5px;
    font-weight: 800;
    white-space: nowrap;
    margin-left: 4px;
    flex-shrink: 0;
}



