﻿/* ORBITA Material/Modern Styles */
:root {
    --primary500: #FB9400;
    --secondary500: #FFD300;
    --white: #fff;
    --dark: #212121;
}

body {
    margin: 0;
    font-family: 'Urbanist', Arial, sans-serif;
    background: var(--white);
    color: var(--dark);
}
main {
    background: var(--white);
    color: var(--dark)
}
footer {
    background: var(--white);
}

.container {
    min-height: 100vh;
    padding: 2em;
}

@media (max-width: 800px) {
    .container {
        padding: 1em;
    }
}



.section, .card {
    background: #FFF4E6;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(33,33,33,0.07);
    margin-bottom: 2em;
    padding: 1.5em 1.2em 1.2em 1.2em;
    border: 1.5px solid var(--primary500);
}

.card {
    /* border уже есть выше */
}

.section, .card, .footer, .donate-block, .content-block {
    color: var(--dark);
}

    .section h1, .section h2, .section h3,
    .card h1, .card h2, .card h3 {
        color: var(--dark);
    }
/*
.footer {
    background: #FFF4E6;
    color: var(--dark);
    border: 1.5px solid var(--primary500);
}
*/

h1, h2, h3 {
    font-family: 'Urbanist', Arial, sans-serif;
    font-weight: 700;
    color: var(--primary500);
    margin-top: 0.7em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.3em;
}

h3 {
    font-size: 1.1em;
    color: var(--dark);
}

ul, ol {
    margin-top: 0.5em;
    margin-bottom: 1em;
    padding-left: 1.5em;
}

    ul li, ol li {
        margin-bottom: 0.3em;
    }

.donate-block {
    margin-top: 2.5em;
    padding: 1.5em 1.5em 1.2em 1.5em;
    background: #FFF4E6;
    border: 1.5px solid var(--primary500);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(251,148,0,0.07);
}

    .donate-block h3 {
        margin-top: 0;
        color: var(--dark);
        font-weight: 700;
    }

.donate-buttons {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}

.donate-btn {
    background: #FB9400;
    color: #fff;
    border: none;
    border-radius: 32px;
    padding: 1.1em 2.2em;
    font-size: 1.25em;
    font-family: 'Urbanist', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    box-shadow: 0 4px 24px rgba(251,148,0,0.18);
    margin: 1.2em auto 0 auto;
    text-shadow: 0 1px 0 #fff8, 0 2px 8px #fff2;
    outline: none;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

    .donate-btn:hover, .donate-btn:focus-visible {
        background: #d87d00;
        color: #fff;
        box-shadow: 0 8px 32px rgba(251,148,0,0.25);
        transform: scale(1.04);
        border: 2px solid #FB9400;
    }

    .donate-btn .donate-heart {
        font-size: 1.3em;
        color: #E53935;
        margin-left: 0.2em;
        vertical-align: middle;
        animation: heart-beat 1.2s infinite;
    }

@keyframes heart-beat {
    0%, 100% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.18);
    }

    20% {
        transform: scale(0.95);
    }

    30% {
        transform: scale(1.12);
    }

    40% {
        transform: scale(0.98);
    }

    50% {
        transform: scale(1.08);
    }

    60% {
        transform: scale(1);
    }
}

.donate-btn img {
    height: 1.3em;
}

.donate-amounts {
    display: flex;
    gap: 0.5em;
    margin-top: 1em;
    flex-wrap: wrap;
}

.amount-btn {
    background: var(--white);
    color: var(--primary500);
    border: 2px solid var(--primary500);
    border-radius: 8px;
    padding: 0.5em 1em;
    font-size: 1em;
    font-family: 'Urbanist', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border 0.15s;
}

    .amount-btn.active, .amount-btn:hover {
        background: var(--primary500) !important;
        color: var(--white) !important;
        border: 2px solid var(--primary500) !important;
    }

    .amount-btn.active {
        background: var(--primary500) !important;
        color: var(--white) !important;
        border: 2px solid var(--primary500) !important;
        box-shadow: 0 2px 8px rgba(251,148,0,0.3) !important;
    }

    /* Дополнительные стили для активного состояния */
    .donate-block .amount-btn.active {
        background: var(--primary500) !important;
        color: var(--white) !important;
        border: 2px solid var(--primary500) !important;
        transform: scale(1.05) !important;
    }

.amount-custom {
    padding: 0.5em 0.7em;
    border: 2px solid var(--primary500);
    border-radius: 8px;
    text-align: center;
    font-size: 1em;
    font-family: 'Urbanist', Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
}

.donate-methods {
    margin: 1.2em 0 1em 0;
    display: flex;
    gap: 2em;
    align-items: flex-start;
    justify-content: flex-start;
}

    .donate-methods label {
        display: flex;
        align-items: center;
        gap: 0.4em;
        cursor: pointer;
        font-family: 'Urbanist', Arial, sans-serif;
        font-weight: 600;
    }

    .donate-methods input[type="radio"] {
        transform: scale(0.9);
    }

.pay-method-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
    cursor: pointer;
    font-family: 'Urbanist', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.08em;
    user-select: none;
    transition: color 0.15s;
    min-width: 100px;
}

    .pay-method-label input[type="radio"] {
        display: none;
    }

.pay-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(33,33,33,0.10);
    background: #fff;
    transition: box-shadow 0.18s, border 0.18s;
    margin-bottom: 0.2em;
    border: 2px solid transparent;
    padding: 12px;
}

    .pay-icon img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

.pay-label {
    margin: 0.2em 0 0 0;
    font-size: 1em;
    color: var(--dark);
    font-weight: 600;
    text-align: center;
}

.pay-method-label:hover .pay-icon,
.pay-method-label input[type="radio"]:focus + .pay-icon {
    box-shadow: 0 4px 16px rgba(251,148,0,0.13);
    border: 2px solid var(--primary500);
}

.pay-method-label input[type="radio"]:checked + .pay-icon {
    border: 2px solid var(--primary500);
    box-shadow: 0 4px 16px rgba(251,148,0,0.13);
}

.pay-method-tile {
    cursor: pointer;
    outline: none;
    border: none;
    border-radius: 32px;
    transition: box-shadow 0.18s, transform 0.18s;
    padding: 16px;
    position: relative;
}

    .pay-method-tile.selected, .pay-method-tile:focus-visible, .pay-method-tile:hover {
        transform: scale(1.04);
        z-index: 2;
    }

        .pay-method-tile.selected::after, .pay-method-tile:focus-visible::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 32px;
            border: 3px solid var(--primary500) !important;
            pointer-events: none;
            box-sizing: border-box;
        }

        .pay-method-tile:hover::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 32px;
            border: 3px solid transparent;
            pointer-events: none;
            box-sizing: border-box;
        }



@media (max-width: 600px) {


    .donate-methods {
        gap: 1em;
        justify-content: center;
    }

    .pay-icon {
        width: 96px;
        height: 96px;
        padding: 6px;
    }

        .pay-icon img {
            max-width: 100%;
            max-height: 100%;
        }

    .pay-label {
        font-size: 0.95em;
    }

    .pay-method-tile {
        padding: 8px;
    }
}

@media (max-width: 600px) {

    .donate-block {
        padding: 1em 0.5em;
        font-size: 0.98em;
    }

    .donate-amounts {
        flex-wrap: wrap;
        gap: 0.3em;
    }

    .amount-btn, .amount-custom {
        font-size: 0.98em;
        padding: 0.4em 0.7em;
    }
}

@media (max-width: 400px) {

    .donate-block {
        font-size: 0.95em;
    }
}

.subtitle {
    color: var(--dark);
    font-weight: 600;
}
