/* styles.css */
:root {
    --primary-dark: #02133e;
    --primary-light: #182a69;
    --accent: #6a11cb;
    --text-light: #f9f8ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif; }
body { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%); min-height: 100vh; padding: 20px; color: #333; }

/* Navbar */
.topnav {
    position: fixed; top: 10px; left: 20px; right: 20px; border-radius: 15px; padding: 10px 20px; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    background-color: rgba(2, 19, 62, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.nav-left { display: flex; align-items: center; gap: 15px; }
.nav-logo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.nav-title { color: white; font-size: 1.2rem; font-weight: bold; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); white-space: nowrap; }
.nav-right { display: flex; gap: 5px; }
.topnav a { color: white; text-decoration: none; padding: 10px 15px; border-radius: 8px; transition: all 0.3s ease; font-weight: 500; font-size: 1rem; }
.topnav a:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

/* Containers */
.container { max-width: 1200px; margin: 80px auto 20px; padding: 20px; }

/* Footer */
.footer-row-1 { background-color: var(--primary-dark); display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 10px; position: relative; margin-top: 40px; }
.footer-row-container { margin: 0 auto; padding: 8px 20px; text-align: center; width: 100%; border-radius:10px}
.footer-row-1 nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; padding: 8px; }
.footer-row-1 a { color: var(--text-light) !important; text-decoration: underline !important; font-size: 12px; transition: color 0.3s ease; white-space: nowrap; }
.footer-row-1 a:hover { color: #d8dce8; }
.footer-row-1 p { color: var(--text-light); font-size: 9px; margin: 0; }

/* Loading Spinner Overlay */
.loading-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; justify-content: center; align-items: center; flex-direction: column; color: white;}
.spinner { border: 6px solid #f3f3f3; border-top: 6px solid var(--accent); border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin-bottom: 15px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .topnav { flex-direction: column; gap: 10px; position: relative; top: 0; left: 0; right: 0; margin-bottom: 20px; }
    .container { margin-top: 10px; }
}