* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(252, 70, 107, 0.3), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

header h1 {
    font-size: 42px;
    font-weight: 700;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h3 {
    margin-top: 15px;
    font-weight: 300;
    font-size: 18px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    animation: slideDown 0.8s ease-out 0.2s both;
}

/* LOGIN ADMIN BUTTON */
.login-admin {
    position: absolute;
    top: 25px;
    right: 35px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: #667eea;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.login-admin:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* NAV */
nav {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.95) 0%, rgba(49, 27, 146, 0.95) 100%);
    padding: 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

nav a {
    color: white;
    display: inline-block;
    padding: 18px 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f093fb;
}

nav a:hover::before {
    width: 80%;
}

/* CONTENT */
.container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #1a237e 0%, #311b92 100%);
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 60px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

footer p {
    font-size: 14px;
    opacity: 0.9;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
    header {
        padding: 40px 15px;
    }
    
    header h1 {
        font-size: 28px;
    }
    
    header h3 {
        font-size: 16px;
        margin-top: 10px;
    }
    
    .login-admin {
        top: 15px;
        right: 15px;
        padding: 10px 18px;
        font-size: 12px;
    }
    
    nav {
        padding: 0;
    }
    
    nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav a::before {
        display: none;
    }
    
    .container {
        padding: 25px 15px;
    }
    
    .card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    footer {
        padding: 20px 15px;
        margin-top: 40px;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 24px;
    }
    
    header h3 {
        font-size: 14px;
    }
    
    .login-admin {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-top: 15px;
    }
    
    nav a {
        font-size: 14px;
        padding: 12px;
    }
    
    .card {
        padding: 20px 15px;
    }
}

/* ADDITIONAL UTILITY CLASSES */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}