* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0e1a;
  color: white;
  line-height: 1.6;
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.header {
  background-color: #14192B;
  width: 100%;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  flex-wrap: wrap;
}

.logo img {
  height: 80px;
}

.nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #00bfff;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

table, th, td {
  border: 1px solid #5575A9;
}

th, td {
  padding: 8px 12px;
  text-align: left;
}


th {
  background-color: #f0f7ff;
  font-weight: 600;
}


tr:nth-child(even) {
  background-color: #161C37;
}


h1 {
  margin: 0em 0 0.8em;
  font-size: 2em;
  line-height: 1.3;
  text-align: center;
}

h2 {
  margin: 1.5em 0 0.8em;
  font-size: 1.5em;
  line-height: 1.3;
}

h3 {
  margin: 1.2em 0 0.6em;
  font-size: 1.2em;
  line-height: 1.4;
}


p {
  margin: 0 0 1em;
  line-height: 1.5;
}


ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
  line-height: 1.5;
}

li {
  margin: 0.4em 0;
  padding: 0;
}


ul ul, ol ol,
ul ol, ol ul {
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}


h2:first-child, h3:first-child,
p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

/* Navigation Panel Styles */
.panelLayout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.actionButtons {
    display: flex;
    gap: 10px;
}

.actionButtons button {
    background: transparent;
    border: none;
    color: #e6e6e6;
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.actionButtons button:hover {
    background-color: #2d2d44;
    transform: translateY(-2px);
}

.gamesBtn, .liveBtn {
    letter-spacing: 0.5px;
}

.gamepadBtn, .casinoBtn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.updateInfo {
    color: #a0a0a0;
    font-size: 14px;
    display: flex;
    gap: 6px;
}

.updateInfo time {
    color: #d4d4d4;
    font-weight: 500;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  font-size: 1.1em;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn.blue {
  background-color: #007bff;
  color: white;
}

.btn.green {
  background-color: #28a745;
  color: white;
}

.btn.yellow {
  background-color: #ffc107;
  padding: 15px 30px;
  color: black;
}


.btn.play {
  display: block;
  margin: 40px auto;
  padding: 12px 28px;
  background: linear-gradient(135deg, #AED581 0%, #8BC34A 100%);
  color: #0A0E1A;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  will-change: transform;
  animation: bounce 2s infinite;
}

.btn.play:hover {
  box-shadow: 0 4px 10px rgba(139,195,74,0.4);
}

@keyframes bounce {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  40% {
    transform: translateY(-8px);
    animation-timing-function: ease-in;
  }
  100% {
    transform: translateY(0);
  }
}


.main-content {
  padding: 30px 0;
}


.banner {
  background: url('banner.jpg') no-repeat center center;
  background-size: cover;
  padding: 50px 30px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  min-height: 350px;
  display: flex;
  align-items: center;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(10, 30, 60, 0.8) 0%, 
    rgba(10, 30, 60, 0.8) 20%, 
    rgba(10, 30, 60, 0) 100%
  );
  z-index: 1;
}

@media (max-width: 768px) {
  .logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .logo img {
    width: 200px;
    height: auto;
  } 

.banner {
  min-height: 400px;
}

.banner::before {
    background: rgba(0, 0, 0, 0.3);
  }
}

.banner-content {
  position: relative;
  z-index: 2;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 500px;
}

.banner-text {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(10, 30, 58, 0.7);
}

.faq h2 {
  text-align: center;
}

.faq h3 {
  cursor: pointer;
  position: relative;
  margin: 0 0 5px;
  padding: 10px 40px 10px 10px;
  font-size: 1.1em;
  border: 1px solid #0F1423;
  border-radius: 10px;
  background: #1B2039;
}

.faq h3::after {
  content: "➤";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: auto;
  line-height: 1; 
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.faq h3.active::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq p {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  margin: 0 0 10px;
  padding: 0 10px 0 10px;
}
.faq p.open {
  max-height: 500px;
  padding: 0 10px 0 10px;
}



/* Description */
.description {
  margin-top: 30px;
  background-color: #12172e;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background-color: #0f1322;
  color: #ccc;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: space-around;
    margin: 10px 0;
  }

  .auth-buttons {
    width: 100%;
    justify-content: space-around;
    margin-top: 10px;
  }

  .banner-content {
    align-items: flex-start;
  }

  .game-list {
    flex-direction: column;
  }

  .game {
    width: 100%;
  }

  .mobile-footer-menu {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid #1a1a1a;
  }
}

.copy a {
    color: #ccc;
    text-decoration: none;
}

.copy a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
  .navigationPanel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .panelLayout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}

        /* POPUP */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .popup-content {
            width: 400px;
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            position: relative;
        }
        
        .popup-close {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            color: #333;
            font-size: 14px;
        }
        
        .popup-image {
            max-height: 100px;
            margin: 0 auto 15px;
            display: block;
        }
        
        .popup-title {
            font-size: 25px;
            font-weight: bold;
            margin-bottom: 10px;
	    color: #0A0E1A;
        }
        
        .popup-text {
            margin-bottom: 20px;
            font-size: 14px;
	    color: #0A0E1A;
        }
        
        .popup-button {
            display: block;
            width: 100%;
            padding: 15px;
            margin-bottom: 10px;
            border: none;
            border-radius: 5px;
            color: white;
	    font-size: 16px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .play-now {
            background-color: #4285f4;
        }
        
        .download-apk {
            background-color: #34a853;
        }