:root {
  --teal: #008080;
  --dark-teal: #005555;
  --light-teal: #5fc9c9;
  --orange: #ff8c42;
  --dark-orange: #e67a2e;
  --white: #ffffff;
  --dark: #1a1a1a;
  --light-gray: #f8f9fa;
  --text-dark: #2d2d2d;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.text-teal {
  color: var(--teal) !important;
}
.text-orange {
  color: var(--orange) !important;
}

.info-bar {
  background: var(--teal);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.4rem;
}

.brand-text {
  color: var(--text-dark);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--teal) !important;
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.btn-teal:hover {
  background: var(--dark-teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 128, 128, 0.4);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.btn-orange:hover {
  background: var(--dark-orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-teal {
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.hero-section {
  background-size: cover;
  background-position: center;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 128, 0.9) 0%,
    rgba(0, 85, 85, 0.85) 100%
  );
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-weight: 500;
}

.hero-feature-item i {
  font-size: 1.3rem;
  color: var(--orange);
}

.journal-preview {
  background: var(--white);
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--orange);
}

.journal-header {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-gray);
}

.journal-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.journal-stat {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 12px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-info {
  flex-grow: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.2rem;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.games-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

.games-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}

.game-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 128, 128, 0.3);
}

.game-icon-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--dark-teal) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
}

.game-card h3 {
  color: var(--teal);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.game-desc {
  color: #666;
  margin-bottom: 1.5rem;
}

.game-details {
  list-style: none;
  padding: 0;
  text-align: left;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.game-details li {
  padding: 0.7rem 0;
  color: var(--text-dark);
  font-weight: 500;
}

.journal-features-section {
  background: var(--light-gray);
}

.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid var(--teal);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 128, 128, 0.15);
}

.feature-icon {
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  color: var(--teal);
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  margin: 0;
}

.how-works-section {
  background: var(--light-gray);
}

.step-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 128, 128, 0.15);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.step-card h4 {
  margin: 1.5rem 0 1rem;
  color: var(--teal);
}

.step-card p {
  color: #666;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.accordion-button {
  background: var(--white);
  color: var(--teal);
  font-weight: 600;
  padding: 1.5rem;
  border-left: 4px solid var(--teal);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--teal) 0%, var(--dark-teal) 100%);
  color: var(--white);
  box-shadow: none;
}

.accordion-button::after {
  filter: none;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-body {
  padding: 1.5rem;
  background: var(--light-gray);
  color: #666;
}

.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--dark-teal) 100%);
}

.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 4rem 0 2rem;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 5px;
}

.footer-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-img:hover {
  transform: scale(1.05);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  color: #999;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 128, 128, 0.98);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

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

#ageModal .modal-content {
  border-radius: 20px;
  border: 3px solid var(--teal);
}

.auth-section,
.legal-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  background: var(--light-gray);
  padding: 3rem 0;
}

.auth-card,
.legal-content {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--teal);
}

.security-notice,
.contact-info {
  background: rgba(95, 201, 201, 0.1);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-left: 4px solid var(--teal);
}

.legal-content h2 {
  color: var(--teal);
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

.legal-content h3 {
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.form-control,
.form-select {
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.15);
}

.input-group-text {
  background: var(--light-gray);
  border: 2px solid #e0e0e0;
  border-right: none;
  border-radius: 10px 0 0 10px;
}

.input-group .form-control {
  border-left: none;
  border-radius: 0 10px 10px 0;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 600px;
  }

  .journal-preview {
    padding: 1.5rem;
  }

  .hero-features {
    margin-bottom: 2rem;
  }

  .auth-card,
  .legal-content {
    padding: 2rem;
  }
}

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

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