:root {
      --bg-dark: #121212;
      --bg-light: #ffffff;
      --text-dark: #ffffff;
      --text-light: #121212;
      --primary-color: #4dcfff;
      --box-dark: #1e1e1e;
      --border-color: #333;
    }

    [data-theme="dark"] {
      background-color: var(--bg-dark);
      color: var(--text-dark);
    }

    [data-theme="light"] {
      background-color: var(--bg-light);
      color: var(--text-light);
    }

    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: var(--bg-dark);
      color: var(--text-dark);
      transition: background 0.3s, color 0.3s;
    }

    a, .btn {
      color: var(--primary-color);
    }
	  a {
	text-decoration: none;
	  }

    .btn-primary {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
      color: #000;
    }

    .btn-outline-light {
      border-color: var(--primary-color);
      color: var(--primary-color);
    }

    .top-bar {
      background-color: var(--box-dark);
      padding: 10px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .side-menu {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100%;
      background-color: var(--box-dark);
      color: var(--text-dark);
      padding: 20px;
      transition: left 0.3s ease;
      z-index: 1000;
      overflow-y: auto;
    }

    .side-menu.active {
      left: 0;
    }

    .menu-toggle, .menu-close {
      font-size: 24px;
      cursor: pointer;
      color: var(--primary-color);
    }

    .menu-close {
      display: block;
      text-align: right;
      margin-bottom: 10px;
    }

    .banner {
      background: url('/images/banner.jpg') left/cover no-repeat;
      height: 300px;
      width: 100%;
      background-color: var(--box-dark);
		 position: relative;
		display: flex;
  justify-content: center;
  align-items: center;
    }
	  .banner-logo {
  max-width: 80%;
  height: auto;
}

    .search-bar {
      background-color: var(--box-dark);
      padding: 20px;
    }

    .search-bar input,
    .search-bar select {
      background-color: #1a1a1a;
      color: #fff;
      border: 1px solid var(--border-color);
    }

    .image-grid {
      background-color: var(--bg-dark);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      padding: 20px;
    }

    .image-grid img {
      max-width: 160px;
      height: auto;
      border-radius: 8px;
    }

    .footer {
      background-color: var(--box-dark);
      color: white;
      padding: 40px 20px;
    }

    .footer a {
      color: var(--primary-color);
      text-decoration: none;
    }

    .bottom-nav {
      display: none;
    }

    .theme-switch {
      cursor: pointer;
      font-size: 22px;
      color: var(--primary-color);
    }

    .side-menu .logo {
      display: none;
      text-align: center;
      margin-bottom: 20px;
    }

    .side-menu .logo img {
      max-width: 120px;
    }

    .side-menu.active .logo {
      display: block;
    }

    @media (max-width: 768px) {
      .n-none {
       display: none !important;
      }

      .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        background-color: var(--box-dark);
        padding: 10px 0;
        z-index: 1000;
      }

      .bottom-nav a {
   /*     color: var(--primary-color);
        text-align: center;
        font-size: 18px;
        flex: 1;*/
      }

      .bottom-nav i {
        display: block;
        font-size: 20px;
      }
    }
	  /* Grid */
.grid-container {
margin-bottom: 150px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
	padding: 20px;
}

.grid-item {
    width: 180px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}
/* Dark Modals */
.modal-content {
    background-color: #222;
    color: white;
}

.modal-header {
    border-bottom: 1px solid #444;
}

.modal-footer {
    border-top: 1px solid #444;
}
	  .game-box {
            position: relative;
            width: 180px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
           
            background-size: cover;
            background-position: center;
           
            overflow: hidden;
            transition: background-color 0.3s;
			text-transform: uppercase;
        }
        .game-box:hover {
        /*    background-color: #141414;
			background-image: none !important;*/
        }
        .game-box h4,
        .game-box a {
            position: absolute;
            color: white;
            text-shadow: 1px 1px 2px black;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .game-box:hover h4,
        .game-box:hover a {
            opacity: 1;
        }
        .game-box h4 {
            bottom: 70px;
            width: 100%;
	display: block;
	text-align: center;
            margin: 0;
	font-size: 16px;
        }
        .game-box:hover a.play {
		position: absolute;
	left: 10px;
            bottom: 10px;
            
            padding: 5px 10px;
            background-color: rgba(0, 0, 0, 0.7);
            text-decoration: none;
            border-radius: 4px;
        }
	.game-box:hover a.demo {
		position: absolute;
		right: 10px;
            bottom: 10px;
            margin-left: 10px;
            padding: 5px 10px;
            background-color: rgba(0, 0, 0, 0.7);
            text-decoration: none;
            border-radius: 4px;
        }
		   @media (max-width: 768px) {
            .game-box {
                width: calc(25% - 20px);
                padding-bottom: calc(25% - 20px);
            }
        }
	  .game-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.game-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
max-height: 145px;	
}

.game-wrapper:hover img {
  transform: scale(1.03);
}

.game-buttons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-around;
  opacity: 0;
  padding: 10px 0;
  transition: opacity 0.3s ease;
}

.game-wrapper:hover .game-buttons {
  opacity: 1;
}

.game-btn {
  text-decoration: none;
  color: white;
  background-color: #28a745;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.2s ease;
}

.game-btn.demo {
  background-color: #17a2b8;
}

.game-btn:hover {
  background-color: #1e7e34;
}

.game-btn.demo:hover {
  background-color: #117a8b;
}
input::placeholder {
  color: #aaa !important;
}
.form-select {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #444;
  background-color: transparent;
  color: white;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  appearance: none;
}

.form-select {
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  padding-right: 30px;
}
	@media screen and (max-width: 767px) {
  

  .mobile-menu-item {
    color: #ccc;
    text-decoration: none;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
  }

  .mobile-menu-item i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }

  .mobile-menu-item:hover {
    color: #fff;
  }
	
}  
	  img.payment-logo {
cursor: pointer;
height: 100%;
max-width: 60px;
}
.table-responsive table td,
.table-responsive table th {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.table-responsive table thead th,
.table-responsive table tbody th {
  color: #fff;
}

.table-responsive table tbody td {
  font-weight: 500;
  color: rgba(255,255,255,.65);
}
	  .calendar {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
    }

    .event {
      background: #222;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.2s ease;
    }

    .event:hover {
      transform: translateY(-5px);
    }

    .event img {
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
    }

    .event-text {
      padding: 15px;
    }

    .event-text h3 {
      margin: 0 0 10px;
      font-size: 1.5em;
    }

    .event-text p {
      margin: 0;
		font-size: 1em;
      color: #fff;
    }
	  @media (max-width: 480px) {
     

      .event-text h3 {
        font-size: 1em;
      }

      .event-text p {
        font-size: 0.9em;
      }
    }
ol li {text-align: left;}
	  .content {
		  margin-top: 10px;
  position: relative;
 /* background: #E4E9F7;*/
  min-height: 100vh;
  margin-left: auto;
 margin-right: auto;		  
  width: 98%;
  transition: all 0.5s ease;
/*  z-index: -1;*/
}
/* Dark background for the tabs container */
.nav-tabs {
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
  padding: 0.5rem;
}

/* Each nav item (the <a> or <button> inside nav-item) */
.nav-tabs .nav-item .nav-link {
  color: #4dcfff;
  background-color: transparent;
  border: 1px solid transparent;
  margin-right: 0.5rem;
  border-radius: 0.25rem 0.25rem 0 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover effect */
.nav-tabs .nav-item .nav-link:hover {
  background-color: #2a2a2a;
  border-color: #4dcfff;
  color: #4dcfff;
}

/* Active tab */
.nav-tabs .nav-item .nav-link.active {
  background-color: #2c2c2c;
  border-color: #4dcfff #4dcfff #1a1a1a;
  color: #4dcfff;
}

/* Tab content container */
.tab-content {
  background-color: #1a1a1a;
  color: #4dcfff;
  border: 1px solid #333;
  border-top: none;
  padding: 1rem;
}

/* Optional: style buttons inside the tab content */
.tab-content .btn {
  background-color: transparent;
  color: #4dcfff;
  border: 1px solid #4dcfff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-content .btn:hover {
  background-color: #4dcfff;
  color: #1a1a1a;
}
  .copied-message {
    margin-left: 10px;
    color: green;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
  }

  .copied-message.visible {
    opacity: 1;
  }

  .copy-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .copy-row input {
    flex: 1;
  }
	  #paymentIframe {width: 100%;height: 450px;}	  
	  .btn.active {background-color: #4dcfff;color: #fff;}

.pre-ribbon {
  position: absolute;
  top: 8px;
  left: -8px;
  background: #28a745;
  color: white;
  font-weight: bold;
  padding: 4px 12px;
/*  transform: rotate(-45deg);*/
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 5;
}