﻿/* Professional Clean Theme - Phishing Detector & Subdomain Scanner */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-color: #1e1e1e;
    --accent-color: #0066cc;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --bg-light: #2a2a2a;
    --bg-white: #242424;
    --text-dark: #ffffff;
    --text-light: #b0b0b0;
    --border-color: #404040;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    /* Cursor Circle Mix-Blend-Mode Customization */
    --cursor-blend-bg: #ff8c00;
    --cursor-blend-border: #ff8c00;
    --cursor-blend-text: #000000;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
    background: #1e1e1e;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}
.parallax-bg, .parallax-bg-scanner { display: none; }
body::before, body::after { display: none !important; }
.container, .scanner-container { max-width: 1400px; margin: 0 auto; }
.header, .hero-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}
.header h1, .hero-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 15px 0 10px;
    font-weight: 700;
}
.header .subtitle, .hero-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Scanner Features List */
.scanner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 8px 12px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--accent-color);
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    font-weight: 500;
}
.logout-wrapper, .logout-wrapper-scanner {
    position: absolute;
    top: 20px;
    right: 20px;
}
.logout-btn, .logout-btn-scanner {
    padding: 8px 16px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}
.logout-btn:hover, .logout-btn-scanner:hover { background: #c0392b; }

.scanner-link-btn, .back-to-phishing-btn {
    display: inline-block;
    padding: 27px 30px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.scanner-link-btn:hover, .back-to-phishing-btn:hover {
    background: #0052a3;
}


/* Custom Cursor Circle - mix-blend-mode effect */
.cursor-circle {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: transparent;
    pointer-events: none;
    z-index: 99;
    top: -50px;
    left: -50px;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    color: transparent;
}

.cursor-circle.active {
    opacity: 1;
    mix-blend-mode:difference;
    transform: scale(1.5);
    background: #ffffff;
    border-color: #ffffff;
    color: #0066cc;
}

/* Change title text color to black when mix-blend-mode is active */
body.mix-blend-active .hero-title {
    color: #ececec;
}

/* Interactive Button Animation */
.scanner-link-btn span, .back-to-phishing-btn span {
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: transform 0.15s linear;
}
.main-content-with-sidebar, .scanner-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    margin-bottom: 40px;
    
}
.main-left-column, .scanner-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card, .input-card, .loading-card, .error-card, .results-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
}
.input-section, .scanner-input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.input-label, .input-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}
.input-group, .scanner-input-group {
    display: flex;
    gap: 10px;
}
.url-input, .scanner-input {
    flex: 90;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
}
.url-input:focus, .scanner-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.check-btn, .scanner-btn {
    padding: 12px 30px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.check-btn:hover, .scanner-btn:hover { background: #2781bd; }
.result-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}
.result-icon { font-size: 2.5rem; }
.result-title h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}
.result-url {
    font-size: 0.9rem;
    color: var(--text-light);
    word-break: break-all;
}
.result-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 25px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}
.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #2a2a2a 100%);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.detail-item:hover {
    background: linear-gradient(135deg, #303030 0%, #2e2e2e 100%);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}
.detail-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.detail-value {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

/* Professional Progress Bar with Animation */
.progress-container {
    background: var(--bg-light);
    border-radius: 8px;
    height: 32px;
    overflow: hidden;
    margin: 25px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid var(--border-color);
    width: 100%;
    display: block;
}
.progress-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
    z-index: 1;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0066cc 0%, #0052a3 50%, #0066cc 100%);
    background-size: 200% 100%;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.4), inset 0 1px 2px rgba(255,255,255,0.2);
    animation: shimmer 2s infinite;
    display: block;
    width: 0%;
    min-width: 0;
}
@keyframes shimmer {
    0%, 100% {
        background-position: 200% 0;
        box-shadow: 0 0 15px rgba(0, 102, 204, 0.4), inset 0 1px 2px rgba(255,255,255,0.2);
    }
    50% {
        background-position: 0% 0;
        box-shadow: 0 0 25px rgba(0, 102, 204, 0.6), inset 0 1px 2px rgba(255,255,255,0.3);
    }
}
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: slide 1.5s infinite;
    z-index: 2;
}
@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    z-index: 20;
    pointer-events: none;
}
.reason-section {
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #2a2a2a 100%);
    border-radius: 6px;
    border-left: 5px solid var(--accent-color);
    margin: 25px 0;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.reason-section:hover {
    background: linear-gradient(135deg, #303030 0%, #2e2e2e 100%);
    border-left-color: #0080ff;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}
.reason-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.reason-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    letter-spacing: 0.3px;
}
.threat-indicators { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px;
    margin: 25px 0;
}
.threat-badge {
    display: inline-block;
    padding: 10px 16px;
    background: var(--danger-color);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.threat-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}
.threat-badge.warning { 
    background: var(--warning-color);
}
.threat-badge.warning:hover {
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}
.threat-badge.safe { 
    background: var(--success-color);
}
.threat-badge.safe:hover {
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}
.website-status-section, .ip-statistics-section {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #2a2a2a 100%);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.website-status-section:hover, .ip-statistics-section:hover {
    background: linear-gradient(135deg, #303030 0%, #2e2e2e 100%);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}
.status-title, .ip-statistics-section h4 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.status-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
.status-icon { font-size: 1.5rem; }
.status-label {
    font-size: 0.8rem;
    color: var(--text-light);
}
.status-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}
.error-card { border-left: 4px solid var(--danger-color); }
.error-title { color: var(--danger-color); }

/* Error Section Styling */
.error-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.error-card {
    text-align: center;
    max-width: 500px;
    padding: 40px 30px;
    background: var(--bg-white);
    border: 2px solid var(--danger-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.error-icon-wrapper {
    margin-bottom: 20px;
}

.error-icon {
    font-size: 3rem;
    color: var(--danger-color);
    display: inline-block;
}

.error-title {
    font-size: 1.5rem;
    color: var(--danger-color);
    margin: 15px 0 10px;
    font-weight: 700;
}

.error-message {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 15px 0 25px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}
.dismiss-btn {
    padding: 8px 16px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.loading-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}
.loading-card { text-align: center; }
.radar-scanner {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
}
.info-section {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
}
.info-section h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
}
.info-section p {
    color: var(--text-light);
    margin-bottom: 12px;
}
.info-list {
    margin: 15px 0 15px 25px;
    list-style-type: disc;
}
.info-list li {
    margin-bottom: 6px;
    color: var(--text-light);
}
.scan-history-sidebar-main {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: static;
}
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}
.history-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}
.clear-history-btn {
    padding: 8px 16px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}
.clear-history-btn:hover { 
    background: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

/* Animated Delete Button Styles */
.delete-btn-animated {
    --background: #e74c3c;
    --background-hover: #c0392b;
    --text: #fff;
    --shadow: rgba(0, 0, 0, 0.2);
    --paper: #3498db;
    --paper-lines: #fff;
    --trash: #ecf0f1;
    --trash-lines: #bdc3c7;
    --check: #fff;
    --check-background: #27ae60;
    position: relative;
    border: none;
    outline: none;
    background: var(--btn, var(--background));
    padding: 8px 16px;
    border-radius: 4px;
    min-width: auto;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 4px var(--shadow);
    transform: scale(var(--scale, 1));
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.delete-btn-animated span {
    display: block;
    opacity: var(--span-opacity, 1);
    transform: translateX(var(--span-x, 0)) translateZ(0);
    transition: transform 0.4s ease var(--span-delay, 0.2s), opacity 0.3s ease var(--span-delay, 0.2s);
    font-size: 0.9rem;
}

.delete-btn-animated .trash {
    display: block;
    position: relative;
    width: 18px;
    height: 20px;
    transform: translate(var(--trash-x, 0), var(--trash-y, 0)) translateZ(0) scale(var(--trash-scale, 0.8));
    transition: transform 0.5s;
    flex-shrink: 0;
}

.delete-btn-animated .trash:before,
.delete-btn-animated .trash:after {
    content: '';
    position: absolute;
    height: 6px;
    width: 2px;
    border-radius: 1px;
    background: var(--icon, var(--trash));
    bottom: 100%;
    transform-origin: 50% 6px;
    transform: translate(var(--x, 3px), 2px) scaleY(var(--sy, 0.7)) rotate(var(--r, 0deg));
    transition: transform 0.4s, background 0.3s;
}

.delete-btn-animated .trash:before {
    left: 2px;
}

.delete-btn-animated .trash:after {
    right: 2px;
    --x: -3px;
}

.delete-btn-animated .trash .top {
    position: absolute;
    overflow: hidden;
    left: -2px;
    right: -2px;
    bottom: 100%;
    height: 30px;
    z-index: 1;
    transform: translateY(1px);
}

.delete-btn-animated .trash .top:before,
.delete-btn-animated .trash .top:after {
    content: '';
    position: absolute;
    border-radius: 1px;
    background: var(--icon, var(--trash));
    width: var(--w, 10px);
    height: var(--h, 2px);
    left: var(--l, 6px);
    bottom: var(--b, 3px);
    transition: background 0.3s, transform 0.4s;
}

.delete-btn-animated .trash .top:after {
    --w: 22px;
    --h: 2px;
    --l: 0;
    --b: 0;
    transform: scaleX(var(--trash-line-scale, 1));
}

.delete-btn-animated .trash .top .paper {
    width: 10px;
    height: 14px;
    background: var(--paper);
    left: 5px;
    bottom: 0;
    border-radius: 1px;
    position: absolute;
    transform: translateY(-12px);
    opacity: 0;
}

.delete-btn-animated .trash .top .paper:before,
.delete-btn-animated .trash .top .paper:after {
    content: '';
    width: var(--w, 8px);
    height: 1px;
    border-radius: 1px;
    position: absolute;
    left: 1px;
    top: var(--t, 2px);
    background: var(--paper-lines);
    transform: scaleY(0.7);
    box-shadow: 0 7px 0 var(--paper-lines);
}

.delete-btn-animated .trash .top .paper:after {
    --t: 4px;
    --w: 5px;
}

.delete-btn-animated .trash .box {
    width: 16px;
    height: 20px;
    border: 2px solid var(--icon, var(--trash));
    border-radius: 1px 1px 3px 3px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: border-color 0.3s;
}

.delete-btn-animated .trash .box:before,
.delete-btn-animated .trash .box:after {
    content: '';
    position: absolute;
    width: 3px;
    height: var(--h, 16px);
    top: 0;
    left: var(--l, 50%);
    background: var(--b, var(--trash-lines));
}

.delete-btn-animated .trash .box:before {
    border-radius: 1px;
    margin-left: -2px;
    transform: translateX(-2px) scale(0.6);
    box-shadow: 8px 0 0 var(--trash-lines);
    opacity: var(--trash-lines-opacity, 1);
    transition: transform 0.4s, opacity 0.4s;
}

.delete-btn-animated .trash .box:after {
    --h: 12px;
    --b: var(--paper);
    --l: 1px;
    transform: translate(-0.5px, -12px) scaleX(0.5);
    box-shadow: 5px 0 0 var(--paper), 11px 0 0 var(--paper), 17px 0 0 var(--paper);
}

.delete-btn-animated .trash .check {
    padding: 3px 2px;
    border-radius: 50%;
    background: var(--check-background);
    position: absolute;
    left: 2px;
    top: 18px;
    opacity: var(--check-opacity, 0);
    transform: translateY(var(--check-y, 0)) scale(var(--check-scale, 0.2));
    transition: transform var(--check-duration, 0.2s) ease var(--check-delay, 0s), opacity var(--check-duration-opacity, 0.2s) ease var(--check-delay, 0s);
}

.delete-btn-animated .trash .check svg {
    width: 6px;
    height: 4px;
    display: block;
    fill: none;
    stroke-width: 1.5;
    stroke-dasharray: 9px;
    stroke-dashoffset: var(--check-offset, 9px);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--check);
    transition: stroke-dashoffset 0.4s ease var(--checkmark-delay, 0.4s);
}

.delete-btn-animated.delete {
    --span-opacity: 0;
    --span-x: 12px;
    --span-delay: 0s;
    --trash-x: 36px;
    --trash-y: 1px;
    --trash-scale: 1;
    --trash-lines-opacity: 0;
    --trash-line-scale: 0;
    --icon: #fff;
    --check-offset: 0;
    --check-opacity: 1;
    --check-scale: 1;
    --check-y: 12px;
    --check-delay: 1.7s;
    --checkmark-delay: 2.1s;
    --check-duration: 0.55s;
    --check-duration-opacity: 0.3s;
}

.delete-btn-animated.delete .trash:before,
.delete-btn-animated.delete .trash:after {
    --sy: 1;
    --x: 0;
}

.delete-btn-animated.delete .trash:before {
    --r: 40deg;
}

.delete-btn-animated.delete .trash:after {
    --r: -40deg;
}

.delete-btn-animated.delete .trash .top .paper {
    animation: paper-delete 1.5s linear forwards 0.5s;
}

.delete-btn-animated.delete .trash .box:after {
    animation: cut-delete 1.5s linear forwards 0.5s;
}

.delete-btn-animated:hover,
.delete-btn-animated.delete {
    --btn: var(--background-hover);
}

.delete-btn-animated:active {
    --scale: 0.94;
}

@keyframes paper-delete {
    10%, 100% { opacity: 1; }
    20% { transform: translateY(-12px); }
    40% { transform: translateY(0); }
    70%, 100% { transform: translateY(18px); }
}

@keyframes cut-delete {
    0%, 40% { transform: translate(-0.5px, -12px) scaleX(0.5); }
    100% { transform: translate(-0.5px, 18px) scaleX(0.5); }
}

.history-empty { 
    text-align: center; 
    padding: 30px 10px;
    color: var(--text-light);
}
.history-table-container {
    overflow-x: auto;
    margin-top: 18px;
    border-radius: 6px;
    display: block;
}
.history-table, .history-table-scanner {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: var(--bg-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    table-layout: fixed;
}
.history-table thead, .history-table-scanner thead {
    background: linear-gradient(90deg, #0066cc 0%, #0052a3 100%);
    border-bottom: 2px solid var(--accent-color);
}
.history-table th, .history-table-scanner th {
    padding: 14px 12px;
    text-align: left;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    width: 100%;
    background-color: transparent;
}
.history-table th:first-child, .history-table-scanner th:first-child {
    width: 85%;
}
.history-table th:last-child, .history-table-scanner th:last-child {
    width: 15%;
}
.history-table tbody tr, .history-table-scanner tbody tr {
    border-bottom: 1px solid var(--border-color);
    height: auto;
    transition: all 0.2s ease;
    background: transparent;
}
.history-table tbody tr:hover, .history-table-scanner tbody tr:hover {
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-left: 3px solid var(--accent-color);
    padding-left: 7px;
}
.history-table td, .history-table-scanner td {
    padding: 14px 12px;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.9rem;
}
.history-url, .scan-domain {
    cursor: pointer;
    word-break: break-all;
    width: 85%;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}
.history-url:hover, .scan-domain:hover { 
    text-decoration: underline;
    color: #0080ff;
    text-shadow: 0 0 8px rgba(0, 102, 204, 0.2);
}
.history-delete-btn, .scan-delete-btn {
    cursor: pointer;
    color: var(--danger-color);
    font-weight: bold;
    text-align: center;
    width: 15%;
    padding: 10px 5px;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.history-delete-btn:hover, .scan-delete-btn:hover {
    color: #ff5555;
    transform: scale(1.2);
    text-shadow: 0 0 8px rgba(231, 76, 60, 0.3);
}
.history-delete-btn:hover, .scan-delete-btn:hover { color: #c0392b; }
.features-summary {
    padding: 15px;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
}
.feature-category {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-light);
}
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.feature-item {
    padding: 10px;
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}
.scan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.scan-header h3 { color: var(--primary-color); margin: 0; }
.export-csv-btn {
    padding: 8px 16px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.export-csv-btn:hover { background: #229954; }
.scan-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.scan-card {
    padding: 15px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
}
.scan-card.primary { background: #0066cc; }
.scan-card.success { background: var(--success-color); }
.scan-card.info { background: var(--accent-color); }
.scan-card.warning { background: var(--warning-color); }
.advanced-subdomain-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.advanced-subdomain-table thead {
    background: #0066cc;
    color: white;
}
.advanced-subdomain-table td, .advanced-subdomain-table th { 
    padding: 12px;
    color: var(--text-dark);
}
.advanced-subdomain-table tbody tr {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

/* Threat Tables Styling */
.threat-table-section {
    margin: 20px 0;
    padding: 0;
    background: transparent;
}
.threat-table-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
    padding-top: 15px;
    border-top: 2px solid var(--accent-color);
    padding-left: 0;
}
.threat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}
.threat-table thead {
    background: var(--accent-color);
    color: white;
}
.threat-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.threat-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}
.threat-table tbody tr:hover {
    background: #303030;
}
.threat-table tbody tr:last-child {
    border-bottom: none;
}
.threat-table td {
    padding: 14px 16px;
    color: var(--text-dark);
    word-break: break-word;
}
/* Header key-value tables */
.header-key, .ssl-key, .server-key {
    font-weight: 600;
    color: var(--accent-color);
    width: 35%;
}
.header-value, .ssl-value, .server-value {
    color: var(--text-light);
    word-break: break-all;
    width: 65%;
}
/* Vulnerability items */
.threat-vulnerability-section {
    margin-bottom: 20px;
}
.vulnerability-item {
    color: var(--danger-color);
    font-weight: 600;
    padding: 10px 0;
}
/* Threat indicators styling */
.threat-indicators {
    margin-top: 20px;
}
.threat-badge {
    display: inline-block;
    padding: 8px 14px;
    margin: 8px 8px 8px 0;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-light);
    color: var(--text-dark);
    border-left: 4px solid var(--accent-color);
}
.phishtank-badge {
    display: block;
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
    border-left: 5px solid #ff0000;
    background: rgba(255, 0, 0, 0.08);
    color: #ff6b6b;
}

/* Threat Assessment Sections - Professional Styling */
.threat-assessment-section {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.threat-header {
    padding: 16px;
    border-radius: 6px;
    border-left: 5px solid;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
}
.threat-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}
.threat-value {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}
.threat-category {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: right;
    font-style: italic;
}
.recommendation-section,
.actions-section,
.server-status-section,
.confidence-section {
    padding: 15px 16px;
    border-radius: 6px;
    border-left: 5px solid;
}
.section-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.section-content {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}
.actions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.actions-list li {
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}
.actions-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--success-color);
}
.status-label,
.confidence-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 10px;
}
.status-value,
.confidence-value {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}
@media (max-width: 1024px) {
    .main-content-with-sidebar, .scanner-grid { grid-template-columns: 1fr; }
    .scan-history-sidebar-main { position: static; }
}
@media (max-width: 768px) {
    .result-details, .status-grid, .scan-summary-cards { grid-template-columns: 1fr; }
    .input-group, .scanner-input-group { flex-direction: column; }
}

/* Semantic UI Button Customization */
.check-btn.ui.button, .scanner-btn.ui.button {
    padding: 12px 30px !important;
    background: var(--accent-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.check-btn.ui.button:hover, .scanner-btn.ui.button:hover {
    background: #2980b9 !important;
}

.check-btn.ui.button:disabled, .scanner-btn.ui.button:disabled {
    opacity: 0.85 !important;
    cursor: not-allowed !important;
}

/* Semantic UI Loading State - Removed */

/* 3D Rotating Loader Animation */
.btn-loader {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    vertical-align: middle;
}

.inner {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.inner.one {
    left: 0%;
    top: 0%;
    animation: rotate-one 1s linear infinite;
    border-bottom: 3px solid #EFEFFA;
}

.inner.two {
    right: 0%;
    top: 0%;
    animation: rotate-two 1s linear infinite;
    border-right: 3px solid #EFEFFA;
}

.inner.three {
    right: 0%;
    bottom: 0%;
    animation: rotate-three 1s linear infinite;
    border-top: 3px solid #EFEFFA;
}

@keyframes rotate-one {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate-two {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate-three {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

/* Enhanced Spacing for Subdomain Scanner */
.scanner-input-section {
    margin-bottom: 35px;
}

.input-header {
    margin-bottom: 20px;
}

.input-title {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.input-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.input-wrapper {
    flex: 1;
}

.input-hints {
    display: flex;
    gap: 15px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.hint-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hint-item span {
    display: inline-block;
}

/* Loading Section Spacing */
.loading-card {
    padding: 40px 30px;
}

.loading-animation {
    margin-bottom: 25px;
}

.loading-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.loading-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* Results Section Spacing */
.results-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.metric-card {
    padding: 20px;
    border-radius: 6px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.metric-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.metric-trend {
    font-size: 0.85rem;
    padding: 4px 10px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 4px;
    color: var(--accent-color);
}

.metric-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.metric-value.small {
    font-size: 1.1rem;
}

.metric-subtext {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Stats Overview Spacing */
.stats-overview {
    margin-bottom: 30px;
}

.stats-header {
    margin-bottom: 18px;
}

.stats-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    font-size: 1.3rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.stat-icon {
    font-size: 2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* IP Distribution Section */
.ip-distribution-section {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-badge {
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 102, 204, 0.05));
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    border: 1px solid var(--accent-color);
}

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

.ip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.06) 0%, rgba(0, 102, 204, 0) 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ip-item:hover {
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.12) 0%, rgba(0, 102, 204, 0) 100%);
    border-left-color: #0052a3;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.ip-address {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.ip-count {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    background: rgba(0, 102, 204, 0.15);
    padding: 6px 12px;
    border-radius: 4px;
    min-width: 50px;
    text-align: center;
}

/* IP Statistics Styling */
.ip-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 102, 204, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ip-stat-item:hover {
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-left-color: #0052a3;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.ip-stat-address {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.ip-stat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #0052a3 100%);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3);
}

/* Data Table Section */
.data-table-section {
    margin-top: 30px;
}

.data-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 15px;
    flex-wrap: wrap;
}

.table-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.table-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.table-count {
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 4px;
}

.export-btn {
    padding: 10px 18px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.export-btn:hover {
    background: #2980b9;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-light);
}

.data-table thead {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0052a3 100%);
    color: white;
}

.data-table th {
    padding: 15px 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.data-table tbody tr:hover {
    background: rgba(0, 102, 204, 0.05);
}

.col-number { width: 50px; text-align: center; }
.col-subdomain { width: 150px; }
.col-full { width: auto; }
.col-ip { width: 120px; font-family: 'Courier New', monospace; }
.col-cf { width: 100px; text-align: center; }

/* History Scan Section */
.scan-history-section {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.history-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-history-btn {
    padding: 8px 16px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.clear-history-btn:hover {
    background: #c0392b;
}

.history-table-container-scanner {
    overflow-x: auto;
    margin-top: 18px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.history-table-scanner {
    width: 100%;
    border-collapse: collapse;
}

.history-table-scanner thead {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0052a3 100%);
}

.history-table-scanner th {
    padding: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
}

.history-table-scanner td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.history-table-scanner tbody tr:hover {
    background: rgba(0, 102, 204, 0.05);
}

/* Footer Spacing */
.footer {
    margin-top: 50px;
    padding: 25px 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}

.hidden { display: none !important; }

/* Microchip Animation Styles */
:root {
	--hue: 153;
	--primary1: hsl(var(--hue),90%,90%);
	--primary3: hsl(var(--hue),90%,70%);
	--primary7: hsl(var(--hue),90%,30%);
	--primary9: hsl(var(--hue),90%,10%);
	--trans-dur: 0.3s;
}

.microchip {
	display: block;
	margin: auto;
	width: 8em;
	height: auto;
}

.microchip__center,
.microchip__dot,
.microchip__line,
.microchip__lines,
.microchip__spark,
.microchip__wave {
	animation-duration: 5s;
	animation-timing-function: cubic-bezier(0.65,0,0.35,1);
	animation-iteration-count: infinite;
}

.microchip__core,
.microchip__dot {
	fill: var(--primary7);
	transition: fill var(--trans-dur);
}

.microchip__center,
.microchip__wave {
	transform-origin: 25px 25px;
}

.microchip__center {
	animation-name: center-scale;
}

.microchip__dot--1 {
	animation-name: dot-scale1;
	transform-origin: 1px 38px;
}

.microchip__dot--2 {
	animation-name: dot-scale2;
	transform-origin: 1px 54px;
}

.microchip__dot--3 {
	animation-name: dot-scale3;
	transform-origin: 1px 70px;
}

.microchip__dot--4 {
	animation-name: dot-scale4;
	transform-origin: 1px 3px;
}

.microchip__dot--5 {
	animation-name: dot-scale5;
	transform-origin: 20px 3px;
}

.microchip__dot--6 {
	animation-name: dot-scale6;
	transform-origin: 1px 30px;
}

.microchip__dot--7 {
	animation-name: dot-scale7;
	transform-origin: 37px 3px;
}

.microchip__dot--8 {
	animation-name: dot-scale8;
	transform-origin: 54px 3px;
}

.microchip__dot--9 {
	animation-name: dot-scale9;
	transform-origin: 71px 3px;
}

.microchip__line,
.microchip__spark,
.microchip__wave {
	transition: stroke var(--trans-dur);
}

.microchip__line {
	stroke: var(--primary7);
}

.microchip__line--1 {
	animation-name: line-draw1;
}

.microchip__line--2 {
	animation-name: line-draw2;
}

.microchip__line--3 {
	animation-name: line-draw3;
}

.microchip__line--4 {
	animation-name: line-draw4;
}

.microchip__line--5 {
	animation-name: line-draw5;
}

.microchip__line--6 {
	animation-name: line-draw6;
}

.microchip__line--7 {
	animation-name: line-draw7;
}

.microchip__line--8 {
	animation-name: line-draw8;
}

.microchip__line--9 {
	animation-name: line-draw9;
}

.microchip__lines {
	animation-name: lines-scale;
	transform-origin: 54px 54px;
}

.microchip__spark,
.microchip__wave {
	animation-timing-function: linear;
	stroke: var(--primary3);
}

.microchip__spark--1 {
	animation-name: spark1;
}

.microchip__spark--2 {
	animation-name: spark2;
}

.microchip__spark--3 {
	animation-name: spark3;
}

.microchip__spark--4 {
	animation-name: spark4;
}

.microchip__spark--5 {
	animation-name: spark5;
}

.microchip__spark--6 {
	animation-name: spark6;
}

.microchip__spark--7 {
	animation-name: spark7;
}

.microchip__spark--8 {
	animation-name: spark8;
}

.microchip__spark--9 {
	animation-name: spark9;
}

.microchip__wave--1 {
	animation-name: wave-scale1;
}

.microchip__wave--2 {
	animation-name: wave-scale2;
}

/* Animations */
@keyframes center-scale {
	from,
	to {
		transform: scale(0);
	}
	12.5%,
	75% {
		transform: scale(1);
	}
}

@keyframes dot-scale1 {
	from,
	20%,
	81.25%,
	to {
		transform: scale(0);
	}
	32.5%,
	68.75% {
		transform: scale(1);
	}
}

@keyframes dot-scale2 {
	from,
	10.5%,
	87.5%,
	to {
		transform: scale(0);
	}
	23%,
	75% {
		transform: scale(1);
	}
}

@keyframes dot-scale3 {
	from,
	20%,
	81.25%,
	to {
		transform: scale(0);
	}
	32.5%,
	68.75% {
		transform: scale(1);
	}
}

@keyframes dot-scale4 {
	from,
	20%,
	81.25%,
	to {
		transform: scale(0);
	}
	32.5%,
	68.75% {
		transform: scale(1);
	}
}

@keyframes dot-scale5 {
	from,
	11.5%,
	87.5%,
	to {
		transform: scale(0);
	}
	24%,
	75% {
		transform: scale(1);
	}	
}

@keyframes dot-scale6 {
	from,
	14.5%,
	85%,
	to {
		transform: scale(0);
	}
	27%,
	72.5% {
		transform: scale(1);
	}
}

@keyframes dot-scale7 {
	from,
	20%,
	81.25%,
	to {
		transform: scale(0);
	}
	32.5%,
	68.75% {
		transform: scale(1);
	}
}

@keyframes dot-scale8 {
	from,
	11%,
	87.5%,
	to {
		transform: scale(0);
	}
	23.5%,
	75% {
		transform: scale(1);
	}
}

@keyframes dot-scale9 {
	from,
	20%,
	81.25%,
	to {
		transform: scale(0);
	}
	32.5%,
	68.75% {
		transform: scale(1);
	}
}

@keyframes line-draw1 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 59;
	}
	25%,
	68.75% {
		stroke-dashoffset: 17;
	}
}

@keyframes line-draw2 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 42;
	}
	25%,
	68.75% {
		stroke-dashoffset: 0;
	}
}

@keyframes line-draw3 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 59;
	}
	25%,
	68.75% {
		stroke-dashoffset: 17;
	}
}

@keyframes line-draw4 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 78;
	}
	25%,
	68.75% {
		stroke-dashoffset: 18;
	}
}

@keyframes line-draw5 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 60;
	}
	25%,
	68.75% {
		stroke-dashoffset: 0;
	}
}

@keyframes line-draw6 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 91;
	}
	25%,
	68.75% {
		stroke-dashoffset: 31;
	}
}

@keyframes line-draw7 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 60;
	}
	25%,
	68.75% {
		stroke-dashoffset: 17;
	}
}

@keyframes line-draw8 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 43;
	}
	25%,
	68.75% {
		stroke-dashoffset: 0;
	}
}

@keyframes line-draw9 {
	from,
	93.75%,
	to {
		stroke-dashoffset: 60;
	}
	25%,
	68.75% {
		stroke-dashoffset: 17;
	}
}

@keyframes lines-scale {
	from {
		opacity: 1;
		transform: scale(0);
	}
	12.5%,
	75% {
		opacity: 1;
		transform: scale(1);
	}
	93.75%,
	to {
		opacity: 0;
		transform: scale(0.5);
	}
}

@keyframes spark1 {
	from,
	27.5% {
		stroke-dashoffset: 59;
	}
	50%,
	52.5% {
		stroke-dashoffset: -25;
	}
	75%,
	to {
		stroke-dashoffset: -109;
	}
}

@keyframes spark2 {
	from,
	27.5% {
		stroke-dashoffset: 42;
	}
	50%,
	52.5% {
		stroke-dashoffset: -42;
	}
	75%,
	to {
		stroke-dashoffset: -126;
	}
}

@keyframes spark3 {
	from,
	27.5% {
		stroke-dashoffset: 59;
	}
	50%,
	52.5% {
		stroke-dashoffset: -25;
	}
	75%,
	to {
		stroke-dashoffset: -109;
	}
}

@keyframes spark4 {
	from,
	27.5% {
		stroke-dashoffset: 78;
	}
	50%,
	52.5% {
		stroke-dashoffset: -42;
	}
	75%,
	to {
		stroke-dashoffset: -162;
	}
}

@keyframes spark5 {
	from,
	27.5% {
		stroke-dashoffset: 60;
	}
	50%,
	52.5% {
		stroke-dashoffset: -60;
	}
	75%,
	to {
		stroke-dashoffset: -180;
	}
}

@keyframes spark6 {
	from,
	27.5% {
		stroke-dashoffset: 91;
	}
	50%,
	52.5% {
		stroke-dashoffset: -29;
	}
	75%,
	to {
		stroke-dashoffset: -149;
	}
}

@keyframes spark7 {
	from,
	27.5% {
		stroke-dashoffset: 60;
	}
	50%,
	52.5% {
		stroke-dashoffset: -26;
	}
	75%,
	to {
		stroke-dashoffset: -112;
	}
}

@keyframes spark8 {
	from,
	27.5% {
		stroke-dashoffset: 43;
	}
	50%,
	52.5% {
		stroke-dashoffset: -43;
	}
	75%,
	to {
		stroke-dashoffset: -129;
	}
}

@keyframes spark9 {
	from,
	27.5% {
		stroke-dashoffset: 60;
	}
	50%,
	52.5% {
		stroke-dashoffset: -26;
	}
	75%,
	to {
		stroke-dashoffset: -112;
	}
}

@keyframes wave-scale1 {
	from,
	0%,
	25%,
	50%,
	75% {
		stroke-width: 6px;
		transform: scale(1);
	}
	10%,
	35%,
	60%,
	85%,
	to {
		animation-timing-function: steps(1);
		stroke-width: 0;
		transform: scale(2);
	}
}

@keyframes wave-scale2 {
	from,
	5%,
	30%,
	55%,
	80% {
		stroke-width: 6px;
		transform: scale(1);
	}
	15%,
	40%,
	65%,
	90%,
	to {
		animation-timing-function: steps(1);
		stroke-width: 0;
		transform: scale(2);
	}
}