@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

:root {
    --neon-cyan: #00ffff;
    --neon-green: #00ff41;
    --neon-pink: #ff006e;
    --dark-bg: #0a0e27;
    --darker-bg: #050811;
    --card-bg: rgba(10, 20, 40, 0.8);
    --border-glow: rgba(0, 255, 255, 0.3);
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--neon-cyan);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #050811 50%, #0a1628 100%);
    z-index: -1;
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px);
    animation: matrix-scan 20s linear infinite;
}

@keyframes matrix-scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.main-header {
    background: rgba(5, 8, 17, 0.95);
    border-bottom: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    letter-spacing: 3px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.user-info {
    color: var(--neon-green);
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--neon-cyan);
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: translateY(-2px);
}

.logout-btn {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.logout-btn:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.welcome-section {
    text-align: center;
    margin: 3rem 0;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--neon-cyan);
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0.05em 0 0 var(--neon-pink), -0.05em -0.025em 0 var(--neon-green); }
    25% { text-shadow: -0.05em -0.025em 0 var(--neon-pink), 0.025em 0.025em 0 var(--neon-green); }
    50% { text-shadow: 0.025em 0.05em 0 var(--neon-pink), 0.05em 0 0 var(--neon-green); }
    75% { text-shadow: -0.025em 0 0 var(--neon-pink), -0.05em -0.05em 0 var(--neon-green); }
}

.tagline {
    font-size: 1.3rem;
    color: var(--neon-green);
    margin-top: 1rem;
    font-style: italic;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tool-card {
    background: rgba(10, 20, 40, 0.6);
    border: 2px solid var(--border-glow);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transform: translateY(-10px);
}

.tool-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.tool-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: rgba(0, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.cyber-button {
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.8rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-green);
    transition: left 0.3s;
    z-index: -1;
}

.cyber-button:hover::before {
    left: 0;
}

.cyber-button:hover {
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-green);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--dark-bg);
    border: 2px solid var(--neon-cyan);
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: var(--neon-pink);
    cursor: pointer;
    transition: all 0.3s;
}

.close:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-pink);
}

.modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.cyber-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-glow);
    border-radius: 5px;
    color: var(--neon-cyan);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cyber-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.results-section {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(10, 20, 40, 0.6);
    border: 2px solid var(--neon-green);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.results-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
}

.result-container h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-glow);
}

.result-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid var(--neon-green);
    border-radius: 5px;
}

.result-section h4 {
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.result-section p {
    color: rgba(0, 255, 255, 0.8);
    margin: 0.5rem 0;
    line-height: 1.6;
}

.result-section strong {
    color: var(--neon-green);
}

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.login-box {
    background: rgba(10, 20, 40, 0.9);
    border: 2px solid var(--neon-cyan);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.site-tagline {
    color: var(--neon-green);
    margin-top: 0.5rem;
}

.form-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.error-message {
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.success-message {
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.cyber-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
}

.cyber-link:hover {
    text-shadow: 0 0 10px var(--neon-cyan);
}

.admin-container {
    padding-top: 1rem;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-glow);
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--border-glow);
    color: var(--neon-cyan);
    padding: 1rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-btn:hover {
    background: rgba(0, 255, 255, 0.1);
}

.tab-btn.active {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    border-bottom: 2px solid var(--dark-bg);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.stat-card {
    background: rgba(10, 20, 40, 0.6);
    border: 2px solid var(--border-glow);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    transform: scale(1.05);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--neon-cyan);
    font-weight: 900;
}

.stat-label {
    color: rgba(0, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.logs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.log-section {
    background: rgba(10, 20, 40, 0.6);
    border: 2px solid var(--border-glow);
    border-radius: 15px;
    padding: 1.5rem;
}

.log-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-glow);
}

.table-container {
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
}

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

.cyber-table thead {
    background: rgba(0, 255, 255, 0.1);
    position: sticky;
    top: 0;
}

.cyber-table th {
    padding: 1rem;
    text-align: left;
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-bottom: 2px solid var(--neon-cyan);
}

.cyber-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-glow);
    color: rgba(0, 255, 255, 0.8);
}

.cyber-table tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

.text-center {
    text-align: center;
}

.result-wrapper {
    margin: 3rem 0;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 65, 0.2));
    border: 2px solid var(--neon-cyan);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.result-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 15px var(--neon-cyan));
}

.result-header h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.9), rgba(5, 8, 17, 0.9));
    border: 2px solid var(--border-glow);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 65, 0.2));
    padding: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--neon-green);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header .emoji {
    font-size: 2rem;
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.card-body {
    padding: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row:hover {
    background: rgba(0, 255, 255, 0.05);
    padding-left: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-right: 1rem;
}

.info-row .label {
    color: var(--neon-green);
    font-weight: 600;
    font-size: 1.1rem;
    flex: 0 0 40%;
}

.info-row .value {
    color: rgba(0, 255, 255, 0.9);
    font-size: 1.1rem;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.info-row .value.highlight {
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.info-row .value.code {
    font-family: 'Courier New', monospace;
    background: rgba(0, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    color: var(--neon-green);
}

.na-value {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.full-width {
    grid-column: 1 / -1;
}

.family-members {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.05);
    border-left: 4px solid var(--neon-green);
    border-radius: 5px;
    transition: all 0.3s;
}

.member-row:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(10px);
}

.member-number {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    min-width: 3rem;
    text-align: center;
}

.member-name {
    flex: 1;
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 1.2rem;
}

.member-relation {
    color: var(--neon-green);
    font-style: italic;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 5px;
}

.ip-result {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    color: var(--neon-green);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    line-height: 1.8;
    overflow-x: auto;
    border: 1px solid var(--border-glow);
}

.error-card {
    background: rgba(255, 0, 110, 0.2);
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.bank-card:hover { border-color: #ffd700; box-shadow: 0 0 40px rgba(255, 215, 0, 0.3); }
.account-card:hover { border-color: #00ff00; box-shadow: 0 0 40px rgba(0, 255, 0, 0.3); }
.phone-card:hover { border-color: #ff00ff; box-shadow: 0 0 40px rgba(255, 0, 255, 0.3); }
.vehicle-card:hover { border-color: #ff6600; box-shadow: 0 0 40px rgba(255, 102, 0, 0.3); }
.telegram-card:hover { border-color: #0088cc; box-shadow: 0 0 40px rgba(0, 136, 204, 0.3); }
.ip-card:hover { border-color: #00ff00; box-shadow: 0 0 40px rgba(0, 255, 0, 0.3); }
.pakistan-card:hover { border-color: #006633; box-shadow: 0 0 40px rgba(0, 102, 51, 0.3); }
.aadhar-card:hover { border-color: #ff9900; box-shadow: 0 0 40px rgba(255, 153, 0, 0.3); }
.family-card:hover { border-color: #cc00ff; box-shadow: 0 0 40px rgba(204, 0, 255, 0.3); }

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .glitch {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .logs-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 45%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        text-align: center;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: left;
    }
    
    .info-row .value {
        text-align: left;
    }
}
