* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== БЕСКОНЕЧНЫЕ ЛЕТЯЩИЕ ФОНАРИКИ ===== */
.flames-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.flying-flame {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 60px;
    background: radial-gradient(circle, #ff5500, #ff8c00, transparent 80%);
    border-radius: 50% 50% 30% 30%;
    opacity: 0.4;
    filter: blur(8px) brightness(0.7);
    animation: flyUp 15s linear infinite;
    z-index: 2;
}

/* Слабое свечение */
.flying-flame::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 20px;
    background: #ffaa00;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.5;
}

/* Анимация полета с рандомными параметрами */
@keyframes flyUp {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
        transform: translateY(-10vh) translateX(5px) scale(0.8);
    }
    50% {
        opacity: 0.3;
        transform: translateY(-50vh) translateX(15px) scale(0.9);
    }
    90% {
        opacity: 0.2;
        transform: translateY(-90vh) translateX(25px) scale(0.8);
    }
    100% {
        transform: translateY(-120vh) translateX(30px) scale(0.6);
        opacity: 0;
    }
}

/* Рандомные позиции и анимации для каждого фонарика */
.flame-1 {
    left: 5%;
    animation: flyUp 12s linear infinite;
    animation-delay: 0s;
}

.flame-2 {
    left: 20%;
    animation: flyUp 18s linear infinite;
    animation-delay: 1s;
    width: 30px;
    height: 45px;
    opacity: 0.3;
}

.flame-3 {
    left: 35%;
    animation: flyUp 15s linear infinite;
    animation-delay: 3s;
    width: 50px;
    height: 75px;
    opacity: 0.5;
}

.flame-4 {
    left: 60%;
    animation: flyUp 20s linear infinite;
    animation-delay: 5s;
    width: 25px;
    height: 40px;
    opacity: 0.25;
}

.flame-5 {
    left: 75%;
    animation: flyUp 14s linear infinite;
    animation-delay: 7s;
    width: 45px;
    height: 65px;
    opacity: 0.35;
}

.flame-6 {
    left: 90%;
    animation: flyUp 16s linear infinite;
    animation-delay: 9s;
    width: 35px;
    height: 50px;
    opacity: 0.4;
}

.flame-7 {
    left: 15%;
    animation: flyUp 22s linear infinite;
    animation-delay: 11s;
    width: 28px;
    height: 42px;
    opacity: 0.3;
}

.flame-8 {
    left: 50%;
    animation: flyUp 13s linear infinite;
    animation-delay: 13s;
    width: 42px;
    height: 63px;
    opacity: 0.45;
}

/* Титульный экран */
.title-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffd700;
    position: relative;
    overflow: hidden;
}

.title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b00 50%, #1a0000 100%);
    z-index: 1;
}

.title-content h1.phoenix-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow:
        0 0 20px #ff4500,
        0 0 40px #ff8c00,
        0 0 60px #ffd700;
    background: linear-gradient(45deg, #ffd700, #ff8c00, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 10;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow:
            0 0 20px #ff4500,
            0 0 40px #ff8c00,
            0 0 60px #ffd700;
    }
    100% {
        text-shadow:
            0 0 30px #ff8c00,
            0 0 60px #ff4500,
            0 0 90px #ff0000;
    }
}

.title-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #ffa500;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    position: relative;
    z-index: 10;
}

.donate-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(45deg, #ff8c00, #ff4500, #ff0000);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fire-glow {
    box-shadow:
        0 0 20px #ff8c00,
        0 0 40px #ff4500,
        0 0 60px #ff0000;
    animation: buttonPulse 2s ease-in-out infinite alternate;
}

@keyframes buttonPulse {
    0% {
        box-shadow:
            0 0 20px #ff8c00,
            0 0 40px #ff4500,
            0 0 60px #ff0000;
    }
    100% {
        box-shadow:
            0 0 30px #ff8c00,
            0 0 60px #ff4500,
            0 0 90px #ff0000;
    }
}

.donate-button:hover {
    transform: translateY(-3px) scale(1.05);
    animation: none;
    box-shadow:
        0 0 40px #ff8c00,
        0 0 80px #ff4500,
        0 0 120px #ff0000;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-decoration: none;
    color: inherit;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid #ff8c00;
    border-bottom: 3px solid #ff8c00;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    border-color: #ffd700;
    animation: bounceFast 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(-10px, -10px); }
}

@keyframes bounceFast {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50% { transform: rotate(45deg) translate(-15px, -15px); }
}

/* Компактные соцсети */
.social-links-compact {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 10px;
    text-decoration: none;
    color: #ccc;
    transition: all 0.3s ease;
    background: rgba(255, 69, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.social-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-compact:hover::before {
    left: 100%;
}

.social-compact:hover {
    background: rgba(255, 69, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.6);
    color: #ffd700;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.3);
}

/* Стили для иконок соцсетей */
.social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

.social-compact:hover .social-icon-img {
    filter: brightness(1) sepia(1) hue-rotate(-10deg) saturate(5);
    transform: scale(1.1);
}

/* Остальные стили */
.about-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #1a0000 0%, #0a0a0a 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ff4500, #ffd700, #ff4500);
}

.about-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: #ccc;
}

.golden-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 140, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.golden-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.golden-card:hover::before {
    left: 100%;
}

.mission h3 {
    color: #ff8c00;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
}

.donate-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0000 100%);
    position: relative;
}

/* Стили для категорий помощи */
.help-category {
    margin-bottom: 4rem;
}

.category-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8c00, transparent);
}

/* Улучшенные карточки с анимацией */
.funds-usage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.usage-item {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.08), rgba(255, 140, 0, 0.05));
    border: 1px solid rgba(255, 69, 0, 0.25);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform: translateY(0);
}

.usage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff4500, #ff8c00, #ffd700);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.usage-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.usage-item:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(255, 140, 0, 0.6);
    box-shadow:
        0 15px 40px rgba(255, 69, 0, 0.25),
        0 5px 20px rgba(255, 140, 0, 0.2),
        inset 0 0 60px rgba(255, 69, 0, 0.1);
}

.usage-item:hover::before {
    transform: scaleX(1);
}

.usage-item:hover::after {
    left: 100%;
}

.usage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.3));
    transition: all 0.3s ease;
}

.usage-item:hover .usage-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.usage-item h3 {
    color: #ffd700;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.usage-item:hover h3 {
    color: #ff8c00;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.usage-item p {
    color: #ccc;
    line-height: 1.7;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.usage-item:hover p {
    color: #e0e0e0;
}

.donate-btn-large {
    display: block;
    margin: 0 auto;
    padding: 22px 70px;
    background: linear-gradient(45deg, #ff8c00, #ff4500, #ff0000);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donate-btn-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 0 40px #ff8c00,
        0 0 80px #ff4500,
        0 0 120px #ff0000;
}

.footer {
    background: linear-gradient(180deg, #1a0000 0%, #000 100%);
    color: #ccc;
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 69, 0, 0.3);
}

.footer-title {
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.contact-info {
    margin-bottom: 3rem;
}

.phone-number {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.golden-text {
    color: #ffd700;
}

.phone-link {
    color: #ff8c00;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Стили для email */
.email {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.email-link {
    color: #ff8c00;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
    transition: all 0.3s ease;
}

.email-link:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.copyright {
    margin-top: 3rem;
    opacity: 0.7;
    color: #ff8c00;
}

/* Адаптивность */
@media (max-width: 768px) {
    .title-content h1.phoenix-title {
        font-size: 2.8rem;
    }

    .title-subtitle {
        font-size: 1.1rem;
    }

    .donate-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .about-section,
    .donate-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .social-links-compact {
        gap: 10px;
    }

    .social-compact {
        width: 45px;
        height: 45px;
    }

    .phone-link, .email-link {
        font-size: 1.2rem;
    }

    .mission, .usage-item {
        padding: 2rem 1.5rem;
    }

    .funds-usage {
        grid-template-columns: 1fr;
    }

    .help-category {
        margin-bottom: 3rem;
    }

    .category-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .flying-flame {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .title-content h1.phoenix-title {
        font-size: 2.2rem;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .social-compact {
        width: 40px;
        height: 40px;
    }

    .social-icon-img {
        width: 20px;
        height: 20px;
    }

    .donate-btn-large {
        padding: 18px 40px;
        font-size: 1.2rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .usage-item:hover {
        transform: translateY(-8px) scale(1.02);
    }

    .flying-flame {
        transform: scale(0.6);
    }
}