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

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh; 
    overflow-x: hidden;
    position: relative;
}

body::before {
    display: none;
}

body::after {
    display: none;
}

#login-container { 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    position: relative;
    z-index: 1;
    gap: 20px;
}

.site-title {
    color: #ffffff;
    font-size: 36px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
}

.site-tagline {
    color: #e8f4ff;
    font-size: 18px;
    text-align: center;
    margin: 10px 0 0 0;
    letter-spacing: 0.5px;
    font-weight: 300;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0,255,255,0.8), 0 0 40px rgba(0,255,255,0.5); }
    to { text-shadow: 0 0 30px rgba(0,255,255,1), 0 0 60px rgba(0,255,255,0.8); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin-top: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 12px;
    border: none;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.feature-card h3 {
    color: #2a5298;
    font-size: 18px;
    margin: 10px 0 5px 0;
    font-weight: 600;
}

.feature-card p {
    color: #666666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
}

.login-box { 
    background: rgba(255,255,255,0.95); 
    padding: 40px; 
    border-radius: 15px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); 
    width: 400px; 
    max-width: 90%;
    border: none;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    display: none;
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.login-box h2 { 
    text-align: center; 
    margin-bottom: 30px; 
    color: #2a5298; 
    font-weight: 600;
    font-size: 28px;
}

input, textarea { 
    width: 100%; 
    padding: 14px; 
    margin: 10px 0; 
    border: 2px solid #d0d0d0; 
    border-radius: 8px; 
    font-size: 16px;
    background: #ffffff;
    color: #333333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s;
}

input:focus, textarea:focus { 
    outline: none; 
    border-color: #2a5298; 
    box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
    background: #ffffff;
}

input::placeholder, textarea::placeholder {
    color: #999999;
}

button { 
    width: 100%; 
    padding: 14px; 
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%); 
    color: #ffffff; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 16px; 
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(42,82,152,0.3);
}

button:hover { 
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); 
    box-shadow: 0 6px 20px rgba(42,82,152,0.4);
    transform: translateY(-2px);
}

#message { 
    margin-top: 15px; 
    padding: 10px; 
    border-radius: 5px; 
    text-align: center; 
    display: none;
    font-family: 'Courier New', monospace;
    border: 1px solid;
}

.success { 
    background: #d4edda; 
    color: #155724; 
    display: block;
    border-color: #c3e6cb;
    box-shadow: none;
}

.error { 
    background: #f8d7da; 
    color: #721c24; 
    display: block;
    border-color: #f5c6cb;
    box-shadow: none;
}

header { 
    background: rgba(10,14,39,0.95); 
    color: #00ffff; 
    padding: 20px;
    border-bottom: 2px solid rgba(0,255,255,0.3);
    box-shadow: 0 0 20px rgba(0,255,255,0.2);
    position: relative;
    z-index: 100;
}

header nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
}

header h3 { 
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0,255,255,0.8);
}

#logoutBtn { 
    width: auto; 
    padding: 8px 20px; 
    margin: 0;
    cursor: pointer;
    z-index: 101;
    position: relative;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 40px 20px; 
    background: rgba(10,14,39,0.8); 
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .login-box { padding: 30px 20px; }
    .container { padding: 20px 15px; }
    header nav { flex-direction: column; gap: 10px; }
    #logoutBtn { width: 100%; }
}

.section { 
    margin-bottom: 40px; 
}

.section h1 { 
    color: #00ffff; 
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0,255,255,0.6);
}

.section h2 { 
    color: #ff00ff; 
    margin-bottom: 20px; 
    border-bottom: 2px solid rgba(255,0,255,0.5); 
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(255,0,255,0.6);
}

#userData { 
    background: rgba(0,20,40,0.6); 
    padding: 20px; 
    border-radius: 5px;
    border: 1px solid rgba(0,255,255,0.2);
}

.data-item { 
    background: rgba(0,30,60,0.6); 
    padding: 15px; 
    margin-bottom: 15px; 
    border-radius: 5px; 
    border-left: 4px solid #00ffff;
    box-shadow: 0 0 15px rgba(0,255,255,0.2);
    transition: all 0.3s;
}

.data-item:hover {
    border-left-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255,0,255,0.3);
    transform: translateX(5px);
}

.data-item h3 { 
    color: #00ffff; 
    margin-bottom: 5px; 
}

.data-item p { 
    color: #a0d0ff; 
    margin-bottom: 5px; 
}

.data-item small { 
    color: rgba(0,255,255,0.6); 
}
