/* STYLE.CSS */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
    :root { --neon-pink: #ff0099; --neon-blue: #00ffff; --neon-red: #ff0000; --dark-bg: #0d0d1a; --darker-bg: #03030f; --neon-purple: #9f7aea; --neon-green: #22c55e; }
    body { font-family: 'Inter', sans-serif; background-color: #030712; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; position: relative; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }
    #loading-wrapper { opacity: 0; transform: scale(0.9); transition: opacity 1s ease-out, transform 1s ease-out; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    #loading-wrapper.is-visible { opacity: 1; transform: scale(1); }
    .loader-container { position: relative; width: 100%; max-width: 400px; padding: 0 1rem; }
    .spinner { width: 120px; height: 120px; border: 6px solid #1f2937; border-top-color: #3b82f6; border-radius: 50%; animation: spin 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite; box-shadow: 0 0 15px rgba(59, 130, 246, 0.7), 0 0 30px rgba(59, 130, 246, 0.5); transition: all 0.5s ease-in-out; }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    .loading-text { color: #93c5fd; font-size: 1.5rem; font-weight: 700; margin-top: 1.5rem; animation: pulse 2s infinite; }
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
    .attribution { position: absolute; bottom: 2rem; width: 100%; text-align: center; font-size: 0.875rem; color: #4b5563; transition: opacity 1s ease-out; }
    .neon-text-blue { color: #60a5fa; text-shadow: 0 0 5px #3b82f6, 0 0 10px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.8); }
    .profile-img-shadow, .credits-box img, .credits-box { box-shadow: 0 0 15px rgba(59, 130, 246, 0.6); user-select: none; }
    #profile-content img { pointer-events: none; }
    .divider-glow { box-shadow: 0 1px 5px rgba(59, 130, 246, 0.2); }
    .menu-button { width: 4rem; height: 4rem; background-color: rgba(31, 41, 55, 0.7); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease-in-out; border: 1px solid rgba(59, 130, 246, 0.2); cursor: pointer; appearance: none; padding: 0; position: relative; overflow: visible; box-shadow: 0 0 6px rgba(59, 130, 246, 0.3); margin: 2px; z-index: 20; }
    .menu-button:hover { transform: scale(1.05); background-color: #1f2937; box-shadow: 0 0 14px rgba(59, 130, 246, 0.9), 0 0 30px rgba(59, 130, 246, 0.6); border-color: rgba(59, 130, 246, 0.5); }
    .menu-button-wrapper-disabled { pointer-events: none; }
    #portal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.6s ease; z-index: 50; }
    #portal-overlay.active { opacity: 1; pointer-events: auto; }
    #portal-container { position: relative; width: 440px; height: 700px; background: radial-gradient(circle at center, #1a1a2e 0%, #000000 80%); border-radius: 40px; border: 1px solid rgba(96, 165, 250, 0.2); box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 60px rgba(59, 130, 246, 0.1); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 3rem 2rem 1.5rem; opacity: 0; transform: scale(0.95); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 50; }
    #portal-container.active { opacity: 1; transform: scale(1); box-shadow: 0 0 60px rgba(59, 130, 246, 0.2), inset 0 0 80px rgba(59, 130, 246, 0.15); }
    #portal-container::before { content: ''; position: absolute; width: 200%; height: 200%; background: radial-gradient(circle, rgba(76, 29, 149, 0.15), transparent 60%); top: -50%; left: -50%; animation: nebulaMove 15s linear infinite; pointer-events: none; z-index: 1; }
    @keyframes nebulaMove { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    .reactor-wrapper { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 360px; height: 360px; z-index: 2; pointer-events: none; display: flex; justify-content: center; align-items: center; }
    .reactor-ring-outer { position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1px dashed rgba(96, 165, 250, 0.3); box-shadow: 0 0 15px rgba(59, 130, 246, 0.1); animation: rotateRight 20s linear infinite; }
    .reactor-ring-mid { position: absolute; width: 280px; height: 280px; border-radius: 50%; border-top: 2px solid #a78bfa; border-bottom: 2px solid transparent; border-left: 2px solid #3b82f6; border-right: 2px solid transparent; filter: drop-shadow(0 0 8px #8b5cf6); animation: rotateLeft 8s linear infinite; }
    .reactor-ring-inner { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0%, rgba(59, 130, 246, 0.2) 20%, #3b82f6 50%, transparent 80%); mask-image: radial-gradient(transparent 60%, black 61%); -webkit-mask-image: radial-gradient(transparent 60%, black 61%); animation: rotateRight 4s linear infinite; opacity: 0.7; }
    .reactor-core-stabilizer { position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,0.05); transform: rotate(45deg); animation: pulseStabilizer 3s ease-in-out infinite; }
    @keyframes rotateRight { 100% { transform: rotate(360deg); } }
    @keyframes rotateLeft { 100% { transform: rotate(-360deg); } }
    @keyframes pulseStabilizer { 0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.3; } 50% { transform: rotate(45deg) scale(1.05); opacity: 0.6; } }
    .portal-fast-spin .reactor-ring-outer { animation: rotateRight 1s linear infinite; border-color: rgba(255, 0, 153, 0.5); box-shadow: 0 0 30px rgba(255, 0, 153, 0.3); }
    .portal-fast-spin .reactor-ring-mid { animation: rotateLeft 0.6s linear infinite; border-color: #ff0099; filter: drop-shadow(0 0 15px #ff0099); }
    .portal-fast-spin .reactor-ring-inner { animation: rotateRight 0.3s linear infinite; background: conic-gradient(from 0deg, transparent 0%, rgba(255, 0, 153, 0.2) 20%, #ff0099 50%, transparent 80%); opacity: 1; filter: blur(2px); }
    .portal-fast-spin .reactor-core-stabilizer { animation: pulseFast 0.5s ease-in-out infinite; border-color: rgba(255, 0, 153, 0.2); }
    @keyframes pulseFast { 0%, 100% { transform: rotate(45deg) scale(0.95); } 50% { transform: rotate(45deg) scale(1.1); } }
    #catch-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #4c1d95, #0f172a); border: 2px solid rgba(139, 92, 246, 0.5); box-shadow: 0 0 20px rgba(139, 92, 246, 0.4), inset 0 0 20px rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; opacity: 1; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
    #catch-button::after { content: ''; position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); animation: buttonBreathe 3s infinite alternate; }
    #catch-button:hover { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 35px rgba(139, 92, 246, 0.8); border-color: #c4b5fd; }
    #catch-button.fading-out { opacity: 0; transform: translate(-50%, -50%) scale(0); pointer-events: none; }
    #catch-button.fading-in { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
    #catch-button.disabled { pointer-events: none; filter: grayscale(1); opacity: 0.5 !important; box-shadow: none !important; }
    @keyframes buttonBreathe { 0% { transform: scale(1); box-shadow: 0 0 0 transparent; } 100% { transform: scale(0.95); box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.5); } }
    #catch-button svg { width: 44px; height: 44px; stroke: #e9d5ff; stroke-width: 2; filter: drop-shadow(0 0 5px #8b5cf6); transition: transform 0.3s ease; }
    #catch-button:hover svg { transform: rotate(90deg); stroke: #fff; }
    #credit-payout { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3.5rem; font-weight: 900; color: #fff; text-shadow: 0 0 10px #ff0099, 0 0 20px #ff0099, 0 0 40px #ff0099; opacity: 0; transition: opacity 0.3s ease; z-index: 10; user-select: none; pointer-events: none; font-family: monospace; }
    @keyframes finalCreditGlow { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; filter: blur(10px); } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; filter: blur(0px); } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
    @keyframes creditFlyAway { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 20% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); color: #fff; } 100% { opacity: 0; transform: translate(-50%, -200%) scale(0.2); filter: blur(5px); } }
    #portal-title { z-index: 10; color: #e2e8f0; font-weight: 900; font-size: 2.25rem; text-align: center; text-shadow: 0 0 10px rgba(59, 130, 246, 0.8); margin-top: 1rem; user-select: none; letter-spacing: 0.2em; font-family: 'Inter', sans-serif; text-transform: uppercase; }
    #portal-tries-display { font-family: monospace; color: #94a3b8; font-size: 1rem; letter-spacing: 0.1em; }
    #portal-exit-btn { z-index: 10; background: transparent; color: #94a3b8; font-weight: 600; font-size: 1rem; padding: 0.75rem 3rem; border-radius: 8px; cursor: pointer; border: 1px solid rgba(148, 163, 184, 0.3); transition: all 0.3s ease; user-select: none; margin-bottom: 2rem; letter-spacing: 0.1em; text-transform: uppercase; }
    #portal-exit-btn:hover { background: rgba(255,255,255,0.05); color: #fff; border-color: #fff; box-shadow: 0 0 15px rgba(255,255,255,0.1); }
    #portal-exit-btn.disabled { opacity: 0.3; pointer-events: none; border-color: transparent; }
    #credit-notification { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); padding: 1rem 1.5rem; background: rgba(30, 41, 59, 0.95); border: 1px solid rgba(59, 130, 246, 0.4); border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(59, 130, 246, 0.7); color: #e0f2fe; font-weight: 600; font-size: 1rem; text-align: center; opacity: 0; transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 100; max-width: 90%; min-width: 250px; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
    #credit-notification.show { bottom: 2rem; opacity: 1; }
    #sent-notification { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); padding: 1rem 1.5rem; background: rgba(59, 30, 30, 0.95); border: 1px solid rgba(239, 68, 68, 0.4); border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(239, 68, 68, 0.7); color: #fecaca; font-weight: 600; font-size: 1rem; text-align: center; opacity: 0; transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 100; max-width: 90%; min-width: 250px; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
    #sent-notification.show { bottom: 2rem; opacity: 1; }
    .sent-notification-text-glow { text-shadow: 0 0 4px #f87171, 0 0 8px #ef4444; }
    .timer-bar-sent { height: 5px; width: 100%; background-color: rgba(239, 68, 68, 0.2); border-radius: 2.5px; overflow: hidden; }
    .timer-bar-fill-sent { height: 100%; width: 100%; background: linear-gradient(90deg, #ef4444, #f87171); transform-origin: left; animation: timer-countdown 5s linear forwards; }
    .notification-text-glow { text-shadow: 0 0 4px #93c5fd, 0 0 8px #3b82f6; }
    .timer-bar { height: 5px; width: 100%; background-color: rgba(59, 130, 246, 0.2); border-radius: 2.5px; overflow: hidden; }
    .timer-bar-fill { height: 100%; width: 100%; background: linear-gradient(90deg, #3b82f6, #93c5fd); transform-origin: left; animation: timer-countdown 5s linear forwards; }
    @keyframes timer-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
    #timer-notification { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); padding: 1rem 1.5rem; background: rgba(46, 26, 74, 0.95); border: 1px solid rgba(123, 110, 199, 0.4); border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(123, 110, 199, 0.7); color: #e0f2fe; font-weight: 600; font-size: 1rem; text-align: center; opacity: 0; transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 100; max-width: 90%; min-width: 250px; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
    #timer-notification.show { bottom: 2rem; opacity: 1; }
    #timer-notification-text .timer-countdown-display { text-shadow: 0 0 4px #d7cdfb, 0 0 8px #9f94c5; font-weight: 700; }
    #main-content-fade { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #030712; opacity: 0; pointer-events: none; transition: opacity 0.8s ease; z-index: 40; padding-top: 4rem; box-sizing: border-box; }
    #main-content-fade.active { opacity: 0.85; pointer-events: auto; background: linear-gradient(135deg, #030712 0%, #1e40af 100%); }
    .portal-button-svg { width: 28px; height: 28px; stroke: #60a5fa; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; filter: drop-shadow(0 0 3px #3b82f6); }
    .portal-button-text { font-size: 0.75rem; color: #93c5fd; margin-top: 0.4rem; user-select: none; font-weight: 600; text-align: center; white-space: nowrap; }
    #buttons-grid { grid-auto-rows: auto; gap: 1.25rem; }
    .banner-wrapper { position: relative; overflow: hidden; box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); }
    .banner-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 150%; height: 100%; background: linear-gradient( -45deg, transparent 40%, rgba(59, 130, 246, 0.1) 45%, rgba(59, 130, 246, 0.2) 50%, rgba(59, 130, 246, 0.1) 55%, transparent 60% ); transform: translateX(-100%); animation: movingBarrier 4s linear infinite; pointer-events: none; z-index: 5; }
    @keyframes movingBarrier { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
    #wallet-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(3, 7, 18, 0.6); backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; z-index: 60; padding: 1rem; box-sizing: border-box; }
    #wallet-overlay.active { opacity: 1; pointer-events: auto; }
    #wallet-container {
      width: 100%;
      max-width: 640px;
      margin-left: 1rem;
      margin-right: 1rem;
      transform: scale(0.9) translateY(20px);
      opacity: 0;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    }
    #wallet-container.active { transform: scale(1) translateY(0); opacity: 1; }
    .wallet-card { background-color: var(--dark-bg); padding: 2rem 1.5rem; display: flex; flex-direction: column; border: 2px solid var(--neon-blue); box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 30px rgba(255, 0, 153, 0.3); transition: all 0.5s ease-in-out; width: 100%; position: relative; }
    #wallet-exit-btn { margin-top: auto; }
    .currency-icon { display: inline-block; height: 36px; width: auto; vertical-align: sub; user-select: none; pointer-events: none; filter: drop-shadow(0 0 3px var(--neon-blue)); }
    .currency-icon-notification { display: inline-block; height: 20px; width: auto; vertical-align: sub; margin-right: 4px; user-select: none; pointer-events: none; filter: drop-shadow(0 0 3px var(--neon-blue)); }
    .currency-icon-menu { display: inline-block; height: 32px; width: 32px; vertical-align: middle; margin-right: 1px; background: none !important; border-radius: 0 !important; box-shadow: none !important; object-fit: contain; user-select: none; pointer-events: none; filter: drop-shadow(0 0 3px var(--neon-blue)); }
    .neon-text-blue { color: var(--neon-blue); text-shadow: 0 0 5px var(--neon-blue), 0 0 10px rgba(0, 255, 255, 0.4); }
    .neon-text-pink { color: var(--neon-pink); text-shadow: 0 0 5px var(--neon-pink), 0 0 10px rgba(255, 0, 153, 0.4); }
    .neon-btn { background-color: transparent; border: 2px solid var(--neon-pink); color: var(--neon-pink); box-shadow: 0 0 5px var(--neon-pink), inset 0 0 5px var(--neon-pink); transition: all 0.3s ease; position: relative; overflow: hidden; }
    .neon-btn:hover { color: var(--dark-bg); background-color: var(--neon-pink); box-shadow: 0 0 15px var(--neon-pink), 0 0 30px var(--neon-pink); transform: translateY(-2px); }
    .neon-btn-blue { border: 2px solid var(--neon-blue); color: var(--neon-blue); box-shadow: 0 0 5px var(--neon-blue), inset 0 0 5px var(--neon-blue); }
    .neon-btn-blue:hover { color: var(--dark-bg); background-color: var(--neon-blue); box-shadow: 0 0 15px var(--neon-blue), 0 0 30px var(--neon-blue); transform: translateY(-2px); }
    .neon-btn-close { border: 2px solid #ef4444; color: #ef4444; box-shadow: 0 0 5px #ef4444, inset 0 0 5px #ef4444; }
    .neon-btn-close:hover { color: var(--dark-bg); background-color: #ef4444; box-shadow: 0 0 15px #ef4444, 0 0 30px #ef4444; transform: translateY(-2px); }
    .neon-btn-green { border: 2px solid #22c55e; color: #22c55e; box-shadow: 0 0 5px #22c55e, inset 0 0 5px #22c55e; }
    .neon-btn-green:hover:not(:disabled) { color: var(--dark-bg); background-color: #22c55e; box-shadow: 0 0 15px #22c55e, 0 0 30px #22c55e; transform: translateY(-2px); }
    .neon-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; border-color: #555; color: #555; }
    #send-ui-container { transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); max-height: 0; opacity: 0; overflow: hidden; transform: translateY(20px); background: rgba(13, 13, 26, 0.95); border: 1px solid rgba(0, 255, 255, 0.1); border-radius: 1rem; padding: 0; margin-bottom: 0; }
    #send-ui-container.visible { max-height: 600px; opacity: 1; transform: translateY(0); padding: 1.5rem; margin-bottom: 1rem; box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 0 10px rgba(0, 255, 255, 0.1); }
    .input-group { position: relative; margin-bottom: 1.5rem; }
    .input-label { position: absolute; top: -10px; left: 10px; background: var(--dark-bg); padding: 0 5px; color: var(--neon-blue); font-size: 0.75rem; font-weight: bold; z-index: 10; }
    #trade-view .input-label { color: var(--neon-green); }
    .neon-input { width: 100%; background: rgba(3, 7, 18, 0.6); border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 0.5rem; padding: 0.75rem 1rem; color: #fff; font-family: monospace; transition: all 0.3s ease; }
    .neon-input:focus { outline: none; border-color: var(--neon-blue); box-shadow: 0 0 8px rgba(0, 255, 255, 0.3); }
    #trade-view .neon-input { border-color: rgba(34, 197, 94, 0.4); }
    #trade-view .neon-input:focus { border-color: var(--neon-green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
    .neon-input.valid { border-color: var(--neon-green); }
    .neon-input.invalid { border-color: var(--neon-red); }
    .validation-msg { color: #ef4444; font-size: 0.7rem; margin-top: 0.25rem; height: 1rem; opacity: 0; transition: opacity 0.3s; }
    .validation-msg.visible { opacity: 1; }
    #history-container { display: none; opacity: 0; transition: opacity 0.4s ease; max-height: 400px; overflow-y: auto; margin-bottom: 1rem; }
    #history-container.visible { display: block; opacity: 1; }
    #history-container::-webkit-scrollbar, #trade-requests-list-container::-webkit-scrollbar, #trade-history-list-container::-webkit-scrollbar { width: 6px; }
    #history-container::-webkit-scrollbar-track, #trade-requests-list-container::-webkit-scrollbar-track, #trade-history-list-container::-webkit-scrollbar-track { background: #030712; }
    #history-container::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 3px; }
    #trade-requests-list-container::-webkit-scrollbar-thumb, #trade-history-list-container::-webkit-scrollbar-thumb { background: var(--neon-green); border-radius: 3px; }
    .wallet-section-fade-out { transition: opacity 0.3s ease-out, transform 0.3s ease-out; opacity: 0; transform: scale(0.95); pointer-events: none; }
    .neon-btn::before, .neon-btn-blue::before, .neon-btn-close::before, .neon-btn-green::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.1); transition: left 0.5s; }
    .neon-btn:hover::before, .neon-btn-blue:hover::before, .neon-btn-close:hover::before, .neon-btn-green:hover::before { left: 100%; }
    .wallet-id-container { box-shadow: inset 0 0 5px rgba(0, 255, 255, 0.3); position: relative; }
    #copy-tooltip { opacity: 0; transition: opacity 0.3s ease; white-space: nowrap; color: var(--neon-pink); text-shadow: 0 0 3px var(--neon-pink), 0 0 6px rgba(255, 0, 153, 0.4); font-size: 0.75rem; }
    .wallet-id-container:hover #copy-tooltip.active { opacity: 1; }
    .wallet-id-text { font-family: monospace; }
    .clickable-id:hover { cursor: pointer; background-color: rgba(0, 255, 255, 0.05); transition: background-color 0.2s; }
    .icon-btn:hover svg { transform: rotate(15deg); transition: transform 0.3s ease; }
    .icon-btn svg { transition: transform 0.3s ease; }
    .history-item { cursor: default; border-bottom: 1px solid rgba(0, 255, 255, 0.1); user-select: none; }
    #copy-success { opacity: 0; transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; transform: translateY(10px); }
    #copy-success.show { opacity: 1; transform: translateY(0); }
    #banned-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #000; display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; opacity: 0; transition: opacity 1s ease; }
    #banned-screen.active { display: flex; opacity: 1; }
    .banned-text { font-family: monospace; color: var(--neon-red); font-size: 3rem; font-weight: 900; text-shadow: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red), 0 0 40px var(--neon-red); animation: bannedPulse 2s infinite alternate; letter-spacing: 0.2em; text-align: center; }
    .banned-subtext { color: #ef4444; font-size: 1rem; margin-top: 1rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
    @keyframes bannedPulse { 0% { text-shadow: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red); opacity: 0.8; } 100% { text-shadow: 0 0 20px var(--neon-red), 0 0 40px var(--neon-red), 0 0 60px var(--neon-red); opacity: 1; } }

    #maintenance-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(ellipse at center, #1a1a00 0%, #000000 70%); display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 9998; opacity: 0; transition: opacity 1s ease; color: #fde047; overflow: hidden; }
    #maintenance-screen::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.5), transparent); animation: scan 4s linear infinite; }
    @keyframes scan { 0% { transform: translateY(-10px); } 100% { transform: translateY(100vh); } }
    #maintenance-screen.active { display: flex; opacity: 1; }
    .maintenance-icon { width: 6rem; height: 6rem; color: #facc15; margin-bottom: 2rem; animation: spin-pulse 4s cubic-bezier(0.5, 0, 0.5, 1) infinite; filter: drop-shadow(0 0 12px #facc15) drop-shadow(0 0 25px rgba(250, 204, 21, 0.6)); }
    @keyframes spin-pulse { 0% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 12px #facc15) drop-shadow(0 0 25px rgba(250, 204, 21, 0.6)); } 50% { transform: rotate(180deg) scale(1.1); filter: drop-shadow(0 0 20px #fde047) drop-shadow(0 0 40px rgba(253, 224, 71, 0.8)); } 100% { transform: rotate(360deg) scale(1); filter: drop-shadow(0 0 12px #facc15) drop-shadow(0 0 25px rgba(250, 204, 21, 0.6)); } }
    .maintenance-text { font-family: monospace; color: #fde047; font-size: 2.5rem; font-weight: 900; text-shadow: 0 0 8px rgba(250, 204, 21, 0.8), 0 0 16px #facc15, 0 0 32px #facc15; animation: flicker 3s infinite; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
    @keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { text-shadow: 0 0 4px rgba(250, 204, 21, 0.5), 0 0 11px #facc15, 0 0 19px #facc15, 0 0 40px #f59e0b, 0 0 80px #f59e0b; opacity: 1; } 20%, 24%, 55% { text-shadow: none; opacity: 0.7; } }
    .maintenance-subtext { color: #eab308; font-size: 1rem; margin-top: 1rem; letter-spacing: 0.05em; opacity: 0.9; animation: pulse 4s infinite; text-align: center; }
    .maintenance-progress-bar { width: 80%; max-width: 400px; height: 12px; background-color: rgba(250, 204, 21, 0.1); border: 1px solid rgba(250, 204, 21, 0.3); border-radius: 6px; margin-top: 2.5rem; padding: 2px; box-shadow: inset 0 0 5px rgba(0,0,0,0.5); }
    .maintenance-progress-bar-fill { width: 100%; height: 100%; background: linear-gradient(90deg, #f59e0b, #fde047); border-radius: 4px; box-shadow: 0 0 5px #fde047, 0 0 10px #facc15; position: relative; overflow: hidden; }
    .maintenance-progress-bar-fill::after { content: ''; position: absolute; top: 0; left: 0; width: 50%; height: 100%; background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%); transform: skewX(-25deg); animation: progress-sheen 2s infinite linear; }
    @keyframes progress-sheen { 0% { left: -75%; } 100% { left: 125%; } }

    #rewards-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(23, 10, 39, 0.6); backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; z-index: 60; padding: 1rem; box-sizing: border-box; }
    #rewards-overlay.active { opacity: 1; pointer-events: auto; }
    #rewards-container { width: 100%; max-width: 640px; margin-left: 1rem; margin-right: 1rem; transform: scale(0.9) translateY(20px); opacity: 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; }
    #rewards-container.active { transform: scale(1) translateY(0); opacity: 1; }
    .rewards-card { background-color: var(--dark-bg); padding: 2rem 1.5rem; display: flex; flex-direction: column; border: 2px solid var(--neon-purple); box-shadow: 0 0 15px rgba(159, 122, 234, 0.5), 0 0 30px rgba(159, 122, 234, 0.3); transition: all 0.5s ease-in-out; width: 100%; position: relative; min-height: 400px; }
    #rewards-header h2 { color: var(--neon-purple); text-shadow: 0 0 8px var(--neon-purple), 0 0 16px rgba(159, 122, 234, 0.5); text-align: center; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
    #rewards-exit-btn { margin-top: auto; }
    .text-purple-400 { color: #a78bfa; text-shadow: 0 0 10px #9f7aea; }
    
    @media (max-width: 640px) { .attribution { bottom: 1rem; } #buttons-wrapper { padding-bottom: 4rem; padding-top: 1.5rem; } #profile-content > div:first-child { padding: 0.5rem; } #profile-content .w-16.h-16 { width: 3rem !important; height: 3rem !important; } #profile-content h1.text-xl { font-size: 1.1rem; } #profile-content p.text-sm { font-size: 0.75rem; } .credits-box { padding: 0.5rem 0.75rem; } .credits-box .text-lg { font-size: 0.875rem; } .credits-box img { width: 1rem !important; height: 1rem !important; } #buttons-grid { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; justify-content: center; gap: 0.75rem !important; padding-left: 0.75rem; padding-right: 0.75rem; max-width: none !important; padding-top: 1rem; padding-bottom: 1rem; -ms-overflow-style: none; scrollbar-width: none; } #buttons-grid::-webkit-scrollbar { display: none; } #buttons-grid > div { flex-shrink: 0; width: auto; } .menu-button { width: 3.5rem; height: 3.5rem; border-radius: 0.5rem; } .portal-button-svg, .menu-button svg { width: 1.75rem; height: 1.75rem; } .portal-button-text, #buttons-grid .text-xs { font-size: 0.7rem; margin-top: 0.3rem; } #portal-container { width: 90vw; height: 85vh; max-width: 425px; max-height: 640px; border-radius: 1.5rem; padding: 1.5rem 1rem 1rem; } #catch-button { width: 80px; height: 80px; } #catch-button svg { width: 35px; height: 35px; } #credit-payout { font-size: 2.5rem; } #credit-notification.show { bottom: 1rem; } #timer-notification.show { bottom: 1rem; } #portal-title { font-size: 1.5rem; margin-top: 1rem; } #portal-exit-btn { padding: 0.75rem 2rem; font-size: 0.9rem; margin-bottom: 1rem; } .banned-text { font-size: 2rem; } .maintenance-text { font-size: 2rem; } }

.level-container { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #29374e, #182133); height: 22px; min-width: 55px; border-radius: 11px; border: 1px solid rgba(96, 165, 250, 0.4); box-shadow: 0 0 10px rgba(96, 165, 250, 0.3), inset 0 1px 2px rgba(0,0,0,0.5); z-index: 5; padding: 0 10px; margin-right: -15px; }
.level-text { font-size: 0.6rem; font-weight: 700; color: #93c5fd; margin-right: 4px; text-transform: uppercase; line-height: 1; }
.level-number { font-size: 0.8rem; font-weight: 800; color: #e0f2fe; text-shadow: 0 0 3px #60a5fa, 0 0 7px #60a5fa; line-height: 1; }
.xp-bar-container { height: 14px; flex-grow: 1; background-color: rgba(15, 23, 42, 0.7); border-radius: 7px; border: 1px solid rgba(96, 165, 250, 0.1); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6); overflow: hidden; position: relative; padding-left: 15px; }
.xp-bar-fill { height: 100%; border-radius: 0; background: linear-gradient(90deg, #8b5cf6, #3b82f6); box-shadow: 0 0 5px rgba(96, 165, 250, 0.5), 0 0 10px rgba(139, 92, 246, 0.4); transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1); position: relative; overflow: hidden; }
.xp-bar-fill::after { content: ''; position: absolute; top: 0; left: 0; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-25deg) translateX(-150%); animation: xp-sheen 2.5s infinite linear; }
@keyframes xp-sheen { 100% { transform: skewX(-25deg) translateX(450%); } }
#xp-progress-text { display: none; }
#rewards-list::-webkit-scrollbar { width: 6px; }
#rewards-list::-webkit-scrollbar-track { background: transparent; }
#rewards-list::-webkit-scrollbar-thumb { background: var(--neon-purple); border-radius: 3px; border: 1px solid rgba(159, 122, 234, 0.5); }
.reward-item { display: flex; align-items: center; gap: 0.75rem; background: rgba(159, 122, 234, 0.05); padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid rgba(159, 122, 234, 0.2); transition: all 0.3s ease; overflow: hidden; }
.reward-item:hover { background: rgba(159, 122, 234, 0.1); border-color: rgba(159, 122, 234, 0.4); transform: scale(1.02); }
.reward-item.locked { filter: grayscale(80%); opacity: 0.6; }
.reward-item.locked:hover { transform: none; background: rgba(159, 122, 234, 0.05); border-color: rgba(159, 122, 234, 0.2); }
.reward-info { display: flex; align-items: center; gap: 1rem; flex-grow: 1; min-width: 0; }
.reward-level-badge { flex-shrink: 0; font-size: 0.7rem; font-weight: 700; color: var(--dark-bg); background-color: var(--neon-purple); padding: 0.2rem 0.5rem; border-radius: 0.25rem; box-shadow: 0 0 5px var(--neon-purple); text-shadow: none; white-space: nowrap; }
.reward-amount { font-size: 1rem; font-weight: 600; color: #e0f2fe; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reward-amount img { width: 1rem; height: 1rem; display: inline-block; vertical-align: text-bottom; margin-left: 0.25rem; filter: drop-shadow(0 0 2px var(--neon-blue)); }
.reward-claim-btn { flex-shrink: 0; padding: 0.4rem 1.2rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; border-radius: 0.375rem; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.reward-claim-btn.claimable { border: 1px solid #22c55e; color: #22c55e; background-color: transparent; box-shadow: 0 0 4px #22c55e, inset 0 0 4px #22c55e; }
.reward-claim-btn.claimable:hover { color: var(--dark-bg); background-color: #22c55e; box-shadow: 0 0 10px #22c55e, 0 0 20px #22c55e; transform: translateY(-1px); }
.reward-claim-btn.claimed { border: 1px solid #6b7280; color: #6b7280; background-color: transparent; cursor: default; }
.reward-claim-btn.locked { border: 1px solid #4b5563; color: #4b5563; background-color: transparent; cursor: default; }
.reward-claim-btn:disabled:hover { transform: none; background-color: transparent !important; }

#trade-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(10, 39, 20, 0.6); backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; z-index: 60; padding: 1rem; box-sizing: border-box; }
#trade-overlay.active { opacity: 1; pointer-events: auto; }
#trade-container { width: 100%; max-width: 640px; margin-left: 1rem; margin-right: 1rem; transform: scale(0.9) translateY(20px); opacity: 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; }
#trade-container.active { transform: scale(1) translateY(0); opacity: 1; }
.trade-card { background-color: var(--dark-bg); padding: 2rem 1.5rem; display: flex; flex-direction: column; border: 2px solid var(--neon-green); box-shadow: 0 0 15px rgba(34, 197, 94, 0.5), 0 0 30px rgba(34, 197, 94, 0.3); transition: all 0.5s ease-in-out; width: 100%; position: relative; min-height: 400px; }
#trade-header h2 { color: var(--neon-green); text-shadow: 0 0 8px var(--neon-green), 0 0 16px rgba(34, 197, 94, 0.5); text-align: center; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
#trade-exit-btn { margin-top: auto; }
.history-card-item { background: rgba(255, 255, 255, 0.03); border-left: 3px solid #333; margin-bottom: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 0 0.5rem 0.5rem 0; transition: background 0.2s; }
.history-card-item:hover { background: rgba(255, 255, 255, 0.07); }
.history-card-item.sent { border-left-color: #ef4444; }
.history-card-item.received { border-left-color: #22c55e; }
.history-item-content { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.history-icon { font-size: 1.125rem; font-weight: 700; width: 1.25rem; text-align: center; margin-right: 0.625rem; flex-shrink: 0; }
.history-details { flex-grow: 1; min-width: 0; }
.history-type { color: #e2e8f0; font-weight: 600; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-timestamp { font-size: 0.75rem; color: #64748b; }
.history-amount { font-family: monospace; font-weight: 700; font-size: 0.875rem; margin-left: 0.5rem; flex-shrink: 0; }

.currency-text { color: var(--neon-blue); font-weight: 800; font-family: 'Inter', sans-serif; margin-left: 2px; font-size: 0.9em; text-shadow: 0 0 5px var(--neon-blue); vertical-align: middle; }

.trade-tab { color: #6b7280; transition: color 0.3s ease, border-color 0.3s ease; border-bottom: 2px solid transparent; }
.trade-tab.active-tab { color: var(--neon-green); border-bottom-color: var(--neon-green); }
.trade-request-item, .trade-history-item { background: rgba(34, 197, 94, 0.05); border: 1px solid rgba(34, 197, 94, 0.15); padding: 0.75rem; border-radius: 0.5rem; margin-bottom: 0.75rem; }
.trade-details { margin: 0.5rem 0; font-size: 0.8rem; line-height: 1.4; }
.trade-actions { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 0.5rem; }

.char-info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0,0,0,0.2);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #4b5563;
}
.char-info-box img {
    width: 48px;
    height: 48px;
    border-radius: 0.25rem;
    object-fit: cover;
    flex-shrink: 0;
}
.char-info-details {
    font-size: 0.8rem;
}
.char-info-name {
    font-weight: bold;
    color: #e5e7eb;
}
.char-info-rarity {
    font-size: 0.7rem;
    color: #9ca3af;
}

.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 39, 20, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.custom-alert-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.custom-alert-box {
    background-color: var(--dark-bg);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), 0 0 40px rgba(34, 197, 94, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    width: 90%;
    max-width: 450px;
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.custom-alert-overlay.visible .custom-alert-box {
    transform: scale(1);
    opacity: 1;
}

.custom-alert-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--neon-green);
    text-shadow: 0 0 8px var(--neon-green);
}

.custom-alert-message {
    color: #e5e7eb;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.custom-alert-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#tax-display-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
}
#tax-display-container.hidden {
    display: none;
    transform: translateY(-10px);
    opacity: 0;
}
.text-yellow-400 { color: #facc15; text-shadow: 0 0 10px rgba(250, 204, 21, 0.5); }
.text-yellow-200 { color: #fef08a; }
.bg-yellow-900\/20 { background-color: rgba(113, 63, 18, 0.2); }
.border-yellow-500\/50 { border-color: rgba(234, 179, 8, 0.5); }

#cleaning-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3,7,18,0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 0.75rem;
}

#cleaning-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

#cleaning-container {
  width: 100%;
  max-width: 880px;
  height: auto;
  max-height: 100vh;
  display: flex;
  justify-content: center;
  transform: scale(0.96) translateY(18px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

#cleaning-overlay.active #cleaning-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

#cleaning-card {
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(2,6,23,0.96);
  border-radius: 1rem;
  border: 1px solid rgba(59,130,246,0.18);
  box-shadow: 0 0 22px rgba(59,130,246,0.18);
  padding: 1rem;
  overflow: hidden;
  position: relative;
}

#cleaning-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  padding-right: 40px;
  flex-shrink: 0;
}

#cleaning-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e5e7eb;
  white-space: nowrap;
}

#cleaning-search,
#cleaning-filter {
  height: 30px;
  padding: 0 10px;
  font-size: 0.72rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 0.45rem;
  color: #c7d2fe;
  min-width: 110px;
}

#cleaning-search::placeholder {
  color: rgba(147,197,253,0.45);
}

#cleaning-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 20;
  box-shadow: none;
  padding: 0;
}

#cleaning-close-btn::before,
#cleaning-close-btn::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #94a3b8;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

#cleaning-close-btn::before { transform: rotate(45deg); }
#cleaning-close-btn::after { transform: rotate(-45deg); }

#cleaning-close-btn:hover {
  transform: rotate(90deg);
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

#cleaning-close-btn:hover::before,
#cleaning-close-btn:hover::after {
  background-color: #ef4444;
}

#cleaning-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  margin-bottom: 0.6rem;
  background: rgba(2,6,23,0.55);
  border-radius: 0.75rem;
  border: 1px solid rgba(59,130,246,0.12);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
}

#cleaning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
  padding-bottom: 16px;
  height: 100%;
}

@media (min-width: 640px) { #cleaning-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 768px) { #cleaning-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }

.cleaning-item {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.6rem;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.cleaning-item:hover {
  border-color: rgba(59,130,246,0.45);
  transform: translateY(-1px);
}

.cleaning-item.selected {
  border-color: rgba(59,130,246,0.8);
  box-shadow: inset 0 0 10px rgba(59,130,246,0.25);
}

.cleaning-item img, .cleaning-item video {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.35rem;
}

.cleaning-item .char-meta { width: 100%; }
.cleaning-item .char-name {
  font-size: 0.68rem;
  color: #c7d2fe;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cleaning-item .char-id { font-size: 0.6rem; color: #93c5fd; font-family: monospace; text-align: center; }
.cleaning-item .char-rarity { color: #a78bfa; }

#cleaning-summary { font-size: 0.7rem; color: #c7d2fe; }

#cleaning-card footer {
    flex-shrink: 0;
    margin-top: auto;
}

#cleaning-burn-btn {
  height: 32px;
  padding: 0 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 0.5rem;

  background: transparent;
  border: 2px solid #f97316 !important;
  color: #f97316 !important;
  box-shadow: 0 0 5px #f97316, inset 0 0 5px rgba(249, 115, 22, 0.5) !important;
  text-shadow: 0 0 5px #f97316;
  transition: all 0.3s ease;
}

#cleaning-burn-btn:hover:not(:disabled) {
  background-color: #f97316 !important;
  color: #020617 !important;
  box-shadow: 0 0 15px #f97316, 0 0 30px #f97316 !important;
  transform: translateY(-2px);
}

#cleaning-burn-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #555 !important;
  color: #555 !important;
  box-shadow: none !important;
  text-shadow: none;
}

#cleaning-confirm-yes {
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  box-shadow: 0 0 5px #ef4444, inset 0 0 5px rgba(239, 68, 68, 0.5) !important;
  text-shadow: 0 0 5px #ef4444;
  transition: all 0.3s ease;
}

#cleaning-confirm-yes:hover:not(:disabled) {
  background-color: #ef4444 !important;
  color: #000000 !important;
  box-shadow: 0 0 20px #ef4444, 0 0 40px #ef4444 !important;
}

#cleaning-confirm-yes:disabled {
  border-color: #4b5563 !important;
  color: #4b5563 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none;
  cursor: wait;
}

#cleaning-confirm-list {
  text-align: left;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 1rem;

  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem;
  
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  line-height: 1.4;
}

#cleaning-confirm-list div {
  padding: 3px 6px;
  color: #d1d5db;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

#cleaning-confirm-list div:last-child {
  border-bottom: none;
}

:root {
    --neon-orange: #f97316;
    --neon-yellow: #eab308;
}

#auction-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(30, 15, 5, 0.6); backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; z-index: 60; padding: 1rem; box-sizing: border-box; }
#auction-overlay.active { opacity: 1; pointer-events: auto; }

#auction-container { width: 100%; max-width: 640px; margin-left: 1rem; margin-right: 1rem; transform: scale(0.9) translateY(20px); opacity: 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; }
#auction-container.active { transform: scale(1) translateY(0); opacity: 1; }

.auction-card { 
    background-color: var(--dark-bg); 
    padding: 2rem 1.5rem; 
    display: flex; 
    flex-direction: column; 
    border: 2px solid var(--neon-orange); 
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.5), 0 0 30px rgba(249, 115, 22, 0.3); 
    transition: all 0.5s ease-in-out; 
    width: 100%; 
    position: relative; 
    min-height: 500px;
}

#auction-header h2 { 
    color: var(--neon-orange); 
    text-shadow: 0 0 8px var(--neon-orange), 0 0 16px rgba(249, 115, 22, 0.5); 
    text-align: center; 
    font-size: 1.5rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
}

.neon-btn-yellow { border: 2px solid var(--neon-yellow); color: var(--neon-yellow); box-shadow: 0 0 5px var(--neon-yellow), inset 0 0 5px var(--neon-yellow); }
.neon-btn-yellow:hover { color: var(--dark-bg); background-color: var(--neon-yellow); box-shadow: 0 0 15px var(--neon-yellow), 0 0 30px var(--neon-yellow); transform: translateY(-2px); }

.neon-btn-purple { border: 2px solid var(--neon-purple); color: var(--neon-purple); box-shadow: 0 0 5px var(--neon-purple), inset 0 0 5px var(--neon-purple); }
.neon-btn-purple:hover { color: var(--dark-bg); background-color: var(--neon-purple); box-shadow: 0 0 15px var(--neon-purple), 0 0 30px var(--neon-purple); transform: translateY(-2px); }

.neon-btn-orange { border: 2px solid var(--neon-orange); color: var(--neon-orange); box-shadow: 0 0 5px var(--neon-orange), inset 0 0 5px var(--neon-orange); }
.neon-btn-orange:hover { color: var(--dark-bg); background-color: var(--neon-orange); box-shadow: 0 0 15px var(--neon-orange), 0 0 30px var(--neon-orange); transform: translateY(-2px); }

#auction-market-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
    padding-bottom: 2rem;
}

.auction-card-modern {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(0, 0, 0, 0.8));
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auction-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.5);
}

.auction-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    background: #000;
}

.auction-timer-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    backdrop-filter: blur(4px);
    z-index: 5;
}

.bid-info-box {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    padding: 8px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#custom-alert-overlay {
    z-index: 20000 !important;
}
#bid-modal-overlay {
    z-index: 10000 !important;
}

.text-neon-orange {
    color: #f97316 !important;
    text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

.text-neon-purple {
    color: #a78bfa !important;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}

.text-neon-green {
    color: #4ade80 !important;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.auction-timer-container {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.admin-trash-btn {
    background: rgba(220, 38, 38, 0.9);
    border: 1px solid rgba(254, 202, 202, 0.3);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.admin-trash-btn:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.auction-timer-badge-inner {
    background: rgba(0, 0, 0, 0.85);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    backdrop-filter: blur(4px);
}