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

:root {
  --cosmo-bg-main: #0b0e26;
  --cosmo-bg-card: #151b46;
  --cosmo-bg-card-alt: #1a2256;
  --cosmo-blue-accent: #2546f5;
  --cosmo-blue-hover: #3d5dfc;
  --cosmo-magenta-accent: #ff007a;
  --cosmo-magenta-hover: #e0006c;
  --cosmo-text-white: #ffffff;
  --cosmo-text-muted: #a6b4d0;
  --cosmo-border: rgba(255, 255, 255, 0.12);
}

body {
  background: var(--cosmo-bg-main);
  color: var(--cosmo-text-white);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Фіксована шапка сайту */
.bigbasspochatok {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 14, 38, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cosmo-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 12px 0;
}

.bigbassbox {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.bigbass-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.bigbass-logo img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* Кнопки входу / реєстрації */
.bigbass-vhod {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kloc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  white-space: nowrap;
}

.login {
  background: transparent;
  color: var(--cosmo-text-white);
  border: 1.5px solid var(--cosmo-blue-accent);
}

.login:hover {
  background: rgba(37, 70, 245, 0.2);
  color: #fff;
  border-color: var(--cosmo-blue-hover);
}

.signup {
  background: linear-gradient(135deg, #ff007a 0%, #d80068 100%);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 0, 122, 0.45);
  border: none;
}

.signup:hover {
  background: linear-gradient(135deg, #ff1a88 0%, #eb0072 100%);
  box-shadow: 0 0 22px rgba(255, 0, 122, 0.7);
  transform: translateY(-1px);
}

/* Головний банер */
.big {
  margin-top: 76px; /* Відступ під висоту фіксованої шапки */
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #1c235c 0%, #0b0e26 80%);
  gap: 40px;
}

.big-content {
  flex: 1 1 320px;
  max-width: 550px;
  text-align: left;
}

.big-content h1 {
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(37, 70, 245, 0.3);
}

.big-content p {
  font-size: 1.1rem;
  color: var(--cosmo-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.big-content .primary {
  background: linear-gradient(135deg, #2546f5 0%, #ff007a 100%);
  color: #ffffff;
  padding: 14px 36px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 18px rgba(37, 70, 245, 0.5);
  border: none;
}

.big-content .primary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(255, 0, 122, 0.6);
}

.big-img {
  flex: 1 1 320px;
  max-width: 520px;
  display: flex;
  justify-content: center;
}

.big-img img {
  width: 100%;
  height: auto;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Секція швидких кнопок (ігор) */
.bigsloty {
  background: #0e1233;
  padding: 24px 0;
  border-top: 1px solid var(--cosmo-border);
  border-bottom: 1px solid var(--cosmo-border);
}

.bigsloty-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  padding: 0 20px;
}

.games {
  background: var(--cosmo-bg-card);
  color: var(--cosmo-text-white);
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border: 1px solid var(--cosmo-border);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.games:hover {
  background: var(--cosmo-blue-accent);
  color: #fff;
  border-color: var(--cosmo-blue-accent);
  box-shadow: 0 0 14px rgba(37, 70, 245, 0.5);
  transform: translateY(-2px);
}

/* Текстовий блок огляду */
.bigbass-text {
  max-width: 880px;
  margin: 50px auto;
  padding: 35px 30px;
  background: var(--cosmo-bg-card);
  border: 1px solid var(--cosmo-border);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  line-height: 1.7;
  font-size: 1.05rem;
  color: #e2e8f0;
}

.bigbass-text p {
  margin-bottom: 1.2em;
  text-align: left;
}

.bigbass-text h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
  color: #ffffff;
  border-left: 4px solid var(--cosmo-magenta-accent);
  padding-left: 12px;
}

/* Таблиці (якщо будуть додані) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--cosmo-bg-card-alt);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  border: 1px solid var(--cosmo-border);
  padding: 12px 16px;
  text-align: left;
}

th {
  background-color: var(--cosmo-blue-accent);
  color: #ffffff;
  font-weight: 700;
}

/* Підвал */
.bigbass-kinez {
  background: #070919;
  border-top: 1px solid var(--cosmo-border);
  padding: 35px 20px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--cosmo-text-muted);
  margin-top: auto;
}

.footer-bigbassbox {
  max-width: 880px;
  margin: 0 auto;
}

.safe-play {
  line-height: 1.6;
  opacity: 0.8;
}

.copyright {
  margin-top: 15px;
  color: #6c7d9e;
  font-size: 0.82rem;
}

/* Мобільна оптимізація */
@media (max-width: 768px) {
  .bigbasspochatok {
    padding: 10px 0;
  }

  .bigbassbox {
    justify-content: space-between;
  }

  .bigbass-logo img {
    height: 40px;
    max-width: 140px;
  }

  .bigbass-vhod .kloc {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .big {
    margin-top: 60px;
    padding: 35px 15px;
    flex-direction: column;
    text-align: center;
  }

  .big-content {
    text-align: center;
  }

  .big-content h1 {
    font-size: 1.7rem;
  }

  .bigsloty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .bigbass-text {
    margin: 25px 15px;
    padding: 22px 18px;
    font-size: 0.98rem;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}