/* ============================================
   XXXDate - Intimate Minimal Flow
   Soft-minimalism + Sensual UI
   Claymorphism + Warm Glassmorphism
   Mobile-first Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS Variables - Intimate Color Palette
   ============================================ */
:root {
  /* Intimate Color Palette */
  --color-wine-dark: #2B0F14;
  --color-burgundy: #5A1E2A;
  --color-skin-soft: #F3C9C3;
  --color-skin-light: #F7E7E5;
  --color-accent-pink: #FF637F;
  
  /* Extended Palette */
  --color-bg-primary: #2B0F14;
  --color-bg-secondary: #3A1A22;
  --color-bg-glass: rgba(243, 201, 195, 0.15);
  --color-bg-glass-strong: rgba(243, 201, 195, 0.25);
  
  /* Text Colors */
  --color-text-primary: #F7E7E5;
  --color-text-secondary: #F3C9C3;
  --color-text-muted: rgba(243, 201, 195, 0.7);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Shadows - Claymorphism */
  --shadow-clay-soft: 0 8px 32px rgba(43, 15, 20, 0.4),
                      0 2px 8px rgba(43, 15, 20, 0.3),
                      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-clay-medium: 0 12px 48px rgba(43, 15, 20, 0.5),
                        0 4px 16px rgba(43, 15, 20, 0.4),
                        inset 0 2px 0 rgba(255, 255, 255, 0.15);
  --shadow-clay-strong: 0 20px 64px rgba(43, 15, 20, 0.6),
                        0 8px 24px rgba(43, 15, 20, 0.5),
                        inset 0 3px 0 rgba(255, 255, 255, 0.2);
  
  /* Glow Effects */
  --glow-pink: 0 0 40px rgba(255, 99, 127, 0.4),
               0 0 80px rgba(255, 99, 127, 0.2);
  --glow-soft: 0 0 30px rgba(243, 201, 195, 0.3);
  
  /* Border Radius - Soft Rounded */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============================================
   18+ Age Verification Cover
   ============================================ */
.age-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.age-cover.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-cover__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-wine-dark) 0%, var(--color-burgundy) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.age-cover__content {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 50px 30px;
  background: var(--color-bg-glass-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-clay-strong);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-cover__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  color: var(--color-accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.age-cover__title {
  font-family: var(--font-accent);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.age-cover__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.age-cover__button {
  margin-top: 30px;
  padding: 18px 40px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--color-accent-pink) 0%, var(--color-burgundy) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-clay-medium), var(--glow-pink);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.age-cover__button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.age-cover__button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-clay-strong), var(--glow-pink);
}

.age-cover__button:hover::before {
  width: 300px;
  height: 300px;
}

.age-cover__button:active {
  transform: translateY(0);
}

/* ============================================
   Main Wrapper
   ============================================ */
.wrapper {
  min-height: 100vh;
  background: var(--color-bg-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow: hidden;
  /* ВАЖНО: Поместите ваше фоновое изображение в папку img с именем hero-bg.jpg */
  /* Или измените путь на ваше изображение */
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(43, 15, 20, 0.7) 0%, rgba(90, 30, 42, 0.85) 100%);
  z-index: 0;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 99, 127, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: glow-pulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes glow-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  width: 100%;
  animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  font-family: var(--font-accent);
  font-size: clamp(48px, 12vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -2px;
}

.hero__subtitle {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.hero__description {
  font-size: clamp(14px, 3vw, 18px);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.hero__cta {
  margin-top: 40px;
  padding: 20px 50px;
  font-family: var(--font-primary);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--color-accent-pink) 0%, var(--color-burgundy) 100%);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow-clay-strong), var(--glow-pink);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
  0%, 100% {
    box-shadow: var(--shadow-clay-strong), var(--glow-pink);
  }
  50% {
    box-shadow: var(--shadow-clay-strong), 0 0 60px rgba(255, 99, 127, 0.6);
  }
}

.hero__cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-clay-strong), 0 0 80px rgba(255, 99, 127, 0.7);
}

.hero__cta:hover::before {
  width: 400px;
  height: 400px;
}

.hero__cta:active {
  transform: translateY(-1px) scale(1);
}

.hero__cta svg {
  transition: transform var(--transition-fast);
}

.hero__cta:hover svg {
  transform: translateX(5px);
}

/* ============================================
   Section Base Styles
   ============================================ */
.section {
  position: relative;
  padding: 80px 20px;
  width: 100%;
}

.section__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section__title {
  font-family: var(--font-accent);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: 30px;
}

.section__text {
  font-size: clamp(16px, 3vw, 18px);
  line-height: 1.8;
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   About Section
   ============================================ */
.section--about {
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

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

.feature-card {
  padding: 32px 24px;
  background: var(--color-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 99, 127, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-clay-medium);
  border-color: rgba(255, 99, 127, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.feature-card__title {
  font-family: var(--font-accent);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.4;
}

/* ============================================
   Benefits Section
   ============================================ */
.section--benefits {
  background: var(--color-bg-secondary);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  background: var(--color-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent-pink) 0%, var(--color-burgundy) 100%);
  transform: scaleY(0);
  transition: transform var(--transition-normal);
}

.benefit-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-clay-medium);
  border-color: rgba(255, 99, 127, 0.2);
}

.benefit-item:hover::before {
  transform: scaleY(1);
}

.benefit-item__number {
  font-family: var(--font-accent);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent-pink);
  flex-shrink: 0;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(255, 99, 127, 0.4);
}

.benefit-item__content {
  flex: 1;
}

.benefit-item__title {
  font-family: var(--font-accent);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.benefit-item__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ============================================
   Reviews Section
   ============================================ */
.section--reviews {
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.reviews-carousel {
  position: relative;
  max-width: 600px;
  margin: 50px auto 0;
  height: 300px;
  overflow: hidden;
}

.review-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 32px;
  background: var(--color-bg-glass-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay-medium);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateX(100%) scale(0.9);
  transition: all var(--transition-slow);
  text-align: center;
}

.review-card.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.review-card__glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 99, 127, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: review-glow 3s ease-in-out infinite;
}

@keyframes review-glow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.review-card__text {
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.review-card__author {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.reviews-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.reviews-dot.active {
  background: var(--color-accent-pink);
  box-shadow: 0 0 12px rgba(255, 99, 127, 0.6);
  transform: scale(1.2);
}

.reviews-dot:hover {
  background: rgba(255, 99, 127, 0.6);
}

/* ============================================
   Security Section
   ============================================ */
.section--security {
  background: var(--color-bg-secondary);
}

.security-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 40px;
  background: var(--color-bg-glass-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-clay-strong);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.security-card__icon {
  font-size: 64px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.security-card__title {
  font-family: var(--font-accent);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 40px;
  line-height: 1.3;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--transition-normal);
}

.security-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(8px);
}

.security-item svg {
  flex-shrink: 0;
  color: var(--color-accent-pink);
  filter: drop-shadow(0 2px 4px rgba(255, 99, 127, 0.4));
}

.security-item span {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ============================================
   CTA Section
   ============================================ */
.section--cta {
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
  padding: 100px 20px;
}

.section--cta .section__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-title {
  font-family: var(--font-accent);
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: flex;
  margin: 0 auto;
  padding: 22px 60px;
  font-family: var(--font-primary);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--color-accent-pink) 0%, var(--color-burgundy) 100%);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow-clay-strong), var(--glow-pink);
  transition: all var(--transition-normal);
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-clay-strong), 0 0 100px rgba(255, 99, 127, 0.8);
}

.cta-button:hover::before {
  width: 500px;
  height: 500px;
}

.cta-button:active {
  transform: translateY(-2px) scale(1);
}

.cta-button svg {
  transition: transform var(--transition-fast);
}

.cta-button:hover svg {
  transform: translateX(5px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 20px 30px;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer__copyright {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.footer__rights {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer__link {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-pink);
  transition: width var(--transition-normal);
}

.footer__link:hover {
  color: var(--color-accent-pink);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__social-link {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--color-accent-pink);
}

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

/* ============================================
   Responsive Design - Mobile First
   ============================================ */
@media (min-width: 768px) {
  .section {
    padding: 100px 40px;
  }
  
  .hero {
    padding: 60px 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-list {
    max-width: 900px;
  }
  
  .reviews-carousel {
    height: 350px;
  }
  
  .security-card {
    padding: 60px 50px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 120px 60px;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .benefits-list {
    max-width: 1000px;
  }
  
  .reviews-carousel {
    max-width: 700px;
    height: 400px;
  }
  
  .review-card {
    padding: 50px 40px;
  }
}

@media (max-width: 480px) {
  .age-cover__content {
    padding: 40px 24px;
  }
  
  .age-cover__icon {
    width: 100px;
    height: 100px;
  }
  
  .hero__glow {
    width: 400px;
    height: 400px;
  }
  
  .hero {
    background-attachment: scroll; /* Отключаем fixed на мобильных для лучшей производительности */
  }
  
  .feature-card {
    padding: 24px 20px;
  }
  
  .benefit-item {
    padding: 20px;
    gap: 16px;
  }
  
  .security-card {
    padding: 40px 24px;
  }
  
  .cta-button {
    padding: 18px 40px;
  }
}

/* ============================================
   Smooth Scroll Animations
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .section {
    animation: fade-in 0.8s ease-out;
  }
  
  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* ============================================
   Touch Optimizations
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  .hero__cta,
  .cta-button,
  .age-cover__button {
    -webkit-tap-highlight-color: transparent;
  }
  
  .feature-card:hover,
  .benefit-item:hover,
  .security-item:hover {
    transform: none;
  }
}

/* ============================================
   TeleSocket Auth Modal
   ============================================ */
.telesocket-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.telesocket-modal.active {
  opacity: 1;
  visibility: visible;
}

.telesocket-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 15, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.telesocket-modal__content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  background: var(--color-bg-glass-strong);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-clay-strong);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px 32px;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.telesocket-modal.active .telesocket-modal__content {
  transform: scale(1) translateY(0);
}

.telesocket-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.telesocket-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-text-primary);
  transform: rotate(90deg);
}

.telesocket-modal__header {
  text-align: center;
  margin-bottom: 32px;
}

.telesocket-modal__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 99, 127, 0.2) 0%, rgba(90, 30, 42, 0.2) 100%);
  border-radius: 50%;
  color: var(--color-accent-pink);
  box-shadow: var(--glow-soft);
}

.telesocket-modal__title {
  font-family: var(--font-accent);
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.telesocket-modal__subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* TeleSocket Form */
.telesocket-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.telesocket-form__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.telesocket-form__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.telesocket-form__input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0;
  transition: all var(--transition-normal);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.telesocket-form__input-wrapper:focus-within {
  border-color: var(--color-accent-pink);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(255, 99, 127, 0.1);
}

.telesocket-form__prefix {
  padding: 16px 8px 16px 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

.telesocket-form__input--country {
  width: 60px;
  min-width: 50px;
  padding: 16px 0;
  text-align: left;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
  border: none;
}

.telesocket-form__input {
  flex: 1;
  padding: 16px 16px 16px 8px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-primary);
  background: transparent;
  border: none;
  outline: none;
  letter-spacing: 1px;
}

.telesocket-form__input::placeholder {
  color: var(--color-text-muted);
  letter-spacing: 0;
}

.telesocket-form__hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: -8px;
}

.telesocket-form__error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: #fca5a5;
  font-size: 14px;
  line-height: 1.5;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.telesocket-form__error svg {
  flex-shrink: 0;
}

.telesocket-form__submit {
  margin-top: 8px;
  padding: 18px 32px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--color-accent-pink) 0%, var(--color-burgundy) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-clay-medium), var(--glow-pink);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  width: 100%;
  align-self: center;
}

.telesocket-form__submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.telesocket-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-clay-strong), 0 0 60px rgba(255, 99, 127, 0.7);
}

.telesocket-form__submit:hover:not(:disabled)::before {
  width: 400px;
  height: 400px;
}

.telesocket-form__submit:active:not(:disabled) {
  transform: translateY(0);
}

.telesocket-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.telesocket-form__submit svg {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.telesocket-form__submit:hover:not(:disabled) svg {
  transform: translateX(5px);
}

.telesocket-modal__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.telesocket-modal__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
  text-align: center;
}

.telesocket-modal__privacy svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent-pink);
}

/* Loading State */
.telesocket-form__submit.loading {
  pointer-events: none;
}

.telesocket-form__submit.loading span {
  opacity: 0.7;
}

.telesocket-form__submit.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success State */
.telesocket-modal__success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.telesocket-modal__success.active {
  display: block;
}

.telesocket-modal__success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%);
  border-radius: 50%;
  color: #22c55e;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.telesocket-modal__success-title {
  font-family: var(--font-accent);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.telesocket-modal__success-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Responsive */
@media (max-width: 480px) {
  .telesocket-modal__content {
    padding: 32px 24px;
    max-width: 100%;
  }
  
  .telesocket-modal__icon {
    width: 64px;
    height: 64px;
  }
  
  .telesocket-form__input--country {
    width: 50px;
    min-width: 45px;
    padding: 14px 0;
    font-size: 16px;
  }
  
  .telesocket-form__input {
    font-size: 16px;
    padding: 14px 12px 14px 4px;
  }
  
  .telesocket-form__prefix {
    padding: 14px 4px 14px 12px;
    font-size: 16px;
  }
  
  .telesocket-form__submit {
    padding: 16px 28px;
    font-size: 16px;
    width: 100%;
    gap: 10px;
    align-self: center;
  }
}
