/*
Theme Name: MaKrotov Biolink Pro
Theme URI: https://makrotov.mssg.me/
Author: Webmaster
Description: Премиум тёмная тема-мультиссылка с неоновыми акцентами, размытием и современными микро-анимациями.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: makrotov-biolink-pro
*/

:root {
    --bg-gradient: linear-gradient(135deg, #0b0f19 0%, #111827 50%, #0d1117 100%);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(255, 255, 255, 0.25);
    --accent-glow: rgba(59, 130, 246, 0.25);
    --btn-bg: #ffffff;
    --btn-text: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.biolink-container {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.avatar-wrapper {
    position: relative;
    margin-bottom: 18px;
}

.avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    z-index: 0;
    opacity: 0.8;
    filter: blur(4px);
}

.avatar {
    position: relative;
    z-index: 1;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #cbd5e1;
    border: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.subtitle {
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.description {
    font-size: 14px;
    line-height: 1.6;
    margin: 12px 0 20px 0;
    color: #e2e8f0;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.description span {
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.btn {
    width: 100%;
    background: #ffffff;
    color: var(--btn-text);
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    background: #f8fafc;
    color: #020617;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.btn i {
    font-size: 18px;
}

.crypto-card {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 14px;
    margin: -4px 0 22px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crypto-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.crypto-value {
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    color: #38bdf8;
    word-break: break-all;
}

.socials {
    display: flex;
    gap: 14px;
    margin: 8px 0 24px 0;
    width: 100%;
    justify-content: center;
}

.socials a {
    color: var(--text-main);
    font-size: 20px;
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 1px solid var(--card-border);
}

.socials a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
    color: #38bdf8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Контейнер для социальных сетей */
.socials {
    display: flex;
    align-items: center;
    gap: 12px; /* Расстояние между кнопками */
}

/* Общий стиль для каждой кнопки */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%; /* Круглая форма */
    background-color: #f1f3f5; /* Нейтральный фон по умолчанию */
    color: #495057; /* Цвет иконки по умолчанию */
    font-size: 20px; /* Размер иконки */
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Эффект при наведении (приподнятие и тень) */
.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: #ffffff; /* Цвет иконки становится белым */
}

/* Активное состояние (нажатие) */
.social-link:active {
    transform: translateY(-1px);
}

/* --- Брендовые цвета при наведении --- */

/* Telegram */
.social-link.telegram:hover {
    background-color: #24A1DE;
    box-shadow: 0 6px 16px rgba(36, 161, 222, 0.4);
}

/* TikTok */
.social-link.tiktok:hover {
    background-color: #000000;
    box-shadow: 0 6px 16px rgba(254, 44, 85, 0.3);
}

/* YouTube */
.social-link.youtube:hover {
    background-color: #FF0000;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

/* Discord */
.social-link.discord:hover {
    background-color: #5865F2;
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
}
