* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fafafa;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#card-premium {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 480px;
    width: 100%;
    border-radius: 30px;
}

.man {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 30px 40px;
    text-align: center;
    color: white;
    position: relative;
    border-radius: 30px;
}

.man-content {
    position: relative;
    z-index: 1;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    margin: 0 auto 24px;
    border: 2px solid hsl(14, 100%, 53%);
    box-shadow: 0 10px 30px #0000004d;
}

h1,
h2,
h3 {
    font-weight: 600;
}

h1 {
    font-size: 26px;
    margin-bottom: 6px;
    font-weight: 700;
}

.role {
    font-size: 13px;
    color: #ffffffcc;
    margin-bottom: 16px;
    font-weight: 500;
}

.main-content>section {
    padding: 24px 30px;
    border-top: 3px solid #f0f0f0;
}

.section-spt {
    border-radius: 13px;
}

.main-content {
    padding: 0;
}

section h2 {
    color: #1a1a2e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    color: #555;
    transition: color 0.2s ease;
    border-radius: 10іpx;
}

.skills-list {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 8px;
}

.skills-list div {
    background: #f8f9fa;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #1a1a2e;
    font-weight: 500;
    text-align: center;
}

.hobbies {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    gap: 8px;
}

.hobbies div {
    background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
    padding: 12px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: #1a1a2e;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
}


/* Обнова */
#card-premium:hover {
    box-shadow: 0 18px 24px rgba(255, 0, 0, 0.315);
}

.avatar:hover {
    box-shadow: 0 4px 12px rgb(255, 0, 0);
}

.contact-item:hover {
    color: #1a1a2e;
    background: #f0f0f0;
}

.contact-item:active {
    color: hsl(14, 100%, 53%);
    background: #e8e8e8;
}

.skills-list div:hover {
    background: #e8f0ff;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.1);
}

.skills-list div:active {
    background: #1b60c7;
}

.hobbies div:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 201, 255, 0.3);
}

.hobbies div:active {
    background: hsl(0, 0%, 100%);
}