:root {
    --brand-blue: #003366;
    /* Deep Royal Blue based on logo */
    --brand-gold: #C8A040;
    /* Gold from tagline */
    --brand-red: #E31E24;
    /* Accent Red */
    --glass: rgba(255, 255, 255, 0.05);
    /* Adjusted for new background */
    --border: rgba(200, 160, 64, 0.3);
    /* Subtle Gold Border */
    --text: #ffffff;
    --text-muted: #d1d5db;
    /* Lighter muted text for better contrast */
    --accent: var(--brand-blue);
}

/* Background: Deep Brand Blue Animation */
body {
    background: linear-gradient(-45deg, #021B35, #003366, #1e293b);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.background-orb {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 160, 64, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    /* Gold tint */
    border-radius: 50%;
    z-index: -1;
    top: -50px;
    left: -50px;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Container: The "Glass" Card */
.card-container {
    background: rgba(15, 23, 42, 0.6);
    /* Darker backing for readability */
    backdrop-filter: blur(16px);
    /* Stronger blur for premium glass feel */
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 160, 64, 0.3);
    /* Gold border from your brand */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 90%;
    max-width: 400px;
    /* Prevents it from getting too wide on desktop */
    margin: 20px auto;
    /* Centers it on screen */
    text-align: center;
}

/* Logo: Tamed and Elegant */
.brand-logo {
    max-width: 220px;
    /* Limits width so it doesn't overflow */
    width: 100%;
    /* Responsive */
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    object-fit: cover;
}

.name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px;
}

.role {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

/* QR Specifics */
.qr-box {
    background: white;
    padding: 15px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 15px;
}

.qr-img {
    width: 220px;
    height: 220px;
    display: block;
}

.hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Link Buttons for Profile Page */
.btn {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: white;
    text-decoration: none;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.2s;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: var(--brand-gold);
}

.btn-primary {
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue);
}

.btn-primary:hover {
    background: #004080;
    border-color: var(--brand-gold);
}