:root {
    --bg-main: #000000;
    --gold: #d4af37;
    --gold-light: #fcebbb;
    --gold-gradient: linear-gradient(135deg, #e6c555 0%, #d4af37 50%, #b8860b 100%);
    --text: #ffffff;
    --text-muted: #86868b;
    /* Премиальное темное стекло */
    --glass-bg: rgba(15, 15, 17, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    /* Формула идеальной плавности Apple */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* GLOBAL */
html, body {
    background-color: var(--bg-main);
    color: var(--text);
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }

/* PARTICLES CANVAS */
#tsparticles {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0; pointer-events: auto;
}
.section-wrapper { position: relative; z-index: 2; background: transparent; }

/* NOISE (Зернистость) */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1; opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ANIMATIONS */
.fade-in-up {
    opacity: 0; transform: translateY(40px) scale(0.96);
    transition: opacity 1.5s var(--ease-out), transform 1.5s var(--ease-out);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0) scale(1); }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0px); }
}
.levitate { animation: float 7s ease-in-out infinite; }

@keyframes pulseSlow {
    0% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); border-color: rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.4); border-color: rgba(212, 175, 55, 0.6); }
    100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); border-color: rgba(212, 175, 55, 0.2); }
}
.pulse-slow { animation: pulseSlow 4s infinite; }

/* АНИМАЦИИ ДЛЯ ЛОГОТИПА */
@keyframes logoFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)); }
    100% { transform: translateY(0); }
}
@keyframes pulseFlare {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.4); }
}

/* UTILITIES */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.text-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-title {
    font-size: 52px; font-weight: 800; letter-spacing: -1.5px;
    text-align: center; margin-bottom: 20px; color: var(--text); position: relative; z-index: 2;
    text-shadow: 0 10px 40px rgba(0,0,0,0.9);
}
.section-subtitle {
    text-align: center; color: var(--text-muted); font-size: 20px; 
    margin-bottom: 80px; font-weight: 400;
}

/* NAVIGATION */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: 1000; padding-top: 10px; pointer-events: none;
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 14px 30px; display: flex; justify-content: space-between; align-items: center; pointer-events: auto;}
.nav-logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: 2px; }
.logo-img { height: 32px; width: auto; object-fit: contain; filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)); }

.nav-links { display: flex; gap: 40px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color 0.4s var(--ease-out); }
.nav-links a:hover { color: var(--text); }

/* HERO SECTION */
.hero {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 180px 20px 80px;
}
.hero-content { 
    position: relative; 
    z-index: 2; 
    display: flex; 
    flex-direction: column; 
    align-items: center; /* Жесткое выравнивание по центру */
    width: 100%;
}

/* ИДЕАЛЬНОЕ ПОЗИЦИОНИРОВАНИЕ ЛОГОТИПА */
.main-logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}
.logo-flare {
    position: absolute; 
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 150px; height: 150px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 235, 150, 0.5) 0%, transparent 60%);
    filter: blur(20px); z-index: 1; pointer-events: none;
    animation: pulseFlare 3s infinite alternate;
}
.hero-main-logo {
    height: 120px; /* Оптимальный размер */
    width: auto; object-fit: contain; position: relative; z-index: 2;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    animation: logoFloat 6s ease-in-out infinite;
}

.badge {
    background: rgba(15, 15, 15, 0.6); backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3); color: var(--gold); padding: 8px 24px; border-radius: 30px; 
    font-size: 13px; font-weight: 700; margin-bottom: 35px; letter-spacing: 1px; text-transform: uppercase;
    display: inline-flex; justify-content: center; align-items: center;
}
.hero-title { font-size: 100px; font-weight: 800; line-height: 1.05; margin: 0 0 25px 0; letter-spacing: -4px; text-align: center;}
.hero-subtitle { color: var(--text-muted); max-width: 680px; margin: 0 auto 50px auto; font-size: 22px; line-height: 1.6; font-weight: 400; text-align: center;}
.hero-buttons { display: flex; gap: 24px; justify-content: center; margin-bottom: 100px; }

/* 3D PANEL MOCKUP (ВОЗВРАЩЕН АККУРАТНЫЙ РАЗМЕР) */
.hero-image-wrapper { 
    width: 100%; 
    max-width: 600px; /* Вернули адекватный размер для меню */
    margin: 0 auto;
    transform-style: preserve-3d; z-index: 5; position: relative;
}
.glow-wrapper { position: relative; }
.glow-wrapper::before {
    content: ''; position: absolute; top: 10%; left: 5%; right: 5%; bottom: 10%;
    background: var(--gold); filter: blur(80px); opacity: 0.2; z-index: -1;
    border-radius: 30px; transition: opacity 0.8s var(--ease-out);
}
.glow-wrapper:hover::before { opacity: 0.4; filter: blur(100px); }

.panel-mockup {
    background: var(--glass-bg); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border); border-radius: 16px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.9), inset 0 2px 3px rgba(255,255,255,0.08);
    display: flex; flex-direction: column; overflow: hidden;
    aspect-ratio: 1206 / 1260; 
    height: auto; 
}
.mockup-header { 
    background: rgba(0,0,0,0.6); border-bottom: 1px solid var(--glass-border); 
    padding: 12px 20px; color: #888; font-size: 12px; font-weight: 600; 
    display: flex; align-items: center; justify-content: center; position: relative;
    letter-spacing: 1px;
}
.mac-dots { position: absolute; left: 20px; display: flex; gap: 8px; }
.mac-dots span { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }

.mockup-body { padding: 0; margin: 0; background: #08080a; display: flex; flex: 1; align-items: stretch; justify-content: stretch;}
.mockup-screenshot { width: 100%; height: 100%; object-fit: contain; display: block; }

/* SPOTLIGHT CARD & HOLOGRAPHIC SWEEP */
.spotlight-card { position: relative; overflow: hidden; }
.spotlight-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.15), transparent 40%);
    z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.8s var(--ease-out);
}
.spotlight-card::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transform: skewX(-25deg); animation: holoSweep 8s infinite; z-index: 1; pointer-events: none;
}
@keyframes holoSweep { 0% { left: -150%; } 20% { left: 200%; } 100% { left: 200%; } }
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 2; }


/* ========================================= */
/* 3D CAROUSEL GALLERY (APPLE STYLE) */
/* ========================================= */
.showcase-section { padding: 150px 20px; max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; overflow: hidden; }

.carousel-container {
    position: relative; width: 100%; height: 650px; 
    margin: 50px auto 0; perspective: 2000px; transform-style: preserve-3d;
}
.carousel-track {
    position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;
}

.carousel-slide {
    position: absolute; width: 100%; max-width: 500px; aspect-ratio: 1206 / 1260; height: auto;
    border-radius: 20px; background: #08080a; border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8); overflow: hidden; cursor: pointer;
    transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; background: #08080a; transition: transform 0.8s var(--ease-out); }

.slide-caption {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 30px 30px;
    background: linear-gradient(180deg, transparent 0%, rgba(5,5,5,0.95) 40%, rgba(0,0,0,1) 100%);
    color: white; transform: translateY(100%); opacity: 0;
    transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
}
.slide-caption h3 { margin: 0 0 10px 0; font-size: 24px; font-weight: 800; color: var(--gold); }
.slide-caption p { margin: 0; font-size: 15px; color: #bbb; line-height: 1.5; }

/* СОСТОЯНИЯ 3D-КАРУСЕЛИ */
.carousel-slide.active {
    transform: translateX(0) translateZ(150px) scale(1.05); opacity: 1; z-index: 5; filter: brightness(1);
    box-shadow: 0 60px 120px rgba(0,0,0,1), 0 0 60px rgba(212, 175, 55, 0.2); border-color: rgba(212, 175, 55, 0.5);
}
.carousel-slide.active .slide-caption { transform: translateY(0); opacity: 1; }

.carousel-slide.prev { transform: translateX(-60%) translateZ(-100px) scale(0.85); opacity: 0.6; z-index: 4; filter: brightness(0.4) blur(2px); }
.carousel-slide.prev:hover { opacity: 0.9; filter: brightness(0.6) blur(0px); transform: translateX(-62%) translateZ(-80px) scale(0.87); }

.carousel-slide.next { transform: translateX(60%) translateZ(-100px) scale(0.85); opacity: 0.6; z-index: 4; filter: brightness(0.4) blur(2px); }
.carousel-slide.next:hover { opacity: 0.9; filter: brightness(0.6) blur(0px); transform: translateX(62%) translateZ(-80px) scale(0.87); }

.carousel-slide.hidden-prev { transform: translateX(-100%) translateZ(-300px) scale(0.7); opacity: 0; z-index: 3; pointer-events: none; }
.carousel-slide.hidden-next { transform: translateX(100%) translateZ(-300px) scale(0.7); opacity: 0; z-index: 3; pointer-events: none; }

.carousel-controls { display: flex; justify-content: center; gap: 20px; margin-top: 50px; }
.carousel-btn {
    width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    color: var(--text); display: flex; justify-content: center; align-items: center; cursor: pointer; backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease-out);
}
.carousel-btn:hover { background: rgba(212, 175, 55, 0.15); border-color: var(--gold); color: var(--gold); transform: scale(1.1); box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);}


/* ========================================= */
/* FEATURES SECTION */
/* ========================================= */
.features-section { padding: 150px 20px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.feature-card {
    background: var(--glass-bg); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border); border-radius: 32px; padding: 50px;
    transition: all 0.6s var(--ease-out); text-align: left; transform-style: preserve-3d;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
}
.feature-card:hover { 
    border-color: rgba(255, 235, 180, 0.5); 
    box-shadow: 0 40px 80px rgba(0,0,0,1), 0 0 80px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.1); 
    transform: translateY(-10px) scale(1.02);
}
.feature-icon {
    width: 76px; height: 76px; margin-bottom: 35px; color: var(--gold);
    background: linear-gradient(145deg, rgba(40,40,40,0.6), rgba(10,10,10,0.6));
    border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 24px;
    display: flex; justify-content: center; align-items: center;
    box-shadow: inset 0 2px 6px rgba(255,255,255,0.1), 0 15px 30px rgba(0,0,0,0.9);
    transform: translateZ(40px); transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.feature-card:hover .feature-icon { 
    transform: translateZ(90px) scale(1.15) rotate(5deg); 
    color: #fff; border-color: var(--gold); 
    box-shadow: inset 0 2px 6px rgba(255,255,255,0.3), 0 20px 40px rgba(212, 175, 55, 0.5);
}
.feature-icon svg { width: 38px; height: 38px; filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4)); }
.feature-card h3 { font-size: 28px; font-weight: 800; margin-bottom: 15px; color: var(--text); transform: translateZ(30px); letter-spacing: -0.5px;}
.feature-card p { color: var(--text-muted); font-size: 18px; line-height: 1.6; margin: 0; font-weight: 400; transform: translateZ(15px); }

/* PRICING SECTION */
.pricing-section { padding: 150px 20px; display: flex; flex-direction: column; align-items: center; }

.pricing-wrapper {
    position: relative; padding: 2px; border-radius: 34px; z-index: 2;
    background: linear-gradient(var(--angle), rgba(255,255,255,0.05), rgba(212, 175, 55, 0.7), rgba(255,255,255,0.05));
    animation: rotateBorder 5s linear infinite; box-shadow: 0 50px 100px rgba(0, 0, 0, 0.95);
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateBorder { to { --angle: 360deg; } }

.pricing-card {
    background: rgba(12, 12, 15, 0.9); backdrop-filter: blur(50px); -webkit-backdrop-filter: blur(50px);
    border-radius: 32px; padding: 70px; width: 100%; max-width: 500px; text-align: center; transform-style: preserve-3d;
}

.activation-title { color: var(--text); font-size: 32px; font-weight: 800; margin: 0; letter-spacing: -0.5px; transform: translateZ(40px); }
.activation-subtitle { color: var(--text-muted); font-size: 18px; margin: 12px 0 45px 0; transform: translateZ(30px); }
.price-display { margin-bottom: 55px; transform: translateZ(50px); }
.currency { font-size: 34px; color: var(--text-muted); vertical-align: top; margin-top: 12px; display: inline-block; font-weight: 600; }
.amount { font-size: 120px; font-weight: 900; color: var(--text); letter-spacing: -6px; text-shadow: 0 20px 50px rgba(0,0,0,0.8); }
.cents { font-size: 34px; color: var(--text-muted); font-weight: 600; }

.pricing-features { list-style: none; padding: 0; margin: 0 0 60px 0; text-align: left; transform: translateZ(30px); }
.pricing-features li { color: var(--text); font-size: 18px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.04); padding-bottom: 22px; font-weight: 500; display: flex; align-items: center; }
.pricing-features li::before { content: '✓'; color: var(--gold); font-weight: 800; margin-right: 18px; font-size: 22px; text-shadow: 0 0 20px rgba(212, 175, 55, 0.6); }

/* ========================================= */
/* PREMIUM BUTTONS */
/* ========================================= */
.btn-nav {
    padding: 12px 28px; background: rgba(255,255,255,0.03); backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.4); color: var(--gold); border-radius: 50px;
    font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    transition: all 0.6s var(--ease-out); box-shadow: inset 0 2px 4px rgba(255,255,255,0.05);
}
.btn-nav:hover { background: var(--gold); color: #000; border-color: #fcebbb; box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4), inset 0 2px 4px rgba(255,255,255,0.8); transform: scale(1.05); }

.premium-gold {
    background: linear-gradient(180deg, #fcebbb 0%, #d4af37 50%, #8a6d18 100%);
    color: #050505; padding: 22px 48px; font-weight: 800; font-size: 17px; letter-spacing: 1px;
    border-radius: 50px; border: 1px solid #fff3c4; cursor: pointer;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.9), inset 0 -5px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.6s var(--ease-out); display: flex; justify-content: center; align-items: center; min-width: 240px; position: relative; overflow: hidden;
}
.premium-gold::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg); transition: 0.8s var(--ease-out); z-index: 1; pointer-events: none;
}
.premium-gold:hover { 
    transform: scale(1.04) translateY(-4px); background: linear-gradient(180deg, #fff3c4 0%, #e6c555 40%, #d4af37 100%);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.5), 0 0 30px rgba(212, 175, 55, 0.3), inset 0 2px 6px rgba(255, 255, 255, 1), inset 0 -5px 10px rgba(0, 0, 0, 0.1); 
}
.premium-gold:hover::before { left: 200%; transition: 1s var(--ease-out); }
.premium-gold:active { transform: scale(0.96); }

.btn-system {
    padding: 22px 48px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text); border-radius: 50px; cursor: pointer; font-size: 17px; font-weight: 700; letter-spacing: 1px;
    transition: all 0.6s var(--ease-out); display: flex; justify-content: center; align-items: center; min-width: 240px; box-shadow: inset 0 2px 5px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.4);
}
.btn-system:hover { 
    background: rgba(255, 255, 255, 0.08); border-color: rgba(212, 175, 55, 0.5); color: var(--gold);
    transform: scale(1.04) translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 2px 5px rgba(255,255,255,0.1);
}
.btn-system:active { transform: scale(0.96); }

.btn-activate-pro {
    width: 100%; padding: 26px; font-size: 20px; font-weight: 800; border-radius: 20px;
    background: rgba(10, 10, 12, 0.8); color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.4); cursor: pointer; text-transform: uppercase; letter-spacing: 2px;
    transition: all 0.8s var(--ease-out); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 2px 5px rgba(255,255,255,0.05), inset 0 -5px 15px rgba(212, 175, 55, 0.1);
    transform: translateZ(50px); position: relative; overflow: hidden;
}
.btn-activate-pro::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg); transition: 0.8s var(--ease-out); z-index: 1; pointer-events: none;
}
.btn-activate-pro:hover {
    background: linear-gradient(180deg, #fcebbb 0%, #d4af37 50%, #8a6d18 100%); color: #000; border-color: #fff3c4;
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.9), inset 0 -5px 15px rgba(0, 0, 0, 0.3); transform: translateZ(70px) scale(1.04);
}
.btn-activate-pro:hover::after { left: 200%; transition: 1s var(--ease-out); }
.btn-activate-pro:active { transform: translateZ(30px) scale(0.97); }

/* FOOTER */
footer { text-align: center; padding: 60px 20px; border-top: 1px solid rgba(255,255,255,0.05); background: transparent; position: relative; z-index: 2; }
.footer-logo { height: 40px; margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3)); }
.footer-content h2 { margin: 0 0 10px 0; font-size: 24px; font-weight: 800; letter-spacing: 1px;}
.footer-content p { color: var(--text-muted); font-size: 16px; margin: 5px 0;}
.copyright { margin-top: 30px !important; font-size: 14px !important;}

@media (max-width: 768px) {
    .hero-title { font-size: 56px; }
    .hero-main-logo { height: 90px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .nav-links { display: none; }
    .panel-mockup { height: auto; }
    
    .carousel-container { height: 500px; perspective: 1000px; }
    .carousel-slide { max-width: 320px; }
    .carousel-slide.prev { transform: translateX(-40%) translateZ(-100px) scale(0.8); }
    .carousel-slide.next { transform: translateX(40%) translateZ(-100px) scale(0.8); }
}