* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: sans-serif; background: #000; color: #fff; }
header { position: fixed; width: 100%; padding: 20px; z-index: 100; display: flex; justify-content: space-between; align-items: center; }

#lang-switcher { display: flex; gap: 5px; }
.lang-btn { cursor: pointer; background: transparent; border: 1px solid white; color: white; padding: 5px 10px; border-radius: 4px; opacity: 0.5; transition: opacity 0.3s; }
.lang-btn.active { opacity: 1; border-width: 2px; }

#home { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#video-desktop, #video-mobile { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
#video-mobile { display: none; }
@media (max-width: 768px) { #video-desktop { display: none; } #video-mobile { display: block; } }

.hero-content { text-align: center; z-index: 2; padding: 20px; }
.btn { padding: 15px 30px; background: transparent; border: 2px solid white; color: white; cursor: pointer; margin-top: 15px; display: inline-block; transition: all 0.3s ease; }

#edit-name-container { margin-top: 20px; display: flex; justify-content: center; }
#edit-name-link { color: #fff !important; text-decoration: underline; display: none; background: rgba(0, 0, 0, 0.6); padding: 8px 15px; border-radius: 5px; font-size: 0.9em; transition: background 0.3s; }
#edit-name-link:hover { background: rgba(0, 0, 0, 0.8); }

.hidden { display: none !important; }
#contactMenu { background: white; color: black; padding: 10px; border-radius: 5px; margin-top: 10px; width: 200px; margin-left: auto; margin-right: auto; }
#contactMenu a { display: block; padding: 8px; color: black; text-decoration: none; border-bottom: 1px solid #eee; }

footer.social-links { position: fixed; bottom: 10px; width: 100%; text-align: center; background: rgba(0, 0, 0, 0.4); padding: 10px 0; z-index: 10; }
.social-links a { color: white !important; font-size: 20px !important; margin: 0 12px; text-decoration: none !important; }

.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.modal.open { opacity: 1; visibility: visible; }
.modal-content { position: relative; width: 90%; max-width: 400px; aspect-ratio: 480/250; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); overflow: hidden; }
.full-image-bg { background-image: url('/images/logo_small.png'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.78); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; }
.modal-text-wrapper { position: relative; z-index: 2; width: 100%; text-align: center; color: #fff; }
.modal-text-wrapper h3 { margin-bottom: 10px; font-weight: 400; font-size: 1.5em; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.modal-text-wrapper p { color: #ccc; margin-bottom: 25px; font-size: 0.9em; }
.input-wrapper { position: relative; margin-bottom: 25px; }
.modal-text-wrapper input { width: 100%; padding: 12px; background: rgba(255, 255, 255, 0.05); border: none; border-bottom: 2px solid #777; color: white; font-size: 1.1em; outline: none; transition: 0.3s; text-align: center; }
.modal-text-wrapper input:focus { border-bottom: 2px solid #fff; background: rgba(255, 255, 255, 0.1); }
.progress-bar { height: 2px; background: #444; width: 100%; margin-top: -2px; }
.modal-text-wrapper button { padding: 12px 40px; background: #fff; color: #000; border: none; border-radius: 50px; cursor: pointer; font-weight: bold; font-size: 1em; transition: background 0.3s, transform 0.2s; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.modal-text-wrapper button:hover { background: #ddd; transform: translateY(-2px); }