﻿/* === style.css === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Helvetica Neue', sans-serif;
  color: #f5cc84;
  background-color: #0d0d0d;
  height: 100%;
  overflow-x: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -3;
  opacity: 0.3;
  filter: brightness(0.5) contrast(1.6);
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: -2;
}

#bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('../image/bg.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
  opacity: 0.15;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.logo {
  height: 60px;
}

.lang-switch button {
  background: #f5cc84;
  color: #000;
  border: none;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffda8b;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #d9b96b;
}

.input-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.input-box input {
  padding: 10px;
  width: 60%;
  border-radius: 6px;
  border: none;
  background: #1a1a1a;
  color: #f5cc84;
}

.input-box button {
  padding: 10px 20px;
  border: none;
  background: linear-gradient(135deg, #b88900, #ffcc33);
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.users-count,
.online-count {
  font-size: 0.9rem;
  color: #e6c274;
  margin-top: 5px;
}

footer {
  position: fixed;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #a88c4a;
  bottom: 10px;
  left: 0;
  right: 0;
}

.footer-links a {
  color: #f5cc84;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.footer-links a:hover {
  text-decoration: underline;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  color: #f5cc84;
}

.modal-content button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #f5cc84;
  font-size: 18px;
  cursor: pointer;
}

.progress {
  background: #333;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 15px;
}

.bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, #b88900, #ffd700);
  transition: width 3s ease-in-out;
}

.cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #ffcc33;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.85);
  color: #f5cc84;
  padding: 12px 20px;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  z-index: 99999;
}

#cookie-banner p {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}

#cookie-banner a {
  color: #ffda8b;
  text-decoration: underline;
}

#cookie-banner button {
  background: linear-gradient(135deg, #b88900, #ffcc33);
  border: none;
  padding: 6px 18px;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}
