@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&display=swap');

:root {
    --bg-dark: #07080b;
    --bg-card: #0d0f14;
    --border-color: #1a202c;
    --text-primary: #e2e8f0;
    --text-muted: #718096;
    --color-glow: #10b981;
    --color-glow-rgb: 16, 185, 129;
    --color-accent: #8b5cf6;
    --color-accent-rgb: 139, 92, 246;
    --color-error: #f43f5e;
    --font-mono: 'Fira Code', 'Courier New', Courier, monospace;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-mono);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* CRT Scanline Effect Overlay */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    aspect-ratio: 1;
    background-size: 100% 4px, 6px 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.45;
}

/* Container */
.game-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

/* Terminal Card */
.terminal-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(var(--color-glow-rgb), 0.25);
    box-shadow: 0 0 20px rgba(var(--color-glow-rgb), 0.1), inset 0 0 10px rgba(var(--color-glow-rgb), 0.05);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.terminal-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-glow), var(--color-accent));
}

.terminal-card.accent {
    border-color: rgba(var(--color-accent-rgb), 0.3);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.1), inset 0 0 10px rgba(var(--color-accent-rgb), 0.05);
}

/* Typography */
h1, h2, h3, h4 {
    color: #fff;
    margin-top: 0;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.glow-text {
    color: var(--color-glow);
    text-shadow: 0 0 10px rgba(var(--color-glow-rgb), 0.6);
}

.accent-text {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.6);
}

.muted-text {
    color: var(--text-muted);
}

/* Buttons */
.btn-terminal {
    background: transparent;
    color: var(--color-glow);
    border: 1px solid var(--color-glow);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 0 0 4px rgba(var(--color-glow-rgb), 0.4);
    box-shadow: 0 0 10px rgba(var(--color-glow-rgb), 0.1);
}

.btn-terminal:hover:not(:disabled) {
    background-color: var(--color-glow);
    color: #000;
    box-shadow: 0 0 15px var(--color-glow);
    text-shadow: none;
}

.btn-terminal:disabled {
    border-color: var(--text-muted);
    color: var(--text-muted);
    text-shadow: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-accent {
    color: var(--color-accent);
    border-color: var(--color-accent);
    text-shadow: 0 0 4px rgba(var(--color-accent-rgb), 0.4);
    box-shadow: 0 0 10px rgba(var(--color-accent-rgb), 0.1);
}

.btn-accent:hover:not(:disabled) {
    background-color: var(--color-accent);
    color: #000;
    box-shadow: 0 0 15px var(--color-accent);
    text-shadow: none;
}

/* Grid Layout for Levels */
.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Level Select Item */
.level-item {
    background-color: #090a0d;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.level-item.unlocked {
    border-color: rgba(var(--color-glow-rgb), 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.level-item.unlocked:hover {
    transform: translateY(-4px);
    border-color: var(--color-glow);
    box-shadow: 0 8px 20px rgba(var(--color-glow-rgb), 0.15);
}

.level-item.completed {
    border-color: rgba(var(--color-accent-rgb), 0.3);
}

.level-item.completed:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 20px rgba(var(--color-accent-rgb), 0.15);
}

.level-item.locked {
    opacity: 0.45;
    background-color: #050608;
    cursor: not-allowed;
}

.level-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.badge-locked {
    background-color: #1a202c;
    color: #718096;
}

.badge-unlocked {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-glow);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-completed {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Form inputs */
.terminal-input {
    background-color: #050608 !important;
    border: 1px solid rgba(var(--color-glow-rgb), 0.4) !important;
    color: var(--color-glow) !important;
    font-family: var(--font-mono) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 4px !important;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.terminal-input:focus {
    border-color: var(--color-glow) !important;
    box-shadow: 0 0 10px rgba(var(--color-glow-rgb), 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

/* Alert systems */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.05);
}

.alert-danger {
    background-color: rgba(244, 63, 94, 0.1);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.2);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.05);
}

/* Hint panel */
.hint-panel {
    margin-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.hint-content {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Special Interactive layouts */
.binary-matrix {
    height: 120px;
    overflow: hidden;
    position: relative;
    background: #020304;
    border: 1px solid #1a202c;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.binary-stream {
    font-size: 0.8rem;
    color: rgba(16, 185, 129, 0.15);
    line-height: 1.2;
    text-align: center;
    word-break: break-all;
    width: 100%;
    padding: 0.5rem;
}

/* Header UI */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

a.user-badge:hover {
    border-color: var(--color-glow);
    background: rgba(var(--color-glow-rgb), 0.05);
    box-shadow: 0 0 10px rgba(var(--color-glow-rgb), 0.15);
}

.user-name {
    color: #fff;
    font-weight: 500;
}

/* Morse audio button or visual clicker */
.morse-visualizer {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.morse-dot, .morse-dash {
    height: 24px;
    background-color: var(--color-glow);
    box-shadow: 0 0 10px var(--color-glow);
    border-radius: 4px;
}

.morse-dot {
    width: 24px;
    border-radius: 50%;
}

.morse-dash {
    width: 60px;
}

.morse-space {
    width: 30px;
}

/* Custom shadow text */
.shadow-riddle-container {
    padding: 2rem;
    background-color: #030406;
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: 4px;
    text-align: center;
    margin: 1rem 0;
}

/* Level 2: Hidden text */
.invisible-clue {
    color: #030406; /* Match container background perfectly */
    user-select: all;
    font-size: 1.2rem;
    transition: color 0.5s ease;
}

.invisible-clue::selection {
    background-color: var(--color-glow);
    color: #000;
}

/* Interactive level 8 */
.interactive-keyboard-box {
    margin: 1rem 0;
}

.reversed-preview-text {
    font-size: 1.2rem;
    color: var(--color-accent);
    min-height: 28px;
    margin-top: 0.5rem;
    font-weight: bold;
}

/* --- Rank Classes --- */
.rank-rookie {
    color: #10b981 !important; /* Green */
    border-color: rgba(16, 185, 129, 0.4) !important;
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.4);
}
.rank-skid {
    color: #a3e635 !important; /* Lime/Green-yellow */
    border-color: rgba(163, 230, 53, 0.4) !important;
    text-shadow: 0 0 5px rgba(163, 230, 53, 0.4);
}
.rank-breaker {
    color: #06b6d4 !important; /* Cyan */
    border-color: rgba(6, 182, 212, 0.4) !important;
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.4);
}
.rank-operator {
    color: #3b82f6 !important; /* Blue */
    border-color: rgba(59, 130, 246, 0.4) !important;
    text-shadow: 0 0 5px rgba(59, 130, 246, 0.4);
}
.rank-specialist {
    color: #a855f7 !important; /* Purple */
    border-color: rgba(168, 85, 247, 0.4) !important;
    text-shadow: 0 0 5px rgba(168, 85, 247, 0.4);
}
.rank-intruder {
    color: #f43f5e !important; /* Pink/Rose */
    border-color: rgba(244, 63, 94, 0.4) !important;
    text-shadow: 0 0 5px rgba(244, 63, 94, 0.4);
}
.rank-netrunner {
    color: #0d9488 !important; /* Teal */
    border-color: rgba(13, 148, 136, 0.4) !important;
    text-shadow: 0 0 5px rgba(13, 148, 136, 0.4);
}
.rank-syscracker {
    color: #f97316 !important; /* Orange */
    border-color: rgba(249, 115, 22, 0.4) !important;
    text-shadow: 0 0 5px rgba(249, 115, 22, 0.4);
}
.rank-core {
    color: #d946ef !important; /* Violet/Magenta */
    border-color: rgba(217, 70, 239, 0.4) !important;
    text-shadow: 0 0 5px rgba(217, 70, 239, 0.4);
}
.rank-master {
    color: #f59e0b !important; /* Gold/Orange */
    border-color: rgba(245, 158, 11, 0.4) !important;
    text-shadow: 0 0 5px rgba(245, 158, 11, 0.4);
}
.rank-blackhat {
    color: #94a3b8 !important; /* Slate Grey */
    border-color: rgba(148, 163, 184, 0.4) !important;
    text-shadow: 0 0 5px rgba(148, 163, 184, 0.4);
}
.rank-deity {
    color: #ef4444 !important; /* Red */
    border-color: rgba(239, 68, 68, 0.4) !important;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: blink-red 2s infinite alternate;
}

@keyframes blink-red {
    0% { opacity: 0.8; }
    100% { opacity: 1; text-shadow: 0 0 15px rgba(239, 68, 68, 1); }
}

/* --- Directory Listing Styles (Categories list) --- */
.directory-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .directory-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.directory-item {
    background-color: #0d0f14;
    border: 1px dashed rgba(var(--color-glow-rgb), 0.25);
    padding: 1.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.directory-item:hover {
    border-color: var(--color-glow);
    background-color: #12161f;
    box-shadow: 0 0 15px rgba(var(--color-glow-rgb), 0.15);
    transform: translateY(-2px);
}

.directory-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.directory-icon {
    font-size: 1.5rem;
    color: var(--color-glow);
    display: flex;
    align-items: center;
}

.directory-title {
    font-weight: bold;
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
    font-family: var(--font-mono);
}

.directory-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.5rem 0 0 0;
    line-height: 1.4;
}

/* --- Trophy / Reward Console --- */
.status-console {
    background-color: #0b0d12;
    border: 1px solid rgba(var(--color-glow-rgb), 0.15);
    box-shadow: 0 0 10px rgba(var(--color-glow-rgb), 0.05);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .status-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.status-console h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-glow);
    border-bottom: 1px solid rgba(var(--color-glow-rgb), 0.15);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.stats-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    line-height: 1.8;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.reward-shield {
    background-color: #0d0f14;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.3s ease;
}

.reward-shield.cleared {
    border: 1px solid #fbbf24;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.05) 0%, transparent 70%), #0d0f14;
}

.reward-shield-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.reward-shield.cleared .reward-shield-icon {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.reward-shield-label {
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-muted);
}

.reward-shield.cleared .reward-shield-label {
    color: #fff;
    text-shadow: 0 0 4px rgba(255,255,255,0.2);
}

/* --- Timeline & Progression Styles --- */
.timeline-container {
    margin-top: 1rem;
    font-family: var(--font-mono);
}
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.35rem;
    background-color: rgba(255, 255, 255, 0.01);
    font-size: 0.8rem;
    transition: all 0.2s ease;
    border-radius: 0 4px 4px 0;
}
.timeline-item.completed {
    border-left-color: var(--color-accent);
    background-color: rgba(16, 185, 129, 0.02);
    color: #fff;
}
.timeline-item.active {
    border-left-color: var(--color-glow);
    background-color: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
    font-weight: bold;
    color: #fff;
    animation: timeline-active-pulse 2s infinite alternate;
}
.timeline-item.locked {
    opacity: 0.35;
    color: var(--text-muted);
}
.timeline-badge {
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
}
.timeline-badge.completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}
.timeline-badge.active {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-glow);
    border: 1px solid var(--color-glow);
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
}
.timeline-badge.locked {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes timeline-active-pulse {
    0% { background-color: rgba(16, 185, 129, 0.05); }
    100% { background-color: rgba(16, 185, 129, 0.12); box-shadow: 0 0 15px rgba(16, 185, 129, 0.15); }
}

/* --- Reward Cards Grid --- */
.dashboard-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 0.75rem;
}
@media (min-width: 1024px) {
    .dashboard-grid-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.rewards-grid-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}
@media (min-width: 640px) {
    .rewards-grid-visual {
        grid-template-columns: repeat(2, 1fr);
    }
}
.reward-card-visual {
    background-color: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}
.reward-card-visual.unlocked {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.05);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%), #0d0f14;
}
.reward-card-visual.locked {
    opacity: 0.55;
}
.reward-icon-box {
    font-size: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}
.reward-card-visual.unlocked .reward-icon-box {
    background-color: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

/* --- Active Rank Highlight & Achievements --- */
.active-rank-highlight {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: var(--color-glow) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15), inset 0 0 10px rgba(16, 185, 129, 0.05) !important;
    animation: active-glow-pulse 2s infinite alternate;
}
@keyframes active-glow-pulse {
    0% { background: rgba(16, 185, 129, 0.08); box-shadow: 0 0 15px rgba(16, 185, 129, 0.15); }
    100% { background: rgba(16, 185, 129, 0.16); box-shadow: 0 0 25px rgba(16, 185, 129, 0.25); }
}

.achievement-badge-card.unlocked:hover .achievement-badge-circle {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4) !important;
}
.achievement-badge-card.locked .achievement-badge-circle {
    filter: grayscale(1);
    opacity: 0.35;
}

/* Ranks Row Compaction */
.rank-row {
    padding: 0.45rem 0.75rem !important;
    gap: 0.5rem;
    font-size: 0.75rem;
}
.rank-row .user-rank {
    padding: 0.1rem 0.35rem !important;
    font-size: 0.68rem !important;
}

/* Badge Circle Images styling */
.achievement-badge-circle {
    overflow: hidden;
}
.achievement-badge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.achievement-badge-card.locked .achievement-badge-img {
    filter: grayscale(1) opacity(0.25);
}

/* --- User Dropdown Menu --- */
.user-dropdown-container {
    position: relative;
    display: inline-block;
}
.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background-color: #0b0d12;
    border: 1px solid var(--color-glow);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 160px;
    z-index: 100;
    display: none;
}
.user-dropdown-menu.active {
    display: block;
    animation: dropdown-fade-in 0.15s ease-out;
}
.user-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.user-dropdown-item:hover {
    background-color: rgba(16, 185, 129, 0.08);
    color: #fff;
    text-shadow: 0 0 4px rgba(16, 185, 129, 0.4);
}

@keyframes dropdown-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Badge container styling for desktop positioning */
.header-badges-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Mobile responsive layout for header */
@media (max-width: 768px) {
    .game-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding-bottom: 1.5rem;
    }
    
    .header-badges-container {
        position: static;
        transform: none;
        margin: 0.25rem 0;
    }
    
    .user-dropdown-menu {
        right: 50%;
        transform: translateX(50%) translateY(-5px);
        left: auto;
    }
    
    .user-dropdown-menu.active {
        transform: translateX(50%) translateY(0);
    }
}





