:root {
  --primary-color: #4a90e2;
  --primary-dark: #357abd;
  --secondary-color: #50c878;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-dark: #34495e;
  --white: #ffffff;
  --border-color: #e1e8ed;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 40px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(52, 73, 94, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 4rem 0 3rem;
  margin-bottom: 0;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-light {
  background-color: var(--white);
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 5rem 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

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

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:before {
  content: "●";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.feature-card,
.info-card,
.tip-card,
.principle-card,
.difference-card,
.gameplay-card,
.scenario-card,
.feature-detail-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.info-card:hover,
.tip-card:hover,
.principle-card:hover,
.difference-card:hover,
.gameplay-card:hover,
.scenario-card:hover,
.feature-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.section-dark .feature-card,
.section-dark .gameplay-card,
.section-dark .scenario-card,
.section-dark .difference-card {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.section-dark .feature-card h3,
.section-dark .feature-card h4,
.section-dark .gameplay-card h3,
.section-dark .gameplay-card h4,
.section-dark .scenario-card h3,
.section-dark .scenario-card h4,
.section-dark .difference-card h3,
.section-dark .difference-card h4 {
  color: var(--white);
}

.faq-item,
.behavior-item,
.difference-item,
.exclusion-item {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-color);
}

.section-dark .faq-item,
.section-dark .behavior-item {
  background: rgba(255, 255, 255, 0.1);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 5rem 0;
}

.cta-section h2 {
  color: var(--white);
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: scale(1.05);
}

.btn-outline-primary {
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-primary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.btn-outline-light {
  color: var(--text-dark);
  background-color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-legal {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  border-radius: 5px;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.legal-content {
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border-color);
}

.legal-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.step-number {
  background: var(--primary-color);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 1.5rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-link:hover {
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .lead {
    font-size: 1.2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section-light,
  .section-dark {
    padding: 3rem 0;
  }

  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  .flow-step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}
