
/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.1) 0%, 
        rgba(255, 215, 0, 0.2) 25%, 
        rgba(255, 69, 0, 0.1) 50%, 
        rgba(255, 215, 0, 0.2) 75%, 
        rgba(255, 140, 0, 0.1) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Фон с частицами */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Основной контейнер */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Заголовок сайта */
.site-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff8c00, #ffd700, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
    opacity: 0;
    transform: translateY(50px);
}

.subtitle {
    font-size: 1.5rem;
    color: #333;
    font-style: italic;
    opacity: 0;
    transform: translateY(30px);
}

/* Секция персонажей */
.characters-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.character-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-100px);
    position: relative;
    overflow: hidden;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff8c00, #ffd700, #ff4500);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-card:hover::before {
    opacity: 1;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.3);
}

/* Изображения персонажей */
.character-image {
    text-align: center;
    margin-bottom: 25px;
}

.character-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.friend-placeholder {
    background: radial-gradient(circle, rgba(255, 20, 147, 0.2), rgba(255, 105, 180, 0.4));
    border: 3px solid #ff69b4;
}

.mother-placeholder {
    background: radial-gradient(circle, rgba(255, 182, 193, 0.3), rgba(255, 160, 122, 0.4));
    border: 3px solid #ffb6c1;
}

.soldier-placeholder {
    background: radial-gradient(circle, rgba(0, 87, 183, 0.2), rgba(255, 215, 0, 0.3));
    border: 3px solid #0057B7;
}

.character-icon {
    font-size: 4rem;
    z-index: 2;
    position: relative;
}

/* Украинский флаг */
.ukrainian-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 20px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.flag-icon {
    width: 100%;
    height: 100%;
}

/* Плавающие элементы */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-note, .floating-heart, .floating-symbol {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.floating-note:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.floating-note:nth-child(2) { top: 60%; right: 20%; animation-delay: 1s; }
.floating-note:nth-child(3) { bottom: 20%; left: 30%; animation-delay: 2s; }

.floating-heart:nth-child(1) { top: 15%; right: 25%; animation-delay: 0.5s; }
.floating-heart:nth-child(2) { top: 70%; left: 15%; animation-delay: 1.5s; }
.floating-heart:nth-child(3) { bottom: 25%; right: 30%; animation-delay: 2.5s; }

.floating-symbol:nth-child(1) { top: 25%; left: 15%; animation-delay: 0.3s; }
.floating-symbol:nth-child(2) { top: 65%; right: 15%; animation-delay: 1.3s; }
.floating-symbol:nth-child(3) { bottom: 15%; left: 25%; animation-delay: 2.3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Информация о персонажах */
.character-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.character-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.character-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature {
    background: linear-gradient(45deg, rgba(255, 140, 0, 0.1), rgba(255, 215, 0, 0.2));
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 140, 0, 0.3);
    color: #333;
}

/* Призыв к действию */
.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    opacity: 0;
    transform: translateY(50px);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    background: linear-gradient(45deg, #ff4500, #ff8c00);
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .characters-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .character-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .character-icon {
        font-size: 3rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .character-card {
        padding: 20px;
    }
}
