﻿:root {
  --primary: #4cc9f0;
  --secondary: #8ce99a;
  --bg-dark: #0a1018;
  --bg-card: #121a24;
  --text-light: #eef3fb;
  --text-muted: #9fb3c8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 16, 24, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
}

.logo a:hover {
  color: var(--primary);
  transition: color var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.btn-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 201, 240, 0.3);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--text-light);
  border-radius: 4px;
  transition: var(--transition);
}


.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-popup.show {
  display: flex;
}

.cookie-content {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius);
  max-width: 500px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-content h3 {
  margin-bottom: 16px;
  color: var(--primary);
}

.cookie-content p {
  margin-bottom: 24px;
  color: var(--text-muted);
}


.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(76, 201, 240, 0.3);
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  font-size: 18px;
  padding: 14px 32px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(76, 201, 240, 0.3);
}


.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url('../images/hero.jfif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px) brightness(0.4);
  transform: scale(1.1);
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-image-left {
  position: relative;
  z-index: 1;
}

.hero-image-left img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-content-right {
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-bonus {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--secondary);
  margin-bottom: 32px;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.fade-in-delay-3 {
  animation: fadeIn 0.8s ease-out 0.9s both;
}


.footer-google-play {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.google-play-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  text-decoration: none;
  transition: var(--transition);
  font-family: 'Roboto', sans-serif;
  width: fit-content;
}

.google-play-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-google-play {
  margin-top: 0;
}

.google-play-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-play-icon svg {
  width: 100%;
  height: 100%;
}

.google-play-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.google-play-text-top {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.google-play-text-bottom {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}


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

.fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.3s both;
}

.fade-in-delay-2 {
  animation: fadeIn 0.8s ease-out 0.6s both;
}

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

.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}


.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 48px;
  text-align: center;
  color: var(--text-light);
}


.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.advantage-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}

.advantage-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.advantage-card p {
  color: var(--text-muted);
}


.achievements-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition);
}

.accordion-item:hover {
  border-color: var(--primary);
}

.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-header h3 {
  font-size: 20px;
  color: var(--text-light);
}

.accordion-icon {
  font-size: 24px;
  color: var(--primary);
  transition: transform var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 24px;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 0 24px 20px;
}

.accordion-content p {
  color: var(--text-muted);
  line-height: 1.8;
}


.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
}

.video-placeholder:hover {
  transform: scale(1.02);
}

.video-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(76, 201, 240, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 24px solid var(--bg-dark);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.play-button:hover {
  background: rgba(76, 201, 240, 1);
  transform: translate(-50%, -50%) scale(1.1);
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(76, 201, 240, 0.2), rgba(140, 233, 154, 0.2));
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.feature-item h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 20px;
}

.feature-item p {
  color: var(--text-muted);
  line-height: 1.8;
}


.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.modal-close:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.modal-content h2 {
  padding: 40px 40px 20px;
  color: var(--primary);
  font-size: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 30px 40px 40px;
}

.modal-body h3 {
  color: var(--text-light);
  margin: 24px 0 12px;
  font-size: 20px;
}

.modal-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.modal-body strong {
  color: var(--text-light);
}


.footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-fs-note {
  color: var(--text-muted);
  font-size: 12px;
  font-style: italic;
  margin-top: 8px;
}


.mini-game {
  padding: 80px 0;
  background: var(--bg-dark);
}

.game-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.game-container {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.game-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.game-info p {
  font-size: 18px;
  color: var(--text-light);
  margin: 0;
}

.game-info span {
  color: var(--primary);
  font-weight: bold;
}

.game-description {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.btn-game {
  background: var(--primary);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition);
  margin: 10px;
}

.btn-game:hover {
  background: #3ab8d8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.btn-game:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.articles {
  padding: 80px 0;
  background: var(--bg-dark);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 24px;
}

.article-content h3 {
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: 20px;
}

.article-date {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 12px;
  display: block;
}

.article-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}


@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 24px;
    transition: left var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content-right {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .footer-google-play {
    margin-top: 16px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .modal {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .modal.show {
    padding: 0;
    margin: 0;
  }

  .modal-content {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .modal-content * {
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
  }

  .modal-content h2 {
    padding: 20px 20px 15px;
    font-size: 24px;
    word-wrap: break-word;
  }

  .modal-body {
    padding: 20px;
    word-wrap: break-word;
  }

  .modal-body h3 {
    font-size: 18px;
    word-wrap: break-word;
  }

  .modal-body p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}


