/* Casino Header & Footer Styles */

/* CSS Variables */
:root {
  --casino-green: #166534;
  --casino-green-dark: #14532d;
  --casino-orange: #1a1a2e;
  --casino-white: #ffffff;
  --casino-bg: #f8faf9;
  --casino-text: #1f2937;
  --casino-text-secondary: #6b7280;
}

/* Header */
.casino-header {
  background: var(--casino-green);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}
.casino-header-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.casino-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.casino-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
}
.casino-logo img {
  width: 40px;
  height: 40px;
}
.casino-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}
.casino-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.casino-header-links {
  display: flex;
  gap: 20px;
}
.casino-header-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.casino-header-links a:hover {
  color: white;
}
/* Language Switcher Dropdown */
.lang-switcher {
  position: relative;
}
.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.lang-switcher-btn:hover {
  background: rgba(255,255,255,0.25);
}
.lang-switcher-btn .dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}
.lang-switcher.open .dropdown-arrow {
  transform: rotate(180deg);
}
.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  min-width: 180px;
  overflow: hidden;
  z-index: 1000;
}
.lang-switcher.open .lang-dropdown {
  display: block;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
}
.lang-option:hover {
  background: #f1f5f9;
}
.lang-option.active {
  background: #f0fdf4;
  color: #006d32;
}
.lang-option.active::after {
  content: '\2713';
  margin-left: auto;
  font-weight: 700;
  color: #006d32;
}
.lang-option-name {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.lang-option-name span:last-child {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 400;
}

/* Navigation Bar */
.casino-nav {
  background: var(--casino-green-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: visible;
}
.casino-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: visible;
}
.casino-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}
.casino-nav a:hover,
.casino-nav a.active {
  color: white;
  background: rgba(255,255,255,0.05);
}
.casino-nav a svg {
  width: 16px;
  height: 16px;
}

/* Mega Menu Dropdown */
.casino-nav-item {
  position: relative;
}
.casino-nav-item > a,
.casino-nav-item > .nav-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.casino-nav-item > a:hover,
.casino-nav-item > a.active,
.casino-nav-item:hover > .nav-trigger {
  color: white;
  background: rgba(255,255,255,0.05);
}
.casino-nav-item > a svg,
.casino-nav-item > .nav-trigger svg {
  width: 16px;
  height: 16px;
}
.dropdown-arrow {
  width: 10px !important;
  height: 10px !important;
  margin-left: 4px;
  transition: transform 0.2s;
}
.casino-nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  min-width: 600px;
  padding: 24px;
  display: none;
  z-index: 1000;
}
.casino-nav-item:hover .mega-menu {
  display: block;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mega-menu-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a2e !important;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--casino-green);
}
.mega-menu-col a {
  display: block;
  padding: 8px 0;
  color: #4a5568;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.mega-menu-col a:hover {
  color: var(--casino-green);
}
.mega-menu-col .coming-soon {
  display: block;
  padding: 8px 0;
  color: #a0aec0;
  font-size: 0.875rem;
  cursor: default;
}
.mega-menu-col .coming-soon::after {
  content: "Soon";
  font-size: 0.625rem;
  background: #e2e8f0;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}
.coming-soon-nav {
  opacity: 0.6;
  cursor: default !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle-home {
  display: none;
  background: none;
  border: none;
  color: white;
  padding: 8px;
  cursor: pointer;
}
.mobile-menu-toggle-home span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
}

/* Mobile Menu Overlay & Slide-in */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: var(--casino-green-dark);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
}
.mobile-menu-logo img {
  width: 32px;
  height: 32px;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  padding: 8px;
  cursor: pointer;
}
.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}
.mobile-menu-section {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-title {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.mobile-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mobile-menu-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background: #1a1a3e;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: white;
  transition: background 0.2s, transform 0.2s;
  min-height: 100px;
  position: relative;
}
.mobile-menu-card:hover {
  background: #252550;
  transform: translateY(-2px);
}
.mobile-menu-card .card-emoji {
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.mobile-menu-card .card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.mobile-menu-card .card-text {
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.3;
}
.mobile-menu-card .card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  opacity: 0.6;
}
.mobile-menu-list {
  padding: 12px 0;
}
.mobile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: white;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background 0.2s;
}
.mobile-menu-item:hover {
  background: rgba(255,255,255,0.05);
}
.mobile-menu-item svg {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

/* Footer */
.casino-footer {
  background: var(--casino-green-dark);
  color: white !important;
  padding-top: 60px;
}
.casino-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.casino-footer-top {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.casino-footer-brand p {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 20px;
}
.casino-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.casino-footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s;
}
.casino-footer-social a:hover {
  background: rgba(255,255,255,0.2);
}
.casino-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.casino-footer-nav h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white !important;
}
.casino-footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.casino-footer-nav li {
  margin-bottom: 12px;
}
.casino-footer-nav a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.casino-footer-nav a:hover {
  color: white !important;
}
.casino-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-top: 24px;
}
.casino-footer-badges {
  display: flex;
  align-items: center;
  gap: 24px;
}
.casino-footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.75rem;
}
.casino-footer-badge svg {
  width: 20px;
  height: 20px;
}
.casino-footer-copyright {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.8125rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .casino-nav {
    display: none;
  }
  .mobile-menu-toggle-home {
    display: block;
  }
  .casino-header-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .casino-footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .casino-footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .casino-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .casino-footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}
