﻿/* Общие стили */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

ul,
ol {
  margin-left: 2rem;    /* główny odstęp całej listy od lewej krawędzi */
  padding-left: 1rem;   /* dodatkowe wcięcie dla punktów/liczb */
  list-style-position: outside; /* znaczniki pozostają na zewnątrz bloku tekstu */
}

/* Jeśli chcesz większą kontrolę nad samymi punktami/liczbami: */
ul li,
ol li {
  margin-bottom: 0.5em; /* odstęp między kolejnymi elementami listy */
}

/* HEADER */
.header {
  background-color: #0F0529;
  padding: 10px 0;
}
.header .logo img {
  max-height: 30px;
}
.main-nav .nav-link {
  color: #fff;
  font-weight: 500;
  margin: 0 8px;
}
.main-nav .nav-link.active,
.main-nav .nav-link:hover {
  text-decoration: underline;
}
.user-actions button {
  font-size: 0.875rem;
}

/* Breadcrumb */
.breadcrumb-container {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 8px 15px;
}
.breadcrumb a {
  color: #ff6b00;
  text-decoration: none;
}

/* Main Container */
.main-container {
  padding: 20px 0;
}

/* Sidebar */
.sidebar {
  background-color: #fff;
  border-right: 1px solid #ddd;
  padding: 15px;
}
.sidebar-section {
  margin-bottom: 20px;
}
.sidebar-section h5 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #444;
}
.sidebar .nav-link {
  color: #555;
  padding: 5px 0;
  font-size: 0.9rem;
}
.sidebar .nav-link i {
  margin-right: 5px;
}
.sidebar-banner img {
  border-radius: 4px;
}

/* Main Content */
.main-content {
  padding: 0 15px;
}

/* Banner Sections */
.main-banner,
.secondary-banner {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.main-banner img,
.secondary-banner img {
  display: block;
  width: 100%;
}
.banner-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
}
.banner-content h2,
.banner-content h3 {
  font-weight: bold;
  margin-bottom: 10px;
}
.banner-content p {
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Category Tabs */
.category-tabs .nav-tabs {
  border-bottom: 1px solid #ddd;
}
.category-tabs .nav-link {
  color: #555;
  font-size: 0.9rem;
  padding: 8px 15px;
}
.category-tabs .nav-link.active {
  color: #ff6b00;
  border-color: #ff6b00;
}

/* Game Grid & Cards */
.game-grid h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #444;
}
.game-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.game-card:hover {
  transform: translateY(-3px);
}
.game-card .game-image {
  position: relative;
}
.game-card .game-image img {
  width: 100%;
  display: block;
}
.game-card .game-info {
  padding: 8px;
  text-align: center;
}
.game-card .game-info h5 {
  font-size: 0.95rem;
  margin-bottom: 5px;
}
.game-card .game-info .provider {
  font-size: 0.8rem;
  color: #777;
}
.game-card.large {
  /* Для карточек с большим форматом */
  min-height: 280px;
}
.game-card.large .game-image img {
  height: 180px;
  object-fit: cover;
}

/* Jackpot Badge */
.jackpot-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: #ff6b00;
  color: #fff;
  padding: 3px 6px;
  font-size: 0.8rem;
  border-radius: 3px;
}

/* Hot / Top / New Badges */
.hot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #dc3545;
  color: #fff;
  padding: 3px 6px;
  font-size: 0.8rem;
  border-radius: 3px;
}

/* View All Link */
.view-all {
  color: #ff6b00;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
}
.view-all:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #333;
  color: #ccc;
  padding: 20px 0;
}
.footer .social-icons {
  font-size: 1.2rem;
}
.footer .social-icon {
  color: #ccc;
  margin: 0 8px;
  transition: color 0.2s;
}
.footer .social-icon:hover {
  color: #ff6b00;
}
.footer .sponsors img,
.footer .payment-methods img {
  max-height: 40px;
  margin: 5px;
}

.main-banner, .secondary-banner {
  position: relative;
  overflow: hidden; /* Убираем лишние полоски */
}

.main-banner::before,
.secondary-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Затемнение на 50% */
  z-index: 1;
  pointer-events: none; /* Чтобы затемнение не мешало кликам */
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
}


/* ===================== */
/*      CUSTOM FOOTER    */
/* ===================== */
.custom-footer {
  background-color: #2f353c; /* Темный фон */
  color: #ccc;             /* Светлый текст */
  font-size: 0.9rem;
}

.custom-footer a.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}

.custom-footer a.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.custom-footer h6 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.custom-footer .text-white {
  color: #fff !important;
}

.custom-footer .text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.custom-footer .payment-icons img,
.custom-footer .sponsors img {
  max-height: 30px;
  margin: 5px;
}

/* Пример для иконок (если нужны) */
.custom-footer i {
  color: #ccc;
  margin-right: 5px;
}

.custom-footer i:hover {
  color: #fff;
}

.seo-content {
  max-height: 300px; /* Ограничение высоты */
  overflow-y: auto; /* Скролл по вертикали */
  padding-right: 10px; /* Отступ справа, чтобы скролл не перекрывал текст */
}
@media (max-width: 768px) {
  .col,                     /* Скрывает блок <div class="col"> */
  .col-md-2.sidebar,        /* Скрывает боковое меню */
  .main-banner.position-relative { /* Скрывает баннер */
    display: none !important;
  }
}
.game-image {
    position: relative;
    overflow: hidden;
}

.game-image {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.game-image::before {
    content: "Play";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}

.game-image:hover::before {
    opacity: 1;
}

.game-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Global table reset */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

/* Header row */
table thead {
  background-color: #f5f5f5;
}

table thead th {
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-weight: 600;
  text-align: left;
}

/* Body cells */
table tbody td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

/* Zebra striping */
table tbody tr:nth-child(even) {
  background-color: #fcfcfc;
}

/* Hover effect */
table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Optional: responsive behavior */
@media (max-width: 768px) {
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  th, td {
    white-space: nowrap; /* zapobiega łamaniu tekstu w komórkach */
  }
}
