

/* ==================== HERO СЕКЦИЯ ==================== */

.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: 100px;
  z-index: 1;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.title-main {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, rgb(17, 141, 145));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-animation: slide-in 1s ease-out;
  animation: slide-in 1s ease-out;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: "Playfair Display", serif;
}

.title-sub {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--color-primary);
  animation: slide-in 1s ease-out 0.2s backwards;
}

.description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 800px;
  animation: slide-in 1s ease-out 0.4s backwards;
}

/* ==================== КАРТОЧКИ ==================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 50px auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.game-card {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fade-in-up 0.8s ease-out backwards;
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  min-height: 550px;
}

.game-card:nth-child(1) {
  animation-delay: 0.1s;
}
.game-card:nth-child(2) {
  animation-delay: 0.3s;
}
.game-card:nth-child(3) {
  animation-delay: 0.5s;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: all 0.6s ease;
}

.game-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    rgba(17, 141, 145, 0.3),
    rgba(121, 69, 133, 0.3),
    rgba(197, 217, 46, 0.3)
  );
  border-radius: var(--border-radius-lg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: blur(10px);
}

.game-card:hover::after {
  opacity: 1;
}
.game-card:hover::before {
  left: 100%;
}

.game-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(17, 141, 145, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.card-icon-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-lg);
  font-size: 4rem;
  transition: all 0.5s ease;
  position: relative;
}

.game-card:hover .card-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
  animation: bounce 1s infinite;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 0.5px;
}

.card-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.card-score {
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.card-btn {
  width: 100%;
}

.disabled-card {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(70%);
}

/* ==================== LIQUID GLASS КАРТОЧКИ ==================== */

.liquid-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  border: 2px solid rgba(17, 141, 145, 0.3);
  border-radius: var(--border-radius-md);
  padding: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.liquid-glass-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: liquid-wave 8s infinite linear;
}

.liquid-glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  animation: liquid-flow 4s infinite;
}
