/* ===== Shared styles for burykina.com ===== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

/* Skill tags */
.skill-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #402fbf;
    background: #f0f1fe;
    border: 1px solid #dde0fc;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: #dde0fc;
    border-color: #c2c6fa;
    transform: translateY(-1px);
}

/* Fade-in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== 8 March congratulations page styles ===== */

.congrats-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff5f5 0%, #fef3e2 30%, #fdf2f8 60%, #f0f1fe 100%);
    font-family: 'Inter', system-ui, sans-serif;
}

.congrats-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 50px -12px rgba(0, 0, 0, 0.08);
}

.congrats-photo {
    border-radius: 1rem;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(255, 255, 255, 0.8);
}

/* Floating hearts animation */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.heart {
    position: absolute;
    bottom: -20px;
    opacity: 0;
    animation: floatHeart linear infinite;
}

.heart::before {
    content: '';
    display: block;
    width: var(--size, 12px);
    height: var(--size, 12px);
    background: var(--color, #f9a8d4);
    border-radius: 50% 50% 0 50%;
    transform: rotate(-45deg);
    opacity: 0.5;
}

@keyframes floatHeart {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.5);
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) rotate(360deg) scale(1);
    }
}

.heart:nth-child(1)  { left: 5%;  animation-duration: 12s; animation-delay: 0s;    --size: 10px; --color: #f9a8d4; }
.heart:nth-child(2)  { left: 15%; animation-duration: 14s; animation-delay: 2s;    --size: 8px;  --color: #fda4af; }
.heart:nth-child(3)  { left: 25%; animation-duration: 11s; animation-delay: 4s;    --size: 14px; --color: #c4b5fd; }
.heart:nth-child(4)  { left: 35%; animation-duration: 15s; animation-delay: 1s;    --size: 6px;  --color: #fbcfe8; }
.heart:nth-child(5)  { left: 45%; animation-duration: 13s; animation-delay: 3s;    --size: 12px; --color: #f9a8d4; }
.heart:nth-child(6)  { left: 55%; animation-duration: 10s; animation-delay: 5s;    --size: 9px;  --color: #fda4af; }
.heart:nth-child(7)  { left: 65%; animation-duration: 16s; animation-delay: 0.5s;  --size: 11px; --color: #c4b5fd; }
.heart:nth-child(8)  { left: 75%; animation-duration: 12s; animation-delay: 3.5s;  --size: 7px;  --color: #fbcfe8; }
.heart:nth-child(9)  { left: 85%; animation-duration: 14s; animation-delay: 1.5s;  --size: 13px; --color: #f9a8d4; }
.heart:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 4.5s;  --size: 10px; --color: #fda4af; }

/* Spring flower dots */
.flower-dot {
    position: absolute;
    width: var(--size, 6px);
    height: var(--size, 6px);
    border-radius: 50%;
    background: var(--color, #fbbf24);
    opacity: 0.15;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.5); opacity: 0.3; }
}

.congrats-heading {
    background: linear-gradient(135deg, #db2777, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.congrats-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f9a8d4, #c4b5fd);
    border-radius: 999px;
    margin: 0 auto;
}

.congrats-signature {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Email highlight box */
.email-highlight {
    background: linear-gradient(135deg, #fdf2f8, #f0f1fe);
    border: 1px solid #f9a8d4;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
}
