/* Яркая контрастная палитра */
:root {
  --bg-primary: #0D0D1A;
  --bg-secondary: #1E1E3F;
  --text-primary: #FFFFFF;
  --text-secondary: #E0E0FF;
  --accent-primary: #00F5FF;
  --accent-secondary: #FF00FF;
  --accent-tertiary: #FFD700;
  --accent-glow: rgba(0, 245, 255, 0.3);
  --button-primary: #00F5FF;
  --button-hover: #FF00FF;
  --border-color: rgba(0, 245, 255, 0.6);
  --shadow-neon: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.3);
  --gradient-primary: linear-gradient(135deg, #00F5FF, #FF00FF);
  --gradient-secondary: linear-gradient(135deg, #FF00FF, #00F5FF);
}

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

p {
  margin: 0;
}
a,
button,
input,
textarea {
  outline: 0;
  transition: all 0.5s ease;
}
a {
  text-decoration: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}
header,
.banner,
.section,
.h2,
.para,
.flexbox,
footer {
  width: 100%;
  float: left;
}
header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  font-size: 30px;
  font-weight: 800;
  background-color: #000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
nav {
  background: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
  box-shadow: var(--shadow-neon);
  border-bottom: 2px solid var(--border-color);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 40px;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-primary);
  transition: all 0.3s ease;
}
.logo:hover {
  text-shadow: 0 0 20px var(--accent-primary), 0 0 30px var(--accent-secondary);
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  padding: 15px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.menu a:hover {
  border: 1px solid var(--accent-primary);
  background: var(--accent-glow);
  box-shadow: 0 0 15px var(--accent-primary);
}
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 3;
}

.menu-btn span {
  height: 3px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.4s;
  box-shadow: 0 0 5px var(--accent-primary);
}

/* Cross Icon Animation */
.menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile */
@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 220px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 2px solid var(--border-color);
    flex-direction: column;
    padding-top: 70px;
    transition: 0.3s;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }

  .menu a {
    padding: 5px 20px;
  }

  .menu.active {
    right: 0;
  }
  .logo {
    font-size: 30px;
  }
  .menu-btn {
    display: flex;
  }
}
.container {
  width: 100%;
  max-width: 1300px;
  padding: 0 15px;
}

.banner {
  background: url("../images/banner-main.jpg") center;
  background-size: cover;
  padding: 20px 0;
  position: relative;
  background-color: var(--bg-primary);
}
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 13, 26, 0.9), rgba(30, 30, 63, 0.8));
  z-index: 1;
}
.banner .container {
  min-height: 350px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}
.content {
  background-color: rgba(30, 30, 63, 0.7);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-neon);
}
.inner-banner {
  align-items: center;
  text-align: center;
}
.inner-banner .container {
  min-height: 200px;
}
.banner h1 {
  font-size: 45px;
  font-weight: 700;
  text-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-secondary);
  margin-bottom: 15px;
}
.banner p {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-secondary);
}

.section {
  padding: 40px 0;
  position: relative;
  background-color: var(--bg-primary);
}
.section .container {
  position: relative;
  z-index: 2;
}
.h2 {
  font-size: 35px;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-primary);
}
.para {
  font-size: 16px;
  line-height: 26px;
  margin: 0 0 20px;
  color: var(--text-secondary);
}
.para:last-child {
  margin: 0;
}
.flexbox {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}
.flexbox:last-child {
  margin: 0;
}
.flexbox > p,
.flexbody {
  flex: 1;
}
.flexbox > p:first-child,
.flexbody:first-child {
  padding: 0 30px 0 0;
}
.flexbox > p:last-child,
.flexbody:last-child {
  padding: 0 0 0 30px;
}
.flexbox > img {
  width: 100%;
  max-width: 35%;
}
.section1 {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.ul {
  text-align: left;
  font-size: 14px;
}

.center {
  width: 100%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  margin: 0 0 20px;
}
.center img {
  width: 60%;
  margin: 0 0 20px;
}
.container > img {
  width: 100%;
  float: left;
  margin: 0 0 20px;
}
.flexgroup {
  width: 100%;
  float: left;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.flexgroupbox {
  width: 32%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  position: relative;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.flexgroupbox:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
  border-color: var(--accent-primary);
}
.flexgroupbox::after {
  content: "";
  position: absolute;
  width: 45px;
  height: 100px;
  background: var(--gradient-primary);
  left: -10px;
  bottom: -38px;
  rotate: -49deg;
  opacity: 0.3;
}
.flexgroupbox::before {
  content: "";
  position: absolute;
  width: 45px;
  height: 100px;
  background: var(--gradient-secondary);
  right: -10px;
  top: -38px;
  rotate: -49deg;
  opacity: 0.3;
}
.flexgroupbox img {
  width: 70px;
  margin: 0 0 10px;
}
.flexgroupbox h4 {
  font-size: 24px;
  width: 100%;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.flexgroupbox .para {
  color: var(--text-secondary);
}
.box {
  width: 24.5%;
  align-items: center;
  text-align: center;
}
.box1 {
  width: 33%;
}
.symbol {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  padding: 5px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 0 20px var(--accent-glow);
  margin-bottom: 15px;
}
.video {
  width: 1300px;
  max-width: 100%;
  float: left;
  overflow: hidden;
}
iframe {
  width: 100%;
  height: 713px;
  float: left;
  top: 0;
  left: 0;
}
.responsible-gaming-section {
  background: var(--bg-secondary);
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.responsible-gaming-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.responsible-gaming-section .h2 {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-primary);
  margin-bottom: 20px;
  order: 1;
}
.responsible-gaming-section .para {
  color: var(--text-secondary);
  order: 2;
  margin-bottom: 30px;
}
.responsible-gaming-section .responsible-gaming-logos {
  order: 3;
}
.responsible-gaming-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}
.responsible-gaming-logos a {
  display: inline-block;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(0, 245, 255, 0.1);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.responsible-gaming-logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: brightness(0.9);
}
.responsible-gaming-logos a:hover {
  transform: scale(1.05);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
  background: rgba(0, 245, 255, 0.2);
}
.responsible-gaming-logos a:hover img {
  filter: brightness(1.1);
}
.game-card {
  max-width: 600px;
  margin: 30px auto;
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-neon);
  transition: all 0.3s ease;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.8), 0 0 60px rgba(255, 0, 255, 0.5);
}
.game-card h3 {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-primary);
}
.game-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
.btn-cu {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  outline: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
}

/* Shadow layer */
.btn-cu .shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

/* Edge layer */
.btn-cu .edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: var(--gradient-primary);
}

/* Front layer */
.btn-cu .front {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1.25rem;
  color: var(--text-primary);
  background: var(--button-primary);
  border-radius: 8px;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
  box-shadow: 0 0 15px var(--accent-glow);
}
.btn-cu:hover .front {
  background: var(--button-hover);
  box-shadow: 0 0 25px var(--accent-primary);
}

/* Hover and active states */
.btn-cu:hover .shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.btn-cu:hover .front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.btn-cu:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.btn-cu:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

/* Disable text selection */
.btn-cu .front span {
  user-select: none;
}
.formsection {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
}
.formsection .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}
.formsection .para {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.formbox {
  width: 100%;
  float: left;
  max-width: 700px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.formfield {
  width: 100%;
  height: 50px;
  margin: 0 0 10px;
  padding: 0 15px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.formfield:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-glow);
}
.textarea-cu {
  width: 100%;
  height: 100px;
  margin: 0 0 10px;
  padding: 15px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.textarea-cu:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-glow);
}
.formfield::placeholder,
.textarea-cu::placeholder {
  color: var(--text-secondary);
}
.formbutton {
  width: 100%;
  float: left;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  background: #bd2500;
  color: #fff;
  cursor: pointer;
  outline: 0 !important;
}

footer {
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-align: center;
  padding: 40px 0;
  border-top: 2px solid var(--border-color);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}
.footerlinks {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
  margin: 20px;
}
.ssl-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px;
  flex-wrap: wrap;
}
.icon-style {
  background-color: #887390;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.icon-style img {
  width: 100%;
}
.left {
  text-align: left;
  margin: 0 0 20px;
}
.footerlinks a {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 6px;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 6px;
}
.footerlinks a:hover {
  color: var(--accent-primary);
  text-shadow: 0 0 10px var(--accent-primary);
  background: var(--accent-glow);
}
.copyrights {
  font-size: 14px;
  color: var(--text-secondary);
}
.text-white {
  font-size: 14px;
  margin: 0 0 10px !important;
}
.cookiesection {
  width: 100%;
  float: left;
  min-height: calc(100vh - 126px);
  padding: 40px 0;
}
.cookiesection h2 {
  font-size: 22px;
  font-weight: 600;
}
.cookiesection p {
  font-size: 14px;
  line-height: 20px;
}
.cookiesection p strong {
  font-weight: 600;
}
.cookiesection p .bolder {
  display: block;
  margin: 30px 0 10px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.backbutton {
  float: left;
  display: inline-flex;
  align-items: center;
  margin: 30px 0 20px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark) !important;
  border: solid 1px var(--blue-dark);
}
.backbutton img {
  width: 15px;
  margin: 0 5px 0 0;
  transition: all 0.3s ease;
}
.backbutton:hover {
  background: var(--blue-dark);
  color: #fff !important;
}
.backbutton:hover img {
  filter: saturate(0) brightness(10);
}
.alert {
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  position: fixed !important;
  bottom: 10px;
  margin-bottom: 0 !important;
  left: 26px;
  max-width: 100%;
  text-align: center;
  width: 300px;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-neon);
}
.alert-dismissible {
  z-index: +3;
}
.alert-close {
  border: 1px solid var(--accent-primary);
  border-radius: 6px;
  background: var(--button-primary);
  color: var(--text-primary);
  padding: 8px 16px !important;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.alert-close:hover {
  background: var(--button-hover);
  box-shadow: 0 0 15px var(--accent-primary);
}
.hide {
  display: none;
}
span {
  font-weight: bold;
}

.alert p {
  font-size: 14px;
}

.hide {
  display: none;
}
.img {
  width: 100%;
  height: 200px;
  margin: 0 0 20px;
}
.img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.alert-close {
  padding: 0px 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #862041;
  color: white;
  margin: 0 !important;
  font-size: 14px;
}
.agebtn {
  width: auto;
  height: 56px;
  border-radius: 4px;
  padding: 0 65px 0 20px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  background: #397482;
  color: #fff !important;
  position: relative;
  font: 600 18px "Roboto", sans-serif;
  text-transform: uppercase;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}
.agebtn:before {
  content: "";
  width: 45px;
  height: 100%;
  background: #397482;
  position: absolute;
  right: 0;
  top: 0;
}
.agebtn:after {
  content: "";
  top: 30px;
  right: 4px;
  border: solid transparent;
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-left-color: #fff;
  border-width: 12px;
  margin-top: -15px;
}

.agebtn:hover {
  background: #2a5f6b;
}
.modal-open .modal {
  background: #000;
}
.modal-custom {
  padding: 80px;
  max-width: 780px !important;
}
.modal-content h3 {
  color: var(--text-primary);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-secondary);
}
.age-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}
.age-text {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.age-buttons {
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.age-btn {
  border: none;
  border-radius: 12px;
  cursor: pointer;
  flex: 1 1;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem;
  transition: all 0.3s ease;
}
.yes-btn {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 15px 30px;
  border: 1px solid rgba(0, 245, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}
.no-btn {
  background: #fff;
  border: 1px solid #ffffff33;
  color: #000000;
  padding: 15px 30px;
  cursor: pointer;
}
.age-disclaimer {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 20px;
}
.modal-content {
  background: var(--bg-secondary);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-neon);
}
.modal-open .modal {
  background: rgba(13, 13, 26, 0.95) !important;
}
.modal-content h2 {
  font: 600 22px "Roboto", sans-serif;
}
.modal-content h2 span {
  font-size: 18px;
  font-weight: 400;
  display: block;
  margin: 10px 0 0;
}
.yes-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.5);
}
.no-btn:hover {
  background: #e0e0e0;
}

@media (max-width: 800px) {
  .banner h1 {
    font-size: 28px;
  }
  .h2 {
    font-size: 30px;
  }
  .para {
    font-size: 14px;
  }
  .flexbox {
    flex-direction: column;
  }
  .flexbox > img {
    max-width: 80%;
    order: 1;
    margin: 0 0 15px;
  }
  .flexbody,
  .flexbox > .para {
    padding: 0 !important;
    order: 2;
  }
  footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .flexgroupbox {
    width: 100%;
    margin: 0 0 30px;
  }
  .formfield {
    width: 100%;
  }
  .formbutton {
    width: 100%;
  }
  .img-size {
    width: 100%;
  }
  .footerlinks {
    justify-content: center;
    margin: 10px 0;
    flex-direction: column;
    gap: 10px;
  }
  .nav-icon img {
    width: 30px;
  }
  .flexbody {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  .video {
    height: 184px;
  }
  iframe {
    height: 185px;
  }
  .center {
    margin: 0;
  }
  .modal-custom {
    padding: 20px;
  }
  .alert {
    left: 0;
    width: 100%;
    bottom: 0;
  }
  .video {
    height: 175px;
    margin: 0 0 20px;
  }
  .banner .container {
    min-height: 200px;
  }
  .center img {
    width: 100%;
  }
  .age-text,
  .age-disclaimer {
    padding: 0 10px;
  }
  .modal-content h3 {
    font-size: 25px;
  }
  .game-card {
    max-width: 100% !important;
    padding: 20px !important;
  }
  .responsible-gaming-logos {
    gap: 20px !important;
  }
  .responsible-gaming-logos img {
    width: 120px !important;
  }
  .video iframe {
    height: 400px !important;
  }
}
