:root {
    --bg-color: #050510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent: #6c5ce7;
    --accent-glow: #6c5ce780;
    --gradient-1: #ff0f7b;
    --gradient-2: #f89b29;
    --nav-height: 80px;
    --font-main: 'Outfit', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 92, 231, 0.1), transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 90%;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 300;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Layout */
.container {
    max-width: 800px;
    margin: calc(var(--nav-height) + 50px) auto 50px;
    padding: 0 20px;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(45deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Forms */
.glass-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(5px);
    margin-bottom: 40px;
    text-align: center;
}

.form-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    width: 250px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--accent);
}

button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

button:hover {
    background: #5d4ec9;
    transform: translateY(-2px);
}

.message {
    margin-top: 15px;
    min-height: 20px;
    font-size: 0.9rem;
}

.error {
    color: #ff7675;
}

.success {
    color: #55efc4;
}

/* User Profile */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.badge {
    background: rgba(108, 92, 231, 0.2);
    color: #a29bfe;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flag-box {
    background: rgba(255, 0, 0, 0.1);
    border: 1px dashed rgba(255, 0, 0, 0.3);
    padding: 20px;
    color: #ff7675;
    font-family: monospace;
    font-size: 1.2rem;
    border-radius: 8px;
    margin-top: 10px;
}

.results-area {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
}

.results-area pre {
    margin: 0;
    color: #55efc4;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.crypto-hint {
    font-size: 0.8rem;
    color: #a0a0b0;
    font-style: italic;
    margin-bottom: 15px;
}

.hidden {
    display: none;
}