/* Apollo Records - Modern AI-Inspired Landing Page */

/* Performance optimizations */
* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* CSS Variables for modern AI-inspired theming */
:root {
    /* Modern gradient colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --primary-purple: #8B5CF6;
    --secondary-pink: #EC4899;
    --accent-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    --dark-bg: #0a0a0f;
    --glass-bg: rgba(20, 20, 30, 0.8);
    --glass-border: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-family: 'TikTok Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'TikTok Sans', var(--font-family);
    
    /* Enhanced text colors */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-accent: #a855f7;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 6rem 0;
    
    /* Modern shadows and glows */
    --purple-glow: 0 0 40px rgba(139, 92, 246, 0.4);
    --pink-glow: 0 0 30px rgba(236, 72, 153, 0.3);
    --blue-glow: 0 0 25px rgba(59, 130, 246, 0.25);
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Animation variables */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Apollo Records - Glassmorphism Landing Page */

/* Performance optimizations */
* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* CSS Variables for consistent theming */
:root {
    /* Colors - making background darker and text whiter */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --primary-purple: #962C83;
    --secondary-pink: #E62875;
    --dark-bg: #0a0a0f;
    --glass-bg: rgba(20, 20, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography - changed to TikTok Sans */
    --font-family: 'TikTok Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 5rem 0;
    
    /* Shadows and glows */
    --purple-glow: 0 0 30px rgba(150, 44, 131, 0.3);
    --pink-glow: 0 0 20px rgba(230, 40, 117, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--secondary-pink));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    
    /* Effects */
    --glow-purple: 0 0 20px rgba(150, 44, 131, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

/* Modern animated background with AI-inspired gradients */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 60% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
    z-index: -1;
    /* Упрощенная анимация для лучшей производительности */
}

/* Дополнительная страховка от горизонтального скролла на мобильных */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Container and layout fixes - WIDE LAYOUT for premium look */
.container {
    max-width: 1400px; /* Increased from 1200px for wider layout */
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Glass container base */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

/* Improved typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    /* Fallback color for browsers that don't support background-clip */
    color: #ffffff;
    /* Very subtle gradient from white to light gray for premium look */
    background: linear-gradient(135deg, #ffffff 0%, #f5f6f7 70%, #e8eaed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    h1, h2, h3, h4, h5, h6 {
        background: none;
        color: #f5f6f7;
    }
}

h1 {
    font-size: clamp(1.5625rem, 5vw, 3.0625rem);
    font-weight: 700;
    color: #ffffff;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Увеличиваем размер заголовка героя на +15px относительно базового h1 */
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

/* Heading font override: use Unbounded for major headings */
h1, h2 {
    font-family: 'Unbounded', var(--font-family), sans-serif;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/* Header and navigation - improved glass effect */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; /* Increased for wide layout */
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

/* Ensure logo anchor keeps horizontal layout and default styles */
.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.logo-link::after {
    content: none !important;
}

/* Header-scoped fallback: ensure anchor inside logo stays horizontal */
header .logo a,
.header .logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}
header .logo a::after,
.header .logo a::after {
    content: none !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo span {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8em;
}

.logo small {
    font-size: 0.4em;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: lowercase;
    margin-top: -2px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(150, 44, 131, 0.5));
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 0 15px rgba(150, 44, 131, 0.8));
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(150, 44, 131, 0.5);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.header-phone {
    display: flex;
    align-items: center;
}

.header-phone a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(150, 44, 131, 0.2), rgba(75, 0, 130, 0.2));
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-phone a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.header-phone a:hover {
    color: #fff;
    border-color: rgba(150, 44, 131, 0.5);
    background: linear-gradient(135deg, rgba(150, 44, 131, 0.4), rgba(75, 0, 130, 0.4));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(150, 44, 131, 0.3);
}

.header-phone a:hover::before {
    left: 100%;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link.vk:hover {
    background: linear-gradient(135deg, #4680C2, #5181b8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(70, 128, 194, 0.4);
}

.social-link.telegram:hover {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 158, 217, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Main content */
main {
    margin-top: 0;
}

/* Отступ только для секций после hero */
.hero ~ section {
    margin-top: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 0;
    margin-top: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Убраны 100vw/100vh, чтобы исключить горизонтальный скролл */
    background: url('photo.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    filter: blur(5px) brightness(0.7);
    z-index: -2;
}

.hero::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Убраны 100vw/100vh, чтобы исключить горизонтальный скролл */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.7) 20%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(10, 10, 15, 0.8) 80%,
        var(--bg-primary) 100%
    );
    z-index: -1;
}

/* Фиолетовые свечения по углам */
.hero-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.2) 30%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, rgba(236, 72, 153, 0.2) 30%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

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

.hero h1 {
    margin-bottom: 2rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-features span {
    background: rgba(150, 44, 131, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(150, 44, 131, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(150, 44, 131, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-gallery {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 3rem 0;
    flex-wrap: wrap;
}

.hero-photo {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(150, 44, 131, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(150, 44, 131, 0.4);
}

/* Modern CTA Buttons */
.cta-button, .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-pink));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 2;
    overflow: hidden;
    min-height: 48px;
}

.cta-button::before, .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before, .submit-btn:hover::before {
    left: 100%;
}

.cta-button:hover, .submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-purple));
}

/* Privacy Policy Styles */
.privacy-main {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.privacy-main h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.privacy-section a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: var(--secondary-pink);
}

.privacy-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.privacy-footer p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.back-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(150, 44, 131, 0.3);
}

@media (max-width: 768px) {
    .privacy-main {
        padding: 6rem 0 2rem;
    }
    
    .privacy-main h1 {
        font-size: 2rem;
    }
    
    .privacy-section {
        padding: 1.5rem;
    }
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    /* transition: all 0.3s ease; DISABLED - no animations */
}

/* .glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(150, 44, 131, 0.2);
    border-color: rgba(150, 44, 131, 0.3);
} DISABLED - no animations */

/* Sections */
section {
    padding: 2rem 0;
    position: relative;
}

section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Examples Section (Audio) */
.examples {
  padding: 3rem 0;
}

.examples h2 {
  margin-bottom: 2rem;
}

.examples-note {
  text-align: left;
  color: var(--text-secondary);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.audio-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.audio-player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  grid-column-gap: 1rem;
  grid-row-gap: 0.75rem;
  align-items: center;
}

.audio-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(150, 44, 131, 0.15);
  border: 1px solid rgba(150, 44, 131, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(150, 44, 131, 0.2);
  cursor: pointer;
}

.audio-play::before {
  content: '▶';
  font-size: 18px;
  margin-left: 2px;
}

.audio-play.playing::before {
  content: '❚❚';
  margin-left: 0;
}

.audio-time {
  display: flex;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.audio-progress-track {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  touch-action: none;
}

.audio-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: inherit;
}

.audio-volume {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.audio-volume input[type="range"] {
  width: 120px;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
}

.audio-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-purple);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
  cursor: pointer;
}

.audio-volume input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-purple);
  border: none;
  cursor: pointer;
}

.audio-meta {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audio-meta .title {
  color: var(--text-primary);
  font-weight: 600;
}

.audio-credit {
  text-align: left;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-left: calc(48px + 1rem);
}

@media (max-width: 900px) {
  .examples-grid {
    grid-template-columns: 1fr;
  }
  .audio-volume input[type="range"] {
    width: 100px;
  }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Modern Service Cards with Enhanced Glassmorphism */
.service-card {
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    /* transition: var(--transition-smooth); DISABLED - no animations */
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-pink), var(--accent-blue));
    /* transform: scaleX(0); DISABLED - no animations */
    transform: scaleX(1); /* Always visible, no animation */
    /* transition: transform 0.4s ease; DISABLED - no animations */
    border-radius: 24px 24px 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    /* opacity: 0; DISABLED - no animations */
    opacity: 0.1; /* Always slightly visible, no animation */
    /* transition: opacity 0.4s ease; DISABLED - no animations */
    pointer-events: none;
}

/* .service-card:hover::before {
    transform: scaleX(1);
} DISABLED - no animations */

/* .service-card:hover::after {
    opacity: 1;
} DISABLED - no animations */

/* .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(25, 25, 35, 0.95);
} DISABLED - no animations */

.service-card.featured {
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(25px);
    border: 2px solid #8b5cf6;
    border-radius: 24px;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.service-card.featured::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 60% 70%, rgba(147, 51, 234, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 30% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 35%);
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

.service-card.featured > * {
    position: relative;
    z-index: 2;
}

@keyframes glowPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.popular-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #9333ea 100%);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 
        0 2px 8px rgba(139, 92, 246, 0.5),
        0 1px 3px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: fit-content;
}

.service-card.glass-card.featured::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 50%, #9333ea 100%);
    z-index: 999;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(150, 44, 131, 0.5));
}

.service-card.featured .service-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.8));
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.service-card.featured h3 {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card.featured .service-price {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
    text-align: center;
}

.service-btn {
    display: inline-block;
    background: rgba(150, 44, 131, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(150, 44, 131, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(150, 44, 131, 0.2);
    margin-top: 1rem;
}

.service-btn:hover {
    background: rgba(150, 44, 131, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(150, 44, 131, 0.3);
    border-color: rgba(150, 44, 131, 0.5);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: auto;
}

/* About Section */
.about {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #b8c5d6;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.studio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.studio-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .studio-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px; /* Increased for wide layout */
    margin: 0 auto;
}

.about-main h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    color: #b8c5d6;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.why-us h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.reasons {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.reason-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.reason-content h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.reason-content p {
    color: #b8c5d6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Work Process Container */
.work-process-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.work-process {
    grid-column: 1 / -1; /* Занимает всю ширину сетки */
    margin-top: 40px;
}

.work-process h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.work-motto {
    text-align: center;
    font-size: 1.2rem;
    color: #b8c5d6;
    margin-top: 30px;
    font-style: italic;
}

/* Photo Slider */
.photo-slider {
    position: relative;
}

.slider-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(150, 44, 131, 0.8);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-purple);
    transform: scale(1.2);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: rgba(150, 44, 131, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(150, 44, 131, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(150, 44, 131, 0.1), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.process-step:hover {
    transform: translateY(-5px);
    background: rgba(150, 44, 131, 0.15);
    box-shadow: 0 8px 25px rgba(150, 44, 131, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(150, 44, 131, 0.8), rgba(120, 35, 105, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(150, 44, 131, 0.3),
                inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.process-step h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.process-step p {
    color: #b8c5d6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .studio-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        min-height: 250px;
    }
    
    .about-header h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .process-options {
        grid-template-columns: 1fr;
    }
    
    /* Work Process Container Mobile */
    .work-process-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .slide img {
        height: 250px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
}

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

.feature {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.feature h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--primary-purple);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-list {
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(150, 44, 131, 0.3);
    box-shadow: var(--glow-purple);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.35s ease, background 0.35s ease;
}

.faq-question:hover {
    background: transparent; /* убираем цветную полосу при наведении */
}

.faq-icon {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--primary-purple);
    display: grid;
    place-items: center;
    background: rgba(150, 44, 131, 0.12);
    box-shadow: 0 0 12px rgba(150, 44, 131, 0.2);
    color: transparent; /* скрываем текст "+" */
    transition: background 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    flex: 0 0 28px;
    min-width: 28px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before { /* горизонтальная линия */
    width: 14px;
    height: 2px;
}

.faq-icon::after { /* вертикальная линия */
    width: 2px;
    height: 14px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0.0, 0.2, 1), padding 0.45s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.45s ease;
    padding: 0 2rem;
}

.faq-answer.active {
    max-height: 900px;
    opacity: 1;
    padding: 0 2rem 2rem 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    margin: 0;
}

.faq-item.active .faq-icon { /* при раскрытии превращаем плюс в минус */
    background: rgba(150, 44, 131, 0.18);
    box-shadow: 0 0 16px rgba(150, 44, 131, 0.28);
}

.faq-item.active .faq-icon::after {
    transform: scaleY(0);
}

.faq-item.active .faq-question:hover { /* убираем hover-подсветку на активном вопросе */
    background: transparent;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(150, 44, 131, 0.3);
}

.contact-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
}

.contact-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p, .contact-item a {
    color: #ffffff;
    text-decoration: none;
}

.contact-item a:hover {
    color: #ffffff;
    text-shadow: var(--glow-purple);
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 10px rgba(150, 44, 131, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95), rgba(20, 20, 30, 0.95));
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

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

.map-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.address-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.address-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(150, 44, 131, 0.3);
    transform: translateY(-2px);
}

.address-icon {
    font-size: 1.5rem;
    min-width: 24px;
}

.address-item strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.address-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(150, 44, 131, 0.1), transparent);
    pointer-events: none;
    z-index: 1;
}

#yandex-map iframe {
    border-radius: 15px;
    filter: contrast(1.1) saturate(1.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 0;
    color: #b8c5d6;
}

/* Все ссылки в футере — белые */
.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}


.footer-main {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 20px;
    filter: brightness(1.2);
    width: 60px;
    height: 60px;
}

.footer-description {
    color: #b8c5d6;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-contact-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.footer-services h4,
.footer-social h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Соцсети: заголовок слева, иконки сразу рядом справа */
.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 24px;
}
.footer-social h4 {
    margin: 0 12px 0 0;
}

/* Выравниваем размер заголовка «Статьи» с «Наши услуги» */
.footer-links h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li {
    color: #b8c5d6;
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-services li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-services li:hover,
.footer-services li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* Исходное выравнивание и отступы для соцсетей в футере */
.footer-social .social-links {
    justify-content: flex-start;
}

/* Вариант для страниц статей: соцсети слева */
.article-page .footer-social .social-links {
    justify-content: flex-start;
}

/* Блок ссылок на игры в футере — левое выравнивание */
.footer-games {
    display: block;
    margin-top: 10px;
}
.footer-games span {
    color: var(--text-secondary);
    margin-right: 8px;
}
.footer-games a {
    margin-right: 8px;
}

/* Компактный вариант блока игр под «Статьи» */
.footer-games--compact {
    font-size: 0.95rem;
    margin-top: 12px;
}
.footer-games--compact .footer-games-title {
    color: var(--text-secondary);
    margin-right: 8px;
}
.footer-games--compact a {
    font-size: 0.95rem;
    margin-right: 8px;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #b8c5d6;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-social .social-link:hover {
    color: #ffffff;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.footer-social .social-link svg,
.footer-social .social-link img {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover svg,
.footer-social .social-link:hover img {
    transform: scale(1.1);
}

.social-link:hover svg path:first-child {
    fill: var(--primary-purple);
}

.social-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}

.footer-bottom-content p {
    margin: 0;
    color: #b8c5d6;
    font-size: 0.9rem;
}

.footer-bottom-content a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-content a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    
    .footer-main {
        max-width: none;
    }
    
    .footer-contact-main {
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .map-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-info h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .address-item {
        padding: 1rem;
    }
    
    #yandex-map {
        height: 300px !important;
    }
}

/* Responsive design improvements */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    /* Скрываем десктопное меню на мобильных устройствах */
    .desktop-nav {
        display: none !important;
    }
    
    .header-phone a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .social-icons {
        gap: 0.5rem;
        margin-left: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .hero {
        padding-top: 100px;
        min-height: 90vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .studio-features {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .glass-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-card .icon {
        font-size: 2rem;
    }
    
    .glass-card,
    .testimonial-card,
    .faq-item,
    .contact-item,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Enhanced body styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading states */
.loading {
    opacity: 0;
}

.loaded {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Lazy loading images */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Loading animation */
/* Modern Animations and Effects */
@keyframes morphing {
    0%, 100% {
        border-radius: 24px 32px 24px 32px;
    }
    50% {
        border-radius: 32px 24px 32px 24px;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Interactive Elements */
.service-card {
    /* Убрана анимация morphing для лучшей производительности */
}

.service-card:hover {
    /* Убрана анимация breathe для лучшей производительности */
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* Scroll-triggered animations - DISABLED to fix spacing issues */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    /* transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
}

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

.fade-in-left {
    opacity: 1;
    transform: translateX(0);
    /* transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
}

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

.fade-in-right {
    opacity: 1;
    transform: translateX(0);
    /* transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
}

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

/* Staggered animation delays - DISABLED */
/* 
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
*/

/* Enhanced glassmorphism effects */
.glass-enhanced {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Modern loading states */
.loading-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Address links styling */
.call-button {
    display: inline-block;
    margin-left: 15px;
    padding: 8px 16px;
    background: var(--primary-purple);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-purple);
}

.call-button:hover {
    background: transparent;
    color: var(--primary-purple) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.address-item a, .footer-contact a {
    color: #ffffff !important;
    text-decoration: none;
}

.address-item a:hover, .footer-contact a:hover {
    color: #ffffff !important;
    text-shadow: var(--glow-purple);
}

/* ===== MOBILE STYLES ===== */

/* Скрываем мобильные элементы на десктопе */
.mobile-only {
    display: none;
}

/* Бургер-меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Мобильные медиа-запросы */
@media (max-width: 768px) {
    /* Header мобильная версия */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Показываем мобильные элементы только на мобильных */
    .mobile-only {
        display: block !important;
    }

    /* Порядок элементов в хедере: логотип, соцсети слева, бургер справа */
    nav { align-items: center; justify-content: flex-start; }
    .logo { order: 0; }
    .social-icons { order: 1; width: auto; gap: 8px; margin-left: 12px; }
    .social-icons img { width: 28px; height: 28px; }
    .mobile-menu-toggle { order: 2; margin-left: auto; }
    .desktop-nav { display: none !important; }
    .header-phone { display: none !important; }

    /* ===== НОВОЕ OVERLAY МОБИЛЬНОЕ МЕНЮ ===== */
    
    /* Overlay контейнер - показываем только на мобильных */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        display: block; /* Показываем только на мобильных */
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Контент меню */
    .mobile-menu-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 80px 20px 40px;
        box-sizing: border-box;
        overflow-y: auto; /* Добавляем возможность прокрутки */
        -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
    }
    
    /* Header мобильного меню */
    .mobile-menu-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px;
        z-index: 10001;
    }
    
    /* Логотип в мобильном меню */
    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .mobile-logo img {
        height: 40px;
        width: auto;
    }
    
    .mobile-logo-text {
        display: flex;
        flex-direction: column;
        color: white;
    }
    
    .mobile-logo-text span {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2;
    }
    
    .mobile-logo-text small {
        font-size: 0.9rem;
        opacity: 0.8;
        font-weight: 400;
    }
    
    /* Кнопка закрытия */
    .mobile-menu-close {
        position: absolute;
        top: 30px;
        right: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10001;
        padding: 10px;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .mobile-menu-close span {
        display: block;
        width: 20px;
        height: 2px;
        background: white;
        transition: all 0.3s ease;
        position: absolute;
    }
    
    .mobile-menu-close span:first-child {
        transform: rotate(45deg);
    }
    
    .mobile-menu-close span:last-child {
        transform: rotate(-45deg);
    }
    
    .mobile-menu-close:hover {
        transform: rotate(90deg) scale(1.1);
        background: rgba(138, 43, 226, 0.2);
    }
    
    .mobile-menu-close:hover span {
        background: var(--primary-purple);
    }
    
    /* Навигационные ссылки */
    .mobile-menu-nav {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 40px 0;
    }
    
    .mobile-menu-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 8px; /* Уменьшил с 20px до 8px */
    }
    
    .mobile-menu-nav li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.6s ease forwards;
    }
    
    .mobile-menu-nav li:nth-child(1) { animation-delay: 0.1s; }
    .mobile-menu-nav li:nth-child(2) { animation-delay: 0.2s; }
    .mobile-menu-nav li:nth-child(3) { animation-delay: 0.3s; }
    .mobile-menu-nav li:nth-child(4) { animation-delay: 0.4s; }
    .mobile-menu-nav li:nth-child(5) { animation-delay: 0.5s; }
    
    .mobile-menu-nav a {
        color: white;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 300;
        font-family: 'Arial', sans-serif;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        display: block;
        padding: 8px 25px; /* Уменьшил вертикальный padding с 12px до 8px */
        border-radius: 10px;
        border: 1px solid transparent;
        min-width: 160px;
    }
    
    .mobile-menu-nav a:hover {
        color: var(--primary-purple);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(138, 43, 226, 0.3);
        text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
        transform: translateY(-2px);
    }
    
    /* Контактная информация */
    .mobile-contact-info {
        text-align: center;
        padding: 30px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.6s ease forwards;
        animation-delay: 0.6s;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 20px 20px 0 0;
        backdrop-filter: blur(10px);
    }
    
    .mobile-phone {
        display: block;
        color: var(--primary-purple);
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 700;
        font-family: 'Arial', sans-serif;
        letter-spacing: 0.5px;
        margin-bottom: 20px;
        padding: 15px 30px;
        border-radius: 12px;
        border: 2px solid var(--primary-purple);
        background: rgba(138, 43, 226, 0.1);
        transition: all 0.3s ease;
        text-shadow: 0 0 8px rgba(138, 43, 226, 0.3);
    }
    
    .mobile-phone:hover {
        color: white;
        background: var(--primary-purple);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    }
    
    /* Социальные иконки */
    .mobile-social-links {
        display: flex;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-menu-social .social-link {
        transition: all 0.3s ease;
        opacity: 0.8;
    }
    
    .mobile-menu-social .social-link:hover {
        opacity: 1;
        transform: scale(1.2) rotate(5deg);
    }
    
    /* Анимация появления элементов */
    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Соцсети в хедере на мобильных — компактные слева */
    .social-icons { display: flex; }
    
    /* Адаптация hero секции */
    .hero {
        padding: 100px 20px 50px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin: 20px 0 30px;
    }
    
    /* Адаптация сервисов */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    /* Адаптация about секции */
    .about-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    
    .about-text {
        margin-bottom: 30px;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    /* Адаптация testimonials */
    .testimonials-slider {
        padding: 0 20px;
    }
    
    /* Адаптация FAQ */
    .faq-container {
        padding: 0 20px;
    }
    
    /* Footer мобильная версия */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section {
        width: 100%;
    }
    
    /* Соцсети: заголовок и иконки в одной группе слева */
    .footer-social {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 20px;
    }
    .footer-social .social-links {
        justify-content: flex-start;
        gap: 10px;
    }
    
    .footer-social .social-link {
        margin: 0 8px;
    }
    
    /* Адаптация кнопок */
    .cta-button, .call-button {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
        display: block;
    }
}

@media (max-width: 480px) {
    /* Дополнительная адаптация для очень маленьких экранов */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .popular-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Скрываем overlay меню на десктопе */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* FAQ: стабильные круглые иконки на мобильных и не только */
.faq-icon { aspect-ratio: 1 / 1; flex: 0 0 28px; }

/* Футер: не переносить номер телефона на две строки */
.footer-contact-main a[href^="tel:"] { white-space: nowrap; }

/* Мобильная кнопка звонка, если используется отдельный блок */
.mobile-call { padding: 70px 20px 0; display: none; }
@media (max-width: 768px) {
  .mobile-call { display: flex !important; justify-content: center; }
}
/* Articles grid layout */
.seo-articles .articles-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 1200px) {
  .seo-articles .articles-grid {
    display: flex;
  }
}

.seo-articles .article-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  flex: 0 0 calc((100% - 3 * 24px) / 4);
  position: relative;
}

.seo-articles .article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

.seo-articles .article-excerpt {
  color: #cfcfcf;
  font-size: 14px;
}

@media (max-width: 900px) {
  .seo-articles .articles-grid {
    display: flex;
  }
}

@media (max-width: 560px) {
  .seo-articles .articles-grid {
    display: flex;
  }
}

/* Article pages - ensure consistent background, fonts, and light text */
body.article-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
}

/* Limit preview to 4 cards in one row */
.seo-articles .articles-grid .article-card:nth-child(n+5) {
  display: none;
}

body.article-page article {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    max-width: 1400px;
    margin: 80px auto;
    padding: 24px;
}

body.article-page article > h1,
body.article-page article > h2,
body.article-page article > h3,
body.article-page article > p,
body.article-page article > ul,
body.article-page article > ol {
  grid-column: 1 / -1;
}

/* Ensure the wrapped article body follows the 12-column grid */
body.article-page article [itemprop="articleBody"] {
  grid-column: 1 / -1;
  background: transparent !important;
}

/* Align the paragraph with the action button following article body */
body.article-page article [itemprop="articleBody"] + p {
  grid-column: 1 / -1;
}

body.article-page article > img {
  grid-column: 1 / -1;
  margin: 0;
}

body.article-page article .service-btn {
  grid-column: 1 / -1;
  justify-self: start;
}

/* Inline contact form block inside article pages */
body.article-page article .article-contact {
  grid-column: 1 / -1;
  padding: 12px 0;
}
body.article-page article .article-contact .contact-form {
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
}
body.article-page article .article-contact a {
  color: inherit;
  text-decoration: underline;
}
body.article-page article .article-contact a:hover {
  color: var(--text-primary);
}
/* Extra spacing above submit button inside article contact form */
body.article-page article .article-contact .contact-form .submit-btn {
  margin-top: 12px;
}

@media (max-width: 900px) {
  body.article-page article {
    grid-template-columns: repeat(6, 1fr);
    margin: 40px auto;
    padding: 16px;
  }
  body.article-page article > h1,
  body.article-page article > h2,
  body.article-page article > h3,
  body.article-page article > p,
  body.article-page article > ul,
  body.article-page article > ol,
  body.article-page article .service-btn {
    grid-column: 1 / -1;
  }
  body.article-page article .article-contact {
    grid-column: 1 / -1;
  }
}

body.article-page article img[itemprop="image"] {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 900px) {
  body.article-page article img[itemprop="image"] {
    height: 180px;
  }
}

@media (max-width: 560px) {
  body.article-page article img[itemprop="image"] {
    height: 160px;
  }
}

/* Overlay link to make entire article-card clickable */
.seo-articles .article-card .article-card-overlay {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 12px;
  z-index: 5;
}

/* Footer articles list: remove bullets and match service link size */
.footer-articles {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-articles li {
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 4px 0;
}
.footer-articles li a {
  color: #ffffff;
  text-decoration: none;
}
.footer-articles li a:hover {
  color: #ffffff;
}

body.article-page h1,
body.article-page h2,
body.article-page h3 {
  color: var(--text-primary);
}

body.article-page p,
body.article-page li {
  color: #cfcfcf;
}
/* Make article card headlines much smaller */
.seo-articles .article-card h3[itemprop="headline"] {
    font-size: clamp(0.75rem, 1.75vw, 1rem);
    line-height: 1.25;
}

/* Quiz Section */
.quiz-section { padding: 4rem 0; }
.quiz-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.quiz-intro { color: var(--text-secondary); font-size: clamp(0.95rem, 1.6vw, 1.05rem); margin: 10px 0 20px; }
.quiz-form { max-width: 100%; margin: 0 auto; }
.quiz-form .form-group { margin-bottom: 14px; }
.quiz-form .question-title { display: block; margin-bottom: 8px; font-size: clamp(1rem, 2vw, 1.15rem); }
.quiz-form .form-hint { color: var(--text-secondary); font-size: clamp(0.9rem, 1.6vw, 1rem); margin: 6px 0 10px; }
/* Extra top spacing for the datetime label to prevent sticking to phone input */
.quiz-form label.form-hint[for="quizPreferredDateTime"] { margin-top: 12px; }
.quiz-form .options { display: grid; gap: 10px 16px; }
.quiz-form .options-radio { grid-template-columns: 1fr; }
.quiz-form .options-checkbox { grid-template-columns: 1fr 1fr; }
.quiz-form label { display: flex; align-items: center; gap: 8px; }
.quiz-form input[type="text"], .quiz-form textarea { width: 100%; }
/* Datetime input spacing and look in quiz step 7 */
.quiz-form input[type="datetime-local"] {
  width: 100%;
  display: block;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
/* Make calendar picker icon white for dark theme */
.quiz-form input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.25);
}

/* Stepper */
.quiz-steps { position: relative; }
.quiz-step { display: none; opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 300ms ease; }
.quiz-step.active { display: block; opacity: 1; transform: translateY(0); }
.quiz-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.quiz-controls .btn { padding: 12px 18px; border-radius: 10px; border: 1px solid var(--glass-border); background: var(--glass-bg); color: var(--text-primary); cursor: pointer; }
.quiz-controls .btn.primary { background: linear-gradient(135deg, var(--primary-purple), var(--secondary-pink)); color: #fff; border: none; }
.quiz-controls .btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Progress bar */
.quiz-progress { height: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; margin: 16px 0 24px; }
.quiz-progress .bar { height: 100%; width: 0%; background: var(--gradient-primary); transition: width 300ms ease; }
/* Quiz title embedded inside form */
.quiz-form .quiz-title { margin-bottom: 0.5rem; color: var(--text-primary); text-align: center; font-size: clamp(1.4rem, 2.5vw, 2rem); font-family: 'Unbounded', var(--font-family), sans-serif; }
.quiz-form .quiz-intro { text-align: center; color: var(--text-secondary); margin-bottom: 1.2rem; font-size: clamp(1rem, 2vw, 1.15rem); }
.quiz-bonus { text-align: center; color: var(--text-secondary); margin: -6px 0 16px; font-size: clamp(0.95rem, 1.8vw, 1.05rem); display: flex; align-items: center; justify-content: center; gap: 8px; }
.quiz-bonus .icon-gift { font-size: 1.1em; }

@media (max-width: 720px) {
  .quiz-form { max-width: 100%; }
  .quiz-form .options-checkbox { grid-template-columns: 1fr; }
  .quiz-controls { flex-direction: column; }
}
.quiz-start-block { text-align: center; margin-bottom: 12px; }
.quiz-start-image { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; box-shadow: var(--glass-shadow); }
/* Extra spacing under header image */
.quiz-start-image { margin-bottom: 24px; }

/* Quiz controls: checkboxes, radios and spacing */
.quiz-form input[type="checkbox"],
.quiz-form input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.quiz-form input[type="radio"] { border-radius: 50%; }
.quiz-form input[type="checkbox"] { border-radius: 6px; }
.quiz-form input[type="checkbox"]:hover,
.quiz-form input[type="radio"]:hover { border-color: rgba(255,255,255,0.25); }
.quiz-form input[type="checkbox"]:focus-visible,
.quiz-form input[type="radio"]:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; }
/* Checked look */
.quiz-form input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-pink));
  border-color: transparent;
}
.quiz-form input[type="radio"]:checked {
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-pink));
  border-color: transparent;
}
.quiz-form .options { gap: 12px 16px; }
.quiz-form .options label { gap: 10px; line-height: 1.35; }
.quiz-form input[type="text"],
.quiz-form textarea { margin-top: 10px; }
.quiz-form #quizContactName,
.quiz-form #quizContactPhone { margin-bottom: 10px; }
/* Ensure contact inputs same width */
.quiz-form #quizContactName,
.quiz-form #quizContactPhone { width: 100%; display: block; }
.quiz-form .consent-group .consent-label { font-size: 0.9rem; color: var(--text-secondary); }
.quiz-form .consent-group .consent-label a { color: var(--text-secondary); text-decoration: underline; }
/* Make consent checkbox smaller */
.quiz-form .consent-group .consent-label input[type="checkbox"] { width: 14px; height: 14px; }
.quiz-form input[type="text"]::placeholder { color: var(--text-secondary); }
/* Put contact method checkboxes on one line for step 7 */
.quiz-form .quiz-step[data-step="7"] .options-checkbox { display: flex; flex-wrap: nowrap; gap: 16px; }
.quiz-start-block .cta-button { margin-top: 10px; }
@media (max-width: 768px) {
  .quiz-start-image {
    width: 80vw;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Footer mini-game block */
.footer-game {
    margin: 24px 0 16px;
}
.footer-game .container {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}
.footer-game-title {
    margin: 0 0 12px;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(90deg, #b067ff, #ff65c3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer-game-subtitle {
    text-align: center;
    margin: -6px 0 10px;
    color: #eaeaea;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
}
.footer-game-seo { margin-top: 16px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.12); color: var(--text-secondary); }
.footer-game-seo h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--text-primary); margin: 10px 0; }
.footer-game-seo p { margin: 6px 0 10px; }
.footer-game-seo .seo-list { display: flex; gap: 12px; flex-wrap: wrap; padding-left: 18px; }
.footer-game-seo .seo-list li { list-style: disc; }
.footer-game-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-game-header .badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    background: linear-gradient(135deg, rgba(176, 103, 255, 0.16), rgba(255, 101, 195, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-game-header .badge-hint {
    color: #eaeaea;
}
.footer-game canvas {
    width: 100%;
    height: 200px;
    display: block;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(30,18,56,0.95), rgba(18,10,34,0.97));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

/* Бонус-модалка */
.bonus-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: radial-gradient(1200px 400px at 50% 40%, rgba(176,103,255,0.18), transparent),
                radial-gradient(1000px 360px at 30% 80%, rgba(255,101,195,0.16), transparent);
    backdrop-filter: blur(6px);
    z-index: 1000;
}
.bonus-modal.show { display: flex; }
.bonus-card {
    width: min(560px, 92vw);
    border-radius: 16px;
    padding: 20px 20px 16px;
    background: rgba(20,20,24,0.92);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 18px 48px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    color: #fff;
}
.bonus-hero {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.bonus-sub {
    margin: 0 0 12px;
    color: #eaeaea;
}
.bonus-close {
    position: absolute;
    top: 10px; right: 12px;
    border: none;
    background: linear-gradient(135deg, rgba(176,103,255,0.25), rgba(255,101,195,0.25));
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}
.bonus-form .form-row { margin-bottom: 10px; }
.bonus-form input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.bonus-form .consent-row { margin-top: 6px; }
.bonus-form .consent-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #eaeaea;
    line-height: 1.2;
}
.bonus-form .consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #b067ff;
}
.bonus-form .consent-label a {
    color: #cdb5ff;
    text-decoration: underline;
}
.bonus-submit {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #b067ff, #ff65c3);
    box-shadow: 0 8px 20px rgba(176,103,255,0.35);
}
.bonus-result {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(176,103,255,0.22), rgba(255,101,195,0.18));
    border: 1px solid rgba(255,255,255,0.14);
}

/* Ссылка на другую игру — деликатный стиль и увеличенные отступы */
.alt-game-action { text-align: center; margin: 24px 0; }
.alt-game-action .bonus-submit {
  background: transparent;
  color: #bbb;
  border-color: rgba(255,255,255,0.14);
  opacity: 0.6;
  box-shadow: none;
}
.alt-game-action .bonus-submit:hover { opacity: 0.8; }