/* ==========================================================================
   PUBG MOBILE CPA REWARDS & ITEMS CATALOG - MODERN MOBILE-FIRST STYLESHEET
   ========================================================================== */

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

:root {
    --bg-primary: #0a0d14;
    --bg-secondary: #101522;
    --bg-card: #151c2d;
    --bg-card-hover: #1c263d;
    --bg-surface: #1e2840;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(245, 166, 35, 0.35);

    /* PUBG Signature Accents */
    --pubg-gold: #f5a623;
    --pubg-gold-light: #ffc25b;
    --pubg-gold-dark: #cc8008;
    --pubg-yellow: #f8b400;
    --pubg-red: #ff334b;
    --pubg-green: #10b981;
    --pubg-cyan: #00e5ff;

    /* Rarity Palettes */
    --rarity-progressive: #00f0ff;
    --rarity-mythic: #ffd700;
    --rarity-legendary: #ff2a70;
    --rarity-epic: #a855f7;
    --rarity-rare: #3b82f6;
    --rarity-special: #f5a623;

    /* Typography */
    --font-heading: 'Rajdhani', sans-serif;
    --font-display: 'Teko', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Radii & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 20px rgba(245, 166, 35, 0.25);
    --shadow-neon: 0 0 25px rgba(0, 229, 255, 0.3);
}

/* Reset & Base Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: #e2e8f0;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    padding-bottom: 75px; /* Space for mobile nav */
}

/* Background Gaming Grid Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(245, 166, 35, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 28px 28px, 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* App Container - Mobile Framed by Default */
.app-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #0d121c 0%, #0a0d14 100%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
    body {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .app-container {
        border-radius: var(--radius-lg);
        overflow: hidden;
        border: 1px solid rgba(245, 166, 35, 0.15);
    }
}

/* Canvas Confetti */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
}

/* ==========================================================================
   HEADER & TOP STATUS BAR
   ========================================================================== */
.top-announcement {
    background: linear-gradient(90deg, #b87c10 0%, #f5a623 50%, #b87c10 100%);
    color: #0d121c;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.top-announcement i {
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

.main-header {
    background: rgba(16, 21, 34, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #f5a623 0%, #c47605 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d121c;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}

.brand-title span {
    color: var(--pubg-gold);
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #94a3b8;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--pubg-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--pubg-green);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.icon-btn:hover, .icon-btn:active {
    background: rgba(245, 166, 35, 0.15);
    color: var(--pubg-gold);
    border-color: rgba(245, 166, 35, 0.4);
}

/* ==========================================================================
   HERO / FEATURED EVENT BANNER
   ========================================================================== */
.hero-section {
    padding: 14px 16px;
}

.featured-card {
    background: linear-gradient(135deg, #1b2438 0%, #101524 100%);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.featured-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: var(--pubg-cyan);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    text-transform: uppercase;
}

.featured-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 4px;
    margin-bottom: 12px;
}

.featured-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.featured-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.featured-img-wrap img {
    max-width: 140px;
    max-height: 100px;
    object-contain: contain;
    filter: drop-shadow(0 6px 15px rgba(0, 240, 255, 0.45));
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(2deg); }
}

.featured-cta-btn {
    background: linear-gradient(135deg, #f5a623 0%, #e08e0b 100%);
    color: #0a0d14;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
    transition: all 0.2s ease;
}

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

/* ==========================================================================
   SEARCH & FILTERS
   ========================================================================== */
.controls-section {
    padding: 0 16px 12px 16px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 0.9rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    background: rgba(16, 21, 34, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px 10px 38px;
    color: #ffffff;
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--pubg-gold);
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.25);
}

.search-input::placeholder {
    color: #64748b;
}

/* Horizontal Scrollable Category Tabs */
.category-tabs-wrap {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.category-tabs-wrap::-webkit-scrollbar {
    display: none;
}

.category-tabs {
    display: flex;
    gap: 8px;
    width: max-content;
}

.cat-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cat-tab i {
    font-size: 0.85rem;
}

.cat-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.cat-tab.active {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.2) 0%, rgba(245, 166, 35, 0.05) 100%);
    border-color: var(--pubg-gold);
    color: var(--pubg-gold);
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.2);
}

/* Rarity Chips Row */
.rarity-filter-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: 8px;
}

.rarity-filter-row::-webkit-scrollbar {
    display: none;
}

.rarity-chip {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.rarity-chip.active {
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.1);
}

.rarity-chip[data-rarity="all"].active { color: #ffffff; }
.rarity-chip[data-rarity="Progressive"].active { color: var(--rarity-progressive); }
.rarity-chip[data-rarity="Mythic"].active { color: var(--rarity-mythic); }
.rarity-chip[data-rarity="Legendary"].active { color: var(--rarity-legendary); }
.rarity-chip[data-rarity="Epic"].active { color: var(--rarity-epic); }

/* ==========================================================================
   CATALOG GRID & ITEM CARDS
   ========================================================================== */
.catalog-section {
    padding: 0 16px 20px 16px;
}

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

.catalog-count-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.catalog-count-badge {
    background: rgba(245, 166, 35, 0.15);
    color: var(--pubg-gold);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.item-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.item-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 166, 35, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.item-card:active {
    transform: scale(0.98);
}

/* Card Visual Header */
.card-media {
    position: relative;
    height: 125px;
    background: radial-gradient(circle at center, var(--card-glow, rgba(255, 255, 255, 0.05)) 0%, rgba(13, 17, 26, 0.8) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.rarity-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(10, 13, 20, 0.85);
    border: 1px solid var(--rarity-color, #ffffff);
    color: var(--rarity-color, #ffffff);
    letter-spacing: 0.5px;
    z-index: 2;
}

.item-type-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(10, 13, 20, 0.7);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.card-img {
    max-width: 105px;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
    z-index: 1;
}

.item-card:hover .card-img {
    transform: scale(1.08);
}

/* Card Information Body */
.card-body {
    padding: 10px 10px 12px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(21, 28, 45, 0.9) 0%, rgba(16, 21, 34, 0.95) 100%);
}

.item-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.25rem;
}

.item-meta {
    font-size: 0.68rem;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-claim-btn {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(245, 166, 35, 0.05) 100%);
    border: 1px solid rgba(245, 166, 35, 0.35);
    color: var(--pubg-gold);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.item-card:hover .card-claim-btn {
    background: linear-gradient(135deg, var(--pubg-gold) 0%, #e08e0b 100%);
    color: #0a0d14;
    box-shadow: 0 2px 10px rgba(245, 166, 35, 0.4);
}

/* Empty Catalog State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.empty-state i {
    font-size: 2.5rem;
    color: #334155;
    margin-bottom: 10px;
}

/* ==========================================================================
   MODAL / BOTTOM SHEET SYSTEM
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center; /* Centered vertically for a balanced dialog appearance */
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-sheet {
    width: 100%;
    max-width: 460px;
    background: #111726;
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-top: 3px solid var(--pubg-gold);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(245, 166, 35, 0.15);
    padding: 22px 18px 24px 18px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 166, 35, 0.3) transparent;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.modal-overlay.active .modal-sheet {
    transform: scale(1);
    opacity: 1;
}

.modal-sheet::-webkit-scrollbar {
    width: 5px;
}

.modal-sheet::-webkit-scrollbar-thumb {
    background: rgba(245, 166, 35, 0.3);
    border-radius: 4px;
}

.modal-drag-handle {
    display: none;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* Item Preview Inspection Section */
.modal-inspect-box {
    background: radial-gradient(circle at center, rgba(245, 166, 35, 0.15) 0%, rgba(13, 18, 30, 0.9) 70%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.inspect-img {
    max-width: 170px;
    max-height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(245, 166, 35, 0.4));
    animation: inspectPulse 3s ease-in-out infinite;
}

@keyframes inspectPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.inspect-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 10px;
    text-transform: uppercase;
}

.inspect-rarity-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* Claim Form */
.claim-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-input {
    background: #0d121d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--pubg-gold);
    box-shadow: 0 0 14px rgba(245, 166, 35, 0.3);
}

.form-input::placeholder {
    color: #475569;
}

/* Platform Selector */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.platform-btn {
    background: #0d121d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 8px;
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.platform-btn i {
    font-size: 1.2rem;
}

.platform-btn.active {
    background: rgba(245, 166, 35, 0.15);
    border-color: var(--pubg-gold);
    color: var(--pubg-gold);
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.2);
}

.submit-claim-btn {
    background: linear-gradient(135deg, #f5a623 0%, #d48806 100%);
    color: #0a0d14;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
    transition: all 0.2s ease;
}

.submit-claim-btn:active {
    transform: scale(0.97);
}

/* ==========================================================================
   PROGRESS / SERVER CONSOLE STAGE
   ========================================================================== */
.terminal-stage {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.terminal-box {
    background: #090c13;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    color: #38bdf8;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.terminal-line {
    display: flex;
    gap: 8px;
}

.terminal-line.success {
    color: #4ade80;
}

.terminal-line.warning {
    color: #facc15;
}

.progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: #cbd5e1;
}

.progress-bar-outer {
    width: 100%;
    height: 12px;
    background: #090c13;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.progress-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f5a623 0%, #00f0ff 100%);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* ==========================================================================
   CPA OFFER LOCKER STAGE (API FEED CONTAINER)
   ========================================================================== */
.locker-stage {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.locker-header-alert {
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.35);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}

.locker-header-alert h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--pubg-gold);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.locker-header-alert p {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.locker-quick-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 8px 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
}

.quick-step-item {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.step-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pubg-gold);
    color: #0d121c;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-divider {
    color: #64748b;
    font-size: 0.65rem;
}

.timer-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 51, 75, 0.15);
    border: 1px solid rgba(255, 51, 75, 0.4);
    color: var(--pubg-red);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-top: 6px;
}

/* Offers List Container */
#offerContainer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-card-item {
    background: linear-gradient(135deg, #182236 0%, #131a29 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.offer-card-item:hover, .offer-card-item:active {
    background: linear-gradient(135deg, #202c46 0%, #182236 100%);
    border-color: var(--pubg-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 166, 35, 0.2);
}

/* Card Header Tag Row */
.offer-tag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid currentColor;
}

.offer-req-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
}

/* Card Main Content Row */
.offer-main-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.offer-icon-box {
    width: 46px;
    height: 46px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pubg-gold);
    font-size: 1.35rem;
    flex-shrink: 0;
    overflow: hidden;
}

.offer-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.offer-content-box {
    flex: 1;
    min-width: 0;
}

.offer-anchor-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 4px;
    white-space: normal; /* No cut-offs! Allows full title visibility */
    word-break: break-word;
}

/* Explicit Action Instruction Box */
.offer-instruction-detail {
    background: rgba(0, 0, 0, 0.35);
    border-left: 3px solid var(--pubg-gold);
    border-radius: 0 6px 6px 0;
    padding: 6px 10px;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #e2e8f0;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.offer-instruction-detail i {
    color: var(--pubg-gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.offer-instruction-detail strong {
    color: #ffffff;
}

/* Card Footer Row */
.offer-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2px;
}

.offer-time-hint {
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.offer-action-badge {
    background: linear-gradient(135deg, #f5a623 0%, #d48806 100%);
    color: #0d121c;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 7px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(245, 166, 35, 0.35);
    transition: all 0.2s ease;
}

.offer-card-item:hover .offer-action-badge {
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.6);
    transform: scale(1.02);
}

/* Status Check Bar at bottom of locker */
.locker-status-bar {
    background: rgba(16, 21, 34, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.status-waiting-text {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-check-status {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-check-status:hover, .btn-check-status:active {
    background: rgba(245, 166, 35, 0.15);
    border-color: var(--pubg-gold);
    color: var(--pubg-gold);
}

/* ==========================================================================
   LIVE NOTIFICATION TOAST
   ========================================================================== */
.live-toast {
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    max-width: 90%;
    width: max-content;
}

.live-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-avatar {
    width: 28px;
    height: 28px;
    background: var(--pubg-gold);
    color: #0d121c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.toast-body {
    font-size: 0.75rem;
    color: #e2e8f0;
    white-space: nowrap;
}

.toast-user {
    font-weight: 700;
    color: #ffffff;
}

.toast-item {
    font-weight: 800;
    color: var(--pubg-gold);
}

/* ==========================================================================
   FAQ & HOW IT WORKS SECTION
   ========================================================================== */
.info-section {
    padding: 0 16px 20px 16px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.info-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    color: #94a3b8;
}

.step-num {
    width: 22px;
    height: 22px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.4);
    color: var(--pubg-gold);
    font-weight: 800;
    font-size: 0.7rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 18, 28, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 12px 10px 12px;
    z-index: 990;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
    .mobile-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-item i {
    font-size: 1.15rem;
}

.nav-item.active, .nav-item:hover {
    color: var(--pubg-gold);
}

.nav-item.active i {
    transform: translateY(-2px);
}
