:root {
            --bg-gradient: linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%);
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-hover-border: rgba(99, 102, 241, 0.4);
            --primary: #6366f1;
            --primary-glow: rgba(99, 102, 241, 0.35);
            --secondary: #a855f7;
            --accent: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --text-main: #f8fafc;
            --text-muted: #cbd5e1;
            --card-glow-helmet: rgba(239, 68, 68, 0.15);
            --card-glow-armor: rgba(59, 130, 246, 0.15);
            --card-glow-legs: rgba(245, 158, 11, 0.15);
            --card-glow-boots: rgba(16, 185, 129, 0.15);
            --card-glow-weapon: rgba(168, 85, 247, 0.15);
            --card-glow-offhand: rgba(6, 182, 212, 0.15);
            --card-glow-amulet: rgba(236, 72, 153, 0.15);
            --card-glow-ring: rgba(234, 179, 8, 0.15);
            --card-glow-talisman: rgba(244, 63, 94, 0.15);
            --card-glow-enchantment: rgba(14, 165, 233, 0.15);
            --card-glow-resource: rgba(234, 179, 8, 0.2);
            --card-glow-vip: rgba(244, 63, 94, 0.25);
            --card-glow-pvp: rgba(16, 185, 129, 0.25);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg-gradient);
            color: var(--text-main);
            min-height: 100vh;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 20px 10px;
        }

        /* Glow Blobs */
        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(120px);
            z-index: -1;
            opacity: 0.15;
            pointer-events: none;
        }

        .blob-1 {
            top: 10%;
            left: 15%;
            width: 350px;
            height: 350px;
            background: var(--primary);
        }

        .blob-2 {
            bottom: 20%;
            right: 15%;
            width: 400px;
            height: 400px;
            background: var(--secondary);
        }



        /* Branding */
        .brand-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 25px;
            text-align: center;
            margin-top: 10px;
            position: relative;
            width: 100%;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            overflow: visible;
        }

        .brand-logo {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            margin-bottom: 12px;
            object-fit: contain;
            box-shadow: 0 0 20px var(--primary-glow);
            position: relative;
            z-index: 10;
            transition: transform 0.3s ease;
            animation: logoPulse 5s infinite ease-in-out;
        }

        /* 🏃 HEADER RUNNERS ANIMATION */
        .header-runner {
            position: absolute;
            width: 36px;
            height: 36px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            top: 12px; /* Center aligned with the 60px height logo */
            z-index: 5;
            opacity: 0;
            pointer-events: none;
        }

        .header-runner-left {
            background-image: url('images/chart/avatar_Shieldman.png');
            animation: runLeft 5s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .header-runner-left::after {
            content: 'WELCOME';
            position: absolute;
            right: 120%; /* Chữ nằm sau lưng nhân vật */
            top: 50%;
            transform: translateY(-50%);
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 3px;
            color: rgba(255, 255, 255, 0.3);
            text-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
            white-space: nowrap;
        }

        .header-runner-right {
            background-image: url('images/chart/avatar_Ninja.png');
            transform: scaleX(-1);
            animation: runRight 5s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .header-runner-right::after {
            content: 'WELCOME';
            position: absolute;
            right: 120%; /* Vì parent bị lật ngược (scaleX(-1)), nên right sẽ là đuôi */
            top: 50%;
            transform: translateY(-50%) scaleX(-1); /* Lật ngược chữ lại cho đúng chiều */
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 3px;
            color: rgba(255, 255, 255, 0.3);
            text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
            white-space: nowrap;
        }

        @keyframes runLeft {
            0% {
                left: calc(50% - 50vw);
                opacity: 0;
                transform: translateY(0) scale(0.85);
            }
            10% {
                opacity: 1;
            }
            /* Running bobbing effect */
            0%, 10%, 20%, 30%, 40%, 50%, 58% { transform: translateY(0) scale(1); }
            5%, 15%, 25%, 35%, 45%, 55% { transform: translateY(-4px) scaleY(1.04); }
            
            60% {
                left: calc(50% - 18px); /* 18px is half of 36px runner width */
                opacity: 1;
                transform: translateY(0) scale(1);
            }
            64%, 100% {
                left: calc(50% - 18px);
                opacity: 0;
                transform: translateY(0) scale(0.2);
            }
        }

        @keyframes runRight {
            0% {
                left: calc(50% + 50vw);
                opacity: 0;
                transform: scaleX(-1) translateY(0) scale(0.85);
            }
            10% {
                opacity: 1;
            }
            /* Running bobbing effect */
            0%, 10%, 20%, 30%, 40%, 50%, 58% { transform: scaleX(-1) translateY(0) scale(1); }
            5%, 15%, 25%, 35%, 45%, 55% { transform: scaleX(-1) translateY(-4px) scaleY(1.04); }
            
            60% {
                left: calc(50% - 18px);
                opacity: 1;
                transform: scaleX(-1) translateY(0) scale(1);
            }
            64%, 100% {
                left: calc(50% - 18px);
                opacity: 0;
                transform: scaleX(-1) translateY(0) scale(0.2);
            }
        }

        @keyframes logoPulse {
            0%, 58%, 68%, 100% {
                transform: scale(1);
                box-shadow: 0 0 20px var(--primary-glow);
            }
            60% {
                transform: scale(1.18);
                box-shadow: 0 0 35px var(--primary), 0 0 15px var(--secondary);
            }
            63% {
                transform: scale(0.96);
            }
        }

        .brand-title {
            font-size: 28px;
            font-weight: 800;
            letter-spacing: 1px;
            background: linear-gradient(90deg, #fff 30%, #c7d2fe 70%, #f472b6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .brand-subtitle {
            font-size: 11px;
            color: var(--secondary);
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-top: 4px;
        }

        /* Navigation Tab Bar */
        .nav-tabs {
            display: flex;
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid var(--glass-border);
            padding: 6px;
            border-radius: 16px;
            margin-bottom: 30px;
            width: 100%;
            max-width: 600px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }

        .nav-tab-btn {
            flex: 1;
            padding: 12px 10px;
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            border-radius: 12px;
            transition: all 0.3s ease;
            font-family: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none;
        }

        .nav-tab-btn:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.03);
        }

        .nav-tab-btn.active {
            color: #fff;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
            border: 1px solid rgba(99, 102, 241, 0.25);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
        }

        @media (max-width: 600px) {
            .nav-tabs {
                flex-wrap: wrap;
                gap: 4px;
            }

            .nav-tab-btn {
                flex: 1 1 45%;
                font-size: 12px;
                padding: 10px 6px;
            }
        }

        /* Sections content wrapper */
        .section-content {
            display: none;
            width: 100%;
            max-width: 1300px;
            animation: fadeIn 0.4s ease forwards;
        }

        .section-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 🛒 SHOP SECTION STYLES */
        .shop-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }

        @media (min-width: 1024px) {
            .shop-container {
                grid-template-columns: 1fr;
            }
        }

        .shop-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            background: rgba(15, 23, 42, 0.4);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 15px 25px;
            backdrop-filter: blur(10px);
        }

        .shop-tabs {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .shop-tab-btn {
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            color: var(--text-muted);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }

        .shop-tab-btn:hover,
        .shop-tab-btn.active {
            color: #fff;
            background: rgba(99, 102, 241, 0.1);
            border-color: var(--primary);
        }

        .search-wrapper {
            position: relative;
            max-width: 320px;
            width: 100%;
        }

        .search-input {
            width: 100%;
            padding: 10px 15px 10px 40px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            color: #fff;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
        }

        .sub-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
            padding: 0 10px;
        }

        .filter-chip {
            padding: 6px 14px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--glass-border);
            color: var(--text-muted);
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
        }

        .filter-chip:hover,
        .filter-chip.active {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.2);
        }

        .filter-chip.active {
            background: var(--primary);
            border-color: var(--primary);
            box-shadow: 0 2px 10px var(--primary-glow);
        }

        .item-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
            margin-top: 15px;
            padding-bottom: 120px;
        }

        .item-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.3s ease;
            position: relative;
        }

        .item-card:hover {
            transform: translateY(-2px);
            border-color: var(--glass-hover-border);
            background: rgba(255, 255, 255, 0.04);
        }

        /* Specific card glow categories */
        .item-card[data-cat="Helmet"]:hover {
            box-shadow: 0 0 15px var(--card-glow-helmet);
        }

        .item-card[data-cat="Armor"]:hover {
            box-shadow: 0 0 15px var(--card-glow-armor);
        }

        .item-card[data-cat="Legs"]:hover {
            box-shadow: 0 0 15px var(--card-glow-legs);
        }

        .item-card[data-cat="Boots"]:hover {
            box-shadow: 0 0 15px var(--card-glow-boots);
        }

        .item-card[data-cat="Weapon"]:hover {
            box-shadow: 0 0 15px var(--card-glow-weapon);
        }

        .item-card[data-cat="Offhand"]:hover {
            box-shadow: 0 0 15px var(--card-glow-offhand);
        }

        .item-card[data-cat="Amulet"]:hover {
            box-shadow: 0 0 15px var(--card-glow-amulet);
        }

        .item-card[data-cat="Ring"]:hover {
            box-shadow: 0 0 15px var(--card-glow-ring);
        }

        .item-card[data-cat="Talisman"]:hover {
            box-shadow: 0 0 15px var(--card-glow-talisman);
        }

        .item-card[data-cat="Enchantment"]:hover {
            box-shadow: 0 0 15px var(--card-glow-enchantment);
        }

        .item-card[data-cat="Resource"]:hover {
            box-shadow: 0 0 15px var(--card-glow-resource);
        }

        .item-card[data-cat="VIP"]:hover {
            box-shadow: 0 0 15px var(--card-glow-vip);
        }

        .item-card[data-cat="PvP Points"]:hover {
            box-shadow: 0 0 15px var(--card-glow-pvp);
        }

        .item-img-container {
            width: 54px;
            height: 54px;
            border-radius: 12px;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .item-img {
            max-width: 80%;
            max-height: 80%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .item-card:hover .item-img {
            transform: scale(1.1);
        }

        .img-fallback {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            text-transform: uppercase;
        }

        .fallback-Helmet {
            background: linear-gradient(135deg, #ef4444, #991b1b);
        }

        .fallback-Armor {
            background: linear-gradient(135deg, #3b82f6, #1e40af);
        }

        .fallback-Legs {
            background: linear-gradient(135deg, #f59e0b, #92400e);
        }

        .fallback-Boots {
            background: linear-gradient(135deg, #10b981, #065f46);
        }

        .fallback-Weapon {
            background: linear-gradient(135deg, #a855f7, #6b21a8);
        }

        .fallback-Offhand {
            background: linear-gradient(135deg, #06b6d4, #0891b2);
        }

        .fallback-Amulet {
            background: linear-gradient(135deg, #ec4899, #9d174d);
        }

        .fallback-Ring {
            background: linear-gradient(135deg, #eab308, #854d0e);
        }

        .fallback-Talisman {
            background: linear-gradient(135deg, #f43f5e, #be123c);
        }

        .fallback-Enchantment {
            background: linear-gradient(135deg, #0ea5e9, #0369a1);
        }

        .fallback-Resource {
            background: linear-gradient(135deg, #ea580c, #7c2d12);
        }

        .fallback-VIP {
            background: linear-gradient(135deg, #f43f5e, #be123c);
        }

        .fallback-PvP-Points {
            background: linear-gradient(135deg, #10b981, #065f46);
        }

        .item-info {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }

        .item-label {
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-muted);
        }

        .item-name-en {
            font-size: 13px;
            font-weight: 600;
            color: #fff;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Quantity controls */
        .qty-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .qty-input-wrapper {
            display: flex;
            align-items: center;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--glass-border);
            border-radius: 8px;
            padding: 2px;
        }

        .qty-btn {
            width: 22px;
            height: 22px;
            background: rgba(255, 255, 255, 0.05);
            border: none;
            border-radius: 5px;
            color: #fff;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s;
            font-family: inherit;
        }

        .qty-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        .qty-input {
            width: 32px;
            text-align: center;
            background: transparent;
            border: none;
            color: #fff;
            font-weight: 600;
            font-size: 13px;
            font-family: inherit;
        }

        .qty-input::-webkit-inner-spin-button,
        .qty-input::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .qty-input:focus {
            outline: none;
        }

        /* Bottom Floating Action Bar */
        .bottom-bar {
            position: fixed;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 750px;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 14px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.15);
            z-index: 99;
        }

        .bottom-bar-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .total-count {
            font-size: 16px;
            font-weight: 700;
            color: #fff;
        }

        .total-desc {
            font-size: 11px;
            color: var(--text-muted);
        }

        .submit-btn {
            padding: 12px 28px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border: none;
            border-radius: 12px;
            color: #fff;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px var(--primary-glow);
            font-family: inherit;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
            filter: brightness(1.1);
        }

        .submit-btn:disabled {
            background: #334155;
            color: #64748b;
            box-shadow: none;
            cursor: not-allowed;
            transform: none;
            filter: none;
        }

        /* 🔍 CHECK & CLAIM COMMON CONTAINER */
        .glass-card {
            width: 100%;
            max-width: 550px;
            background: rgba(15, 23, 42, 0.4);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 30px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin: 0 auto 50px auto;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-label {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-muted);
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .form-input {
            width: 100%;
            padding: 12px 16px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
            background: rgba(255, 255, 255, 0.08);
        }

        .form-input-code {
            text-transform: uppercase;
            font-family: monospace;
            letter-spacing: 1px;
            font-size: 16px;
        }

        .form-row-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 10px;
        }

        .btn-action {
            padding: 14px 20px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: inherit;
            border: none;
        }

        .btn-primary {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: #fff;
            box-shadow: 0 4px 15px var(--primary-glow);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
            filter: brightness(1.1);
        }

        .btn-primary:disabled {
            background: #334155;
            color: #64748b;
            box-shadow: none;
            cursor: not-allowed;
            transform: none;
            filter: none;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            color: #fff;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

        /* Status messages */
        .info-msg,
        .error-msg {
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 13px;
            line-height: 1.5;
            border: 1px solid;
            font-weight: 600;
        }

        .info-msg {
            background: rgba(59, 130, 246, 0.08);
            border-color: rgba(59, 130, 246, 0.2);
            color: #93c5fd;
        }

        .error-msg {
            background: rgba(239, 68, 68, 0.08);
            border-color: rgba(239, 68, 68, 0.25);
            color: #fca5a5;
        }

        /* 🔍 PREVIEW SYSTEM IN CHECK & CLAIM */
        .preview-section {
            display: none;
            flex-direction: column;
            gap: 12px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 16px;
            padding: 16px;
            border: 1px solid var(--glass-border);
        }

        .preview-title {
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            color: var(--secondary);
            letter-spacing: 0.5px;
        }

        .preview-items-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .preview-item-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            padding-bottom: 6px;
        }

        .preview-item-row:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .preview-item-name {
            color: #e2e8f0;
            font-weight: 600;
        }

        .preview-item-qty {
            color: var(--accent);
            font-weight: 700;
            font-family: monospace;
            background: rgba(16, 185, 129, 0.1);
            padding: 2px 6px;
            border-radius: 4px;
        }

        /* 🔍 CHECK SPECIFIC STYLES */
        .card-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .card-row:last-child {
            border-bottom: none;
        }

        .card-label {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 600;
        }

        .card-value {
            font-size: 14px;
            font-weight: 700;
            color: #fff;
        }

        .status-badge {
            font-size: 11px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 6px;
            text-transform: uppercase;
            border: 1px solid;
        }

        .status-Pending {
            background: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
            border-color: rgba(59, 130, 246, 0.2);
        }

        .status-Used {
            background: rgba(245, 158, 11, 0.1);
            color: #f59e0b;
            border-color: rgba(245, 158, 11, 0.2);
        }

        .status-Expired {
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
            border-color: rgba(239, 68, 68, 0.2);
        }

        .status-Inactive {
            background: rgba(168, 85, 247, 0.1);
            color: #a855f7;
            border-color: rgba(168, 85, 247, 0.2);
        }

        .countdown-wrapper {
            background: rgba(99, 102, 241, 0.04);
            border: 1px dashed rgba(99, 102, 241, 0.25);
            border-radius: 16px;
            padding: 16px;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .countdown-label {
            font-size: 11px;
            font-weight: 800;
            color: var(--text-muted);
            letter-spacing: 1px;
        }

        .countdown-timer {
            font-size: 24px;
            font-weight: 800;
            color: #fff;
            letter-spacing: 0.5px;
        }

        /* 🎁 CLAIM LOADING PROCESS OVERLAY */
        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(2, 6, 17, 0.9);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            z-index: 1000;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .loader-ring {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            border: 4px solid rgba(255, 255, 255, 0.03);
            border-top: 4px solid var(--primary);
            border-bottom: 4px solid var(--secondary);
            animation: spin 30s linear infinite;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            position: relative;
        }

        .loader-timer {
            font-size: 38px;
            font-weight: 800;
            color: #fff;
            animation: reverseSpin 30s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes reverseSpin {
            0% {
                transform: rotate(360deg);
            }

            100% {
                transform: rotate(0deg);
            }
        }

        .progress-bar-container {
            width: 100%;
            max-width: 320px;
            height: 6px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.03);
        }

        .progress-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            width: 0%;
            transition: width 0.3s ease;
            box-shadow: 0 0 10px var(--primary-glow);
        }

        .loading-title {
            font-size: 16px;
            font-weight: 800;
            letter-spacing: 2px;
            color: #fff;
            margin-bottom: 25px;
            text-transform: uppercase;
        }

        .warning-box {
            max-width: 480px;
            background: rgba(239, 68, 68, 0.05);
            border: 1px solid rgba(239, 68, 68, 0.15);
            border-radius: 16px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .warning-item {
            font-size: 12px;
            color: #fca5a5;
            line-height: 1.5;
            padding-left: 15px;
            position: relative;
        }

        .warning-item::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--danger);
            font-weight: bold;
        }

        .pricing-notice {
            background: rgba(99, 102, 241, 0.08);
            border: 1px dashed rgba(99, 102, 241, 0.3);
            border-radius: 16px;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 13px;
            color: #c7d2fe;
            margin-bottom: 20px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.05);
        }

        .pricing-notice .price-badge {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            padding: 3px 8px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 11px;
            letter-spacing: 0.5px;
        }

        /*  popup overlay style */
        .overlay {
            visibility: hidden;
            opacity: 0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .overlay.active {
            visibility: visible;
            opacity: 1;
        }

        .popup-card {
            background: #090d16;
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 35px;
            width: 90%;
            max-width: 460px;
            text-align: center;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.1);
            transform: scale(0.9);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .overlay.active .popup-card {
            transform: scale(1);
        }

        .popup-icon {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.25);
            color: var(--accent);
            font-size: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 5px auto;
        }

        .popup-title {
            font-size: 22px;
            font-weight: 800;
            color: #fff;
        }

        .popup-code {
            font-family: monospace;
            font-size: 26px;
            font-weight: 800;
            color: #fff;
            letter-spacing: 2px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px dashed rgba(255, 255, 255, 0.15);
            padding: 10px 15px;
            border-radius: 12px;
            cursor: pointer;
            margin: 5px 0;
            transition: all 0.2s;
        }

        .popup-code:hover {
            background: rgba(99, 102, 241, 0.08);
            border-color: var(--primary);
        }

        .popup-items-list {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            padding: 12px 16px;
            max-height: 140px;
            overflow-y: auto;
            text-align: left;
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-size: 13px;
        }

        .popup-items-list div {
            display: flex;
            justify-content: space-between;
            color: #c7d2fe;
            border-bottom: 1px solid rgba(255, 255, 255, 0.02);
            padding-bottom: 4px;
        }

        .popup-items-list div:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .popup-btn {
            width: 100%;
            padding: 12px;
            background: var(--primary);
            border: none;
            border-radius: 12px;
            color: #fff;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            transition: opacity 0.2s;
            font-family: inherit;
        }

        .popup-btn:hover {
            opacity: 0.9;
        }

        .popup-btn-contact {
            background: linear-gradient(90deg, #3b82f6, #06b6d4);
            margin-top: 5px;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
        }

        .popup-btn-contact:hover {
            filter: brightness(1.1);
        }

        .copy-notice {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: -8px;
        }

        /* 🔔 LIVE ACTIVITY TOAST & CONTAINER */
        #activity-toast-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            display: flex;
            flex-direction: column-reverse;
            gap: 12px;
            z-index: 9999;
            pointer-events: none;
        }

        /* ✈️ FLOATING TELEGRAM CONTACT BUTTON */
        .tg-contact-btn {
            position: fixed;
            bottom: 24px;
            left: 24px;
            width: 48px;
            height: 48px;
            background: #24A1DE;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(36, 161, 222, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
            z-index: 10000;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
        }

        .tg-contact-btn:hover {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 6px 20px rgba(36, 161, 222, 0.6);
        }

        .tg-contact-btn svg {
            width: 22px;
            height: 22px;
            fill: #fff;
        }

        /* Tooltip text */
        .tg-contact-tooltip {
            position: absolute;
            left: 60px;
            background: rgba(15, 23, 42, 0.9);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #fff;
            padding: 6px 12px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            transform: translateX(-10px);
            pointer-events: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .tg-contact-btn:hover .tg-contact-tooltip {
            opacity: 1;
            transform: translateX(0);
        }

        .activity-toast {
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 14px 18px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            transform: translateY(30px) scale(0.9);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            max-width: 380px;
            pointer-events: auto;
        }

        .activity-toast.show {
            transform: translateY(0) scale(1);
            opacity: 1;
        }

        .activity-toast-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: #fff;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
        }

        .activity-toast-content {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .activity-toast-user {
            font-size: 13px;
            font-weight: 700;
            color: #fff;
        }

        .activity-toast-action {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.4;
        }

        .activity-toast-highlight {
            color: #a5f3fc;
            font-weight: 600;
        }

        .activity-toast-time {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.3);
            margin-top: 2px;
        }

        /* Update Announcement Popup */
        .update-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(2, 6, 23, 0.85);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .update-popup-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .update-popup-content {
            background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
            border: 1px solid rgba(99, 102, 241, 0.4);
            border-radius: 24px;
            padding: 35px 30px;
            width: 90%;
            max-width: 420px;
            text-align: center;
            transform: translateY(30px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.2);
            position: relative;
        }

        .update-popup-overlay.active .update-popup-content {
            transform: translateY(0) scale(1);
        }

        .update-badge {
            background: linear-gradient(135deg, var(--danger), #b91c1c);
            color: white;
            font-size: 11px;
            font-weight: 800;
            padding: 4px 12px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
            display: inline-block;
            box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
        }

        .update-item-image {
            width: 100px;
            height: 100px;
            margin: 0 auto 20px auto;
            border-radius: 20px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
            padding: 15px;
        }

        .update-item-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4));
        }

        .update-title {
            font-size: 24px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 8px;
            background: linear-gradient(90deg, #60a5fa, #a78bfa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .update-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 25px;
            padding: 0 10px;
        }

        .update-close-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border: none;
            border-radius: 14px;
            color: #fff;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px var(--primary-glow);
        }

        .update-close-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
            filter: brightness(1.1);
        }/* ═══════════════════════════════════════════
   📺  FIXED CENTER VIDEO
═══════════════════════════════════════════ */
.fixed-video-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 500px;
    aspect-ratio: 16 / 9;
    pointer-events: auto;
    display: none;
}

.fixed-video-wrap.fv-visible {
    display: block;
}

.fixed-video-glow {
    position: absolute;
    inset: -18px;
    border-radius: 22px;
    background: radial-gradient(ellipse at center,
            rgba(99, 102, 241, 0.42) 0%,
            rgba(168, 85, 247, 0.22) 55%,
            transparent 75%);
    animation: fvGlow 3.2s ease-in-out infinite;
    z-index: -1;
}

@keyframes fvGlow {
    0%,
    100% {
        opacity: .65;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

.fixed-video-iframe {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1.5px solid rgba(99, 102, 241, 0.55);
    box-shadow:
        0 0 0 5px rgba(8, 12, 24, 0.95),
        0 0 55px rgba(99, 102, 241, 0.40),
        0 24px 70px rgba(0, 0, 0, 0.75);
    display: block;
}

@media (max-width: 860px) {
    .fixed-video-wrap {
        display: none !important;
    }
}

/* ── Inline video banner (in item grid flow) ── */
.inline-video-banner {
    grid-column: 1 / -1;
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 8px auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
}

.ivb-glow {
    position: absolute;
    inset: -12px;
    border-radius: 26px;
    background: radial-gradient(ellipse at center,
            rgba(99, 102, 241, 0.38) 0%,
            rgba(168, 85, 247, 0.18) 55%,
            transparent 75%);
    animation: fvGlow 3s ease-in-out infinite;
    z-index: -1;
}

.ivb-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    box-shadow:
        0 0 0 3px rgba(10, 15, 30, 0.95),
        0 0 45px rgba(99, 102, 241, 0.32),
        0 20px 60px rgba(0, 0, 0, 0.65);
    display: block;
}

.ivb-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.30);
    border-radius: 20px;
    padding: 5px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(199, 210, 254, 0.85);
    white-space: nowrap;
    pointer-events: none;
}

/* --- EXTRACTED INLINE STYLES --- */
.flex-gap-10 { display: flex; gap: 10px; }
.flex-col-gap-12 { display: flex; flex-direction: column; gap: 12px; text-align: left; margin: 10px 0; }
.flex-col-gap-10 { display: flex; flex-direction: column; gap: 10px; transition: all 0.2s; }
.flex-center-gap-10 { display: flex; align-items: center; gap: 10px; }
.flex-center-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center-center-gap-8 { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cursor-pointer { cursor: pointer; }

/* Popups & Cards Modifiers */
.popup-prank-card { border: 1px solid rgba(239, 68, 68, 0.4) !important; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(239, 68, 68, 0.15) !important; }
.popup-prank-icon { background: rgba(239, 68, 68, 0.1) !important; border: 1px solid rgba(239, 68, 68, 0.25) !important; color: var(--danger) !important; }
.popup-support-card { border: 1px solid rgba(99, 102, 241, 0.3) !important; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.15) !important; }
.popup-support-icon { background: rgba(99, 102, 241, 0.1) !important; border: 1px solid rgba(99, 102, 241, 0.25) !important; color: var(--primary) !important; }

.contact-item { padding: 12px 16px; border-radius: 12px; color: #fff; transition: all 0.2s; text-decoration: none; cursor: pointer; }
.contact-item-tg { background: rgba(36, 161, 222, 0.1); border: 1px solid rgba(36, 161, 222, 0.25); }
.contact-item-tg:hover { background: rgba(36, 161, 222, 0.2); }
.contact-item-wa { background: rgba(37, 211, 102, 0.1); border: 1px solid rgba(37, 211, 102, 0.25); }
.contact-item-wa:hover { background: rgba(37, 211, 102, 0.2); }
.contact-item-dc { background: rgba(114, 137, 218, 0.1); border: 1px solid rgba(114, 137, 218, 0.25); }
.contact-item-dc:hover { background: rgba(114, 137, 218, 0.2); }
.contact-item-wc { background: rgba(7, 193, 96, 0.1); border: 1px solid rgba(7, 193, 96, 0.25); }
.contact-item-wc:hover { background: rgba(7, 193, 96, 0.2); }

.copy-badge { font-size: 11px; background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 6px; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-success { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #fff !important; }
.font-bold { font-weight: 700 !important; }
.font-medium { font-weight: 500 !important; }
.font-mono { font-family: monospace !important; }

.btn-claim-now { background: rgba(16, 185, 129, 0.15) !important; border: 1px solid rgba(16, 185, 129, 0.4) !important; color: #10b981 !important; }
.btn-close-transparent { background: transparent !important; color: #94a3b8 !important; font-size: 13px !important; font-weight: normal !important; margin-top: 10px !important; padding: 5px !important; height: auto !important; }
.btn-close-border { margin-top: 10px; background: rgba(255,255,255,0.05) !important; border: 1px solid var(--glass-border) !important; }

.status-badge-pending { color: #fff; background: linear-gradient(135deg, #f59e0b, #d97706); padding: 4px 12px; border-radius: 6px; font-weight: 900; font-size: 18px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); border: 1px solid #fbbf24; box-shadow: 0 0 20px rgba(245, 158, 11, 0.6); display: inline-block; margin: 0 4px; }
.update-offer-list { list-style: none; padding: 0; margin: 0; color: #f8fafc; font-weight: 500; }
.update-offer-item { margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.update-offer-item-last { margin-bottom: 5px; padding-bottom: 5px; }
.update-offer-price { float: right; color: #10b981; font-weight: 800; font-size: 18px; }
.wechat-qr { width: 100%; max-width: 150px; border-radius: 8px; margin: 0 auto; display: block; border: 1px solid rgba(7, 193, 96, 0.3); }

/* Custom Checkbox */
.custom-checkbox { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.contact-platform-select { max-width: 120px; padding-left: 10px; }
.contact-platform-option { background: #1e293b; color: #fff; }
.form-input-hint { font-size: 11px; color: #fca5a5; margin-top: 5px; font-weight: 500; }

.popup-btn-danger { background: var(--danger) !important; }
