/* ===== СБРОС И БАЗА ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #8B5CF6;
    --pink: #EC4899;
    --orange: #FB923C;
    --yellow: #FCD34D;
    --cyan: #22D3EE;
    --dark: #0F0F23;
    --darker: #070716;
    --white: #FFFFFF;
    --gray: #B4B4D0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--darker);
    color: var(--white);
    overflow-x: hidden;
}

/* ===== АНИМИРОВАННЫЙ ФОН ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--purple);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--pink);
    bottom: -15%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--cyan);
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -60px) scale(1.1); }
    50% { transform: translate(-50px, 50px) scale(0.95); }
    75% { transform: translate(60px, 30px) scale(1.05); }
}

/* ===== ШАПКА ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(7, 7, 22, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
}

.logo span {
    color: var(--pink);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 1.2s ease;
}

.hero-photo-wrap {
    width: 220px;
    height: 220px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--cyan));
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.5);
    animation: pulseGlow 3s ease-in-out infinite;
}

.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(236, 72, 153, 0.4); }
    50% { box-shadow: 0 0 80px rgba(139, 92, 246, 0.7); }
}

.hero-greeting {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.hero-name {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 40%, var(--cyan) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: var(--white);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.7);
}

/* Индикатор прокрутки */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    justify-content: center;
}

.scroll-indicator span {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    margin-top: 8px;
    animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(18px); }
}

/* ===== ОБО МНЕ ===== */
.about {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
}

.accent {
    background: linear-gradient(135deg, var(--orange), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
}

.about-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s;
}

.about-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.about-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Текст о себе */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-text p {
    color: var(--gray);
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.about-text strong {
    color: var(--white);
}

/* ===== ПОДВАЛ ===== */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    background: rgba(7, 7, 22, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .hero-photo-wrap {
        width: 160px;
        height: 160px;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav {
        padding: 1rem;
    }

    .about {
        padding: 4rem 1.5rem;
    }

    .about-text {
        padding: 2rem 1.5rem;
    }
}
