/* ==========================================================================
   ШРИФТЫ
   ========================================================================== */

/* 1. Oxygen Light (для подзаголовков и легкого текста) */
@font-face {
    font-family: 'Oxygen';
    src: url('../assets/fonts/Oxygen-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* 2. Oxygen Regular (основной шрифт) */
@font-face {
    font-family: 'Oxygen';
    src: url('../assets/fonts/Oxygen-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 3. Oxygen Bold (для заголовков) */
@font-face {
    font-family: 'Oxygen';
    src: url('../assets/fonts/Oxygen-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ
   ========================================================================== */

:root {
    --bg-color: #0b0c10;
    --card-bg: #ffffff;
    --border-color: #B3B69D;
    --text-color: #525866;
    --accent-color: #8b5cf6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Oxygen', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    background-image: url('../assets/bg/bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* ==========================================================================
   ОСНОВНАЯ КАРТОЧКА
   ========================================================================== */

.main-card {
    background-color: var(--card-bg);
    border: 4px solid var(--border-color);
    border-radius: 0;
    padding: 12px 36px;
    width: fit-content;
    max-width: calc(100vw - 35px);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.top-tagline {
    font-size: 0.8rem;
    color: var(--border-color);
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: -30px;
}

.site-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 140px 260px 140px;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   ПРОФИЛЬ (ЛЕВАЯ КОЛОНКА)
   ========================================================================== */

.profile-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    border: none;
    display: block;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color);
}

.subtitle {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--text-color);
    font-family: 'Oxygen', sans-serif;
    font-weight: 300;
    text-transform: lowercase;
}

/* ==========================================================================
   КНОПКИ И ССЫЛКИ (ЦЕНТРАЛЬНАЯ КОЛОНКА)
   ========================================================================== */

.links-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    min-height: 44px;
    color: var(--border-color);
    text-decoration: none;
    font-weight: 300;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    background-image: url('../assets/buttons/button-1.svg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.15);
    box-shadow: none;
}

.btn-top {
    background-image: url('../assets/buttons/button-2.svg');
    color: #ffffff;
    font-weight: 300;
}

/* ==========================================================================
   ИЛЛЮСТРАЦИЯ (ПРАВАЯ КОЛОНКА)
   ========================================================================== */

.image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-image {
    width: 100%;
    max-width: 260px;
    min-height: 180px;
    max-height: 320px;
    object-fit: contain;
    height: auto;
    display: block;
    margin-left: -10px;
    margin-right: auto;
}

/* ==========================================================================
   ФУТЕР И СОЦСЕТИ
   ========================================================================== */

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.social-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon-btn:hover {
    background-color: transparent;
    transform: translateY(-2px);
    opacity: 0.7;
    box-shadow: none;
}

.social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ)
   ========================================================================== */

@media (max-width: 850px) {
    body {
        padding: 20px 12px;
    }

    .main-card {
        width: 100%;
        padding: 24px 16px;
        gap: 24px;
    }

    .top-tagline {
        margin-bottom: 0;
    }

    .site-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }

    .side-image {
        margin: 0 auto;
        max-width: 200px;
    }

    .image-col {
        order: 3;
    }
}