/* =====================================
   INTRO — GLAMUROUS LOVE
   V4 — BRAND / TYPOGRAPHY EDITION (FIXED)
===================================== */

#gl-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    #ffffff,
    #f5f1eb,
    #fdfdfc
  );
  background-size: 200% 200%;
  animation: introFadeIn .7s ease forwards,
             introGradient 20s ease infinite;
}

@keyframes introGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gl-intro-content {
  position: relative;
  text-align: center;
  padding: 40px 28px;
  max-width: 560px;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

/* ===== DOG SYMBOL ===== */

.gl-intro-content::before {
  content: '🐾';
  display: block;
  font-size: 56px;
  margin: 0 auto 28px;
  animation: pawPulse 4s ease-in-out infinite;
}

@keyframes pawPulse {
  0%   { transform: scale(1); opacity: .6; }
  50%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: .6; }
}

/* ===== TITLE — MAIN BRAND ===== */

.gl-intro-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #2b2b2b;
  text-shadow:
    0 6px 18px rgba(0,0,0,.08),
    0 2px 4px rgba(0,0,0,.1);
  position: relative;
}

/* Декоративная линия */
.gl-intro-content h1::after {
  content: '';
  display: block;
  width: 90px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #d6bfa7,
    transparent
  );
  margin: 18px auto 0;
}

/* ===== SUBTITLE ===== */

.gl-intro-content span {
  display: block;
  font-size: clamp(14px, 2.5vw, 16px);
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 48px;
}

/* ===== LANGUAGE BUTTONS ===== */

.gl-lang-buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.gl-lang-buttons button {
  width: 100%;
  max-width: 320px;
  padding: 18px 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.2);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all .3s ease;
}

.gl-lang-buttons button:hover {
  background: #d6bfa7;
  color: #fff;
  border-color: #d6bfa7;
  transform: translateY(-2px);
}

.gl-lang-buttons button:active {
  transform: scale(.96);
}

/* ===== INTRO FADE ===== */

@keyframes introFadeIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

#gl-intro.is-hide {
  animation: introFadeOut .5s ease forwards;
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
  }
}

/* ===== BODY LOCK ===== */

body.intro-active {
  overflow: hidden;
}

/* =====================================
   TABLET — BALANCED
===================================== */

@media (max-width: 1024px) {

  .gl-intro-content {
    max-width: 520px;
  }

  .gl-intro-content::before {
    font-size: 64px;
  }

  .gl-intro-content h1 {
    font-size: 56px;
  }

  .gl-lang-buttons button {
    font-size: 20px;
    padding: 20px 40px;
  }
}

/* =====================================
   MOBILE — BIG BUT COMFORTABLE
===================================== */

@media (max-width: 480px) {

  .gl-intro-content {
    padding: 44px 22px;
  }

  .gl-intro-content::before {
    font-size: 72px;
    margin-bottom: 32px;
  }

  .gl-intro-content h1 {
    font-size: 46px;
    letter-spacing: 3.5px;
  }

  .gl-intro-content span {
    font-size: 15px;
    letter-spacing: 5px;
    margin-bottom: 56px;
  }

  .gl-lang-buttons button {
    font-size: 20px;
    padding: 22px 44px;
  }
}

/* ===== INTRO LOGOS ===== */

.gl-intro-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  opacity: .85;
  animation: logosFadeIn 1.2s ease forwards;
}

.gl-intro-logos img {
  height: 56px;
  width: auto;
  filter:
    drop-shadow(0 6px 14px rgba(0,0,0,.12));
  transition: transform .4s ease, opacity .4s ease;
}

.gl-intro-logos img:hover {
  transform: translateY(-2px) scale(1.05);
  opacity: 1;
}

@keyframes logosFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: .85;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {

  .gl-intro-logos {
    gap: 14px;
    margin-bottom: 30px;
  }

  .gl-intro-logos img {
    height: 52px;
  }
}
