* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #e5e7eb;
    min-height: 100vh;
    background: linear-gradient(to top, #304a78, #162033, #020617);
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ================= HEADER ================= */

.header {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* ================= LOGO ================= */

.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    user-select: none;
}

.site-logo__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22),
        rgba(255, 255, 255, 0.08)
    );

    border: 1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-logo__icon-symbol {
    display: block;
    transform: translateY(-1px);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-logo__title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-logo__subtitle {
    margin-top: 4px;
    color: rgba(229, 231, 235, 0.72);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 140px 0 100px;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(2, 6, 23, 0.95) 0%,
            rgba(2, 6, 23, 0.6) 40%,
            rgba(2, 6, 23, 0.2) 70%,
            rgba(2, 6, 23, 0.0) 100%
        ),
        url("../img/ebalo.png") top center / contain no-repeat;

    opacity: 0.65;
    transform: translateY(0);
    will-change: transform;
}

.hero .container {
    position: relative;
    z-index: 1;
    
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-card {
    max-width: 800px;
    margin: 0 auto 30px;

    transform: translateY(-80px);

    padding: 28px 40px 16px;

    border-radius: 32px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0.05)
    );

    border: 1px solid rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    text-align: center;
}

.hero-card h2 {
    font-size: 42px;
    margin-bottom: 12px;
}

.hero-card p {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(229, 231, 235, 0.9);
}

/* ================= BUTTON ================= */

.donate-btn {
    margin-top: 30px;

    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;

    border: none;
    padding: 18px 64px;
    font-size: 32px;
    font-weight: bold;
    border-radius: 32px;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(34, 194, 94, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.2);

    transition: all 0.25s ease;
}

.donate-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(34, 197, 94, 0.6),
        0 4px 10px rgba(0, 0, 0, 0.3);

    background: linear-gradient(135deg, #22c55e, #15803d);
}

/* ================= ABOUT ================= */

.about {
    padding: 100px 0 60px;
}

.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(229, 231, 235, 0.85);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 30px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.about-card p {
    font-size: 16px;
    line-height: 1.7;
}

/* ================= FEATURE ================= */

.feature-wrap {
    margin-top: 40px;
}

.feature-panel {
    position: relative;
    min-height: 100vh;

    display: flex;
    align-items: flex-start;

    padding: 80px 0 120px;

    opacity: 0;
    transform: translateY(140px) scale(0.96);

    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-panel.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-panel-inner {
    width: 100%;
    padding: 70px 50px;

    border-radius: 36px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.06)
    );

    border: 1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ================= MODAL ================= */

.donation-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.donation-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.donation-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.donation-modal__window {
    position: relative;
    z-index: 1;

    width: min(920px, 92vw);
    height: min(760px, 88vh);

    display: flex;
    flex-direction: column;

    border-radius: 32px;
    overflow: hidden;

    background: linear-gradient(
        180deg,
        rgba(17, 24, 39, 0.96),
        rgba(30, 41, 59, 0.96)
    );

    border: 1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s ease;
}

.donation-modal.active .donation-modal__window {
    transform: translateY(0) scale(1);
}

.donation-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;

    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 26px;
    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition: background 0.2s ease, transform 0.2s ease;
}

.donation-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.donation-modal__header {
    flex: 0 0 auto;
    padding: 32px 32px 20px;
    color: white;
}

.donation-modal__label {
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.65);
}

.donation-modal__header h3 {
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.1;
    color: #ffffff;
}

.donation-modal__header p {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(229, 231, 235, 0.88);
}

.donation-modal__content {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 24px 24px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.donation-modal__frame {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;

    border: none;
    border-radius: 24px;
    background: #ffffff;
}

.donation-modal__fallback {
    flex: 0 0 auto;
    text-align: center;
}

.donation-modal__link {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;

    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donation-modal__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}



.feature-label {
    margin-bottom: 18px;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(229, 231, 235, 0.65);
}

.feature-panel-inner h2 {
    max-width: 800px;
    margin-bottom: 24px;
    font-size: 56px;
    line-height: 1.1;
    color: #ffffff;
}

.feature-text {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(229, 231, 235, 0.88);
}

.feature-points {
    margin-top: 40px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.feature-point {
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(229, 231, 235, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.12);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



@media (max-width: 1024px) {
    .hero h2,
    .hero-card h2 {
        font-size: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .feature-panel-inner h2 {
        font-size: 42px;
    }

    .donate-btn {
        font-size: 24px;
        padding: 16px 40px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    .header {
        padding: 16px 0;
    }

    .site-logo {
        gap: 10px;
    }

    .site-logo__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .site-logo__icon-symbol {
        font-size: 18px;
    }

    .site-logo__title {
        font-size: 18px;
    }

    .site-logo__subtitle {
        font-size: 10px;
    }

    .hero {
        min-height: auto;
        padding: 110px 0 70px;
    }

    .hero-card {
        padding: 22px 22px 16px;
        border-radius: 24px;
    }

    .hero-card h2,
    .hero h2 {
        font-size: 30px;
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .hero-card p,
    .hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .donate-btn {
        width: 100%;
        max-width: 100%;
        font-size: 22px;
        padding: 16px 20px;
        border-radius: 24px;
    }

    .about {
        padding: 70px 0 40px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .section-header p {
        font-size: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 22px;
        border-radius: 20px;
    }

    .about-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .about-card p {
        font-size: 15px;
        line-height: 1.6;
    }

    .feature-wrap {
        margin-top: 20px;
    }

    .feature-panel {
        min-height: auto;
        padding: 40px 0 70px;
    }

    .feature-panel-inner {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .feature-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .feature-panel-inner h2 {
        font-size: 30px;
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .feature-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .feature-points {
        gap: 10px;
        margin-top: 24px;
    }

    .feature-point {
        font-size: 14px;
        padding: 10px 14px;
    }

    .donation-modal__window {
        width: 94vw;
        height: 88vh;
        border-radius: 22px;
    }

    .donation-modal__header {
        padding: 22px 20px 14px;
    }

    .donation-modal__header h3 {
        font-size: 24px;
    }

    .donation-modal__header p {
        font-size: 14px;
    }

    .donation-modal__content {
        padding: 0 14px 14px;
    }

    .donation-modal__frame {
        border-radius: 16px;
    }

    .donation-modal__close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-card h2,
    .hero h2 {
        font-size: 26px;
    }

    .hero-card {
        padding: 18px 18px 14px;
    }

    .donate-btn {
        font-size: 20px;
        padding: 14px 16px;
    }

    .section-header h2,
    .feature-panel-inner h2 {
        font-size: 26px;
    }

    .about-card,
    .feature-panel-inner {
        padding: 18px;
    }

    .feature-point {
        width: 100%;
        text-align: center;
    }
}