

.page-header {
  padding: 2rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.8), rgba(219, 234, 254, 0.8));
 
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1.25rem;
  color: var(--color-text-light);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
  margin-bottom: 2rem;
}


.game-feature {
  padding: 4rem 0;
}

.game-feature:nth-child(even) {
  background-color: white;
}

.game-feature:nth-child(odd) {
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.3), rgba(219, 234, 254, 0.3));
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.game-feature-reverse .feature-content {
  direction: rtl;
}

.game-feature-reverse .feature-text {
  direction: ltr;
}

.game-feature-reverse .feature-image {
  direction: ltr;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.feature-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  aspect-ratio: 16/9;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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


.cta {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}


.about-section {
  padding: 5rem 0;
}

.about-section:nth-child(even) {
  background-color: white;
}

.about-section:nth-child(odd) {
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.3), rgba(219, 234, 254, 0.3));
}

.about-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse .about-content {
  direction: ltr;
}

.about-grid.reverse .about-image {
  direction: ltr;
}


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

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.about-text {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon {
  background-color: rgba(8, 145, 178, 0.1);
  padding: 0.75rem;
  border-radius: 50%;
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-text {
  font-size: 1rem;
  color: var(--color-text);
}


.about-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  padding: 1.5rem;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.about-image:hover .image-caption {
  opacity: 1;
  transform: translateY(0);
}


.timeline-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.5), rgba(219, 234, 254, 0.5));
}

.timeline-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 2rem);
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  background-color: var(--color-primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.2);
}

.timeline-content {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
}

.timeline-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.timeline-text {
  color: var(--color-text-light);
  line-height: 1.6;
}


.crystal-types-section {
  padding: 5rem 0;
  background-color: white;
}

.crystal-types-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 1rem;
}

.crystal-types-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.crystal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.crystal-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crystal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.crystal-color {
  height: 8px;
}

.crystal-color.red {
  background: linear-gradient(to right, #ef4444, #dc2626);
}

.crystal-color.blue {
  background: linear-gradient(to right, #3b82f6, #1d4ed8);
}

.crystal-color.green {
  background: linear-gradient(to right, #10b981, #059669);
}

.crystal-color.gold {
  background: linear-gradient(to right, #f59e0b, #d97706);
}

.crystal-color.purple {
  background: linear-gradient(to right, #8b5cf6, #7c3aed);
}

.crystal-content {
  padding: 1.5rem;
}

.crystal-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.crystal-icon {
  width: 24px;
  height: 24px;
}

.crystal-description {
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.crystal-properties {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crystal-property {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
}

.property-icon {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}


.characters-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.3), rgba(219, 234, 254, 0.3));
}

.characters-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 3rem;
}

.characters-slider {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.characters-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.character-slide {
  min-width: 300px;
  flex: 1;
}

.character-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.character-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.character-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.character-card:hover .character-image img {
  transform: scale(1.1);
}

.character-role {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.character-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.character-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.character-description {
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.character-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.character-stat {
  text-align: center;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-button {
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.slider-button:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-button svg {
  width: 20px;
  height: 20px;
}


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

.stats-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1.125rem;
  opacity: 0.9;
}


@media (max-width: 992px) {
  .feature-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .game-feature-reverse .feature-content {
    direction: ltr;
  }

  .feature-image {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid.reverse {
    direction: ltr;
  }

  .about-image {
    min-height: 350px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 80px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 30px;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
  }

  .characters-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .character-slide {
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }

  .page-description {
    font-size: 1.125rem;
  }

  .feature-title {
    font-size: 2rem;
  }

  .feature-description {
    font-size: 1rem;
  }

  .about-section {
    padding: 4rem 0;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .timeline-section,
  .crystal-types-section,
  .characters-section,
  .stats-section,
  .cta {
    padding: 4rem 0;
  }

  .timeline-title,
  .crystal-types-title,
  .characters-title,
  .stats-title,
  .cta-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .crystal-types-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-text {
    font-size: 1rem;
  }

  .cta-description {
    font-size: 1.125rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

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

  .advantages-title {
    font-size: 1.5rem;
  }

  .advantage-card {
    padding: 1.5rem 1rem;
  }

  .advantage-card img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 3rem 0;
  }

  .page-title {
    font-size: 2rem;
  }

  .feature-content {
    padding: 0 1rem;
  }

  .feature-title {
    font-size: 1.75rem;
  }

  .about-section {
    padding: 3rem 0;
  }

  .about-title {
    font-size: 1.75rem;
  }

  .about-image {
    min-height: 250px;
  }

  .timeline-section,
  .crystal-types-section,
  .characters-section,
  .stats-section,
  .cta {
    padding: 3rem 1rem;
  }

  .timeline-title,
  .crystal-types-title,
  .characters-title,
  .stats-title,
  .cta-title {
    font-size: 1.75rem;
  }

  .timeline-item {
    margin-bottom: 3rem;
  }

  .timeline-content {
    padding: 1rem;
  }

  .timeline-subtitle {
    font-size: 1.125rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}


.about-image:focus-within {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.crystal-card:focus-within,
.character-card:focus-within {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.slider-button:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}


@media print {
  .page-header {
    background: none;
  }

  .about-section,
  .timeline-section,
  .crystal-types-section,
  .characters-section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }

  .about-image,
  .stats-section,
  .cta,
  .slider-controls {
    display: none;
  }

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

  .timeline::before {
    display: none;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding: 0;
    margin-bottom: 2rem;
  }

  .timeline-dot {
    display: none;
  }

  .timeline-content::before {
    display: none;
  }

  .crystal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .characters-track {
    flex-wrap: wrap;
  }

  .character-slide {
    min-width: 0;
    width: 50%;
  }
}


@media (prefers-contrast: high) {
  .timeline::before {
    background: var(--color-primary-dark);
  }

  .timeline-dot {
    background-color: var(--color-primary-dark);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.3);
  }

  .crystal-color {
    height: 12px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .about-image img,
  .character-image img,
  .image-caption,
  .crystal-card,
  .character-card,
  .stat-card,
  .cta-button,
  .characters-track,
  .fade-in,
  .slide-in-left,
  .slide-in-right,
  .zoom-in {
    transition: none;
  }
}


.game-advantages {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.2), rgba(219, 234, 254, 0.2));
}
.advantages-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 2.5rem;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.advantage-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.advantage-card:hover {
  box-shadow: 0 8px 24px rgba(8,145,178,0.10);
  transform: translateY(-4px) scale(1.03);
}
.advantage-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(8,145,178,0.08);
}
.advantage-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin: 0;
}
