/* ============================================
   MASK - Artist's Canvas Theme
   Художественный стиль с акварелью и холстом
   ============================================ */

/* Подключение шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&family=Caveat:wght@400;500;600;700&display=swap');

/* CSS переменные */
:root {
    /* Основные цвета */
    --canvas-cream: #F5F0E8;
    --canvas-white: #FDFCFA;
    --paper-texture: #F8F4ED;

    /* Акварельные цвета */
    --watercolor-indigo: #4A5568;
    --watercolor-terracotta: #C67B5C;
    --watercolor-ochre: #D4A574;
    --watercolor-emerald: #68A68D;
    --watercolor-rose: #D4A5A5;
    --watercolor-violet: #8B7BB8;
    --watercolor-blue: #7BA3BB;

    /* Текст */
    --text-graphite: #2D3436;
    --text-light: #636E72;
    --text-muted: #949EA6;

    /* Акценты */
    --accent-primary: #C67B5C;
    --accent-secondary: #68A68D;

    /* Шрифты */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', 'Segoe UI', sans-serif;
    --font-handwritten: 'Caveat', cursive;

    /* Размеры */
    --container-width: 1200px;
    --section-padding: 100px;
    --border-radius: 12px;

    /* Тени */
    --shadow-soft: 0 4px 20px rgba(45, 52, 54, 0.08);
    --shadow-medium: 0 8px 40px rgba(45, 52, 54, 0.12);
    --shadow-watercolor: 0 10px 60px rgba(198, 123, 92, 0.15);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--canvas-cream);
    color: var(--text-graphite);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Текстура холста на фоне */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-graphite);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--watercolor-terracotta);
}

/* Рукописный стиль */
.handwritten {
    font-family: var(--font-handwritten);
    font-size: 1.8rem;
    color: var(--watercolor-terracotta);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ============================================
   АКВАРЕЛЬНЫЕ ЭЛЕМЕНТЫ
   ============================================ */

/* Акварельное пятно */
.watercolor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
    animation: blob-float 20s ease-in-out infinite;
}

.watercolor-blob.indigo {
    background: var(--watercolor-indigo);
}

.watercolor-blob.terracotta {
    background: var(--watercolor-terracotta);
}

.watercolor-blob.ochre {
    background: var(--watercolor-ochre);
}

.watercolor-blob.emerald {
    background: var(--watercolor-emerald);
}

.watercolor-blob.rose {
    background: var(--watercolor-rose);
}

.watercolor-blob.violet {
    background: var(--watercolor-violet);
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-10px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-20px, -10px) scale(1.02);
    }
}

/* Мазок кисти */
.brush-stroke {
    position: relative;
    display: inline-block;
}

.brush-stroke::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 40%;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--watercolor-ochre) 10%,
        var(--watercolor-terracotta) 50%,
        var(--watercolor-ochre) 90%,
        transparent 100%
    );
    opacity: 0.3;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
    transform: rotate(-2deg);
}

/* Акварельная линия-разделитель */
.watercolor-divider {
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--watercolor-ochre) 15%,
        var(--watercolor-terracotta) 35%,
        var(--watercolor-rose) 50%,
        var(--watercolor-violet) 65%,
        var(--watercolor-blue) 85%,
        transparent 100%
    );
    border-radius: 2px;
    margin: 40px auto;
    max-width: 300px;
    opacity: 0.6;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-graphite);
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    position: relative;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

/* Навигация */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-graphite);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-primary);
    background: rgba(198, 123, 92, 0.08);
}

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--watercolor-terracotta);
    border-radius: 2px;
    opacity: 0.6;
}

/* Кнопка скачать в хедере */
.nav-download {
    margin-left: 16px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--watercolor-terracotta), var(--watercolor-ochre));
    color: white !important;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-watercolor);
    transition: all 0.4s ease;
}

.nav-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(198, 123, 92, 0.25);
    color: white !important;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-graphite);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(104, 166, 141, 0.1);
    border: 1px solid rgba(104, 166, 141, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--watercolor-emerald);
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '●';
    font-size: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.hero-title .accent {
    color: var(--watercolor-terracotta);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Визуальная часть героя */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-canvas {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: var(--canvas-white);
    border-radius: 8px;
    box-shadow:
        var(--shadow-medium),
        inset 0 0 100px rgba(212, 165, 116, 0.1);
    overflow: hidden;
}

/* Имитация холста */
.hero-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='canvas'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23canvas)'/%3E%3C/svg%3E");
    opacity: 0.04;
}

/* Акварельные элементы на холсте */
.canvas-paint {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    animation: paint-spread 8s ease-in-out infinite;
}

.canvas-paint:nth-child(1) {
    width: 150px;
    height: 150px;
    background: var(--watercolor-terracotta);
    top: 20%;
    left: 10%;
    opacity: 0.5;
    animation-delay: 0s;
}

.canvas-paint:nth-child(2) {
    width: 120px;
    height: 120px;
    background: var(--watercolor-blue);
    top: 40%;
    right: 15%;
    opacity: 0.4;
    animation-delay: -2s;
}

.canvas-paint:nth-child(3) {
    width: 100px;
    height: 100px;
    background: var(--watercolor-ochre);
    bottom: 20%;
    left: 30%;
    opacity: 0.45;
    animation-delay: -4s;
}

.canvas-paint:nth-child(4) {
    width: 80px;
    height: 80px;
    background: var(--watercolor-emerald);
    top: 60%;
    left: 60%;
    opacity: 0.35;
    animation-delay: -6s;
}

@keyframes paint-spread {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: blur(30px);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        filter: blur(40px);
    }
}

/* Палитра рядом с холстом */
.floating-palette {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 120px;
    height: 120px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.floating-brush {
    position: absolute;
    top: -20px;
    left: -30px;
    width: 80px;
    animation: brush-float 5s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes brush-float {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-10px) rotate(-10deg); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--watercolor-terracotta), #D4896E);
    color: white;
    box-shadow: var(--shadow-watercolor);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(198, 123, 92, 0.3);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-graphite);
    border: 2px solid rgba(45, 52, 54, 0.2);
}

.btn-secondary:hover {
    border-color: var(--watercolor-terracotta);
    color: var(--watercolor-terracotta);
    background: rgba(198, 123, 92, 0.05);
}

.btn-outline {
    background: var(--canvas-white);
    color: var(--text-graphite);
    border: 2px solid var(--watercolor-ochre);
}

.btn-outline:hover {
    background: var(--watercolor-ochre);
    color: white;
}

/* Иконка в кнопке */
.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--canvas-white);
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(45, 52, 54, 0.05);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23paper)'/%3E%3C/svg%3E");
    opacity: 0.02;
    border-radius: var(--border-radius);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--watercolor-ochre);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(15px);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-light);
    font-size: 1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: var(--canvas-white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--canvas-cream), var(--canvas-white));
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-family: var(--font-handwritten);
    font-size: 1.5rem;
    color: var(--watercolor-terracotta);
    margin-bottom: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* ============================================
   GALLERY PREVIEW
   ============================================ */
.gallery-preview {
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--canvas-white);
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(198, 123, 92, 0.8),
        rgba(139, 123, 184, 0.8)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay svg {
    width: 40px;
    height: 40px;
    color: white;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: linear-gradient(135deg,
        var(--watercolor-indigo) 0%,
        #3D4852 100%
    );
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.05;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.cta .btn-primary {
    background: white;
    color: var(--watercolor-indigo);
}

.cta .btn-primary:hover {
    background: var(--canvas-cream);
}

/* Декоративные акварельные пятна в CTA */
.cta .watercolor-blob {
    opacity: 0.15;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-graphite);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: white;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--watercolor-ochre);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--watercolor-terracotta);
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 40px;
    }

    .hero-canvas {
        max-width: 400px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--canvas-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-medium);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    .nav.active {
        display: flex;
    }

    .nav-download {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .floating-palette,
    .floating-brush {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .card {
        padding: 30px 24px;
    }
}

/* ============================================
   ANIMATIONS ON SCROLL
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Задержки анимаций */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   SPECIAL EFFECTS
   ============================================ */

/* Эффект брызг краски при клике */
.paint-splash {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.paint-splash span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: splash 0.6s ease-out forwards;
}

@keyframes splash {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Курсор-кисть (опционально) */
.cursor-brush {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C67B5C' stroke-width='2'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.586 7.586'/%3E%3C/svg%3E") 0 24, auto;
}
