@font-face {
  font-family: "Geogrotesque Wide";
  src:
    url("https://twotrax.gg/font/geogrotesque-wide-medium-webfont.woff2") format("woff2"),
    url("https://twotrax.gg/font/geogrotesque-wide-medium-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geogrotesque Wide";
  src:
    url("https://twotrax.gg/font/geogrotesque-wide-semi-bold-webfont.woff2") format("woff2"),
    url("https://twotrax.gg/font/geogrotesque-wide-semi-bold-webfont.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geogrotesque Wide";
  src:
    url("https://twotrax.gg/font/geogrotesque-wide-bold-webfont.woff2") format("woff2"),
    url("https://twotrax.gg/font/geogrotesque-wide-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

#auth-slot .user-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(20, 24, 37, 0.9);
  border: 1px solid rgba(255,255,255,0.12);
  padding: .35rem .5rem .35rem .35rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

#auth-slot .user-chip .avatar {
  width: 32px; height: 32px; border-radius: 50%;
}

#auth-slot .user-chip .name {
  color: #e5e7eb; font-size: 14px; line-height: 1; max-width: 160px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

#auth-slot .btn-gear, 
#auth-slot .btn-logout, 
#auth-slot .btn-login {
  appearance: none; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; background: #111827; color: #d1d5db;
  font-size: 12px; line-height: 1; padding: .45rem .55rem; cursor: pointer;
}

#auth-slot .btn-gear { display:inline-flex; align-items:center; justify-content:center; width: 34px; height: 34px; padding:0; }
#auth-slot .btn-gear:hover, #auth-slot .btn-login:hover, #auth-slot .btn-logout:hover {
  background: #1f2937; color: #fff; border-color: rgba(255,255,255,0.25);
}

#auth-slot-wrapper { pointer-events: auto; }

.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.6); }
.modal-panel {
  position:relative; max-width:520px; margin:10vh auto 0; background:#0f1115;
  border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:20px; color:#fff;
}
.modal-title-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.modal-close-x { background:transparent; border:none; color:#9aa4b2; font-size:20px; line-height:1; cursor:pointer; }
.modal-input { width:100%; padding:.6rem .7rem; background:#151922; border:1px solid rgba(255,255,255,.08); border-radius:10px; color:#fff; }
.modal-actions { display:flex; gap:.6rem; justify-content:flex-end; margin-top:1.2rem; }
.modal-btn-primary { padding:.55rem .9rem; border-radius:10px; background:#2d6cdf; color:#fff; border:none; cursor:pointer; }
.modal-btn-secondary { padding:.55rem .9rem; border-radius:10px; background:transparent; color:#d1d5db; border:1px solid rgba(255,255,255,.15); cursor:pointer; }



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Geogrotesque Wide', sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #3c3c3c;
  background-attachment: fixed;
  background-size: cover;
}

.canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

main {
  flex-grow: 1;
}

.sticky-header {
  position: relative;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  width: 70rem;
  max-width: 70rem;
  background: #5a5959;
  height: 200px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  background-size: 300% 300%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-radius: 15px;
}

.sticky-header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  width: 45rem;
  max-width: 75rem;
  position: relative;
}

.nav-left, 
.nav-right {
  display: flex;
  align-items: center;
  flex: 1;
  transition: justify-content 0.3s ease;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.logo {
  flex: none;
  margin-right: auto;
  text-align: left;
}

.logo img {
  height: auto;
  width: 12rem;
  padding: 10px;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 0.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #d1d1d1;
  padding: 0.625rem 0.9375rem;
  display: block;
  font-size: 1.8vw;
}

.rain {
}

.offers {
}

.socials {
  color: white;
  background-color: transparent;
  background-image: url('images/trackmarks.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

nav ul li a:hover {
  color: white;
}


.hidden {
  display: block;
  opacity: 0.0;
  pointer-events: none;
}

.hidethis {
  opacity: 0.0;
  pointer-events: none;
}

.dropdown {
  position: relative;
  z-index: 5000;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #5A4975, #2A1E44);
  border: 0.25rem solid transparent;
  border-image: linear-gradient(135deg, rgba(105, 23, 23, 1), rgba(127, 44, 44, 1), rgba(105, 23, 23, 1));
  border-image-slice: 1;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  border-radius: 0.9375rem;
  min-width: 10rem;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.2s ease-in-out;
}

.dropdown:hover .dropdown-content {
  display: block;
  visibility: visible;
  opacity: 1;
}

.dropdown:hover .dropbtn {
  background-color: #8f5d49;
}

.dropdown-content a img {
  width: 152px;
  height: 39px;
  object-fit: cover;
}

.dropdown-content a {
  color: #000000;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #232127;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #8f5d49;
}

ul li a i {
  font-size: 1rem;
}

.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
    background-color: #333;
    border-radius: 5px;
	color: black;
}


::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

::-webkit-scrollbar-corner {
  background: rgba(255, 255, 255, 0.1);
}

:root {
  font-size: 16px;
}

ul li a i {
	font-size: 2rem; 
}

footer {
  background: #5a5959;
  color: #fff;
  padding: 20px 0;
  width: 100%;
  position: relative;
  z-index: 1;
  border-top: 0.250rem solid;
  border-image: linear-gradient(to right, #232323, #232323, #232323) 1;
  text-shadow: 0 0 2px black, 0 0 5px black;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1 1 48%;
  text-align: center;
  border-radius: 8px;
  transition: background-color 0.3s;
  position: relative;
  box-sizing: border-box;
  align-items: center;
}

.footer-container .socials {
  margin-right: 2%;
  padding-bottom: 20px;
  font-size: 30px;
}

.footer-section.socials ul li a .fab {
  font-size: 48px;
  transition: transform 0.3s ease;
}

.footer-section.socials ul li a .fab:hover {
  transform: scale(1.1);
}

.footer-section.socials ul li {
  display: inline-block;
  margin: 0 10px;
}

.footer-container .disclaimer {
  width: 100%;
  text-align: center;
  clear: both;
}

.footer-section .disclaimer a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.footer-section .disclaimer a:hover {
  color: #be80cb;
  text-decoration: underline;
}

.footer-section .made-by-steph {
    display: block;
    margin-top: 1rem;
    font-size: 1.2rem;
}

.footer-section .made-by-steph .steph {
    font-weight: bold;
}

.footer-section .made-by-steph:hover {
	transform: scale(1.10);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.footer-section ul li {
  margin: 0 10px;
}

.footer-section ul li a {
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-section ul li img {
  width: 200px;
  height: auto;
}

.footer-section h4 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: white;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

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

.footer-section p {
  margin: 10px 0;
  text-shadow: 0 0 4px black, 0 0 10px black;
  font-size: 18px;
}

.footer-section.offers img {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  height: 70px;
  width: 270px;
  padding: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-section.offers img:hover {
  transform: scale(1.1);
}

.offers-container {
  font-family: 'Geogrotesque', sans-serif;
  height: 50%;
  width: 60%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-top: 7rem;
  padding-bottom: 4rem;
  z-index: 1;
}

.offer-box {
  background: #5a5959;
  border-radius: 8px;
  text-align: center;
  padding: 5px;
  width: calc(33.33% - 20px);
  box-sizing: border-box;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.offer-box:hover .offer-image,
.offer-box:hover .styled-button {
    filter: drop-shadow(0 0 10px rgba(255,255,255, 0.8)) 
            drop-shadow(0 0 20px rgba(255,255,255, 0.6)) 
            drop-shadow(0 0 40px rgba(255,255,255, 0.4));
}

.offer-image {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.offer-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
}

.offer-content p {
  font-size: 1rem;
  color: #fff;
  margin: 10px 0;
}

.offer-benefits {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.offer-benefits li {
  display: flex;
  align-items: center;
  color: #fff;
}

.checkmark {
  margin-right: 0.5rem;
  color: #4CAF50;
}

.styled-button {
  font-family: 'Sunglory', sans-serif;
  font-size: 1.75rem;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 10px;
  padding: 1.2rem 3rem;
  width: 300px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(28, 28, 28, 0.6), rgba(67, 67, 67, 0.4), rgba(82, 82, 82, 0.2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: inline-block;
}

.styled-button:hover {
  background: linear-gradient(135deg, rgba(100, 100, 100, 0.6), rgba(112, 112, 112, 0.4), rgba(118, 118, 118, 0.2));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-7px);
}

.styled-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Glow effects for Rain */
.rain-box:hover .offer-image,
.rain-box:hover .styled-button {
    filter: drop-shadow(0 0 10px rgba(255,215,0, 0.8)) 
            drop-shadow(0 0 20px rgba(255,215,05, 0.6)) 
            drop-shadow(0 0 40px rgba(255,215,0, 0.4));
}

.mobile-header {
	display: none;
}

@media (max-width: 768px) {
  body {
	font-family: 'Geogrotesque';
    font-size: 1em;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: black;
  }

  #background-video {
	  display: none;
  }

  .sticky-header {
    display: none;
  }

  .header-border {
    display: none;
  }
  
  .sky-container {
	display: none;
  }
  
  .mobile-header {
	height: 5rem;
    display: flex;
	top: 0;
    justify-content: space-between;
    align-items: center;
	background: #5a5959;
    padding: 0.5rem 1rem;
    border-bottom: 0.250rem solid;
    border-image: linear-gradient(to right, #232323, #232323, #232323) 1;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 5;
  }

  .mobile-header .logo img {
    height: auto;
    width: 8rem;
  }

  .mobile-header .menu-icon {
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
  }

  .nav-menu {
	top: 0;
    position: relative;
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
	background: linear-gradient(180deg, #5a5959, #5a5959, #5a5959);
    border-image: linear-gradient(to right, #232323, #232323, #232323) 1;
    border-radius: 5px;
	z-index: 5000;
  }

  .nav-menu.active {
    display: flex; 
  }

  .nav-menu li {
    width: 100%;
    margin: 0.5rem 0;
    position: relative;
    border-bottom: 0.125rem solid transparent;
	border-image: linear-gradient(to right, #232323, #232323, #232323) 1;
	border-image-slice: 1;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
	color: #fff;
    transition: background-color 0.3s, transform 0.2s;
  }

  .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
  }

  .responsive-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }

  .responsive-links li {
    margin-right: 10px;
  }

  .responsive-links li img {
    max-width: 100%;
    height: auto;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    justify-content: center;
    align-items: center;
    background-color: #222;
    z-index: 1001;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .dropdown-content a {
    color: #ffffff !important;
    padding: 1rem;
    display: block;
    text-align: left;
    background-color: #333;
    border-bottom: 1px solid #555;
  }

  .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
  }

  .dropdown-content a:hover {
    background-color: rgba(200, 200, 200, 0.1);
  }

  .footer {
    width: 100%;
    padding: 1rem;
    background-color: #333;
    color: #fff;
    text-align: center;
    position: relative;
    box-sizing: border-box;
  }
  
  .footer-section.offers ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-content: center;
  }

  .footer-section.offers ul li {
    margin: 0;
    text-align: center;
  }

  .footer-section.offers ul li img {
    width: 100%;
    max-width: 200px;
    height: auto;
  }
  
  .responsive-links li.desktop {
	display: none;
  }

  .responsive-links li.mobile {
	display: block;
  }

  .header .title-text {
    display: none;
  }

  .header .logo {
    display: block;
    max-width: 100%;
    margin: 0 auto;
  }

  .logo-container {
    text-align: center;
    margin-bottom: 20px;
  }

  .main-logo {
    max-width: 60%;
    height: auto;
  }
  .gambleaware-logo {
    width: 120px;
  }
}

@media (min-width: 769px) {
  .responsive-links li.mobile {
	display: none;
  }
}