@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #070c1e;
  --bg-card: #0f1836;
  --bg-card-hover: #15234d;
  --primary: #0077b6;
  --accent-cyan: #00e0ff;
  --accent-blue: #0096c7;
  --accent-glow: rgba(0, 224, 255, 0.4);
  --white: #ffffff;
  --text-primary: #f8f9fa;
  --text-muted: #a0aec0;
  --text-cyan: #00e0ff;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 224, 255, 0.3);
  --shadow-glow: 0 0 25px rgba(0, 224, 255, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header & Glassmorphism Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 12, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white) 30%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mobile Nav - Horizontally scrollable or inline flex */


/* Отредактироваый хедер */
.nav-menu {
  display: flex;
  gap: 8px;
}

/* убираем стандартные отступы/маркеры ul от WordPress */
.nav-menu-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-list a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
}

.nav-menu-list a:hover,
.nav-menu-list a.active {     /* было .current-menu-item a */
  background: rgba(0, 224, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.1);
}


/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  padding-top: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(7, 12, 30, 0.5), rgba(7, 12, 30, 0.98)),
              url('../images/hero-bg.webp') no-repeat center center / cover;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  padding: 40px 20px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 224, 255, 0.1);
  border: 1px solid rgba(0, 224, 255, 0.3);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.1);
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white) 40%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-blue), var(--primary));
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.4);
  cursor: pointer;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 224, 255, 0.4);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #070c1e;
}

/* Showcase - Казино Вітрина */
.showcase-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 1.8rem;
  color: var(--white);
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.casino-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.casino-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 30px rgba(0, 224, 255, 0.12);
}

.casino-badge-top {
  position: absolute;
  top: -12px;
  left: 20px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #070c1e;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.casino-logo-wrap {
  background: rgba(255, 255, 255, 0.05);
  /* padding: 15px; */
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.casino-card:hover .casino-logo-wrap {
  border-color: var(--accent-cyan);
  background: rgba(0, 224, 255, 0.05);
}

.casino-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.casino-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.casino-name {
  font-size: 1.4rem;
  color: var(--white);
}

.casino-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stars {
  color: #ffb703;
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.rating-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.casino-bonus-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  width: 100%;
}

.bonus-type-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.bonus-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
}

.casino-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #070c1e;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 224, 255, 0.2);
}

.casino-action-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 22px var(--accent-glow);
  background: linear-gradient(135deg, var(--white), var(--accent-cyan));
}

/* Content Block - Блок контенту */
.content-section {
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Custom styled H2-H3 */
.content-container h2 {
  font-size: 1.8rem;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 18px;
  position: relative;
  padding-left: 16px;
}

.content-container h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.content-container h3 {
  font-size: 1.35rem;
  color: var(--accent-cyan);
  margin-top: 28px;
  margin-bottom: 12px;
}

.content-container p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* Custom styled List */
.custom-list {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 4px;
}

.custom-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Custom styled Table (Responsive) */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 500px;
}

.custom-table th {
  background: var(--bg-card);
  color: var(--accent-cyan);
  font-weight: 700;
  padding: 16px;
  font-family: 'Outfit', sans-serif;
  border-bottom: 2px solid var(--border);
}

.custom-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  background: rgba(15, 24, 54, 0.4);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background: rgba(0, 224, 255, 0.05);
}

/* FAQ Block */
.faq-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* high value for slide effect */
  padding-bottom: 20px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Footer Section */
.footer {
  background: #040815;
  border-top: 1px solid var(--border);
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu-title {
  font-size: 1.1rem;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-responsible {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.responsible-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ff4d4d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.responsible-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.responsible-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5px;
}

.badge-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
}

.badge-red {
  border-color: rgba(255, 77, 77, 0.3);
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.05);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive Styles for Desktop (min-width: 768px) */
@media (min-width: 768px) {
  .header-container {
    padding: 16px 40px;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 10px 18px;
  }

  .hero {
    min-height: 70vh;
    padding-top: 110px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-description {
    font-size: 1.15rem;
  }

  .showcase-section {
    padding: 80px 40px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  /* Desktop Showcase Layout: Horizontal rows */
  .casino-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 24px 40px;
  }

  .casino-logo-wrap {
    width: 120px;
    height: 120px;
  }

  .casino-info {
    flex: 1;
    align-items: flex-start;
    padding-left: 20px;
  }

  .casino-rating {
    justify-content: flex-start;
  }

  .casino-bonus-details {
    width: auto;
    flex: 1.5;
    padding: 15px 30px;
    margin: 0 20px;
  }

  .casino-action-btn {
    width: 160px;
  }

  .content-section {
    padding: 80px 40px;
  }

  .content-container h2 {
    font-size: 2.2rem;
  }

  .faq-section {
    padding: 80px 40px;
  }

  .footer {
    padding: 80px 40px 30px;
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 2fr;
    gap: 50px;
  }
}




/* ── Burger button (mobile) ── */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Burger → X animation when open */
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav: slide-down panel ── */
.nav-menu {
  position: fixed;
  top: 65px; /* below the fixed header */
  left: 0;
  width: 100%;
  background: rgba(7, 12, 30, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.nav-menu.is-open {
  max-height: 70vh;
  padding: 16px 20px;
  overflow-y: auto;
}

.nav-menu-list {
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.nav-menu-list a {
  display: block;
  width: 100%;
  text-align: center;
}


@media (min-width: 768px) {
  /* ... ваши существующие правила ... */

  .burger {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
  }

  .nav-menu-list {
    flex-direction: row;
  }

  .nav-menu-list a {
    width: auto;
  }
}