/*
Theme Name: 888Starz Theme
Theme URI: https://888starz.onl/
Author: TOTWEB
Author URI: https://totweb.dev/
Description: Кастомная тема WordPress, полностью повторяющая внешний вид и структуру сайта 888Starz. Подходит для казино-сайтов с поддержкой бонусов, игр, загрузок приложений и промокодов.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 888starz-theme
Tags: casino, responsive, custom-post-type, bonus, promo, mobile-app, dark
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --clr-primary: #e4002b;
  --clr-secondary: #f7c200;
  --clr-bg-dark: #1d1d1d;
  --clr-light: #ffffff;
  --clr-gray: #fff;
  --font-main: 'Inter', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: #fff;
  color: #000;
}
article{
	min-height: 340px;
}
a {
  color: var(--clr-primary);
  text-decoration: none;
}

h1 {font-size: 2.9em;}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}


.banner-main-top-ios {
	display: flex;
	width: 200px;
	height: 70px;
	padding: 0;
	justify-content: center;
	align-items: center;
	color: #FFF;
	font-size: 20px;
	transition: 0.5s;
}
.banner-main-top-and {
	display: flex;
	width: 200px;
	height: 70px;
	padding: 0;
	justify-content: center;
	align-items: center;
	color: #FFF;
	font-size: 20px;
	transition: 0.5s;
}

.container-button noindex {
	display: flex;
	gap: 5px;
}
.banner-main-top-and{
background: linear-gradient(180deg, rgba(0,167,43,1) 0%, rgba(34,94,49,1) 100%);
	border-radius:10px;
	width:200px !important;
}
.banner-main-top-ios{
	background: rgb(75,106,150);
  background: linear-gradient(180deg, rgba(172, 37, 37, 1) 0%, rgba(104, 20, 20, 1) 100%);
	border-radius:10px;
	width:200px !important;
	transition:1s;
}

.banner-main-top-ios:hover {
	    
    background: linear-gradient(196deg, rgba(128, 28, 28, 1) 0%, rgba(59, 12, 12, 1) 100%);
    transition: 0.5s;
    color: white;
}

.banner-main-top-and:hover {
background: linear-gradient(180deg, rgba(49,98,52,1) 0%, rgba(5,9,6,1) 100%);
	    transition: 0.5s;
    color: white;
}

/* Header */
.site-header {
  background: #1d1d1d;
  color: #fff;
  padding: 10px 0;
}
.site-header .top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .logo img {
  height: 40px;
}

.btn-login{
	background-color:#3d3d3d;
	padding:5px 15px;
	border-radius:10px;
	color:white;
	transition:.5s;
}
.btn-login:hover{
	outline:2px solid #3d3d3d;
	background-color:#2b2b2b;
	color:white;
	transition:.5s;
}

.link-dollar svg{
	width:10px;
	height:18px;
	fill:#19c249;
	
}
.link-dollar{
	background-color:#3d3d3d;
	width:30px;
	height:30px;
	display:flex;
	align-items:center;
	justify-content:center;
	border-radius:5px;
	transition:1s;
}
.link-surprizebox svg{
	display:flex;
	width:15px;
	fill:#fff;
}
.surprizebox-notice{
	position:absolute;
	z-index:999;
	color:white;
	background-color:#FF0000;
	border-radius:50px;
	font-size:10px;
	line-height:10px;
	width:12px;
	display:flex;
	align-items:center;
	justify-content:center;
	height:12px;
	margin-bottom:10px;
	margin-left:13px;
}
.link-surprizebox{
	background-color:#3d3d3d;
	width:30px;
	height:30px;
	display:flex;
	align-items:center;
	justify-content:center;
	border-radius:5px;
	transition:1s;
}
.link-surprizebox:hover,.link-dollar:hover{
	background-color:#666767;
	transition:1s;
}


.bcas {padding: 15px 20px; color:#fff;
    background-color: #990000;
    border-radius: 20px;}
.wave-button{
	background: rgb(172,37,37);
background: linear-gradient(0deg, rgba(104,20,20,1) 0%, rgba(172,37,37,1) 100%);
	color:white;
	transition:1s;
	border-radius:5px;
	padding:10px 15px 10px 15px;
	
}
.wave-button:hover{
	background:white;
	outline:1px solid #AC2525;
	color:#AC2525;
	transition:0.5s;
}

.btn-reg{
	background-color:#19be47;
	color:white;
	padding:5px 15px;
	border-radius:10px;
	transition:.5s;
}
.btn-reg:hover{
	outline:2px solid #19be47;
	background-color:#2b2b2b;
	color:white;
	transition:.5s;}

.main-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav li {
  margin-right: 20px;
}
.main-nav a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

/* Buttons */
.btn-red {
  background: #e4002b;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
}
.btn-dark {
  background: #1d1d1d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid #fff;
}

/* Footer */
.site-footer {
  background: #1d1d1d;
  color: #fff;
  padding: 40px 0;
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 20px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.floating-btn:hover {
  transform: translateY(-3px);
  background: #c90025;
}
.floating-btn.demo {
  bottom: 70px;
  background: #444;
}
.floating-btn.demo:hover {
  background: #000;
}
@media screen and (min-width: 1025px) {
  .floating-btn {
    display: none;
  }
}

/* Popups */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease-in-out;
}
.popup-overlay.active {
  display: flex;
}
.popup-content {
  background: #fff;
  padding: 30px;
  max-width: 640px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease-out;
}
.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
  }
  .main-nav li {
    margin: 10px 0;
  }
  .site-header .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-buttons {
    margin-top: 10px;
  }
  .popup-content {
    padding: 20px;
  }
}
