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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.2rem;
    color: #ffffff;
}

/* Discord Section */
.discord-section {
    background-color: #16213e;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.discord-section h2 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.discord-section p {
    color: #a0a0b8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #5865F2;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.discord-btn:hover {
    background-color: #4752c4;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 36px 0;
    gap: 16px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #2a2a4a;
}

.divider span {
    color: #6a6a8a;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Form Section */
.form-section {
    background-color: #16213e;
    border-radius: 12px;
    padding: 30px;
}

.form-section h2 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #c0c0d8;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background-color: #0f3460;
    border: 1px solid #2a2a5a;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5a5a7a;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5865F2;
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    background-color: #0f3460;
    border: 1px solid #2a2a5a;
    border-radius: 8px;
    color: #5a5a7a;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus {
    outline: none;
    border-color: #5865F2;
}

.custom-select.selected .custom-select-trigger {
    color: #e0e0e0;
}

.custom-select-trigger .custom-select-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-select-trigger .custom-select-text img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.custom-select-arrow {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: #0f3460;
    border: 1px solid #2a2a5a;
    border-radius: 8px;
    overflow: hidden;
    z-index: 100;
}

.custom-select.open .custom-select-options {
    display: block;
}

.custom-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: background-color 0.15s;
}

.custom-select-option:hover {
    background-color: #1a4a7a;
}

.custom-select-option.active {
    background-color: #1a4a7a;
}

.custom-select-option img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #5865F2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #4752c4;
}

.submit-btn:disabled {
    background-color: #3a3a5a;
    cursor: not-allowed;
}

/* Form Status */
.form-status {
    text-align: center;
    margin-top: 14px;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f87171;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    color: #5a5a7a;
    font-size: 0.85rem;
}

footer a,
footer a:visited {
    color: #38bdf8;
    text-decoration: none;
}

footer a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}
