/* Updated to match vavada-style layout + colors (Flagman-adapted) */
:root {
  --bg: #151516;
  --pattern: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaWQ9ImEiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHdpZHRoPSI0IiBoZWlnaHQ9IjQiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSAxMCAxMCkiPjxwYXRoIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjMTcxODJmIiBzdHJva2Utd2lkdGg9IjM2IiBkPSJNMjAgMHY0MCIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNhKSIvPjwvc3ZnPg==);
  --header-bg: #151516;

  /* Accent colors (tuned from vavada: primary -> green for Flagman feel) */
  --accent-primary: #62c23c;
  --accent-primary-dark: #3c7028;

  --accent-secondary: #fe284a;
  --accent-secondary-dark: #871628;

  --text: rgba(255,255,255,.92);
  --text-muted: rgba(255,255,255,.75);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-size: 100%;
  overflow-x: hidden;
}

a {
  color: #17e6d6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#page {
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
  background: transparent !important;
}

@media (min-width: 1200px) {
  #page { max-width: 1400px !important; }
}

/* Header */
.site-header,
.header {
  background-color: var(--header-bg);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
}

.header-container,
.site-header .header-container {
  width: calc(100% - 20px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Buttons (used in template) */
.link_registration,
.link_download,
.nav-link,
.nav-link-secondary,
.casino_btn {
  box-shadow: 0 3px 0 0 rgba(0,0,0,.35), 0 4px 4px 0 #000;
  color: #fff !important;
  font-size: 12px;
  height: 30px;
  padding: 0 30px;
  border: none;
  border-radius: 50px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  align-items: center;
  letter-spacing: 1px;
  line-height: 22px;
  outline: none;
  overflow: hidden;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.link_registration {
  background-color: var(--accent-primary) !important;
  box-shadow: 0 3px 0 0 var(--accent-primary-dark), 0 4px 4px 0 #000;
}
.link_registration:hover {
  background: var(--accent-primary-dark) !important;
}

.link_download {
  background-color: var(--accent-secondary) !important;
  box-shadow: 0 3px 0 0 var(--accent-secondary-dark), 0 4px 4px 0 #000;
}
.link_download:hover {
  background: var(--accent-secondary-dark) !important;
}

/* Banner area */
#slider {
  padding: 30px 30px 0 !important;
  color: #fff;
  font-weight: 700;
  background: url(/banner.webp) no-repeat left center;
  min-height: 320px;
  background-size: cover;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 660px) {
  #slider {
    border-radius: 0;
    min-height: auto;
    padding: 20px !important;
    background-position: center;
  }
}

#slider:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16,18,38,0.60);
}

#slider > * {
  position: relative;
  z-index: 2;
}

h1, h2, h3 {
  color: #fff;
}

p {
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: rgba(28,34,64,0.3) !important;
  padding: 30px 20px 10px;
}

.menu_header {
    padding: 10px 10px 7px;
    background: #151516!important;
}

#slider a.link_registration {
    display: flex!important;
}

.links_box a.link_registration {
    display: flex!important;
}
