
/* =========================================
   1. Reset & Variables
   ========================================= */
:root {
  /* Colors */
  --bg-dark: #0f1218;
  --bg-card: #1a1e26;
  --bg-hover: #252b36;
  --primary: #ff3c00;
  --primary-hover: #ff5e2e;
  --secondary: #ff9d00;
  --accent-purple: #9d4edd;
  --text-main: #ffffff;
  --text-muted: #a0a5b1;
  --success: #2ecc71;
  
  /* Gradients */
  --gradient-fire: linear-gradient(135deg, #ff3c00 0%, #ff9d00 100%);
  --gradient-dark: linear-gradient(180deg, #1a1e26 0%, #11141c 100%);
  
  /* Dimensions & Spacing */
  --container-width: 1200px;
  --radius-sm: 0.25rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --gap: 1rem;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 15px rgba(255, 60, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

/* =========================================
   2. Grid & Utilities (Bootstrap Simulation)
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

[class*="col-"] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: relative;
  width: 100%;
}

/* Flex Utilities */
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.d-none { display: none !important; }
.no-gutters { margin-right: 0; margin-left: 0; }
.no-gutters > .col, .no-gutters > [class*="col-"] { padding-right: 0; padding-left: 0; }

/* Spacing Utilities */
.pt-5 { padding-top: 0.5rem; }
.pt-10 { padding-top: 1rem; }
.pb-10 { padding-bottom: 1rem; }
.pt-20 { padding-top: 2rem; }
.pb-20 { padding-bottom: 2rem; }
.pb-30 { padding-bottom: 3rem; }

/* Grid Columns */
.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.col-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
  .d-md-block { display: block !important; }
  .d-md-none { display: none !important; }
  .text-md-left { text-align: left; }
  .text-md-right { text-align: right; }
  .pt-md-0 { padding-top: 0; }
  .pb-md-0 { padding-bottom: 0; }
}

@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
  .d-lg-block { display: block !important; }
  .d-lg-none { display: none !important; }
}

/* =========================================
   3. Header & Navigation
   ========================================= */
.heder {
  background-color: var(--bg-card);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  position: relative;
  z-index: 100;
}

.header_navigation2 {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.header_navigation2 a {
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}

.header_navigation2 a:hover {
  color: var(--primary);
}

.header_navigation2 a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-fire);
  transition: width 0.3s ease;
}

.header_navigation2 a:hover::after {
  width: 100%;
}

.logo {
  display: block;
  width: 180px;
  height: 60px;
  background: url('path-to-logo.png') no-repeat center/contain; /* Fallback styles */
  background-color: rgba(255,255,255,0.05); /* Placeholder if image missing */
  border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  transition: var(--transition);
  margin: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-defolt {
  color: var(--text-main);
  background: var(--bg-hover);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-regist {
  background: var(--gradient-fire);
  box-shadow: var(--shadow-glow);
  border: none;
}

.btn-regist:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 5px 20px rgba(255, 60, 0, 0.6);
}

.btn-voiti {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-voiti:hover {
  background: rgba(255, 60, 0, 0.1);
  color: var(--text-main);
}

/* Mobile Menu Toggle */
.open-menu {
  width: 40px;
  height: 40px;
  background: var(--bg-hover);
  position: relative;
  vertical-align: middle;
}
.open-menu::before {
  content: '☰';
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Main Navigation Bar */
.navigation {
  background: #151920;
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.navigation-bg {
  display: flex;
}

.navigation .item {
  text-align: center;
  padding: 1rem 0.5rem;
  transition: var(--transition);
}

.navigation .item a {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
}

.navigation .item:hover,
.navigation .item.activ {
  background: rgba(255, 60, 0, 0.05);
}

.navigation .item:hover a,
.navigation .item.activ a {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 60, 0, 0.5);
}

/* =========================================
   4. Banners & Pre-headers
   ========================================= */
.pre-header-dovnload {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pre-header-dovnload-v2 {
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
  border: none;
}

.text-box {
  flex: 1;
  font-weight: 500;
  font-size: 0.95rem;
}

.button_pp {
  display: block;
  width: 50px;
  height: 50px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  position: relative;
  transition: var(--transition);
}

.button_pp::after {
  content: '➜';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.button_pp:hover {
  background-color: var(--primary);
  transform: rotate(-45deg);
}

/* Owl Carousel Mockup Styles */
.owl-carousel .item {
  background: url('placeholder-banner.jpg') no-repeat center/cover;
  background-color: #2c3e50;
  height: 300px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.owl-carousel .item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.owl-carousel .item .btn {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}

/* =========================================
   5. Winners Ticker
   ========================================= */
.main_menu_winners {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  margin-top: 1rem;
}

.main_menu_winners-call {
  display: flex;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.5rem;
  text-shadow: 0 0 5px rgba(255, 157, 0, 0.5);
}

.cifra {
  background: #000;
  padding: 0.2rem 0.4rem;
  margin: 0 1px;
  border-radius: 2px;
  color: var(--primary);
}

.valuta.rubeli::after { content: '₽'; padding-left: 0.5rem; }

/* =========================================
   6. Game Grid
   ========================================= */
.games_header {
  margin-bottom: 2rem;
}

.games_list {
  padding: 2rem 0;
}

.games_list .item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.games_list .item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

/* Simulated Game Image Background */
.games_list .item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(45deg, #2b3240, #1a1e26);
  z-index: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.games_list .item .title {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  margin-top: auto; /* Push down */
}

.games_list .item .btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 0.5rem;
  margin: 0.2rem 0;
  z-index: 1;
  position: relative;
  opacity: 0.9;
}

.games_list .item .btn.plau-game {
  background: var(--gradient-fire);
  color: white;
  border: none;
}

.games_list .item .btn.plau-demo {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
}

.games_list .item .btn.plau-demo:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.btn-game-color {
  background: var(--accent-purple);
  color: white;
  min-width: 200px;
}

.btn-game-color:hover {
  background: #b16ce6;
}

/* =========================================
   7. Content Typography (SEO Text)
   ========================================= */
.main_content {
  color: var(--text-muted);
  padding: 3rem 0;
  background: #14171e;
}

.main_content h1, 
.main_content h2, 
.main_content h3 {
  color: var(--text-main);
  font-family: var(--font-heading);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.main_content h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main_content h2 {
  font-size: 1.5rem;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}

.main_content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.main_content ul, 
.main_content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.main_content ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.main_content blockquote {
  background: rgba(255, 60, 0, 0.05);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-main);
}

.main_content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.main_content th, 
.main_content td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main_content th {
  background: rgba(0, 0, 0, 0.2);
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.main_content tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* =========================================
   8. FAQ Section
   ========================================= */
#faq {
  margin-top: 3rem;
}

#faq h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

#faq .item {
  background: var(--bg-card);
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

#faq .question {
  display: block;
  padding: 1.25rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
}

#faq .question:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

#faq .question::after {
  content: '+';
  float: right;
  font-weight: bold;
}

#faq .question:not(.hide)::after {
  content: '-';
}

#faq .answer {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  color: var(--text-muted);
}

#faq .answer.hide {
  display: none;
}

/* =========================================
   9. Footer
   ========================================= */
.footer {
  background: #0a0c10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  line-height: 1.8;
}

.footer span {
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.5rem;
}

.footer p {
  margin-bottom: 0.5rem;
}

/* =========================================
   10. Form Elements (Generic)
   ========================================= */
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 60, 0, 0.2);
}

/* =========================================
   11. Animations
   ========================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.games_list .item {
  animation: fadeIn 0.5s ease-out forwards;
}
