/* Moved from inline <style> in index.html to comply with CSP (no unsafe-inline) */
body {
  margin: 0;
  background-color: #f5f5f5;
}
.logo { position: fixed; top: -50px; left: -120px; z-index: 100; background-color: #f5f5f5; padding: 10px; border-radius: 8px; }
.logo img { width: 360px; height: 120px; object-fit: contain; }
.top-right-icons { position: fixed; top: 15px; right: 20px; z-index: 100; display: flex; gap: 15px; }
.icon-btn { width: 40px; height: 40px; cursor: pointer; transition: all 0.3s ease; border-radius: 8px; padding: 5px; background-color: rgba(245,245,245,0.8); border: 2px solid transparent; }
.icon-btn:hover { background-color: rgba(255,255,255,0.9); border-color: rgba(38,136,196,0.3); transform: scale(1.1); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.icon-btn img { width: 100%; height: 100%; object-fit: contain; will-change: auto; backface-visibility: hidden; }
#lan-btn { border: 1px solid rgba(38,136,196,0.2); }
#lan-btn:hover { border: 1px solid rgba(38,136,196,0.5); background-color: rgba(255,255,255,0.95); }
#per-btn { border: 1px solid rgba(38,136,196,0.2); }
#per-btn:hover { border: 1px solid rgba(38,136,196,0.5); background-color: rgba(255,255,255,0.95); }
.language-dropdown { position: absolute; top: 100%; right: 0; background: white; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); padding: 4px 0; min-width: 80px; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 9999; pointer-events: none; }
.language-dropdown.show { opacity: 1; visibility: visible; pointer-events: auto; }
.language-dropdown-item { padding: 6px 12px; cursor: pointer; transition: background-color 0.2s ease; font-size: 13px; color: #333; text-align: center; }
.language-dropdown-item:hover { background-color: #f5f5f5; }
.language-container { position: relative; }
.user-container { position: relative; }
.middle-content { position: fixed; top: 30%; left: 50%; transform: translate(-50%, -50%); width: 60%; max-width: 600px; display: flex; align-items: center; justify-content: center; gap: 20px; z-index: 50; }
.left-text { flex: 0 1 auto; color: #333; font-size: 18px; line-height: 1.6; margin-top: -30px; display: flex; flex-direction: column; align-items: flex-end; }
.left-text .title { font-size: 32px; font-weight: bold; margin-bottom: 0px; color: #2688c4; text-align: right; }
.left-text #sub-title { text-align: right; font-size: 24px; font-weight: 600; color: #3a3c71; margin-top: 10px; }
.right-icon { flex: 0 1 auto; text-align: center; }
.right-icon img { width: 250px; height: 250px; object-fit: contain; }
.three-sections { position: fixed; top: 65%; left: 50%; transform: translate(-50%, -50%); width: 85%; max-width: 1000px; display: flex; justify-content: space-between; gap: 35px; z-index: 30; }
.section { flex: 1; background: rgba(255,255,255,0.9); border-radius: 15px; padding: 40px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.1); transition: all 0.3s ease; border: 2px solid transparent; cursor: url('./tennisball.png') 16 16, pointer; text-decoration: none; color: inherit; display: block; }
.section:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); border-color: #2688c4; }
.section:active { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(0,0,0,0.12); border-color: #2688c4; }
.section h3 { margin: 0 0 20px 0; font-size: 24px; color: #2688c4; font-weight: bold; }
.section p { margin: 0; font-size: 20px; color: #666; line-height: 1.6; }
.more-features { position: fixed; top: 85%; left: 50%; transform: translateX(-50%); text-align: center; z-index: 30; }
.more-features p { margin: 0; font-size: 16px; color: #999; font-style: italic; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.legal-info { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 30; background: transparent; padding: 10px 20px; }
.legal-info p { margin: 0; font-size: 12px; color: #666; line-height: 1.4; }

@media (max-width: 768px) {
  .logo { top: -30px; left: -60px; }
  .logo img { width: 200px; height: 70px; }
  .top-right-buttons { top: 5px; right: 10px; gap: 10px; }
  .top-right-buttons button { padding: 1px 12px; font-size: 12px; }
  .middle-content { top: 25%; width: 90%; max-width: 500px; gap: 20px; }
  .left-text .title { font-size: 24px; margin-bottom: 10px; }
  .left-text { font-size: 16px; }
  .left-text #sub-title { font-size: 20px; }
  .right-icon img { width: 150px; height: 150px; }
  .three-sections { top: 65%; width: 90%; max-width: 600px; flex-direction: column; gap: 20px; }
  .section { padding: 25px; margin: 0 10px; }
  .section h3 { font-size: 20px; margin-bottom: 15px; }
  .section p { font-size: 16px; }
  .more-features { top: 90%; }
  .legal-info { bottom: 10px; padding: 8px 15px; }
  .legal-info p { font-size: 11px; }
}

@media (max-width: 480px) {
  .logo { top: -20px; left: -40px; }
  .logo img { width: 150px; height: 50px; }
  .middle-content { top: 20%; width: 95%; gap: 15px; }
  .left-text .title { font-size: 20px; }
  .left-text { font-size: 14px; }
  .left-text #sub-title { font-size: 18px; }
  .right-icon img { width: 120px; height: 120px; }
  .three-sections { top: 58%; width: 95%; gap: 15px; }
  .section { padding: 20px; margin: 0 5px; }
  .section h3 { font-size: 18px; }
  .section p { font-size: 14px; }
  .more-features { top: 88%; }
  .legal-info { bottom: 5px; padding: 6px 12px; }
  .legal-info p { font-size: 10px; }
}


