body {
    background-color: #333333;
    color: #e0e0e0;
    font-family: 'Arial', sans-serif;
    padding-top: 56px; /* Offset for fixed navbar */
}
.navbar {
    background-color: #2a2a2a;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23a473ce' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.hero-section {
    background: linear-gradient(135deg, #a473ce 0%, #7b4ca4 100%);
    padding: 4rem 0;
}
.form-section {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-primary {
    background-color: #a473ce;
    border-color: #a473ce;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #7b4ca4;
    border-color: #7b4ca4;
}
.btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}
.form-control {
    background-color: #3a3a3a;
    border-color: #a473ce;
    color: #e0e0e0;
}
.form-control:focus {
    background-color: #3a3a3a;
    border-color: #a473ce;
    box-shadow: 0 0 5px rgba(164, 115, 206, 0.5);
    color: #e0e0e0;
}
.form-control::placeholder {
    color: #a0a0c0;
}
.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: 1.5em;
}
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: 1.5em;
}
.content-section {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.content-section h2 {
    color: #a473ce;
    margin-top: 1.5rem;
}
.content-section h1 {
    color: #a473ce;
    margin-top: 1.5rem;
}
.content-section a {
    color: #a473ce;
    text-decoration: none;
}
.content-section a:hover {
    color: #7b4ca4;
}
.alert {
    display: none;
    margin-top: 1rem;
}
footer a {
    color: #a473ce;
    text-decoration: none;
}
footer a:hover {
    color: #7b4ca4;
}
.modal-content {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #a473ce;
}
.modal-header {
    border-bottom: 1px solid #a473ce;
}
.modal-footer {
    border-top: 1px solid #a473ce;
}
.modal-title {
    color: #a473ce;
}
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); /* White close button */
}
.modal-body a {
    color: #a473ce;
    text-decoration: none;
}
.modal-body a:hover {
    color: #7b4ca4;
}
.giveaway-caption {
    text-decoration: none;
}
@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    .form-section {
        padding: 1.5rem;
    }
    .content-section {
        padding: 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
}