/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

/* ========== Container ========== */
.survey-container {
    max-width: 900px;
    margin: 0 auto;
}

.survey-card {
    background: #1a1a2e;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Header ========== */
.survey-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.survey-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.header-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.survey-header h1 {
    font-size: 32px;
    color: #ffffff;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========== Info Boxes ========== */
.survey-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
    background: #16213e;
    border-bottom: 3px solid rgba(139, 92, 246, 0.3);
}

.info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.info-box.highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    border-color: rgba(255, 215, 0, 0.5);
}

.info-box.highlight:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.info-box i {
    font-size: 36px;
    color: #8b5cf6;
}

.info-box.highlight i {
    color: #ffd700;
}

.info-content h3 {
    font-size: 18px;
    color: #8b5cf6;
    margin-bottom: 5px;
}

.info-box.highlight .info-content h3 {
    color: #ffd700;
}

.info-content p {
    font-size: 14px;
    color: #a0a0c0;
    margin: 0;
}

.reward-text {
    color: #ffd700;
    font-size: 18px;
    font-weight: 700;
}

/* ========== Form ========== */
.survey-form {
    padding: 40px 30px;
}

.form-section {
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.section-header i {
    font-size: 28px;
    color: #8b5cf6;
}

.section-header h2 {
    font-size: 22px;
    color: #8b5cf6;
    margin: 0;
}

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

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: 12px;
}

.form-label i {
    color: #8b5cf6;
    font-size: 18px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: #0f1419;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b5cf6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.form-select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 10px;
}

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

.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: #8b5cf6;
}

.form-hint i {
    font-size: 14px;
}

.form-hint.warning {
    color: #ff9800;
}

.form-hint.warning i {
    color: #ff9800;
}

/* ========== Submit Button ========== */
.form-actions {
    margin-top: 40px;
    text-align: center;
}

.btn-submit {
    padding: 18px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit i {
    font-size: 20px;
}

/* ========== Success Message ========== */
.success-message {
    padding: 60px 30px;
    text-align: center;
}

.success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h2 {
    font-size: 32px;
    color: #4CAF50;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 18px;
    color: #a0a0c0;
    margin-bottom: 30px;
}

.reward-box {
    display: inline-block;
    padding: 25px 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    border: 3px solid rgba(255, 215, 0, 0.5);
    border-radius: 15px;
    margin: 20px 0;
}

.reward-box i {
    font-size: 50px;
    color: #ffd700;
    margin-bottom: 15px;
}

.reward-box p {
    font-size: 20px;
    color: #e0e0e0;
    margin: 0;
}

.reward-box strong {
    color: #ffd700;
    font-size: 24px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

/* ========== Notification ========== */
.notifyjs-corner {
    z-index: 10000;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .survey-header {
        padding: 30px 20px;
    }

    .survey-header h1 {
        font-size: 24px;
    }

    .header-icon {
        font-size: 50px;
    }

    .survey-info {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }

    .survey-form {
        padding: 30px 20px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .section-header i {
        font-size: 24px;
    }

    .form-label {
        font-size: 14px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 16px;
    }

    .success-message {
        padding: 40px 20px;
    }

    .success-message h2 {
        font-size: 24px;
    }

    .reward-box {
        padding: 20px 30px;
    }

    .reward-box p {
        font-size: 18px;
    }

    .btn-back {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .survey-header h1 {
        font-size: 20px;
    }

    .info-content h3 {
        font-size: 16px;
    }

    .info-content p {
        font-size: 13px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .success-icon {
        font-size: 60px;
    }

    .reward-box i {
        font-size: 40px;
    }
}

/* ========== Print Styles ========== */
@media print {
    body {
        background: white;
    }

    .survey-card {
        box-shadow: none;
    }

    .btn-submit,
    .btn-back {
        display: none;
    }
}
