* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Admin Banner (Exploitable) */
.admin-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
    animation: bannerPulse 2s ease-in-out infinite;
    border-bottom: 3px solid #fbbf24;
}

@keyframes bannerPulse {
    0%, 100% { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
    50% { background: linear-gradient(135deg, #b91c1c, #991b1b); }
}

/* Company Logos */
.company-logos {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(10, 10, 31, 0.6);
    backdrop-filter: blur(15px);
    padding: 12px 20px;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.company-logos:hover {
    background: rgba(10, 10, 31, 0.8);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

.logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.microsoft-logo {
    height: 35px;
    filter: brightness(1.8) saturate(0.9);
}

.microsoft-logo:hover {
    filter: brightness(2) saturate(1);
}

.ubitech-logo {
    height: 35px;
    filter: brightness(3) contrast(1.1) invert(1);
}

.ubitech-logo:hover {
    filter: brightness(4) contrast(1.2) invert(1);
}

/* Animated Night Sky Background */
.night-sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        #0a0a1f 0%,
        #1a1a3e 20%,
        #2d1b4e 40%,
        #1a1a3e 70%,
        #0f0f2d 100%
    );
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Animated Stars */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: stars-twinkle 8s ease-in-out infinite;
    opacity: 0.7;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 10% 20%, white, transparent),
        radial-gradient(1px 1px at 40% 60%, white, transparent),
        radial-gradient(2px 2px at 75% 35%, white, transparent),
        radial-gradient(1px 1px at 25% 75%, white, transparent);
    animation: stars-twinkle 6s ease-in-out infinite;
    animation-delay: 1s;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 30% 40%, white, transparent),
        radial-gradient(2px 2px at 70% 80%, white, transparent),
        radial-gradient(1px 1px at 85% 25%, white, transparent);
    animation: stars-twinkle 10s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes stars-twinkle {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Animated Mountains */
.mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 1;
}

.mountain {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.mountain1 {
    left: -15%;
    border-width: 0 500px 750px 500px;
    border-color: transparent transparent rgba(35, 25, 70, 0.95) transparent;
    animation: mountain-float 20s ease-in-out infinite;
    filter: blur(1px) drop-shadow(0 -10px 30px rgba(100, 150, 255, 0.3));
}

.mountain1::before {
    content: '';
    position: absolute;
    top: -750px;
    left: -500px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 500px 200px 500px;
    border-color: transparent transparent rgba(150, 180, 255, 0.4) transparent;
    filter: blur(20px);
}

.mountain2 {
    left: 15%;
    border-width: 0 600px 850px 600px;
    border-color: transparent transparent rgba(45, 30, 85, 0.98) transparent;
    animation: mountain-float 25s ease-in-out infinite;
    animation-delay: -5s;
    filter: drop-shadow(0 -15px 40px rgba(120, 160, 255, 0.4));
}

.mountain2::before {
    content: '';
    position: absolute;
    top: -850px;
    left: -600px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 600px 250px 600px;
    border-color: transparent transparent rgba(180, 200, 255, 0.5) transparent;
    filter: blur(25px);
}

.mountain3 {
    right: -5%;
    border-width: 0 550px 800px 550px;
    border-color: transparent transparent rgba(30, 20, 65, 0.96) transparent;
    animation: mountain-float 22s ease-in-out infinite;
    animation-delay: -10s;
    filter: blur(0.5px) drop-shadow(0 -12px 35px rgba(110, 140, 255, 0.35));
}

.mountain3::before {
    content: '';
    position: absolute;
    top: -800px;
    left: -550px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 550px 220px 550px;
    border-color: transparent transparent rgba(160, 190, 255, 0.45) transparent;
    filter: blur(22px);
}

/* Additional mountains for depth */
.mountain::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.6;
}

.mountain1::after {
    border-width: 0 300px 500px 300px;
    border-color: transparent transparent rgba(50, 35, 90, 0.8) transparent;
    left: 150%;
    filter: drop-shadow(0 -8px 20px rgba(90, 130, 220, 0.25));
}

.mountain2::after {
    border-width: 0 250px 450px 250px;
    border-color: transparent transparent rgba(40, 28, 75, 0.85) transparent;
    left: -120%;
    filter: drop-shadow(0 -10px 25px rgba(100, 140, 230, 0.3));
}

.mountain3::after {
    border-width: 0 280px 480px 280px;
    border-color: transparent transparent rgba(45, 32, 80, 0.82) transparent;
    left: -150%;
    filter: drop-shadow(0 -9px 22px rgba(95, 135, 225, 0.28));
}

@keyframes mountain-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.02);
    }
}

/* Animated Clouds */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.cloud {
    position: absolute;
    background: radial-gradient(ellipse at center, 
        rgba(140, 120, 180, 0.35) 0%,
        rgba(110, 90, 160, 0.25) 30%,
        rgba(80, 60, 130, 0.15) 60%,
        transparent 80%
    );
    border-radius: 50%;
    filter: blur(25px);
    animation: cloud-drift 60s linear infinite;
    box-shadow: 0 0 60px rgba(140, 120, 180, 0.2);
}

.cloud1 {
    width: 500px;
    height: 180px;
    top: 8%;
    left: -500px;
    animation-duration: 75s;
}

.cloud2 {
    width: 450px;
    height: 160px;
    top: 22%;
    left: -450px;
    animation-duration: 85s;
    animation-delay: -20s;
    background: radial-gradient(ellipse at center, 
        rgba(160, 140, 200, 0.4) 0%,
        rgba(120, 100, 170, 0.3) 30%,
        rgba(90, 70, 140, 0.18) 60%,
        transparent 80%
    );
}

.cloud3 {
    width: 550px;
    height: 200px;
    top: 38%;
    left: -550px;
    animation-duration: 95s;
    animation-delay: -40s;
    background: radial-gradient(ellipse at center, 
        rgba(150, 130, 190, 0.38) 0%,
        rgba(115, 95, 165, 0.28) 30%,
        rgba(85, 65, 135, 0.16) 60%,
        transparent 80%
    );
}

.cloud4 {
    width: 420px;
    height: 150px;
    top: 12%;
    left: -420px;
    animation-duration: 105s;
    animation-delay: -60s;
    background: radial-gradient(ellipse at center, 
        rgba(135, 115, 175, 0.36) 0%,
        rgba(105, 85, 155, 0.26) 30%,
        rgba(75, 55, 125, 0.14) 60%,
        transparent 80%
    );
}

@keyframes cloud-drift {
    0% {
        left: -500px;
    }
    100% {
        left: 100%;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

/* Epic Dragon Hero Banner */
.dragon-hero-banner {
    position: relative;
    width: calc(100% + 40px);
    margin: -20px -20px 30px -20px;
    height: 500px;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(59, 130, 246, 0.3),
        inset 0 -100px 100px rgba(10, 10, 31, 0.6);
}

.hero-dragon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    animation: hero-breathing 6s ease-in-out infinite,
               hero-glow 4s ease-in-out infinite;
    filter: brightness(1.1) contrast(1.15);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, 
        rgba(10, 10, 31, 0.95) 0%,
        rgba(10, 10, 31, 0.7) 40%,
        transparent 100%
    );
    pointer-events: none;
}

@keyframes hero-breathing {
    0%, 100% {
        transform: scale(1.02);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes hero-glow {
    0%, 100% {
        filter: brightness(1.1) contrast(1.15) drop-shadow(0 0 30px rgba(255, 107, 53, 0.3));
    }
    50% {
        filter: brightness(1.15) contrast(1.2) drop-shadow(0 0 50px rgba(255, 107, 53, 0.6));
    }
}

/* Dragon Header */
.dragon-header {
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
    margin-top: -80px;
}

/* Fire Particles */
.fire-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ff6b35, #ff4500);
    border-radius: 50%;
    animation: float-up 8s ease-in-out infinite;
    box-shadow: 0 0 25px #ff6b35, 0 0 50px rgba(255, 107, 53, 0.5);
    z-index: 3;
}

.fire-particle:nth-child(1) {
    left: 15%;
    bottom: -50px;
    animation-delay: 0s;
    animation-duration: 9s;
}

.fire-particle:nth-child(2) {
    left: 35%;
    bottom: -50px;
    animation-delay: 2s;
    animation-duration: 11s;
}

.fire-particle:nth-child(3) {
    left: 65%;
    bottom: -50px;
    animation-delay: 4s;
    animation-duration: 10s;
}

.fire-particle:nth-child(4) {
    left: 85%;
    bottom: -50px;
    animation-delay: 6s;
    animation-duration: 12s;
}

@keyframes float-up {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-50vh) translateX(20px) scale(1.5);
        opacity: 0.8;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(-20px) scale(0.5);
        opacity: 0;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Dragon Logo and Header */
.dragon-header {
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}

.dragon-logo-container {
    text-align: center;
    margin-bottom: 20px;
    animation: logo-entrance 2s ease-out;
    position: relative;
    z-index: 100;
}

.dragon-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(255, 107, 53, 0.9)) 
            drop-shadow(0 0 100px rgba(139, 92, 246, 0.7))
            drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    animation: dragon-breathing 4s ease-in-out infinite,
               dragon-eyes-glow 2s ease-in-out infinite,
               dragon-menace 8s ease-in-out infinite;
    transition: all 0.5s ease;
    transform-origin: center center;
    /* Remove any white background */
    background: transparent;
    mix-blend-mode: normal;
}

.dragon-logo:hover {
    transform: scale(1.08) translateY(-15px);
    filter: drop-shadow(0 0 70px rgba(255, 69, 0, 1)) 
            drop-shadow(0 0 130px rgba(255, 107, 53, 1))
            drop-shadow(0 0 160px rgba(139, 92, 246, 0.9))
            drop-shadow(0 25px 50px rgba(0, 0, 0, 0.8));
    animation: dragon-breathing 2s ease-in-out infinite,
               dragon-eyes-glow 1s ease-in-out infinite,
               dragon-roar 0.5s ease-in-out;
}

.dragon-logo-placeholder {
    font-size: 150px;
    line-height: 1;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.8));
    animation: dragon-breathing 4s ease-in-out infinite;
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: translateY(-200px) scale(0.5) rotateX(30deg);
    }
    60% {
        transform: translateY(20px) scale(1.05) rotateX(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

/* Dragon breathing effect */
@keyframes dragon-breathing {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.03) translateY(-8px);
    }
}

/* Pulsing eye glow effect */
@keyframes dragon-eyes-glow {
    0%, 100% {
        filter: drop-shadow(0 0 60px rgba(255, 107, 53, 1)) 
                drop-shadow(0 0 120px rgba(139, 92, 246, 0.9))
                drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 90px rgba(255, 69, 0, 1)) 
                drop-shadow(0 0 150px rgba(255, 107, 53, 1))
                drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
    }
}

/* Subtle menacing movement */
@keyframes dragon-menace {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-5px) rotate(-0.5deg);
    }
    75% {
        transform: translateX(5px) rotate(0.5deg);
    }
}

/* Roar effect on hover */
@keyframes dragon-roar {
    0%, 100% {
        transform: scale(1.08) translateY(-20px);
    }
    50% {
        transform: scale(1.12) translateY(-25px) rotateZ(1deg);
    }
}

/* Dragon Title Header */
.dragon-title {
    text-align: center;
    padding: 20px;
}

.dragon-title h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.6));
    margin-bottom: 10px;
    animation: titleGlow 3s ease-in-out infinite;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    letter-spacing: 2px;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

/* Glass Morphism Cards */
.glass-card {
    background: rgba(30, 20, 60, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 0 60px rgba(139, 92, 246, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(139, 92, 246, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 
        0 12px 48px 0 rgba(31, 38, 135, 0.5),
        0 0 60px rgba(139, 92, 246, 0.4),
        inset 0 0 80px rgba(139, 92, 246, 0.1);
}

.glass-card h2 {
    color: #a78bfa;
    margin-bottom: 20px;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.5));
    font-weight: 700;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
    font-weight: 500;
}

.glass-input {
    width: 100%;
    padding: 15px;
    background: rgba(30, 20, 60, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
    background: rgba(30, 20, 60, 0.5);
}

.glass-input::placeholder {
    color: #64748b;
}

textarea.glass-input {
    resize: vertical;
    min-height: 100px;
}

/* Dragon Button */
.dragon-button {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #6366f1, #a78bfa, #8b5cf6);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.dragon-button:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(167, 139, 250, 0.7);
    background: linear-gradient(135deg, #7c3aed, #a78bfa, #6366f1);
}

.dragon-button:active {
    transform: scale(0.98);
}

.dragon-button.small {
    width: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.dragon-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dragon-button:hover::before {
    width: 300px;
    height: 300px;
}

.dragon-button span {
    position: relative;
    z-index: 1;
}

/* Messages Display */
.messages-container {
    max-height: 500px;
    overflow-y: auto;
}

.message-item {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.message-item:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateX(5px);
}

.message-author {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 5px;
}

.message-content {
    color: #e2e8f0;
    line-height: 1.6;
}

.message-time {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Search Container */
.search-container .form-group {
    display: flex;
    gap: 10px;
}

.search-container .glass-input {
    flex: 1;
}

#searchResults {
    margin-top: 20px;
}

.search-result {
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid #8b5cf6;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Warning Badge */
.warning-badge {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.5);
    color: #ff6b35;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Session Card */
.session-card {
    background: rgba(30, 20, 60, 0.5);
    border-color: rgba(59, 130, 246, 0.4);
}

.session-info p {
    margin: 10px 0;
    font-size: 0.95rem;
}

.session-info strong {
    color: #60a5fa;
}

.token {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    color: #fbbf24;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.role-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
}

.role-badge.user {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.role-badge.admin {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    animation: admin-pulse 2s ease-in-out infinite;
}

@keyframes admin-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    }
}

.admin-hint {
    margin-top: 15px;
    padding: 10px;
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid #a78bfa;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #c4b5fd;
}

/* ===================================== */
/* ADMIN PANEL - DANGEROUS ZONE */
/* ===================================== */

.admin-panel {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 5, 25, 0.95), rgba(30, 10, 40, 0.95));
    border: 2px solid #dc2626;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 
        0 0 60px rgba(220, 38, 38, 0.5),
        inset 0 0 100px rgba(220, 38, 38, 0.1);
    animation: admin-entrance 0.8s ease-out;
}

@keyframes admin-entrance {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(220, 38, 38, 0.3);
    position: relative;
}

.admin-header h1 {
    color: #dc2626;
    font-size: 2.5rem;
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
    margin-bottom: 10px;
    animation: admin-title-glow 2s ease-in-out infinite;
}

@keyframes admin-title-glow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
    }
    50% {
        text-shadow: 0 0 50px rgba(220, 38, 38, 1);
    }
}

.admin-subtitle {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.close-admin {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid #dc2626;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-admin:hover {
    background: rgba(220, 38, 38, 0.4);
    transform: scale(1.05);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.admin-card {
    background: rgba(20, 10, 30, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.admin-card.danger {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(30, 10, 10, 0.6);
}

.admin-card.danger:hover {
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.admin-card.warning {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(30, 25, 10, 0.6);
}

.admin-card.warning:hover {
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.admin-card.critical {
    border-color: rgba(220, 38, 38, 0.7);
    background: rgba(40, 5, 5, 0.7);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.admin-card.critical:hover {
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
}

.admin-card h3 {
    color: #a78bfa;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.admin-card.danger h3 {
    color: #f87171;
}

.admin-card.warning h3 {
    color: #fbbf24;
}

.admin-card.critical h3 {
    color: #dc2626;
}

.admin-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-admin, .btn-warning, .btn-danger, .btn-critical {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-admin {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}

.btn-admin:hover {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    transform: scale(1.02);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #000;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    transform: scale(1.02);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ef4444, #f87171);
    transform: scale(1.02);
}

.btn-critical {
    background: linear-gradient(135deg, #7f1d1d, #dc2626);
    color: #fff;
    border: 2px solid #dc2626;
    animation: critical-pulse 2s ease-in-out infinite;
}

.btn-critical:hover {
    animation: none;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    transform: scale(1.05);
}

@keyframes critical-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(220, 38, 38, 0.8);
    }
}

.user-list {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin: 5px 0;
    background: rgba(20, 20, 40, 0.5);
    border-radius: 6px;
}

.user-item button {
    padding: 5px 12px;
    font-size: 0.85rem;
}

.db-stats {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.db-stats p {
    margin: 5px 0;
    color: #c4b5fd;
}

.admin-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    cursor: pointer;
}

.admin-toggle:hover {
    background: rgba(0, 0, 0, 0.4);
}

.admin-toggle input[type=\"checkbox\"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.log-viewer {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 10px;
    max-height: 150px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.log-entry {
    padding: 5px;
    margin: 3px 0;
    border-left: 3px solid;
    padding-left: 8px;
}

.log-entry.error {
    border-color: #ef4444;
    color: #fca5a5;
}

.log-entry.warning {
    border-color: #fbbf24;
    color: #fde047;
}

.log-entry.success {
    border-color: #10b981;
    color: #6ee7b7;
}

.log-entry.info {
    border-color: #60a5fa;
    color: #93c5fd;
}

.admin-input {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 6px;
    color: #fff;
    font-family: 'Courier New', monospace;
}

.admin-input:focus {
    outline: none;
    border-color: #a78bfa;
}

.admin-footer {
    text-align: center;
    padding: 20px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 10px;
    color: #fbbf24;
    font-weight: 600;
}

.admin-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.6);
    z-index: 10000;
    min-width: 300px;
    animation: notification-slide 0.5s ease-out;
    transition: opacity 0.5s ease;
}

@keyframes notification-slide {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.admin-notification strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fbbf24;
}

.admin-notification p {
    margin: 0;
    color: #fff;
}

/* ===================================== */
/* UPTIME MONITOR STYLES */
/* ===================================== */

.stats-card {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.websites-container {
    margin-top: 30px;
}

.websites-list {
    margin-top: 20px;
}

.website-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.website-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.website-item.up {
    border-left: 4px solid #10b981;
}

.website-item.down {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.website-item.pending {
    border-left: 4px solid #fbbf24;
}

.website-status {
    flex-shrink: 0;
}

.status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: pulse-status 2s ease-in-out infinite;
}

.status-indicator.up {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-indicator.down {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.status-indicator.pending {
    background: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

@keyframes pulse-status {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.website-info {
    flex: 1;
}

.website-info h3 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 1.2rem;
}

.website-url {
    color: #60a5fa;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.website-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.status-text {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-text.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.status-text.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.status-text.pending {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.website-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-check, .btn-delete {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-check {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.btn-check:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.btn-delete {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}

/* ===================================== */
/* SSRF VULNERABILITY STYLES */
/* ===================================== */

.ssrf-card {
    border-color: rgba(139, 92, 246, 0.5);
}

.feature-description {
    color: #94a3b8;
    margin-bottom: 20px;
}

.url-preview-result {
    margin-top: 20px;
    min-height: 50px;
}

.preview-loading {
    text-align: center;
    padding: 20px;
    color: #60a5fa;
    font-size: 1.1rem;
}

.preview-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.preview-success h3 {
    color: #10b981;
    margin-bottom: 15px;
}

.ssrf-exploit {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.5);
    animation: exploit-alert 2s ease-in-out infinite;
}

@keyframes exploit-alert {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
    }
}

.ssrf-exploit h3 {
    color: #dc2626;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.ssrf-data {
    color: #e2e8f0;
}

.ssrf-data code {
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 4px;
    color: #fbbf24;
    font-size: 0.9rem;
}

.status-success {
    color: #10b981;
    font-weight: 600;
}

.metadata-content {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.metadata-content h4 {
    color: #fbbf24;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.metadata-content pre {
    background: rgba(0, 0, 0, 0.6);
    color: #6ee7b7;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    border-left: 3px solid #10b981;
}

.exploit-warning {
    color: #fbbf24;
    font-size: 1.1rem;
    margin: 15px 0 10px;
    font-weight: 600;
}

.exploit-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.exploit-list li {
    background: rgba(220, 38, 38, 0.1);
    padding: 8px 12px;
    margin: 5px 0;
    border-left: 3px solid #dc2626;
    border-radius: 4px;
    color: #fca5a5;
}

.preview-data {
    color: #cbd5e1;
}

.preview-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.preview-content h4 {
    color: #60a5fa;
    margin-bottom: 10px;
}

.preview-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 15px;
    color: #fca5a5;
    text-align: center;
}

.ssrf-hints {
    margin-top: 25px;
    padding: 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
}

.hint-title {
    color: #a78bfa;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.hint-examples {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hint-example {
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    color: #fbbf24;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.hint-example:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateX(5px);
}

.waf-protection-notice {
    margin-top: 20px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 12px;
    animation: waf-appear 0.5s ease-out;
}

@keyframes waf-appear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.waf-protection-notice h3 {
    color: #60a5fa;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.waf-protection-notice ul {
    list-style: none;
    padding: 0;
}

.waf-protection-notice li {
    padding: 8px 0;
    color: #93c5fd;
}

.waf-protection-notice .blocked {
    color: #dc2626;
    font-weight: 700;
    background: rgba(220, 38, 38, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Warning Badge (original) */
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Footer */
.glass-footer {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    margin-top: 40px;
    color: #64748b;
}

.glass-footer p {
    margin: 5px 0;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 20, 60, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    border-radius: 10px;
    border: 2px solid rgba(30, 20, 60, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #c4b5fd);
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-logos {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        gap: 12px;
    }
    
    .logo {
        height: 28px;
    }
    
    .microsoft-logo {
        height: 26px;
    }
    
    .ubitech-logo {
        height: 26px;
    }
    
    .dragon-hero-banner {
        height: 350px;
        margin: -20px -20px 20px -20px;
    }
    
    .dragon-header {
        margin-bottom: 10px;
        margin-top: -60px;
    }

    .dragon-eyes {
        flex-direction: column;
        gap: 20px;
    }

    .eye {
        width: 80px;
        height: 80px;
    }

    .dragon-title h1 {
        font-size: 2.5rem;
    }

    .glass-card {
        padding: 20px;
    }

    .search-container .form-group {
        flex-direction: column;
    }

    .dragon-button.small {
        width: 100%;
    }
    
    .mountain1, .mountain2, .mountain3 {
        border-width: 0 250px 400px 250px;
    }
}
