﻿/*
Theme Name: aviacustom
Theme URI: 
Author: aviacustom
Author URI: 
Description: aviacustom Website
Version: 1.0.0
Text Domain: aviacustom
*/
@font-face {
  font-family: "Mulish";
  src: url("../font/Mulish-Light.woff2")
    format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../font/Mulish-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../font/Mulish-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../font/Mulish-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../font/Mulish-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  line-height: 1.3;
  -webkit-text-size-adjust: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}
ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
.logo a {
  line-height: 0;
  display: block;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
table {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
}
body {
  font-family: "Mulish", sans-serif;
  background: var(--dark-black);
  font-size: 16px;
  font-weight: 300 !important;
  line-height: 1.5;
  color: var(--text-dark-white);
  letter-spacing: 0.01em;
}
body.admin-bar .site-header {
  margin-top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    margin-top: 46px;
  }
  .desktop-only {
    display: none;
  }
}
:root {
  /* Color */
  --dark-black: #060606;
  --light-dark-black: #211f1f;
  --black: #000;
  --white: #fff;
  --text-dark-white: #dddbdb;
  --text-light-white:#eaeaea;
  --text-dark: #999999;
  --dark-bg: #15162e;
  --primary: #ea1037;
  --light-primary: #f24a4a;
  --border-color: #282828;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}
.border-block {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
}
.box-space {
  padding: 60px 0;
}
.descr p {
  margin-bottom: 16px;
}
.descr p:last-child {
  margin-bottom: 0;
}
.page-content,
.post-content {
  margin-top: 100px;
  padding: 80px 0;
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 17px;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  display: none;
  z-index: 9999;
  transition: background 0.3s, opacity 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.back-to-top:hover {
  background-color: var(--primary);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
/* Title */
h2.banner-title,
h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-light-white);
}
h2 {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--text-light-white);
  margin-top: 30px;
}
h3 {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-light-white);
}
b{
    font-weight: 700;
    color: var(--text-light-white);
}
/* list */
.num-list ul,
ol.wp-block-list,
ul.wp-block-list {
  margin-left: 15px;
}
.num-list li,
.wp-block-list li {
  counter-increment: item;
  position: relative;
  margin-bottom: 8px;
  padding-left: 35px;
}
.num-list li:before,
.wp-block-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 11px;
}
/* Header */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: 0.3s;
  border-bottom: 1px solid var(--border-color);
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
/* Logo */
.logo img {
  max-height: 40px;
}
/* Menu */
.menu {
  display: flex;
  gap: 30px;
  list-style: none;
}
.menu li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.menu li a:hover {
  color: var(--primary);
}
/* Button */
.btn {
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  width: 170px;
  display: block;
  text-align: center;
  font-weight: 800;
  transition: 0.3s;
}
.full-btn.btn {
  width: 100%;
}
.btn:hover {
  background: var(--white);
  color: var(--primary);
}
/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}
.burger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: 0.3s;
}
/* Burger animation */
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 900;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
/* hero */
.hero-content,
.hero {
  height: 80vh;
}
.hero-content {
  display: flex;
  align-items: center;
}
.hero-content-box {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.black-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  opacity: 0.35;
  z-index: -1;
}
/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 10px 0 40px;
}
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: end;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
}
.footer-logo-item {
  opacity: 0.3;
}
.footer-logo {
  margin: 30px 0;
}
.copyright {
  color: var(--text-dark);
  padding: 30px 0;
}
/* FAQ */
.faq-descr{
margin-bottom: 30px;
}
.faq-item {
  background: var(--light-dark-black);
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 20px;
  transition: 0.2s ease;
  backdrop-filter: blur(4px);
}
.faq-item:hover {
  opacity: 0.9;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 22px;
}
.faq-toggle {
  background: none;
  border: none;
  color: var(--light-primary);
  cursor: pointer;
}
.faq-answer {
  margin-top: 15px;
  display: none;
  opacity: 0.8;
}
/* About */
.about-table {
  margin-top: 20px;
}
.about-table__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--light-dark-black);
  border-radius: 10px;
  transition: 0.2s ease;
}
.about-table__row:hover {
  opacity: 0.9;
}
.about-table__label {
  font-weight: 600;
}
.about-table__row {
  backdrop-filter: blur(4px);
}
.about-table__value {
  letter-spacing: 0.3px;
}
/* DEMO */
.demo-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.demo-content {
  width: 60%;
}
.demo-image {
  flex-shrink: 0;
  width: 40%;
}
.demo-btn {
  margin-top: 30px;
}
.demo-image img {
  border-radius: 12px;
  display: block;
}
/* How to play  */
.howtoplay-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}
.howtoplay-number {
  min-width: 30px;
  height: 29px;
  background: var(--primary);
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 14px;
}
.howtoplay-content {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.howtoplay-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  width: 30%;
}
.howtoplay-value {
  width: 70%;
}
.about-step-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    padding: 40px 0;
  }
.about-step-card {
    background: var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .about-step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
  }
  
  .about-step-card  .card-label {
    margin-bottom: 10px;
    font-size: 18px;
    color:var(--white);
    font-weight: 700;
  }
  
  .about-step-card .card-value {
    color:var(--text-light-white);
  }
/* banner */
.banner-image {
  padding: 20px 0 60px;
}
.banner-img {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text-dark-white);
}
.banner_small {
  border: 2px solid var(--text-dark-white);
  padding: 47px;
  border-radius: 16px;
  margin: 30px 0;
}
.banner_small h2 {
  max-width: 837px;
  margin: 0 auto;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.banner-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-second {
  background: var(--white);
  color: var(--black);
}
.btn-second:hover {
  background: var(--primary);
  color: var(--white);
}
/* Offer Card */
.offers {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--light-dark-black);
  border-radius: 16px;
  padding: 20px;
  transition: 0.2s ease;
  backdrop-filter: blur(4px);
}
.offer:hover {
  opacity: 0.9;
}
.offer div:not(:last-child) {
  border-right: 1px solid var(--border-color);
}
.offer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
}
.offer-left img {
  max-width: 130px;
}
.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
  text-align: center;
  min-width: 130px;
}
.offer-center {
  padding: 0 40px;
}
.offer-center h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}
.offer-center p {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.offer-bonus {
  background: var(--dark-black);
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: bold;
  color: var(--primary);
  margin: 0 40px;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
}
.offer-bonus .light-text {
  color: var(--text-dark-white);
  font-weight: 400;
}
.offer-actions {
  padding: 0 40px;
}
/* Casino Website */
.casino-image {
  border-radius: 16px;
  background: var(--light-dark-black);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 210px;
}
.casino-image img {
    border-radius: unset;
    width: 100%;
    max-height: 80px;
    height: 100%;
    object-fit: contain;
}
.features-table {
  margin-top: 0;
}
.features-col .about-table__label {
  color: var(--white);
  font-size: 18px;
}
.text-right {
  text-align: right;
}
.play-btn {
  margin-top: 20px;
}
/* 404 */
.page-404 {
  text-align: center;
  padding: 10rem 2rem;
}
.page-404__title,
.page-404__code {
  margin-bottom: 20px;
}
.page-404__message {
  margin-bottom: 40px;
}
.page-404__btn {
  margin: 0 auto;
}
.page-404__code {
  font-size: 8rem;
}
#howwork .howtoplay-label{
    font-size: clamp(20px, 5vw, 28px);
}
/* Table */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--white);
    font-size: 14px;
}

.custom-table th,
.custom-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.custom-table th {
    font-weight: 600;
    color: #ccc;
}

.custom-table tr:hover {
    background: rgba(255,255,255,0.03);
}


@media (max-width: 768px) {
    .custom-table thead {
        display: none;
    }

    .custom-table,
    .custom-table tbody,
    .custom-table tr,
    .custom-table td {
        display: block;
        width: 100%;
    }

    .custom-table tr {
        margin-bottom: 15px;
        border: 1px solid rgba(255,255,255,0.1);
        padding: 10px;
        border-radius: 8px;
    }

    .custom-table td {
        padding: 8px 10px;
        position: relative;
    }

    .custom-table td::before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        color: #aaa;
        margin-bottom: 3px;
    }
}
@media (max-width: 991px) {
  .offer-actions .btn {
    width: max-content;
  }
  .offer-actions,
  .offer-center,
  .offer-left {
    padding: 0 20px;
  }
  .offer-bonus {
    margin: 0 20px;
  }
  .menu{
    gap: 10px;
  }
}
/* MOBILE */
@media (max-width: 768px) {
  .box-space {
    padding: 20px 0;
  }
  .hero-content,
  .hero {
    height: unset;
  }
  .hero-content {
    margin: 120px 0 20px;
  }
  .burger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black);
    padding: 100px 20px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
  }
  .nav.active {
    transform: translateX(0);
  }
  .menu {
    flex-direction: column;
    gap: 25px;
  }
  .menu a {
    font-size: 18px;
  }
  .site-header .header-btn {
    display: none;
  }
  body.menu-open {
    overflow: hidden;
  }
  /* STAGGER ANIMATION */
  .menu li {
    opacity: 0;
    transform: translateY(20px);
  }
  .nav.active .menu li {
    animation: fadeUp 0.5s ease forwards;
  }
  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /* delays */
  .nav.active .menu li:nth-child(1) {
    animation-delay: 0.1s;
  }
  .nav.active .menu li:nth-child(2) {
    animation-delay: 0.2s;
  }
  .nav.active .menu li:nth-child(3) {
    animation-delay: 0.3s;
  }
  .nav.active .menu li:nth-child(4) {
    animation-delay: 0.4s;
  }
  .nav.active .menu li:nth-child(5) {
    animation-delay: 0.5s;
  }
  .nav.active .menu li:nth-child(6) {
    animation-delay: 0.6s;
  }
  .nav.active .menu li:nth-child(7) {
    animation-delay: 0.7s;
  }
  .hero-content-box {
    max-width: 100%;
  }
  .demo-wrapper,
  .howtoplay-content {
    flex-direction: column;
  }
  .demo-image,
  .demo-content,
  .howtoplay-label,
  .howtoplay-value {
    width: 100%;
  }
  .banner-img {
    padding: 80px 16px;
  }
  .banner-img {
    min-height: 400px;
  }
  .offer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 20px;
  }
  .offer-center,
  .offer-actions {
    padding: 0;
    width: 100%;
  }
  .offer-left {
    padding: 20px 0 0;
    width: 100%;
  }
  .offer-bon,
  .offer-bonus {
    margin: 0;
    width: 100%;
  }
  .offer-actions .btn {
    width: 100%;
  }
  .offer div:not(:last-child) {
    border-right: none;
  }
  .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 120px;
    text-align: center;
  }
  .banner_small {
    margin: 0;
    padding: 47px 20px;
  }
  .demo-wrapper {
    gap: 35px;
  }
  .casino-wrapper {
    gap: 20px;
  }
  .wheretoplay-section h2 {
    margin-bottom: 0;
  }
  .features-col div {
    width: 50%;
  }
}
