/*
Theme Name: Casino
*/

/* NULL / RESET */

HTML, BODY, DIV, SPAN, APPLET, OBJECT, IFRAME, H1, H2, H3, H4, H5, H6, P, BLOCKQUOTE, PRE, A, ABBR, ACRONYM, ADDRESS, BIG, CITE, CODE, DEL, DFN, EM, FONT, IMG, INS, KBD, Q, S, SAMP, SMALL, STRIKE, STRONG, TT, VAR, B, U, I, CENTER, DL, DT, DD, OL, UL, LI, FIELDSET, FORM, LABEL, LEGEND {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
SUP, SUB {line-height: 1px;}
BODY {line-height: 1;}
UL {list-style: none;}
:focus {outline: 0;}
INS {text-decoration: none;}
DEL {text-decoration: line-through;}
input::-moz-focus-inner {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary, .block {display: block;}
audio, canvas, video {display: inline-block;}
audio:not([controls]) {display: none;height: 0;}
[hidden] {display: none;}
.none, .hidden, .on980, .on760, .on320, .only980, .only760 {display: none;}

.clear, .clr {clear: both;}
hr.clear, hr.clr {padding: 0;margin: 0;height: 1px;overflow: hidden;border: 0;}
.clearfix:before, .clearfix:after, .clf:before, .clf:after {content: " ";display: table;}
.clearfix:after, .clf:after {clear: both;}
.clearfix, .clf {*zoom: 1;}

.alignright, .right { float: right; }
.alignleft, .left { float: left; }
.center { text-align: center; }
.centered, .aligncenter {
  display: block;
  margin: 0 auto;
}

img.alignright, img.right {
  margin: 0 0 7px 20px;
  display: inline;
}
img.alignleft, img.left {
  margin: 0 20px 7px 0;
  display: inline;
}
a img {
  border: none;
}
img {
  max-width: 100%;
}

.entry img {
  height: auto;
}
.empty-div {
  min-height: 20px;
  min-width: 20px;
}

/* BASE */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
  background: transparent;
  color: #fff;
}

/* Блюр-фон */

body {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("images/bg.webp") no-repeat top center;
  background-size: cover;
  filter: blur(12px) brightness(0.85);
  transform: scale(1.05);
  z-index: -1;
  pointer-events: none;
}

/* Обёртка страницы */

.wrapper {
  max-width: 480px;
  width: 100%;
  margin: 26px auto 40px; /* чуть больше воздуха сверху */
  min-height: calc(100vh - 66px);
  padding: 0 10px 40px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,   /* легкое затемнение в зоне логотипа/кнопок */
    rgba(0,0,0,0.45) 55%,  /* средняя плотность в середине текста */
    rgba(0,0,0,0.60) 100%  /* затемненность внизу */
  );
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .wrapper {
    max-width: 720px;
    padding: 0 20px 40px;
  }
}

@media (min-width: 1024px) {
  .wrapper {
    max-width: 900px;
    padding: 0 30px 40px;
  }
}

@media (min-width: 1200px) {
  .wrapper {
    max-width: 1100px;
    padding: 0 40px 40px;
  }
}

/* HEADER */

header {
  padding: 16px 0 18px;
  text-align: center;
}

.logo {
  width: 190px;
  margin: 0 auto 8px auto;
}

.logo img {
  vertical-align: bottom;
  max-height: 72px;
  width: auto;
}

.promo-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px auto 14px;
  padding: 8px 16px;
  background: rgba(39, 120, 255, 0.2);
  border: 2px solid #2778ff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.promo-label {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.promo-value {
  color: #4da3ff;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  font-family: 'Courier New', monospace;
}

/* Заголовки */

h1 {
  font-size: 21px;
  line-height: 1.35;
  margin: 6px 0 14px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,0.6);
}

h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 12px 0 10px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}

h3 {
  font-size: 15px;
  line-height: 1.35;
  margin: 10px 0 6px;
  font-weight: 600;
  color: #e1e6ff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7), 0 1px 1px rgba(0,0,0,0.5);
}

a {
  color: #4da3ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.header-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .2s ease, transform .1s ease, box-shadow .1s ease;
  text-align: center;
}

.btn-primary {
  background: #2778ff;
  color: #fff;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.btn-primary:hover {
  background: #2f86ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(39,120,255,0.55);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #2778ff;
}

.btn-secondary:hover {
  background: #1b355a;
}

.btn-full {
  width: 100%;
  margin-top: 10px;
}

/* TEXT & BLOCKS */

p,
.entry ul,
.entry ol {
  margin: 0 0 15px 0;
  font-size: 14px;
  line-height: 1.45;
  color: #f5f5f5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 1px 1px rgba(0,0,0,0.4);
}

ul, ol {
  padding-left: 18px;
}

.entry ul li,
.text-block ul li {
  list-style: disc;
  margin-left: 0;
}

.entry ol li,
.text-block ol li {
  list-style: decimal;
  margin-left: 0;
}

.Main_text {
  margin-bottom: 20px;
}

.entry {
  font-size: 14px;
  line-height: 1.4;
}

.text-block {
  background: rgba(0,0,0,0.7);
  padding: 18px 18px;
  margin: 0 0 18px 0;
  border-radius: 10px;
  backdrop-filter: blur(3px);
}

.text-block p,
.text-block ul,
.text-block ol,
.text-block h3 {
  margin-bottom: 10px;
}

.text-block li {
  margin-bottom: 6px;
}

/* SEPARATOR */

.sep {
  text-align: center;
  margin: 14px 0 16px;
  opacity: 0.55;
  font-size: 16px;
}

/* QUICK LINKS */

.quick-links {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}

.quick-links li + li {
  margin-top: 6px;
}

.quick-links a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  line-height: 1.3;
  color: #ffffff;
}

.quick-links a:hover {
  background: rgba(39,120,255,0.22);
  border-color: rgba(39,120,255,0.8);
}

/* REGISTRATION IMAGE */

.reg_img {
  text-align: center;
  margin: 12px 0 15px;
}

.reg_img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* TABLES */

.bonus-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 15px;
  font-size: 13px;
}

.bonus-table th,
.bonus-table td {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 8px;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.bonus-table th {
  background: rgba(255,255,255,0.08);
}

/* BONUS BLOCK + FOOTER TABLE */

.wrap {
  margin-bottom: 30px;
}

.bonus-block {
  background: rgba(0,0,0,0.7);
  border-radius: 12px;
  padding: 10px 12px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(3px);
}

.top_fon img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.bonus-text p {
  margin: 10px 0 8px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 1px 1px rgba(0,0,0,0.4);
}

.timer {
  text-align: center;
  margin-top: 6px;
}

.timer__time {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,0.6);
}

.main_table {
  background: rgba(0,0,0,0.7);
  border-radius: 12px;
  padding: 14px 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(3px);
}

.main_table h2 {
  text-align: center;
  margin-bottom: 10px;
}

.main_table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.main_table td {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 8px;
  vertical-align: top;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.main_table tr:nth-child(odd) {
  background: rgba(255,255,255,0.05);
}

.clear {
  clear: both;
}

/* ADAPTIVE */

@media (min-width: 768px) {
  header {
    padding: 24px 0 22px;
  }

  .logo {
    width: 220px;
    margin-bottom: 12px;
  }

  .promo-code {
    font-size: 16px;
    padding: 10px 20px;
    margin: 14px auto 16px;
  }

  .promo-value {
    font-size: 17px;
    letter-spacing: 1.5px;
  }

  .logo img {
    max-height: 85px;
  }

  h1 {
    font-size: 26px;
    margin: 8px 0 18px;
  }

  h2 {
    font-size: 22px;
    margin: 16px 0 12px;
  }

  h3 {
    font-size: 18px;
    margin: 12px 0 8px;
  }

  p,
  .entry ul,
  .entry ol {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .text-block {
    padding: 24px 24px;
    margin-bottom: 24px;
  }

  .header-buttons {
    gap: 14px;
    margin-top: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .bonus-block {
    padding: 16px 18px 20px;
  }

  .main_table {
    padding: 20px 18px 22px;
  }

  .main_table table {
    font-size: 14px;
  }

  .main_table td {
    padding: 10px 12px;
  }

  .bonus-table {
    font-size: 14px;
  }

  .bonus-table th,
  .bonus-table td {
    padding: 10px 12px;
  }

  .timer__time {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  p,
  .entry ul,
  .entry ol {
    font-size: 16px;
  }

  .text-block {
    padding: 28px 30px;
  }

  .quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .quick-links li + li {
    margin-top: 0;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 19px;
  }
  h2 {
    font-size: 17px;
  }
  .btn {
    padding: 9px 12px;
    font-size: 13px;
  }
  .text-block {
    padding: 14px 14px;
  }
}

@media (max-width: 480px) {
  .promo-code {
    font-size: 13px;
    padding: 6px 12px;
    gap: 6px;
  }

  .promo-value {
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .header-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    width: 100%;
  }

  .quick-links a {
    font-size: 13px;
    padding: 6px 8px;
  }

  .main_table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main_table table {
    min-width: 100%;
  }

  .main_table td {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .main_table td:first-child {
    font-weight: 600;
    min-width: 120px;
  }

  .bonus-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bonus-table th,
  .bonus-table td {
    white-space: nowrap;
    min-width: 100px;
  }
}