/* Основные цвета */
:root {
    --primary-color: #000000;
    --secondary-color: #1b1b1b;
    --accent-color: #ff9000;
    --text-color: #ffffff;
    --highlight-color: #ff9000;
    --dark-accent: #cc7300;
    --light-bg: #2a2a2a;
    --error-color: #ff4040;
    --success-color: #40ff40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.highlight {
    color: var(--highlight-color);
    font-weight: bold;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Заголовок */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(27, 27, 27, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 5%;
    background-color: rgba(0, 0, 0, 0.98);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.logo-text {
    color: var(--text-color);
    display: inline-block;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--highlight-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.logo:hover .logo-text::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 2rem;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--highlight-color);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--highlight-color);
}

.nav-link:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

.donate-btn {
    margin-left: 2rem;
}

.nav-link.donate {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 144, 0, 0.3);
}

.nav-link.donate::before {
    display: none;
}

.nav-link.donate:hover {
    background-color: #ffa500;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 144, 0, 0.4);
}

/* Активный пункт меню */
.nav-link.active {
    color: var(--highlight-color);
}

.nav-link.active::before {
    visibility: visible;
    transform: scaleX(1);
}

/* Герой-секция */
.hero {
    background: url('https://via.placeholder.com/1920x600') no-repeat center center/cover;
    color: var(--text-color);
    text-align: center;
    padding: 10rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--dark-accent);
}

/* Стили для секций */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* О себе */
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    border: 3px solid var(--highlight-color);
}

/* Навыки */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-card i {
    font-size: 3rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.skill-level {
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 5px;
    margin-top: 1rem;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background-color: var(--highlight-color);
    border-radius: 5px;
}

/* Мемы */
.meme-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.meme-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.meme-card:hover {
    transform: scale(1.05);
}

.meme-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.meme-card p {
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

/* Контакты */
.contact-container {
    display: flex;
    gap: 2rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--highlight-color);
    margin-right: 1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #ffa500;
}

/* Стили для карточек */
.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.platform-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
}

.platform-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-button {
    display: inline-block;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.platform-button:hover {
    background-color: var(--dark-accent);
}

/* Стили для FAQ */
.faq-container {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--highlight-color);
    border-radius: 5px;
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Подвал */
footer {
    background-color: var(--secondary-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--highlight-color);
}

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .donate-btn {
        margin-top: 1rem;
        margin-left: 0;
    }
    
    .donate-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .donate-hero-content p {
        font-size: 1.1rem;
    }
    
    .platform-cards, .crypto-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 144, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 144, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 144, 0, 0.5);
    }
}

.platform-logo {
    animation: pulse 3s infinite;
}

.platform-card:hover .platform-logo {
    animation: glow 2s infinite;
}

/* Стили для секции навыков */
.skills {
    padding: 100px 0;
    background-color: var(--primary-color);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(50, 50, 50, 0.3) 0%, rgba(0, 0, 0, 0) 80%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background-color: var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--highlight-color), var(--dark-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    font-size: 3rem;
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.skill-level {
    margin: 1.5rem 0;
    position: relative;
}

.skill-progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--light-bg);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, var(--highlight-color), var(--dark-accent));
    border-radius: 5px;
    position: relative;
    transition: width 1.5s ease;
}

.skill-percentage {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--highlight-color);
    position: absolute;
    top: -30px;
    right: 0;
}

.skill-card p {
    color: #ccc;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Стили для секции обучения */
.learning {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.learning-timeline {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.learning-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--highlight-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    position: relative;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: block;
    font-size: 0.9rem;
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

/* Стили для секции мемов */
.memes {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.meme-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.meme-card {
    background-color: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.meme-card:hover {
    transform: translateY(-10px);
}

.meme-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.meme-caption {
    padding: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.meme-button-container {
    text-align: center;
    margin-top: 3rem;
}

.meme-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.meme-button:hover {
    background-color: var(--dark-accent);
    transform: translateY(-3px);
}

/* Стили для секции контактов */
.contact {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--highlight-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.contact-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--light-bg);
    border: none;
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--highlight-color);
}

.submit-button {
    padding: 1rem 2rem;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--dark-accent);
    transform: translateY(-3px);
}

/* Адаптивность для новых секций */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .learning-timeline::after {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 100px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-icon {
        left: 15px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .skills-grid, 
    .meme-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 576px) {
    .skills-grid, 
    .meme-gallery {
        grid-template-columns: 1fr;
    }
}

/* Анимация появления для плиток навыков */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.skill-card:nth-child(1) {
    animation-delay: 0.1s;
}

.skill-card:nth-child(2) {
    animation-delay: 0.2s;
}

.skill-card:nth-child(3) {
    animation-delay: 0.3s;
}

.skill-card:nth-child(4) {
    animation-delay: 0.4s;
}

.skill-card:nth-child(5) {
    animation-delay: 0.5s;
}

.skill-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Стили для страницы донатов */
.donate-hero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.donate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 1;
}

.donate-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.donate-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.donate-hero-content p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.donate-options-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    position: relative;
}

.donate-options-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--secondary-color), transparent);
    z-index: 1;
    pointer-events: none;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.platform-card {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 144, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 144, 0, 0.3);
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-logo {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 144, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.platform-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #fff;
}

.platform-card p {
    color: #bbb;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.platform-features {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: var(--highlight-color);
    font-size: 1.2rem;
}

.feature span {
    color: #ddd;
}

.platform-button {
    margin-top: auto;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: center;
}

.boosty-button {
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

.boosty-button:hover {
    background-color: var(--dark-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.donation-alerts-button {
    background-color: #6441a4;
    color: white;
}

.donation-alerts-button:hover {
    background-color: #7a53c1;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Стили для FAQ секции */
.donate-faq {
    padding: 100px 0;
    background-color: var(--secondary-color);
    position: relative;
}

.donate-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 90%, rgba(255, 144, 0, 0.1), transparent 50%);
    pointer-events: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 144, 0, 0.2);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.faq-question i {
    color: var(--highlight-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #bbb;
    line-height: 1.6;
}

/* Анимации для страницы донатов */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 144, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 144, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 144, 0, 0.5);
    }
}

.platform-logo {
    animation: pulse 3s infinite;
}

.platform-card:hover .platform-logo {
    animation: glow 2s infinite;
}

/* Адаптивность для страницы донатов */
@media (max-width: 992px) {
    .donate-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .donate-hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .donate-hero {
        min-height: 400px;
    }
    
    .donate-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .platform-cards {
        grid-template-columns: 1fr;
    }
    
    .donate-options-section, 
    .donate-faq {
        padding: 70px 0;
    }
}

@media (max-width: 576px) {
    .donate-hero-content h1 {
        font-size: 2rem;
    }
    
    .donate-hero-content p {
        font-size: 1rem;
    }
    
    .platform-card {
        padding: 2rem;
    }
}
