* {
    box-sizing: border-box;
}

html {
    font-family: "Roboto", sans-serif;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background: #ffffff;
}

main {
    margin: 10px
}

.site-header {
    background: #fff;
    padding: 30px 40px 14px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.menu-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1f5cad;
    color: #ffd750;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.logo.admd {
    height: 90px;
    width: auto;
    display: block;
}

.header-link {
    color: #1f5cad;
    font-weight: 700;
    text-decoration: none;
}

.hero {
    max-width: 1380px;
    margin: 40px auto 0;
    padding: 0 40px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 15px;
}

.hero-overlay {
    position: absolute;

    top: 55%;
    right: 5%;

    transform: translateY(-50%);

    width: 450px;

    color: white;
    z-index: 2;
}

.hero-overlay-text {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    margin: 32px 0;
    color: #1D5183;
    width: inherit;
}

.open-registration {
    width: inherit;
}

.event-content {
    padding: 40px 20px;
    background: #ffffff;
}

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

.event-section {
    margin-bottom: 60px;
}

.event-section h2 {
    margin-bottom: 24px;
    color: #1D5183;
    font-size: 2rem;
    font-weight: 700;
}

.event-section p {
    margin-bottom: 18px;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
}

.event-bloc-text {
    border-left: 3px solid #1D5183;
    padding-left: 25px;
}

.event-practical-info {
    margin: 70px 0;
    padding: 40px;
    background: #f5f8ff;
    border-radius: 12px;
}

.event-practical-info h3 {
    margin-bottom: 30px;
    color: #1D5183;
    font-size: 1.5rem;
}

.info-grid {
    display: flex;
    justify-content: space-around;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 20px;

    background: white;
    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 300px;

    text-decoration: none;
}

.info-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.info-card strong {
    display: block;
    margin-bottom: 4px;
    color: #1D5183;
}

.info-card p {
    margin: 0;
    color: #555;
}

.info-card p strong {
    color: #555;
}

#location-card {
    cursor: pointer;
    transition: all .2s ease;
}

#location-card:hover {
    transform: translateY(-2px);
}

#location-card div {
    width: 180px;
}

.support-section {
    padding-bottom: 80px;
}

.support-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;

    background: #f5f8ff;
    border-radius: 12px;

    text-align: center;
}

.support-container h2 {
    margin: 0 0 20px;

    color: #1D5183;
    font-size: 2rem;
    font-weight: 700;
}

.support-container p {
    max-width: 700px;
    margin: 0 auto 35px;

    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.support-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);

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

    opacity: 0;
    visibility: hidden;

    transition: .25s;
    z-index: 9999;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 650px;
    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: #fff7e6;
    border-radius: 20px;

    padding: 40px;
    position: relative;

    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;

    border: none;
    background: none;

    font-size: 32px;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
    color: #1D5183;
    font-size: 36px;
}

.modal-intro {
    margin-bottom: 30px;
    color: #555;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-row label {
    margin-bottom: 8px;
    font-weight: 700;
}

.form-row input {
    border: none;
    border-radius: 12px;

    padding: 14px 16px;

    font-size: 16px;
}

.member-number-input {
    margin-left: 5px;
}

.newsletter-row {
    margin-top: 10px;
}

.newsletter-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    cursor: pointer;

    font-size: 14px;
    line-height: 1.5;
    color: #444;
}

.newsletter-label input {
    margin-top: 2px;
    flex-shrink: 0;
}

.form-error {
    margin: 16px 0px;

    color: #c62828;

    font-size: 14px;
    font-weight: 600;

    min-height: 20px;
}

.privacy-notice {
    margin-top: 20px;

    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;

    text-align: center;
}

.donation-modal-content {
    max-width: 720px;
}

.skip-donation-button {
    border: none;
    background: transparent;

    color: #1D5183;

    font-weight: 700;

    cursor: pointer;

    text-decoration: underline;

    display: block;
    margin: auto;
}

.donMenu {
    margin-left: 20px;
}

.donation-modal-content {
    max-width: 1100px;
}

.donation-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.reward-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 40px;
}

.reward-image {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.reward-title {
    margin-bottom: 20px;
}

.reward-description {
    margin-bottom: 32px;
}

.reward-features {
    display: flex;
    flex-direction: column;
    gap: 14px;

    width: 100%;
    max-width: 320px;

    margin-top: 30px;
}

.reward-feature {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 18px;

    background: #fff;
    border-radius: 14px;

    box-shadow: 0 6px 20px rgba(29, 81, 131, .08);
}

.reward-feature-icon {
    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #1D5183;
    color: white;

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

    font-weight: bold;
}

.reward-feature-text {
    font-size: 19px;
    font-weight: 500;
}

.reward-slider {
    position: relative;
    width: 260px;
    height: 260px;
    margin-bottom: 28px;
}

.reward-slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.reward-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: contain;

    opacity: 0;
    transform: scale(.96);

    transition: opacity .25s ease, transform .25s ease;
}

.reward-image.active {
    opacity: 1;
    transform: scale(1);
}

.reward-slider-button {
    position: absolute;
    top: 50%;
    z-index: 2;

    width: 36px;
    height: 36px;

    border: none;
    border-radius: 50%;

    background: #1D5183;
    color: white;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);
}

.reward-slider-prev {
    left: -50px;
}

.reward-slider-next {
    right: -50px;
}

.reward-slider-dots {
    position: absolute;
    left: 50%;
    bottom: -18px;

    display: flex;
    gap: 8px;

    transform: translateX(-50%);
}

.reward-dot {
    width: 9px;
    height: 9px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #c8d4e8;
    cursor: pointer;
}

.reward-dot.active {
    background: #1D5183;
}

.confirmation-modal-content {
    max-width: 540px;
    text-align: center;
}

.confirmation-modal-content h2 {
    margin-bottom: 20px;
    color: #1D5183;
    font-size: 42px;
}

.confirmation-text {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.confirmation-modal-content .button {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .header-inner {
        gap: 18px;
    }

    .logo img {
        height: 50px;
    }

    .header-link {
        display: none;
    }

    .hero {
        padding: 0 20px;
    }

    .hero-image {
        min-height: 520px;
    }

    .hero-overlay {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: auto;

        background: #f5f8ff;
        border-radius: 12px;
        text-align: center;
        padding: 25px;
        margin-top: 10px;
    }

    .hero-overlay-text {
        font-size: 22px;
    }

    .hero-overlay img {
        display: none;
    }

    .logo {
        max-width: 100%;
    }

    .info-grid {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 15px;
    }

    .event-section h2 {
        font-size: 1.6rem;
    }

    .event-practical-info {
        padding: 25px;
    }

    .support-container {
        padding: 35px 25px;
    }

    .support-container h2 {
        font-size: 1.6rem;
    }

    .support-actions {
        flex-direction: column;
    }

    .support-button {
        width: 100%;
    }

    .donation-layout {
        grid-template-columns: 1fr;
    }

    .iraiser-placeholder {
        min-height: 520px;
    }

    #donation-modal {
        padding: 20px;
        overflow-y: auto;
        align-items: flex-start;
    }

    #donation-modal .modal-content {
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    .donation-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .reward-block {
        padding: 20px 10px;
    }

    .reward-slider {
        width: 220px;
        height: 220px;
        margin: 0 auto 28px;
    }

    .donation-layout iframe,
    .donation-layout > div:last-child {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .skip-donation-button {
        margin-top: 24px;
        margin-bottom: 24px;
    }
}

/* =========================
   LOADER
========================= */

.button-loader {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;

    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

.button-loader {
    display: none;
}

.button-loader.active {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 16px 28px;

    border: none;
    border-radius: 999px;

    font-size: 16px;
    font-weight: 700;
    text-decoration: none;

    cursor: pointer;

    transition: all .2s ease;
}

.button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.button-primary {
    background: #1D5183;
    color: white;
}

.button-primary:hover:not(:disabled) {
    background: #1b2f66;
    transform: translateY(-2px);
}

.button-secondary {
    background: white;
    color: #1D5183;

    border: 2px solid #1D5183;
}

.button-secondary:hover:not(:disabled) {
    background: #1D5183;
    color: white;
}

.button-donation {
    background: #ff742b;
    color: white;
}

.button-donation:hover:not(:disabled) {
    background: #C06832;
    color: #FBE793;
}

.button-full {
    width: 100%;
}

.button-link {
    border: none;
    background: transparent;

    color: #1D5183;

    font-weight: 700;
    text-decoration: underline;

    cursor: pointer;
}