* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #fffff0;
    line-height: 1.45;
    overflow-x: hidden;
}

#wave-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #E5E4E2, #D4AF37, #C0C0C0);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
}

.username a {
    font-family: 'Cormorant Garamond', serif;
    text-decoration: none;
    font-weight: 500;
    color: transparent;
    transition: color 0.25s ease;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #E5E4E2, #D4AF37, #C0C0C0);
    background-clip: text;
    -webkit-background-clip: text;
}

.nav-links {
    display: flex;
    gap: 42px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #fffff0;
    transition: color 0.25s ease;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: #D4AF37;
}

.auth-buttons {
    display: flex;
    gap: 20px;
}

.btn-outline {
      background: transparent;
      border: 1px solid rgba(212, 175, 55, 0.7);
      padding: 10px 28px;
      border-radius: 40px;
      font-weight: 600;
      color: #fffff0;
      transition: all 0.25s;
      cursor: pointer;
      font-size: 0.9rem;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
    color: #D4AF37;
}

.btn-primary {
    background: linear-gradient(115deg, #D4AF37, #B8860B);
    border: none;
    padding: 10px 32px;
    border-radius: 40px;
    font-weight: 600;
    color: #0a0a0a;
    transition: 0.25s;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 18px rgba(212, 175, 55, 0.4);
     background: linear-gradient(115deg, #E5C45E, #CF9F2E);
}

.logout {
    display: inline-block;
    margin-left: 20px;
}

.footer {
    background: #030303;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    padding: 56px 0 36px;
    position: relative;
    z-index: 2;
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    font-size: 0.8rem;
    color: #A0A0A0;
}

@media(max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .form-container {
        padding: 32px 24px;
    }
    .navbar {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        justify-content: center;
    }
    .auth-buttons {
        justify-content: center;
    }
}