/* Основные стили */
:root {
    --primary-color: #F5C9D5;
    --secondary-color: #DC9E3D;
    --gradient-bg: linear-gradient(90deg, #F5C9D5, #DC9E3D, #F5C9D5);
    --action-gradient: linear-gradient(to right, #5B86E5, #36D1DC);
    --market-gradient: linear-gradient(to right, #00dbde, #fc00ff);
    --text-color: #333;
    --light-text: #fff;
}

/* Темная тема */
.dark-theme {
    --primary-color: #2D3748;
    --secondary-color: #4A5568;
    --gradient-bg: linear-gradient(90deg, #1A202C, #2D3748, #1A202C);
    --action-gradient: linear-gradient(to right, #4F46E5, #9333EA);
    --market-gradient: linear-gradient(to right, #9333EA, #4F46E5);
    --text-color: #E2E8F0;
    --light-text: #E2E8F0;
    background-color: #1A202C;
}

/* Переключатель темы */
.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle {
    display: none;
}

.theme-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50px;
    padding: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.theme-label i {
    font-size: 14px;
    color: #fff;
    z-index: 1;
}

.theme-ball {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.theme-toggle:checked + .theme-label .theme-ball {
    transform: translateX(30px);
}

/* Остальные стили остаются такими же, как в вашем исходном коде */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-color);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Шапка */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.title {
    font-family: 'Amatic SC', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 15px;
    color: var(--text-color);
}

.welcome-message {
    font-family: 'Amatic SC', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Основные кнопки */
.actions-section {
    margin-bottom: 40px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: var(--action-gradient);
    color: var(--light-text);
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.action-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Разделитель */
.divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--light-text), transparent);
}

.divider-icon {
    width: 50px;
    height: 50px;
    margin: 0 20px;
}

/* Социальные сети */
.social-links {
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Amatic SC', cursive;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
}

.insta {
    font-size: 60%;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-card:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.social-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--light-text);
}

.social-card span {
    font-weight: 500;
    color: var(--light-text);
    text-align: center;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--primary-color);
    margin: 10% auto;
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalopen 0.4s;
    color: var(--text-color);
}

@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-color);
}

.modal-content h3 {
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Amatic SC', cursive;
    font-size: 1.8rem;
}

.donate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.donate-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: var(--market-gradient);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.donate-btn i {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.donate-thanks {
    text-align: center;
    font-style: italic;
    color: var(--text-color);
}


/* Дополнительные стили для страницы услуг (добавить к основным стилям) */

.services-section {
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--action-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-title {
    font-family: 'Amatic SC', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-text);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--light-text);
    opacity: 0.9;
    line-height: 1.5;
}

.back-section {
    text-align: center;
    margin-top: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--market-gradient);
    color: var(--light-text);
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.back-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Адаптивность для услуг */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .service-title {
        font-size: 1.6rem;
    }
}


/* Адаптивность */
@media (max-width: 768px) {
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .title {
        font-size: 2rem;
    }
    
    .welcome-message {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-switcher {
        top: 10px;
        right: 10px;
    }
    
    .theme-label {
        width: 50px;
        height: 25px;
    }
    
    .theme-ball {
        width: 21px;
        height: 21px;
    }
    
    .theme-toggle:checked + .theme-label .theme-ball {
        transform: translateX(25px);
    }
}