* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

.horse-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(42, 42, 42, 0.8);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}


.main-horse {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.main-horse:hover {
    transform: scale(1.02);
}

/* Language selector */
.language-selector {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.language-selector h2 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #d4af37;
    font-weight: 600;
    position: relative;
}

.language-flags {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flag-btn {
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.flag-btn:hover {
    background: rgba(52, 52, 52, 0.9);
    border-color: #d4af37;
    transform: translateY(-2px);
}

.flag-btn.active {
    background: #d4af37;
    border-color: #d4af37;
    color: #1a1a1a;
    font-weight: 600;
}

/* Text sections */
.text-section {
    margin-bottom: 60px;
    position: relative;
}

.text-content {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.text-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.6;
}

.text-content p:last-child {
    margin-bottom: 0;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(212, 175, 55, 0.3);
}

.divider-text {
    padding: 0 20px;
    color: #d4af37;
    font-size: 18px;
    font-weight: 600;
}

/* Survey form */
.survey-section {
    margin-bottom: 60px;
    position: relative;
}

.survey-form {
    background: rgba(42, 42, 42, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.question-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #d4af37;
    line-height: 1.4;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    background: rgba(51, 51, 51, 0.8);
    border-radius: 12px;
    padding: 15px 20px;
    border: 1px solid rgba(85, 85, 85, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-wrap: wrap;
}

.radio-label:hover {
    background: rgba(60, 60, 60, 0.9);
    border-color: rgba(212, 175, 55, 0.5);
}

.radio-label input[type="radio"] {
    margin-right: 12px;
    margin-top: 2px;
    transform: scale(1.1);
    accent-color: #d4af37;
    flex-shrink: 0;
    flex-basis: auto;
}

.radio-label input[type="radio"]:checked + span {
    color: #d4af37;
    font-weight: 600;
}

.radio-label span {
    flex: 1;
    min-width: 0;
}

.radio-label:has(input[type="radio"]:checked) {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
}

/* Input fields */
.other-input, .comment-input, .email-input, .text-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(51, 51, 51, 0.8);
    border: 2px solid rgba(85, 85, 85, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.other-input {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 15px;
    display: block;
    box-sizing: border-box;
    flex-basis: 100%;
}

.other-input:focus, .comment-input:focus, .email-input:focus, .text-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(60, 60, 60, 0.9);
}

.other-input::placeholder, .comment-input::placeholder, .email-input::placeholder, .text-input::placeholder {
    color: #999;
}

.comment-input {
    min-height: 100px;
    resize: vertical;
}

/* Submit button */
.submit-btn {
    width: 100%;
    background: #d4af37;
    border: none;
    border-radius: 15px;
    padding: 18px 30px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(42, 42, 42, 0.8);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-text p {
    font-size: 16px;
    color: #d4af37;
    font-weight: 600;
    margin: 0;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(42, 42, 42, 0.8);
}

.instagram-link:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.instagram-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    border-radius: 3px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        margin-bottom: 40px;
        padding-top: 30px;
    }
    
    .horse-image {
        padding: 20px;
        border-radius: 20px;
    }
    
    .language-flags {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .flag-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .survey-form {
        padding: 30px;
        border-radius: 20px;
    }
    
    .text-content {
        padding: 30px;
        border-radius: 15px;
    }
    
    .question-label {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .question-label::before {
        left: -15px;
        width: 3px;
        height: 18px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .radio-group {
        gap: 12px;
    }
    
    .radio-label {
        padding: 15px 20px;
        border-radius: 12px;
    }
    
    .other-input {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        flex-basis: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        margin-bottom: 30px;
        padding-top: 20px;
    }
    
    .horse-image {
        padding: 15px;
        border-radius: 15px;
    }
    
    .language-flags {
        gap: 12px;
    }
    
    .flag-btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .survey-form {
        padding: 20px;
        border-radius: 15px;
    }
    
    .text-content {
        padding: 20px;
        border-radius: 12px;
    }
    
    .question-label {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .question-label::before {
        left: -12px;
        width: 2px;
        height: 16px;
    }
    
    .radio-label {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .other-input, .comment-input, .text-input {
        padding: 12px 15px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-basis: 100%;
        margin-top: 10px;
    }
    
    .submit-btn {
        padding: 18px 30px;
        font-size: 16px;
    }
}

/* Beautiful Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Apply animations */
.header {
    animation: fadeInUp 0.8s ease-out;
}

.text-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.language-selector {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.survey-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.footer {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}


/* Divider animation */
.divider {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.success-notification {
    background: #4CAF50;
    border: 2px solid #45a049;
}

.error-notification {
    background: #f44336;
    border: 2px solid #d32f2f;
}

.notification-icon {
    font-size: 24px;
}

.notification-text h3 {
    margin: 0 0 5px 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.notification-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}


.missing-question {
    animation: highlightPulse 0.6s ease-in-out 3;
    border: 2px solid #e74c3c !important;
    border-radius: 10px !important;
    background: rgba(231, 76, 60, 0.1) !important;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.contact-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.contact-section h3 {
    color: #d4af37;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.contact-section p {
    text-align: center;
    margin-bottom: 20px;
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #e0e0e0;
    font-size: 16px;
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: #d4af37;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d4af37;
}

.contact-fields {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.contact-fields.show {
    display: block;
}

.privacy-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #d4af37;
}

.privacy-text {
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}