
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #fff;
}
.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 20px;
}

.top-header {
  background-image: linear-gradient(to top, #092a63 0, #31449e 70%, #254290 100%);
  padding: 1px 0;
}
.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-header .left {
  display: flex;
  align-items: center;
  gap: 40px;
}
.top-header .logo {
  height: 80px;
}
.top-header .slogan-img {
  height: 50px;
  line-height: 1.2;
}
.top-header .right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-header .right .login-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-icon {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  background-color: #061442;
  border-radius: 20px;
  padding: 0 10px;
  transition: all 0.2s;
  width: 185px;
}
.input-icon i.icon-left {
  position: absolute;
  left: 15px;
  color: #ccc;
  font-size: 16px;
  pointer-events: none;
}
.input-icon i.icon-right {
  position: absolute;
  right: 15px;
  color: #ccc;
  font-size: 16px;
  cursor: pointer;
}
.input-login {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  padding: 0 35px;
  line-height: 36px;
  border-radius: 20px;
}
.login-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.input-login::placeholder {
  color: #ccc;
}
.input-login:focus {
  outline: none;
}
.input-icon.focused {
  outline: 2px solid white;
}

.btn-login {
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  -webkit-text-stroke: 0.02px black;
text-shadow:
  -0.5px -0.1px 0 #000,
   0.5px -0.1px 0 #000,
  -0.5px  0.1px 0 #000,
   0.5px  0.1px 0 #000;

}
.btn-login.green {
  background-color: #28a745;
}
.btn-login.blue {
  background-color: #0d6efd;
}

.between-header {
  background: #2161b4;
}
.menu-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.menu-bar a {
  color: #fff;
  padding: 15px 10px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  font-size: 16px;
-webkit-text-stroke: 0.05px black;
text-shadow:
  -0.5px -0.5px 0 #000,
   0.5px -0.5px 0 #000,
  -0.5px  0.5px 0 #000,
   0.5px  0.5px 0 #000;
}

.menu-bar a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0; 
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid #fdf8b0;
  display: none;
}

.menu-bar a:hover::after,
.menu-bar a.active::after {
  display: block;
}
.label {
  font-size: 10px;
  background: red;
  color: #fff;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: 5px;
}

.bottom-header {
  background-color: #132b53;
}
.bottom-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.bottom-bar .time {
  font-size: 15px;
  -webkit-text-stroke: 0.05px black;
text-shadow:
  -0.5px -0.5px 0 #000,
   0.5px -0.5px 0 #000,
  -0.5px  0.5px 0 #000,
   0.5px  0.5px 0 #000;

}
.bottom-bar .live {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px;
  white-space: nowrap;
}


.online-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 25px;
  background: linear-gradient(to bottom, #0066ff, #0033cc);
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  transform: skew(-5deg);
  box-shadow: 1px 1px 0 #f8d44c;
  border: 1px solid #ccc;
}

.online-box span {
  transform: skew(5deg); 
}


.bottom-bar span {
  color: #fff;
  font-size: 16px;
}

.links {
  display: flex;
  align-items: center;
  background-color: #0f2b50;
  border-radius: 4px;
  padding: 0 20px;
}

.links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 15px;
  color: #fef8a1;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.links a:hover {
  background-color: #1a3d6d;
  border-radius: 4px;
}

.links .line {
  width: 1px;
  height: 22px;
  background-color: #34507b;
  margin: 0 5px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.user-details {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-details .username,
.user-details .balance {
  font-weight: bold;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.user-details a {
  text-decoration: none;
}
.user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-actions a {
  text-decoration: none;
}
.btn-login.orange {
  background-color: #ffc107;
  color: rgb(19, 18, 16);
}

.btn-login.dark {
  background-color: #343a40;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropdown-toggle {
  background-color: #343a40;
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  -webkit-text-stroke: 0.02px black;
  text-shadow:
    -0.5px -0.1px 0 #000,
     0.5px -0.1px 0 #000,
    -0.5px  0.1px 0 #000,
     0.5px  0.1px 0 #000;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 90%;       
  padding-top: 20px;    
  background-color: transparent;
  z-index: 99;
}

.dropdown-inner {
  background-color: #ffffff;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 10px 0;
}

.dropdown-inner::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 30px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid white;
}

.dropdown-inner a {
  color: #222;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background 0.2s;
}
.dropdown-inner a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.top-contact-bar-container {
    background-color: #063d80;
    padding: 15px 0;
}

.top-contact-bar {
    width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
}

.contact-item i {
    border: 3px solid #f9e18a;
    color: #f9e18a;
    border-radius: 50%;
    padding: 14px;
    font-size: 36px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-footer {
    border-top: 1px solid #142f75;
    background-color: #030c3b;
    padding: 15px 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 12px;
    color: #fff;
    letter-spacing: 0.5px;
}

.register-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-popup.hidden {
    display: none;
}

.register-modal {
    background-color: #08174f;
    border: 2px solid #f9e18a;
    border-radius: 10px;
    width: 1100px;
    max-width: 95%;
    position: relative;
    display: flex;
    overflow: hidden;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.register-content {
    display: flex;
    width: 100%;
    padding: 10px;
}

.register-left {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-left img {
    width: 100%;
    height: auto;
    display: block;
}

.register-right {
    width: 55%;
    padding: 30px 25px;
    color: #fff;
}

.register-right h2 {
    font-size: 35px;
    color: #f9e18a;
    margin-bottom: 5px;
}

.register-right p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.register-right p a {
    color: #00b7ff;
    font-weight: bold;
    text-decoration: none;
    margin-right: 10px;
}

.register-right .try-link {
    float: right;
    font-size: 13px;
    font-weight: bold;
    color: white;
    background: #003b80;
    padding: 2px 10px;
    border-radius: 6px;
    text-decoration: none;
}

.register-right form {
    display: flex;
    flex-direction: column; 
    gap: 12px;
    background-color: #030c3b;
    border-radius: 10px;
    padding: 10px;
}

.register-right input[type="text"],
.register-right input[type="password"] {
    width: 100%; 
    padding: 10px;
    border: 1px solid #f9e18a;
    border-radius: 6px;
    background: black;
    color: white;
    font-size: 14px;
}


.register-right input::placeholder {
    color: #ccc;
    font-size: 13px;
}

.register-right label {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-top: 5px;
    color: #fff;
    padding-bottom: 5px;
}

.register-right input[type="checkbox"] {
    margin-right: 6px;
}

.register-buttons {
    flex: 1 1 100%;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit {
    flex: 1;
    background: linear-gradient(to right, #f6d365, #fda085);
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.btn-cancel {
    flex: 1;
    background: #007bff;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

