/* ===========================
   CCN CHECKER - CUSTOM STYLES
   =========================== */

/* ===== SPLASH SCREEN ===== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
}

.splash-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.splash-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: splashGlowPulse 2s ease-in-out infinite;
}

@keyframes splashGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.splash-logo {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.5));
    animation: splashLogoFloat 3s ease-in-out infinite;
}

@keyframes splashLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.splash-text {
    font-family: 'VT323', 'Share Tech Mono', monospace;
    font-size: 2.5rem;
    color: #00ff00;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5), 0 0 40px rgba(0, 255, 0, 0.3);
    margin-bottom: 0.3rem;
}

.splash-subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: #00aa00;
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

/* Loading Bar */
.splash-loading {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.splash-loading-bar {
    width: 100%;
    height: 4px;
    background: #111;
    border: 1px solid #1a3a1a;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.splash-loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00cc00, #00ff00);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    width: 0%;
    transition: width 0.08s linear;
}

.splash-loading-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: #00aa00;
    letter-spacing: 3px;
    text-align: right;
}

/* Blink animation */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SPLASH ACTION BUTTONS ===== */
.splash-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.splash-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.5s ease;
}

.splash-action-btn:hover::before {
    left: 100%;
}

.splash-action-btn i {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.splash-action-btn span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.splash-action-btn small {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Generate Key Button */
.splash-btn-generate {
    border-color: #00ccff;
    color: #00ccff;
}

.splash-btn-generate:hover {
    background: rgba(0, 204, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.3), inset 0 0 25px rgba(0, 204, 255, 0.05);
    transform: translateY(-3px);
}

/* Access Key Button */
.splash-btn-access {
    border-color: #00ff00;
    color: #00ff00;
}

.splash-btn-access:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.3), inset 0 0 25px rgba(0, 255, 0, 0.05);
    transform: translateY(-3px);
}

/* ===== ACCESS KEY CONTAINER ===== */
.access-key-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.access-key-input {
    width: 100%;
    max-width: 350px;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    color: #00ff00;
    font-family: 'VT323', 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 2px;
    outline: none;
    transition: all 0.3s ease;
}

.access-key-input::placeholder {
    color: rgba(0, 255, 0, 0.3);
}

.access-key-input:focus {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3), inset 0 0 15px rgba(0, 255, 0, 0.05);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.access-key-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff4444;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.access-key-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 350px;
    padding: 0.8rem 1.5rem;
    background: #00ff00;
    border: none;
    color: #000;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    margin-top: 0.5rem;
}

.access-key-button:hover {
    background: #33ff33;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
    transform: translateY(-2px);
}

/* Back Button */
.splash-back-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #555;
    color: #888;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.splash-back-btn:hover {
    border-color: #00ff00;
    color: #00ff00;
}

/* ===== WAITING DOTS ===== */
.waiting-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.wdot {
    width: 10px;
    height: 10px;
    background: #ffaa00;
    border-radius: 50%;
    animation: wdotPulse 1.4s ease-in-out infinite;
}

.wdot:nth-child(2) { animation-delay: 0.2s; }
.wdot:nth-child(3) { animation-delay: 0.4s; }

@keyframes wdotPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ===== FLOATING COUNTDOWN TIMER ===== */
.ccn-countdown-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.92);
    border: 2px solid rgba(255, 170, 0, 0.6);
    border-radius: 6px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffaa00;
    animation: countdownGlow 2s ease-in-out infinite;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    cursor: default;
    user-select: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 170, 0, 0.15);
}

.ccn-countdown-float .countdown-label {
    font-size: 0.6rem;
    color: rgba(255, 170, 0, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ccn-countdown-float .countdown-time {
    font-family: 'VT323', 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    color: #ffaa00;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.4);
}

.ccn-countdown-float.countdown-warning {
    border-color: #ff4444;
    animation: countdownWarning 0.8s ease-in-out infinite;
}

.ccn-countdown-float.countdown-warning .countdown-time {
    color: #ff4444;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

.ccn-countdown-float.countdown-warning .countdown-label {
    color: rgba(255, 68, 68, 0.6);
}

.ccn-countdown-float .countdown-icon {
    font-size: 0.85rem;
    animation: hourglassFlip 2s ease-in-out infinite;
}

@keyframes countdownGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 8px rgba(255, 170, 0, 0.15); }
    50% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 170, 0, 0.3); }
}

@keyframes countdownWarning {
    0%, 100% { opacity: 1; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 8px rgba(255, 68, 68, 0.3); }
    50% { opacity: 0.7; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 68, 68, 0.6); }
}

@keyframes hourglassFlip {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* ===== PROXY STATUS PANEL ===== */
.proxy-status-panel {
    background: var(--terminal-bg-light);
    border: 1px solid var(--terminal-border);
    padding: 0.6rem 0.8rem;
    max-height: 180px;
    overflow-y: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.72rem;
}

.proxy-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.08);
    transition: background 0.2s ease;
}

.proxy-item:last-child {
    border-bottom: none;
}

.proxy-item:hover {
    background: rgba(0, 255, 0, 0.03);
}

.proxy-addr {
    color: var(--terminal-text-dim);
    font-size: 0.7rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proxy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1rem 0.45rem;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.5px;
    border: 1px solid;
    text-transform: uppercase;
}

.proxy-badge-live {
    color: #00ff00;
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.08);
    box-shadow: 0 0 6px rgba(0, 255, 0, 0.3);
}

.proxy-badge-dead {
    color: #ff0000;
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.08);
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.3);
}

.proxy-badge-checking {
    color: #ffff00;
    border-color: #ffff00;
    background: rgba(255, 255, 0, 0.08);
    box-shadow: 0 0 6px rgba(255, 255, 0, 0.3);
    animation: proxyCheckPulse 1s ease-in-out infinite;
}

.proxy-badge-noproxy {
    color: #888888;
    border-color: #555555;
    background: rgba(136, 136, 136, 0.08);
}

@keyframes proxyCheckPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== PROXY SUMMARY BAR ===== */
.proxy-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--terminal-bg-light);
    border: 1px solid var(--terminal-border);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
}

.proxy-summary-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.proxy-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ===== HOME NAV BUTTON ===== */
.home-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #1a0000, #330000);
    border: 2px solid #ff0000;
    border-radius: 4px;
    color: #ff0000;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255,0,0,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(255,0,0,0.75);
    color: #ff0000;
    background: linear-gradient(135deg, #330000, #440000);
}

/* ===== PROXY TEXTAREA ===== */
.proxy-textarea {
    width: 100%;
    min-height: 80px;
    max-height: 150px;
    background: var(--terminal-bg, #0a0a0a);
    border: 1px solid var(--terminal-border, #1a3a1a);
    color: var(--terminal-text, #00ff00);
    font-family: 'Fira Code', 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    padding: 0.5rem;
    resize: vertical;
}

.proxy-textarea::placeholder {
    color: rgba(0, 255, 0, 0.3);
}

.proxy-textarea:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.2);
}

/* ===== PROXY STATS INLINE ===== */
.proxy-stats-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    padding: 0.3rem 0;
    color: var(--terminal-text-dim, #888);
}

.proxy-stats-inline .stat-label {
    color: var(--terminal-text-dim, #888);
}

.proxy-stats-inline .stat-value {
    color: #00ff00;
    font-weight: 700;
}

.proxy-stats-inline .stat-dead {
    color: #ff0000;
    font-weight: 700;
}

/* ===== COUNTDOWN COLOR CODING: VIP (Violet) & FREE (Orange) ===== */

/* FREE key countdown — orange (default, already styled above) */
.ccn-countdown-float.countdown-free {
    border-color: rgba(255, 170, 0, 0.6);
    color: #ffaa00;
}

.ccn-countdown-float.countdown-free .countdown-label {
    color: rgba(255, 170, 0, 0.6);
}

.ccn-countdown-float.countdown-free .countdown-time {
    color: #ffaa00;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.4);
}

/* VIP key countdown — violet/purple */
.ccn-countdown-float.countdown-vip {
    border-color: rgba(180, 100, 255, 0.7);
    color: #b464ff;
    animation: countdownGlowVip 2s ease-in-out infinite;
}

.ccn-countdown-float.countdown-vip .countdown-label {
    color: rgba(180, 100, 255, 0.7);
}

.ccn-countdown-float.countdown-vip .countdown-time {
    color: #c88aff;
    text-shadow: 0 0 8px rgba(180, 100, 255, 0.5);
}

.ccn-countdown-float.countdown-vip .countdown-icon {
    color: #b464ff;
}

.ccn-countdown-float.countdown-vip.countdown-warning {
    border-color: #ff4444;
    animation: countdownWarning 0.8s ease-in-out infinite;
}

.ccn-countdown-float.countdown-vip.countdown-warning .countdown-time {
    color: #ff4444;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

.ccn-countdown-float.countdown-vip.countdown-warning .countdown-label {
    color: rgba(255, 68, 68, 0.6);
}

@keyframes countdownGlowVip {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 8px rgba(180, 100, 255, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(180, 100, 255, 0.4); }
}

/* Paused state */
.ccn-countdown-float.countdown-paused {
    opacity: 0.7;
    animation: countdownPausedPulse 2s ease-in-out infinite;
}

.ccn-countdown-float.countdown-paused .countdown-time {
    animation: pausedBlink 1.5s ease-in-out infinite;
}

@keyframes countdownPausedPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.85; }
}

@keyframes pausedBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== VIP PAUSE/RESUME BUTTON ===== */
.vip-pause-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    margin-left: 6px;
    background: rgba(180, 100, 255, 0.15);
    border: 1px solid rgba(180, 100, 255, 0.5);
    border-radius: 4px;
    color: #c88aff;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.vip-pause-btn:hover {
    background: rgba(180, 100, 255, 0.3);
    border-color: #b464ff;
    box-shadow: 0 0 10px rgba(180, 100, 255, 0.4);
    transform: scale(1.1);
}

.vip-pause-btn:active {
    transform: scale(0.95);
}

.vip-pause-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.vip-pause-btn i {
    font-size: 0.65rem;
}

/* ===== FLOATING GLOBAL HITS COUNTER ===== */
.ccn-global-hits-float {
    position: fixed;
    top: 80px;
    left: 16px;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    min-width: 170px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.15), 0 4px 20px rgba(0, 0, 0, 0.6);
    font-family: 'Share Tech Mono', monospace;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    cursor: default;
    user-select: none;
}

.ccn-global-hits-float:hover {
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.25), 0 4px 25px rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 255, 0, 0.5);
}

.global-hits-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0, 255, 0, 0.08);
    border-bottom: 1px solid rgba(0, 255, 0, 0.15);
    color: #00ff00;
    font-size: 0.7rem;
    letter-spacing: 2px;
    cursor: pointer;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
}

.global-hits-header:active {
    cursor: grabbing;
}

.global-hits-header .grip-icon {
    margin-left: auto;
    opacity: 0.4;
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.global-hits-header:hover .grip-icon {
    opacity: 0.8;
}

/* Collapsed state (default) — hide body and footer */
.ccn-global-hits-float.collapsed .global-hits-body,
.ccn-global-hits-float.collapsed .global-hits-footer {
    display: none;
}

.ccn-global-hits-float.collapsed .global-hits-header {
    border-bottom: none;
}

.ccn-global-hits-float.collapsed .grip-icon {
    transform: rotate(0deg);
}

.ccn-global-hits-float:not(.collapsed) .grip-icon {
    transform: rotate(90deg);
}

.global-hits-body {
    padding: 8px 10px;
}

.global-hit-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    font-size: 0.75rem;
}

.global-hit-row i {
    width: 16px;
    text-align: center;
    font-size: 0.7rem;
}

.global-hit-row .hit-label {
    flex: 1;
    color: #888;
    letter-spacing: 1px;
    font-size: 0.65rem;
}

.global-hit-row .hit-value {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: right;
}

/* Charged row */
.hit-charged i { color: #00ff00; }
.hit-charged .hit-value {
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

/* Approved row */
.hit-approved i { color: #00ccff; }
.hit-approved .hit-value {
    color: #00ccff;
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.5);
}

/* Total row */
.hit-total i { color: #ffaa00; }
.hit-total .hit-value {
    color: #ffaa00;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.5);
    font-size: 1.2rem;
    font-weight: bold;
}

.global-hits-divider {
    height: 1px;
    background: rgba(0, 255, 0, 0.12);
    margin: 4px 0;
}

.global-hits-footer {
    padding: 3px 10px 5px;
    text-align: center;
    font-size: 0.55rem;
    color: #555;
    letter-spacing: 1px;
    border-top: 1px solid rgba(0, 255, 0, 0.08);
}

/* Pulse animation when value updates */
@keyframes hitCountPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.hit-value.pulse {
    animation: hitCountPulse 0.4s ease;
}

/* ===== AUTO-SAVE HITS TOGGLE ===== */
.auto-save-toggle-wrap {
    background: rgba(255, 0, 0, 0.06);
    border: 1px solid rgba(255, 0, 0, 0.25);
    border-radius: 8px;
    padding: 12px 14px;
    transition: all 0.4s ease;
}

.auto-save-toggle-wrap.active {
    background: rgba(0, 255, 0, 0.06);
    border-color: rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.08);
}

.auto-save-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.auto-save-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: #ccc;
    letter-spacing: 1px;
    font-weight: bold;
}

.auto-save-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: #666;
    letter-spacing: 0.5px;
}

.auto-save-hint.active {
    color: #00ff00;
}

/* ON/OFF status badge next to toggle */
.auto-save-onoff {
    display: inline-block;
    font-family: 'VT323', 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 36px;
    text-align: center;
    transition: all 0.3s ease;
}

.auto-save-onoff.off {
    color: #ff4444;
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-shadow: 0 0 6px rgba(255, 68, 68, 0.4);
}

.auto-save-onoff.on {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.12);
    border: 1px solid rgba(0, 255, 0, 0.4);
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
    animation: onGlow 2s ease-in-out infinite;
}

@keyframes onGlow {
    0%, 100% { box-shadow: 0 0 4px rgba(0, 255, 0, 0.2); }
    50% { box-shadow: 0 0 12px rgba(0, 255, 0, 0.4); }
}

/* Hacker-style toggle switch — LARGE & VISIBLE */
.hacker-toggle {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
    flex-shrink: 0;
    cursor: pointer;
}

.hacker-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.hacker-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 28px;
    transition: all 0.3s ease;
}

.hacker-toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: #ff4444;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.6);
}

.hacker-toggle input:checked + .hacker-toggle-slider {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.hacker-toggle input:checked + .hacker-toggle-slider::before {
    transform: translateX(28px);
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

/* Download button glow on hover */
#cvv-download-btn:hover,
#ccn-download-btn:hover {
    color: #00ff00 !important;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .home-nav-btn .home-nav-text { display: none; }
    .home-nav-btn { width: 40px; height: 40px; padding: 0; justify-content: center; }
    .home-nav-btn i { margin: 0 !important; font-size: 1.2rem; }

    /* Splash responsive */
    .splash-text { font-size: 1.8rem; letter-spacing: 4px; }
    .splash-subtitle { font-size: 0.6rem; letter-spacing: 2px; }
    .splash-action-btn { min-width: 140px; padding: 1rem 1.2rem; }
    .splash-action-btn i { font-size: 1.5rem; }
    .splash-action-btn span { font-size: 0.75rem; }

    /* Floating countdown responsive */
    .ccn-countdown-float { bottom: 12px; right: 12px; padding: 0.4rem 0.8rem; font-size: 0.75rem; }
    .ccn-countdown-float .countdown-time { font-size: 0.95rem; }
    .vip-pause-btn { width: 22px; height: 22px; margin-left: 4px; }
    .vip-pause-btn i { font-size: 0.55rem; }

    /* Global hits counter responsive */
    .ccn-global-hits-float {
        top: 70px;
        left: 8px;
        right: auto;
        bottom: auto;
        min-width: 150px;
        max-width: calc(100vw - 16px);
        overflow-wrap: anywhere;
    }
    .global-hits-header { font-size: 0.6rem; padding: 5px 8px; }
    .global-hit-row .hit-value { font-size: 0.95rem; }
    .hit-total .hit-value { font-size: 1rem; }
}

@media (max-width: 480px) {
    .splash-text { font-size: 1.4rem; letter-spacing: 3px; }
    .splash-action-btn { min-width: 120px; padding: 0.8rem 1rem; }
    .ccn-countdown-float { bottom: 8px; right: 8px; padding: 0.35rem 0.7rem; }
    .vip-pause-btn { width: 20px; height: 20px; }

    .ccn-global-hits-float {
        top: 60px;
        left: 6px;
        right: auto;
        bottom: auto;
        min-width: 140px;
        max-width: calc(100vw - 12px);
    }
    .global-hits-header { font-size: 0.55rem; letter-spacing: 1px; }
    .global-hit-row { font-size: 0.65rem; }
    .global-hit-row .hit-value { font-size: 0.85rem; }
}

/* ===== SESSION WARNING OVERLAY (Splash Phase 3F) ===== */
.session-warning-container {
    max-width: 420px;
}

.session-warning-icon-wrap {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 136, 0, 0.12);
    border: 2px solid rgba(255, 136, 0, 0.5);
    margin-bottom: 0.8rem;
    animation: swIconPulse 2s ease-in-out infinite;
}

.session-warning-icon-wrap i {
    font-size: 2rem;
    color: #ff8800;
    text-shadow: 0 0 15px rgba(255, 136, 0, 0.6);
}

@keyframes swIconPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 136, 0, 0.2); transform: scale(1); }
    50% { box-shadow: 0 0 25px rgba(255, 136, 0, 0.5); transform: scale(1.05); }
}

.session-warning-title {
    color: #ff8800;
    font-weight: 700;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(255, 136, 0, 0.5);
    margin-bottom: 1rem;
}

.session-warning-box {
    width: 100%;
    max-width: 380px;
    border-radius: 6px;
    padding: 14px 18px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 0.8rem;
}

.session-warning-box i:first-child {
    margin-right: 6px;
}

.session-warning-info-box {
    background: rgba(255, 136, 0, 0.08);
    border: 1px solid rgba(255, 136, 0, 0.4);
}

.session-warning-info-box i:first-child {
    color: #ff8800;
}

.session-warning-info-box b {
    color: #ff8800;
}

.session-warning-browser {
    color: #00ccff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 4px;
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.4);
}

.session-warning-started {
    color: #888;
    font-size: 0.72rem;
    margin-top: 2px;
}

.session-warning-steps-box {
    background: rgba(0, 255, 0, 0.04);
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.session-warning-steps-box i:first-child {
    color: #00ff00;
}

.session-warning-steps-box b {
    color: #00ff00;
}

.session-warning-steps {
    margin: 0.5rem 0 0 0;
    padding-left: 20px;
    list-style: decimal;
    line-height: 2;
    font-size: 0.78rem;
}

.session-warning-steps li {
    color: #ccc;
}

.session-warning-steps .sw-browser-ref {
    color: #00ccff;
    font-weight: 700;
}

.session-warning-ok-btn {
    background: #ff8800 !important;
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.4) !important;
    margin-top: 0.8rem !important;
}

.session-warning-ok-btn:hover {
    background: #ffaa33 !important;
    box-shadow: 0 0 25px rgba(255, 136, 0, 0.6) !important;
}

/* ===== PAUSE OVERLAY & DISABLED START BUTTON ===== */
#pause-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 100;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pause-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ff8800;
    font-family: 'Share Tech Mono', monospace;
    text-align: center;
    animation: pauseOverlayPulse 2s ease-in-out infinite;
}

.pause-overlay-content i {
    font-size: 3rem;
    color: #ff8800;
    text-shadow: 0 0 20px rgba(255, 136, 0, 0.5);
}

.pause-overlay-content span {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ff8800;
}

.pause-overlay-content small {
    font-size: 0.75rem;
    color: #999;
}

@keyframes pauseOverlayPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

#startBtn.btn-paused {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    position: relative;
}

#startBtn.btn-paused::after {
    content: '⏸';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}
