
:root {

  
  --bgLeft: url('kkleft.png?11');
  --bgRight: url('kkright.png?11');
  --backtablehead: #a9c2f7;
  
}


body.bg-light::before,
body.bg-light::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background-size: cover; /* чтобы картинка заполняла свою половину */
  background-repeat: no-repeat;
  z-index: -1; /* фон за контентом */
}

body.bg-light::before {
  left: 0;
  background: var(--bgLeft) left top repeat-y;
  background-size: contain;
}

body.bg-light::after {
  right: 0;
  background: var(--bgRight) right top repeat-y;
  background-size: contain;
}

body.bg-light {
  font-family: Arial, sans-serif;
  padding: 0;
  background-color: var(--accent)!important;
      position: relative;
}

.inh1 {
    display: inline-block;
    font-weight: normal;
    font-size: 0.7em;
}




h1 {
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th, td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background: #f0f0f0;
  cursor: pointer;
}

tr:hover {
  /*background: #fafafa;*/
}

button {
  padding: 6px 12px;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #4338ca;
}

.hero-section {
	height: 46vh;
	min-height: 340px;
	max-height: 350px;
	background: linear-gradient(135deg, #4f46e5, #0d6efd);
	background-image:url(back.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: local;
	position: relative;
}
.hero-link {color: #e05435;}

.hero-section h1,
.hero-section p {
  /*text-shadow: 0 2px 8px rgba(0,0,0,.25);*/
  /* Градиент цвета золотистый */
  background: linear-gradient(90deg, #ffe58c, #e59c3c, #ddb04b);
  -webkit-background-clip: text;
  /*-webkit-text-fill-color: transparent;*/
  font-weight:bold;
  color:var(--bs-table-title);

  /* Тень для лучшей читаемости */
  /*text-shadow: 2px 2px 6px rgba(0,0,0,0.5);*/
  /* Обводка текста */
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.6); /* тёмная обводка */
  text-stroke: 1px rgba(0, 0, 0, 0.6); /* для браузеров, где поддерживается */

  /* Тень для глубины */
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.5),
    0 0 8px rgba(0, 0, 0, 0.2);
}


.hero-text:before {
    content: attr(data-content);
    margin: 0 6px;
}
.hero-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #00608f8f;
    /*opacity: 0.5;*/
    height: auto;
    text-align: center;
}

/* подсветка активной сортировки */
thead th.sorted {
  /*background-color: #0d6efd !important;*/
  background-color: var(--accent-hover) !important;
  color: #fff !important;
}

thead th.sorted:hover, thead th[data-sort]:hover {
  background-color: var(--accent) !important;
}


.shadow-sm {
    border-color: #264b80;
}
.card-body {
    /*background-color: var(--accent);*/
}
.card-title {
    color: var(--accent-text);
}

.card-body > p {
    color: var(--text-secondary);
    color: var(--accent-text);
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

}


.table>:not(caption)>*>* {
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
    background-color: var(--backtablehead);	
}

.table-hover>tbody>tr:hover>*, .table-hover>tbody>tr:hover + .trlink>*{
    --bs-table-color-state: var(--bs-table-hover-color2);
    --bs-table-bg-state: var(--bs-table-hover-bg2);
}

:root,
[data-bs-theme="light"] {
    --bs-table-title: #e59c3c;
    /*--bs-table-bg2: #ffe58c;
	--bs-table-bg3: #e59c3c;*/
	--bs-table-bg2: #a9c2f7;
	--bs-table-bg3: #86a6eb;
	--bs-table-hover-color2: #fff;
	--bs-table-hover-bg2: #86a6eb;
}
.table-dark {
	/*--bs-table-bg2: #e59c3c;
	--bs-table-bg3: #ffe58c;*/
	--bs-table-bg2: #a9c2f7;
	--bs-table-bg3: #86a6eb;
}

.btn-primary {
    --bs-btn-color: #0482b3;
    --bs-btn-bg: #69e7f7;
    --bs-btn-border-color: #00203f;
    --bs-btn-hover-color: #71e3f7;
    --bs-btn-hover-bg: #0c71a3;
    --bs-btn-hover-border-color: #79f4fc;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #79f4fc;
    --bs-btn-active-bg: #004a6e;
    --bs-btn-active-border-color: #79f4fc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}



:root {
  --bg-page: #f6f8fb;
  --bg-card: #ffffff;
  --bg-header: #f8fafc;

  --text-main: #111827;
  --text-secondary: #6b7280;

  --border-soft: #e5e7eb;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-text: #ffffff;
  
  --backcolortable: #2563eb;

  --success: #16a34a;
  --success-bg: #dcfce7;

  --warning: #f59e0b;
  --warning-bg: #fef3c7;
  
  
}
body {
  background: var(--bg-page);
  color: var(--text-main);
}

.page-wrapper {
  max-width: 1200px;
  margin: 48px auto;
  padding: 32px;
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-secondary);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.table tbody tr {
  transition: background .15s ease;
}

.table tbody tr:hover {
  /*background: #f9fbff;*/
}

.table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.brand-name {
  font-weight: 600;
  font-size: 15px;
}


@keyframes coin-spin {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.brand-name img {
  max-height: 50px;
  transform-style: preserve-3d;
  will-change: transform;

  /* по умолчанию — НЕТ анимации */
  animation: none;
}

tr:hover .brand-name img {
  /*animation: coin-spin 1.2s linear infinite;*/
}

.brand-description {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 4px;
  
  /*font-size: 14px;*/
  line-height: 1.5;
  color: #6b7280;
  max-width: 560px;
  
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /*line-height: 1.55;*/
}

table tbody:hover .brand-description {
  color: var(--accent-text);
}  


table tbody:hover tr:hover .brand-description {
  color: var(--accent-hover);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge--bonus {
  background: var(--success-bg);
  color: var(--success);
}

.badge--rating {
  background: var(--rating-bg);
  color: var(--accent);
}

/* минимальный депозит */
.badge--deposit {
  background-color: #ffedd5;   /* заметнее, чем #fff7ed */
  color: #b45309;              /* тёплый, читаемый */
  border: 1px solid #fed7aa;   /* тонкая граница */
}

/* высокий рейтинг (4.5+) */
.badge--rating-high {
  background-color: #dbeafe;
  color: #1d4ed8;
}

/* средний рейтинг (4.0 – 4.49) */
.badge--rating-medium {
  background-color: #fef3c7;
  color: #92400e;
}

/* низкий рейтинг (< 4.0) */
.badge--rating-low {
  background-color: #fee2e2;
  color: #991b1b;
}



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .15s ease;
}

.btn:hover {
  background: var(--accent-hover);
}

.value {
  font-weight: 600;
  font-size: 15px;
}

th.sorted {
  font-weight: 600;
}

th.sorted::after {
  color: currentColor;
}

th[data-sort="value3"] {
  color: #92400e;
}

th[data-sort="value3"].sorted {
  color: #f59e0b;
}

tr:hover .badge[class*="rating"] {
  transform: scale(1.05);
}



.page {
  background: #f6f8fb;
  padding: 48px 24px;
}

.content-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow:
    0 10px 30px rgba(0,0,0,.04),
    0 1px 3px rgba(0,0,0,.06);
}



thead th {
  background: var(--bg-header);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 18px;
}

tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-main);
  font-size: 14px;
}

tbody tr:hover {
  /*background: #f9fbff;*/
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-align:center;
}

.badge--rating {
  background: #dbeafe;
  color: var(--accent);
}

.badge--warning {
  background: var(--warning-bg);
  color: #92400e;
}

.deposit {
  background: #f1f5f9;
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.badge {
  transition: transform .15s ease, box-shadow .15s ease;
}

tr:hover .badge {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
}





.btn {
  background: var(--accent);
}

.btn:hover, tr:hover + .trlink .btn, tr:hover + .trlink .btn:hover {
  background: var(--accent-hover);
}

.badge--rating-high {
  background: color-mix(in srgb, var(--accent) 15%, white);
  color: var(--accent);
}

.badge--rating-medium {
  background: #fef3c7;
  color: #92400e;
}

.badge--rating-low {
  background: #fee2e2;
  color: #991b1b;
}



/* =========================
   Стиль таблицы "Glass Vista"
========================= */
#brandsTable {
  width: 100%;
  border-collapse: separate; /* чтобы скругления работали */
  border-spacing: 0;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15); /* лёгкая прозрачность */
  backdrop-filter: blur(12px); /* размытие заднего фона */
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); /* тень */
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Заголовки */
#brandsTable th {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
  text-align: left;
  text-align: center;
  vertical-align: middle;
  padding: 12px 16px;
  backdrop-filter: blur(6px);
}

/* Строки */
#brandsTable tbody tr {
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

#brandsTable tbody tr:hover {
  /*background: rgba(255, 255, 255, 0.1);*/
  transform: translateY(-2px);*
}


/* Ячейки */
#brandsTable td {
  padding: 12px 16px;
  color: #fff;
  text-align: center;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: var(--accent-hover);
    background-color: var(--accent);
    border-color: var(--accent-hover);
}

/* Скругление первой и последней ячеек */
#brandsTable tr:first-child th:first-child {
  border-top-left-radius: 15px;
}
#brandsTable tr:first-child th:last-child {
  border-top-right-radius: 15px;
}
#brandsTable tr:last-child td:first-child {
  border-bottom-left-radius: 15px;
}
#brandsTable tr:last-child td:last-child {
  border-bottom-right-radius: 15px;
}

/* Кнопки */
#brandsTable .btn {
  /*color: #fff;*/
  border-radius: 8px;
  font-weight: 600;
}

/* Бейджи */
#brandsTable .badge {
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-block;
}

.card.shadow-sm {
  background: rgba(255, 255, 255, 0.15); /* прозрачный фон */
  backdrop-filter: blur(10px);          /* размытие заднего фона */
  -webkit-backdrop-filter: blur(10px);  /* для Safari */
  border: inherit; /* лёгкая рамка */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); /* тень */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}


.site-footer {
  margin-top: 80px;
  padding: 40px 20px;
  background: #f6f8fb;
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 12px;
}

.footer-muted {
  color: #6b7280;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 13px;
  color: #6b7280;
}

.footer-age {
  font-weight: 700;
  color: #ef4444;
  border: 1px solid #ef4444;
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1;
}



@media (max-width: 767px) {
	#brandsTable tbody tr:hover {
	  transform: none;
	}
	
.hero-section {
	/*--bs-table-title: red;*/
	background-position: center;
}
	
.hero-section h1,
.hero-section p {
  /*background: linear-gradient(90deg, #ffe58c, #e59c3c, #ddb04b);*/
  background: #ff000061;
  -webkit-background-clip: text;
  font-weight: 700 !important;
  color:var(--bs-table-title);
  /*-webkit-text-stroke: 1px rgba(0, 0, 0, 0.6);*/
  /*text-stroke: 1px rgba(0, 0, 0, 0.6);*/
  text-shadow:2px 6px 6px rgb(23 32 61), 0 0 10px rgb(63 80 130);
}
	
}
