/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 100%;
    margin: 0 auto;
}

/* Banner Section */
.banner {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
}

.banner-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.banner-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #ffffff;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Form Container */
.form-container {
    max-width: 600px;
    margin: -80px auto 60px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.95);
    border: 2px solid #FFD700;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15);
    position: relative;
    z-index: 10;
}

.form-title {
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-description {
    text-align: center;
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form Styles */
.transfer-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 1rem;
    color: #FFD700;
    font-weight: 500;
}

.form-input {
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    border-color: #FFD700;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-input:hover {
    border-color: rgba(255, 215, 0, 0.5);
}

/* Submit Button */
.submit-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-text,
.button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Spinner Animation */
.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.spinner circle {
    stroke: #000000;
    stroke-dasharray: 50;
    stroke-dashoffset: 25;
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Form Footer */
.form-footer {
    text-align: center;
    color: #999999;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 600px;
    animation: slideDown 0.5s ease-out;
}

.success-message.hidden {
    display: none;
}

.success-content {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 16px;
}

.checkmark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    stroke-width: 3;
}

.success-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        height: 300px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .form-container {
        margin: -60px 20px 40px;
        padding: 30px 24px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .submit-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 250px;
    }

    .form-container {
        margin: -50px 16px 30px;
        padding: 24px 20px;
    }

    .form-input {
        padding: 12px 14px;
    }
}
