:root {
  --primary-color: #02b5d5;
  --footer-color: #0389aa;
  --accent-color: #f4a622;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
}

/* Navbar */
.navbar {
  background-color: #ffffff !important;
  padding: 0.75rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.navbar .container-fluid {
  position: relative;
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
  }
  
  .nav-center-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.navbar-brand img {
  max-height: 50px;
  width: auto;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border-color: var(--text-dark);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light);
  font-weight: 600;
  transition: all 0.3s;
}

.btn-accent:hover {
  background-color: #d9951e;
  border-color: #d9951e;
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(244, 166, 34, 0.3);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
}

.btn-outline-light:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(2, 181, 213, 0.3);
}

/* White text button in hero section */
.hero .btn-outline-light {
  border-color: var(--text-light);
  color: var(--text-light);
}

.hero .btn-outline-light:hover {
  background-color: var(--text-light);
  border-color: var(--text-light);
  color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0389aa 100%);
  color: var(--text-light);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.cta-wrap {
  gap: 1rem;
  margin-top: 2rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.anchor-offset {
  scroll-margin-top: 80px;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.game-card {
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.game-icon {
  font-size: 3rem;
  line-height: 1;
}

.feature-card {
  text-align: left;
}

.feature-icon {
  font-size: 2.5rem;
  line-height: 1;
}

/* Links */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #d9951e;
  text-decoration: underline;
}

/* Lists */
.check-list {
  list-style: none;
}

.check-list li::before {
  content: "✓ ";
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.feature-list {
  list-style: none;
}

.feature-list li::before {
  content: "• ";
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* FAQ */
.faq-card {
  background: var(--bg-light);
}

.faq-header {
  display: flex;
  align-items: center;
}

.faq-icon {
  font-size: 2rem;
}

.faq-item {
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item summary:hover {
  color: var(--accent-color);
}

.faq-number {
  color: var(--primary-color);
  font-weight: bold;
  min-width: 2rem;
}

.faq-content {
  padding: 1rem 0 0 2.5rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Warning Card */
.warning-card {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border-left: 4px solid var(--accent-color);
}

.warning-header {
  display: flex;
  align-items: center;
}

.age-icon {
  background-color: var(--accent-color);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.warning-list li::before {
  content: "⚠ ";
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Table */
.table {
  margin-bottom: 0;
}

.table thead th {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
}

.table tbody tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* Footer */
.footer {
  background-color: var(--footer-color);
  color: var(--text-light);
  margin-top: 3rem;
}

.footer h5 {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d9951e;
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

.footer small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.footer a {
  color: var(--accent-color);
  font-weight: 600;
}

.footer a:hover {
  color: #d9951e;
  text-decoration: underline;
}

/* Mobile CTA */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

@media (max-width: 991px) {
  .mobile-cta {
    display: flex;
  }
  
  body {
    padding-bottom: 80px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .game-card,
  .feature-card {
    margin-bottom: 1.5rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.6s ease-out;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--footer-color);
}
