body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.form-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.form-header {
    background-color: #111111;
    color: #ffffff;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 4px solid #d4af37;
}

.form-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 20px;
    border-radius: 50%;
}

.header-text h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
    color: #d4af37;
}

.header-text p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #cccccc;
}

.form-body {
    padding: 30px;
}

.instruction-text {
    font-size: 16px;
    color: #444444;
    margin-bottom: 25px;
    font-weight: 500;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333333;
}

.platform-box {
    margin-bottom: 10px;
}

/* Keeps fields completely invisible until activated by JS */
.hidden-field {
    display: none;
    padding-left: 32px; 
    margin-top: 5px;
    margin-bottom: 12px;
}

.handle-input {
    width: 100%;
    padding: 8px 0px;
    border: none !important;
    border-bottom: 1px dashed #cccccc !important;
    background-color: transparent !important;
    font-size: 15px;
    box-sizing: border-box;
    color: #333333;
}

.handle-input:focus {
    outline: none;
    border-bottom: 1px solid #d4af37 !important;
}

@media (max-width: 600px) {
    .handle-input {
        font-size: 16px; /* Blocks mobile browser auto-zooming */
    }
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fafafa;
}

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

.option-group {
    margin-top: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #444444;
}

.option-item input {
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

.inline-other {
    border: none !important;
    border-bottom: 1px solid #cccccc !important;
    background-color: transparent !important;
    padding: 2px 5px !important;
    width: 150px !important;
    margin-left: 5px;
}

.inline-other:focus {
    outline: none;
    border-bottom: 1px solid #d4af37 !important;
}

.terms-text {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 3px solid #d4af37;
    margin: 25px 0;
}

.submit-btn {
    background-color: #111111;
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 14px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #d4af37;
    color: #111111;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .form-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .form-header img {
        margin-right: 0;
        margin-bottom: 15px;
        width: 75px;
        height: 75px;
    }

    .header-text h1 {
        font-size: 20px;
    }

    .form-body {
        padding: 20px 15px;
    }

    .instruction-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .option-item {
        font-size: 14px;
    }
    
    .inline-other {
        width: 120px !important;
    }
}