* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    overflow-x: hidden;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-container img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

header nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s;
}

header img {
    width: 180px;
    height: 45px;
    cursor: pointer;
}
header nav a:hover {
    color: #0D85FD;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background-image: url('https://pub-d718cdf579084d1e9010ce7fe6e98919.r2.dev/img/donate_background.png');
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-out;
}

.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 120px auto 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.donate-card .logo {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 30px;
}

.donate-card h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.donate-card .subtitle {
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #0D85FD;
    box-shadow: 0 0 0 4px rgba(13, 133, 253, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.submit-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: #0D85FD;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 133, 253, 0.4);
    background: #0a6ed4;
}

.info-box {
    background: rgba(255, 255, 255, 0.15);
    border-left: 4px solid #0D85FD;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.info-box p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

footer {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    width: 150px;
    height: auto;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-container img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-logo-container span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-links a:hover {
    color: #0D85FD;
}

.footer-info {
    color: #ddd;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-info p {
    margin: 5px 0;
}

.business-info {
    color: #bbb;
    font-size: 0.85rem;
    margin-top: 15px;
    line-height: 1.6;
}

.business-info span {
    margin: 0 8px;
}

.business-info span:first-child {
    margin-left: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease-out;
}

.modal-content .form-group label {
    color: #333;
    text-shadow: none;
}

.modal-content .form-group input {
    background: #fff;
    border: 2px solid #e0e0e0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.modal-header h2 {
    color: #333;
    font-size: 1.8rem;
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.close-button:hover {
    color: #333;
}

.modal-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #0D85FD;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.modal-button:hover {
    background: #0a6ed4;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    header {
        padding: 15px 25px;
    }

    .logo-container img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    header nav a {
        margin-left: 15px;
        font-size: 0.9rem;
    }

    .container {
        margin-top: 100px;
    }

    .donate-card {
        width: 100%;
        padding: 35px 25px;
    }

    .donate-card h1 {
        font-size: 1.8rem;
    }

    .donate-card .logo {
        width: 150px;
    }

    .modal-content {
        padding: 30px 25px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}