* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #0a0e27;
    min-height: 100vh;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

.circuit-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    animation: circuitPulse 20s linear infinite;
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    margin-bottom: 40px;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 20, 60, 0.8) 0%, rgba(10, 14, 39, 0.9) 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.2),
        inset 0 0 30px rgba(0, 217, 255, 0.05);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 200%; }
}

.robot-hero {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 149, 0, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.header-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00D9FF 0%, #FF9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #00D9FF;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

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

.stat-card {
    background: linear-gradient(135deg, rgba(0, 20, 60, 0.6) 0%, rgba(10, 14, 39, 0.8) 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 15px;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00D9FF, #FF9500);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #00D9FF;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 149, 0, 0.8));
}

.stat-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00D9FF;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00D9FF 0%, #FF9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    font-family: 'Orbitron', sans-serif;
    padding: 15px 35px;
    border: 2px solid;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00D9FF 0%, #0080FF 100%);
    color: #0a0e27;
    border-color: #00D9FF;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.6);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: #FF9500;
    border-color: #FF9500;
}

.btn-secondary:hover {
    background: rgba(255, 149, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 149, 0, 0.4);
    transform: scale(1.05);
}

.section {
    background: linear-gradient(135deg, rgba(0, 20, 60, 0.5) 0%, rgba(10, 14, 39, 0.7) 100%);
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.section h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00D9FF;
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 217, 255, 0.3);
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

th {
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 217, 255, 0.1);
    color: #00D9FF;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

tr:hover {
    background: rgba(0, 217, 255, 0.05);
}

td {
    color: rgba(255, 255, 255, 0.9);
}

code {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #00D9FF;
    word-break: break-all;
}

.loading {
    text-align: center;
    color: #00D9FF;
    padding: 40px;
    font-size: 1.1rem;
}

.info-section {
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, rgba(10, 14, 39, 0.7) 100%);
    border: 2px solid rgba(255, 149, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(255, 149, 0, 0.2);
}

.info-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: #FF9500;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.address-info p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.address-info strong {
    color: #FF9500;
}

.status-success {
    color: #00FF88;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-failed, .status-error {
    color: #FF4444;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .robot-hero {
        width: 150px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-bar {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
