* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Verdana, Tahoma, sans-serif;
    background-color: #212528;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.card {
    max-width: 480px;
    width: 100%;
    text-align: center;
    background-color: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(8px);
    padding: 48px 32px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top; /* Центрируем по верхней части, чтобы лицо не обрезалось */
    border: 2px solid #444;
    margin: 0 auto 24px;
    display: block;
    image-rendering: -webkit-optimize-contrast; /* Улучшает качество при сжатии */
    image-rendering: crisp-edges;
}

h1 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.role {
    font-size: 15px;
    color: #4da6ff;
    margin-bottom: 24px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pitch {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 40px;
    padding: 0 10px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: Verdana, Tahoma, sans-serif;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: #ffffff;
    color: #121212;
}

.btn-primary:hover {
    background-color: #e0e0e0;
}

.btn-secondary {
    background-color: transparent;
    color: #e0e0e0;
    border: 1px solid #444;
}

.btn-secondary:hover {
    border-color: #4da6ff;
    color: #4da6ff;
    background-color: rgba(77, 166, 255, 0.05);
}

.footer {
    margin-top: 48px;
    font-size: 12px;
    color: #555;
}
