/* ==========================================
   RESET & BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #141414;
  color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 25% 25%,
      rgba(139, 92, 246, 0.04) 0%,
      transparent 65%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(236, 72, 153, 0.04) 0%,
      transparent 65%
    );
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================
   AGE GATE
   ========================================== */
.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-width: 100vw;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-card {
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 48px;
  padding: 48px 40px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  min-width: 280px;
  margin: 20px;
  border: 1px solid rgba(255, 156, 4, 0.3);
  transition: all 0.3s;
}

.age-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.age-card h2 {
  font-size: 28px;
  margin-bottom: 16px;
  background:#ff9c04;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.age-card p {
  color: #9ca3af;
  margin-bottom: 32px;
  line-height: 1.6;
}

.age-btn {
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 180px;
  min-height: 48px;
}

.age-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background:#ff9c04;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.2s ease;
}

.logo span {
  color: #ec489a;
  background: none;
}

.logo-link {
  text-decoration: none;
  display: inline-block;
}

.logo-link:hover .logo {
  opacity: 0.9;
  transform: scale(1.02);
}

.nav-badge {
  background: rgba(255, 156, 4, 0.15);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  text-align: center;
  padding: 60px 0 40px;
  min-height: 400px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, #ff9c04, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-btn-wrapper {
  margin-top: 40px;
  text-align: center;
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  border: none;
  padding: 14px 32px;
  border-radius: 60px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 156, 4, 0.3);
  min-width: 180px;
  min-height: 48px;
}

.hero-scroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.hero-scroll-btn svg {
  transition: transform 0.3s;
}

.hero-scroll-btn:hover svg {
  transform: translateY(4px);
}

/* ==========================================
   STATS & BADGES
   ========================================== */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

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

.stat-number {
  font-size: 40px;
  font-weight: 800;
  background:#ff9c04;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(139, 92, 246, 0.1);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 156, 4, 0.2);
}

/* ==========================================
   SECTION DIVIDER
   ========================================== */
.section-divider {
  width: 100%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.6),
    rgba(236, 72, 153, 0.6),
    transparent
  );
  margin: 0 auto 48px;
  opacity: 0.6;
}

/* ==========================================
   TRY NOW SECTION
   ========================================== */
.try-now-section {
  margin: 32px 0 48px;
  padding: 32px 24px;
  background: transparent;
  border-radius: 48px;
  min-height: 500px;
}

.try-now-header {
  text-align: center;
  margin-bottom: 32px;
}

.try-now-header h2 {
  font-size: 32px;
  font-weight: 700;
  background:#ff9c04;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.try-now-header p {
  color: #9ca3af;
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================
   MODE SWITCHER
   ========================================== */
.mode-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 60px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.mode-btn {
  background: transparent;
  border: none;
  padding: 10px 32px;
  border-radius: 60px;
  font-size: 15px;
  font-weight: 600;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 44px;
}

.mode-btn.active {
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  color: white;
}

/* ==========================================
   UPLOAD SECTION
   ========================================== */
.upload-section {
  margin: 0 auto 32px;
  max-width: 500px;
}

.upload-area {
  background: rgba(20, 20, 30, 0.6);
  border: 2px dashed rgba(139, 92, 246, 0.4);
  border-radius: 32px;
  padding: 48px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  min-height: 280px;
}

.upload-area:hover {
  border-color: #ff9c04;
  background: rgba(139, 92, 246, 0.05);
  transform: translateY(-2px);
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}

.upload-area h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.upload-area p {
  font-size: 14px;
  color: #9ca3af;
}

.upload-btn {
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  padding: 10px 28px;
  border-radius: 40px;
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.file-hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 16px;
}

/* ==========================================
   SETTINGS SECTION
   ========================================== */
.settings-section {
  margin: 0 auto;
  max-width: 700px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 32px;
  border: 1px solid rgba(255, 156, 4, 0.2);
  animation: fadeInUp 0.4s ease;
}

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

/* ==========================================
   STYLES SECTION
   ========================================== */
.styles-section {
  margin-bottom: 24px;
  text-align: center;
}

.styles-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ff9c04;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.styles-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chip {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  min-height: 44px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip:hover {
  background: rgba(255, 156, 4, 0.2);
  transform: translateY(-2px);
}

.chip.active {
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  border-color: transparent;
}

/* ==========================================
   QUALITY SECTION
   ========================================== */
.quality-section {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 8px;
}

.quality-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ff9c04;
  margin-bottom: 16px;
}

.quality-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.quality-chip {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quality-chip:hover {
  background: rgba(255, 156, 4, 0.2);
}

.quality-chip.active {
  background: linear-gradient(135deg, #ff9c04, #764ba2);
}

/* ==========================================
   GENERATE BUTTON
   ========================================== */
.generate-btn-container {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 156, 4, 0.15);
}

.generate-btn {
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  border: none;
  padding: 14px 48px;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 156, 4, 0.3);
  min-height: 52px;
  min-width: 200px;
}

.generate-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works {
  padding: 24px 0;
  text-align: center;
  margin-top: 0;
  min-height: auto;
}

.how-it-works h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
  min-height: auto;
}

.step:hover {
  border-color: #ff9c04;
  transform: translateY(-4px);
}

.step-number {
  width: 36px;
  height: 36px;
  background: #ff9c04;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.4;
}

/* ==========================================
   EXAMPLES
   ========================================== */
.examples {
  padding: 60px 0;
  min-height: 400px;
}

.examples-header {
  text-align: center;
  margin-bottom: 48px;
}

.examples-header h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.examples-header p {
  color: #9ca3af;
  font-size: 15px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.example-card {
  background: transparent;
  transition: transform 0.2s ease;
  min-height: 280px;
}

.example-card:hover {
  transform: translateY(-4px);
}

.example-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease;
}

.example-card:hover .example-img {
  box-shadow: 0 8px 20px rgba(255, 156, 4, 0.2);
}

.example-info {
  text-align: left;
  padding: 0 8px;
}

.example-type {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.example-type.result {
  color: #ff9c04;
}

.example-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* ==========================================
   SEO BLOCK
   ========================================== */
.seo-block {
  padding: 48px 0;
  margin: 40px 0;
  background: rgba(139, 92, 246, 0.03);
  border-radius: 32px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  min-height: 400px;
}

.seo-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.seo-block h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.seo-block p {
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 24px;
}

.seo-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.seo-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px;
  transition: all 0.3s;
}

.seo-feature:hover {
  background: rgba(255, 156, 4, 0.15);
  transform: translateY(-2px);
}

/* ==========================================
   TARIFFS
   ========================================== */
.tariffs {
  padding: 40px 0;
  text-align: center;
  min-height: 450px;
}

.tariffs h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.tariff-subtitle {
  color: #9ca3af;
  margin-bottom: 40px;
}

.tariff-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tariff-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  padding: 28px 24px;
  width: 280px;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  min-height: 480px;
}

.tariff-card:hover {
  border-color: #ff9c04;
  transform: translateY(-4px);
  background: rgba(139, 92, 246, 0.03);
}

.tariff-card.popular {
  border: 1px solid #ff9c04;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.tariff-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.tariff-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.price {
  font-size: 32px;
  font-weight: 800;
  color: #ff9c04;
  margin-bottom: 4px;
}

.price-note {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 20px;
}

.tariff-card ul {
  list-style: none;
  margin: 20px 0;
}

.tariff-card li {
  padding: 6px 0;
  font-size: 13px;
  color: #d1d5db;
}

.tariff-btn {
  background: rgba(255, 156, 4, 0.2);
  border: 1px solid #ff9c04;
  padding: 10px 24px;
  border-radius: 40px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
  min-height: 44px;
}

.tariff-btn:hover {
  background: #ff9c04;
}

.premium-btn {
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  border: none;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-section {
  padding: 40px 0;
  min-height: 500px;
}

.faq-section h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
  cursor: pointer;
  min-height: 80px;
}

.faq-item:hover {
  border-color: #ff9c04;
}

.faq-question {
  font-weight: 600;
  font-size: 16px;
  color: #ff9c04;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: #ff9c04;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 12px;
}

/* ==========================================
   MODAL
   ========================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 48px;
  max-width: 500px;
  width: 90%;
  padding: 32px;
  border: 1px solid rgba(255, 156, 4, 0.3);
}

.generator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.close-modal {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: 0.2s;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
}

.timer-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
}

.timer-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 700;
  font-family: monospace;
  background:#ff9c04;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.progress-stages {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.stage {
  text-align: center;
  flex: 1;
}

.stage-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 auto 8px;
  transition: all 0.3s;
}

.stage.active .stage-dot {
  background: #ff9c04;
  box-shadow: 0 0 12px #ff9c04;
  transform: scale(1.2);
}

.stage.completed .stage-dot {
  background: #10b981;
}

.stage-name {
  font-size: 11px;
  color: #9ca3af;
}

.generator-message {
  text-align: center;
  color: #ff9c04;
  font-size: 14px;
}

.result-block {
  text-align: center;
}

.success-icon {
  text-align: center;
  margin-bottom: 24px;
}

.success-check {
  font-size: 72px;
  color: #10b981;
  animation: checkBounce 0.5s ease-out;
}

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

/* ==========================================
   TELEGRAM BUTTON
   ========================================== */
.telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2b7cf0, #1e6bdb);
  padding: 14px 32px;
  border-radius: 60px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  margin: 24px 0 8px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.telegram-btn i {
  font-size: 20px;
  transition: transform 0.2s;
}

.telegram-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(43, 124, 240, 0.5);
}

.telegram-btn:hover i {
  transform: translateX(4px);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(43, 124, 240, 0.7);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 15px rgba(43, 124, 240, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(43, 124, 240, 0);
  }
}

/* ==========================================
   TOAST NOTIFICATION
   ========================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(12px);
  color: white;
  padding: 12px 24px;
  border-radius: 48px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 156, 4, 0.3);
  white-space: nowrap;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
}

.toast-notification.success {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.toast-notification.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  text-align: center;
  padding: 40px 0;
  padding-bottom: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #6b7280;
  font-size: 12px;
  min-height: 150px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo-link {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background:#ff9c04;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.footer-logo-link span {
  color: #ec489a;
  background: none;
}

.footer-logo-link:hover {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
  position: relative;
}

.footer-links a:hover {
  color: #ff9c04;
  text-decoration: none;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  transition: width 0.2s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer p {
  margin: 4px 0;
}

/* ==========================================
   COOKIE CONSENT
   ========================================== */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 60px;
  padding: 12px 24px;
  z-index: 1000;
  border: 1px solid rgba(255, 156, 4, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.cookie-content p {
  color: #9ca3af;
  font-size: 13px;
  margin: 0;
}

.cookie-content a {
  color: #ff9c04;
  text-decoration: none;
  transition: color 0.2s;
}

.cookie-content a:hover {
  color: #ec489a;
  text-decoration: underline;
}

.cookie-accept {
  background: linear-gradient(135deg, #ff9c04, #764ba2);
  border: none;
  padding: 6px 20px;
  border-radius: 40px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}

.cookie-accept:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ==========================================
   HOME PAGE BLOG SECTION WITH CAROUSEL (ADAPTIVE)
   ========================================== */

.blog-section {
  margin: 60px 0;
}

.blog-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-section-header h2 {
  font-size: 32px;
  font-weight: 700;
  background:#ff9c04;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.blog-section-header p {
  color: #9ca3af;
  font-size: 16px;
}

/* Carousel Container */
.blog-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.blog-carousel-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  flex: 1;
  padding: 8px 0;
}

.blog-carousel-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.blog-carousel {
  display: flex;
  gap: 20px;
}

/* Blog Cards - адаптивные с фиксированной шириной */
.blog-card-home {
  flex-shrink: 0;
  width: 280px;
  background: rgba(20, 20, 30, 0.4);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card-home:hover {
  transform: translateY(-4px);
  border-color: #ff9c04;
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 4px 12px rgba(255, 156, 4, 0.2);
}

.blog-card-image-home {
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2a, #0f0f1a);
}

.blog-card-image-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card-home:hover .blog-card-image-home img {
  transform: scale(1.05);
}

.blog-card-content-home {
  padding: 16px;
}

.blog-card-category-home {
  display: inline-block;
  background: rgba(255, 156, 4, 0.2);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 500;
  color: #ff9c04;
  margin-bottom: 8px;
}

.blog-card-title-home {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title-home:hover {
  color: #ff9c04;
}

.blog-card-date-home {
  font-size: 10px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-more-btn {
  text-align: center;
  margin-top: 24px;
}

.blog-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 156, 4, 0.2);
  border: 1px solid #ff9c04;
  padding: 10px 28px;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.blog-more-link:hover {
  background: #ff9c04;
  transform: translateY(-2px);
}

/* Carousel Buttons */
.carousel-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 156, 4, 0.2);
  border: 1px solid rgba(255, 156, 4, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #ff9c04;
  border-color: #ff9c04;
  transform: scale(1.05);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-card-home {
    width: 260px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .blog-section-header h2 {
    font-size: 28px;
  }

  .blog-section-header p {
    font-size: 14px;
  }

  .blog-carousel-container {
    gap: 12px;
  }
}

/* ==========================================
   BACK TO TOP & FLOATING BUTTONS
   ========================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ff9c04;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.floating-generate-btn {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #ff9c04, #ff7a00);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(255, 156, 4, 0.45), 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.floating-generate-btn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.floating-generate-btn:hover {
  transform: translateX(-50%) translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 156, 4, 0.65), 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.floating-generate-btn:active {
  transform: translateX(-50%) translateY(0) scale(0.98);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .floating-generate-btn {
    bottom: 20px;
    padding: 12px 24px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .blog-card-home {
    width: 260px;
  }

  .blog-carousel-wrapper {
    padding: 4px 0;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .blog-carousel-container {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .blog-card-home {
    width: 240px;
  }

  .blog-card-image-home {
    height: 175px;
  }

  .blog-card-content-home {
    padding: 12px;
  }

  .blog-card-title-home {
    font-size: 13px;
  }

  .carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 32px;
  }

  .mode-btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  .styles-chips {
    gap: 8px;
  }

  .chip {
    padding: 6px 14px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
    min-width: 70px;
  }

  .quality-chips {
    gap: 8px;
  }

  .quality-chip {
    padding: 6px 16px;
    font-size: 12px;
    white-space: normal;
  }

  .styles-section h3 {
    font-size: 14px;
  }

  .quality-section h3 {
    font-size: 14px;
  }

  .settings-section {
    padding: 20px 16px;
  }

  .try-now-section {
    padding: 24px 16px;
  }

  .try-now-header h2 {
    font-size: 28px;
  }

  .try-now-header p {
    font-size: 14px;
  }

  .toast-notification {
    font-size: 12px;
    padding: 10px 20px;
    white-space: nowrap;
  }

  .section-divider {
    max-width: 280px;
    margin-bottom: 32px;
  }

  .cookie-consent {
    width: calc(100% - 32px);
    border-radius: 24px;
    padding: 16px;
    bottom: 16px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cookie-content p {
    font-size: 12px;
  }

  .cookie-accept {
    width: 100%;
    max-width: 200px;
  }

  .age-card {
    padding: 32px 24px;
    margin: 16px;
  }

  .age-card h2 {
    font-size: 24px;
  }

  .age-icon {
    font-size: 40px;
  }
}

@media (max-width: 550px) {
  .examples-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .examples-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .toast-notification {
    white-space: normal;
    max-width: 280px;
    text-align: center;
    line-height: 1.4;
  }

  .chip {
    padding: 6px 12px;
    font-size: 11px;
    min-width: 60px;
  }

  .quality-chip {
    padding: 6px 12px;
    font-size: 11px;
  }
}
