/* =========================================
   01. VARIABLES & RESET
========================================= */
:root {
    --bg-black: #050505;
    --card-bg: rgba(15, 15, 15, 0.6);
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.5);
    --text: #ffffff;
    --text-dim: #9ca3af;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: #000000 !important;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; font-weight: 700; letter-spacing: -1px; }

/* =========================================
   02. BACKGROUND EFFECTS & PARTICLES
========================================= */
.bg-blobs {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -2 !important;
}
.blob { opacity: 0.45 !important; filter: blur(120px) !important; }
.blob-1 { top: -10vh !important; left: -10vw !important; width: 60vw !important; height: 60vw !important; }
.blob-2 { bottom: -10vh !important; right: -10vw !important; width: 60vw !important; height: 60vw !important; }
.blob-3 { top: 30vh !important; left: 20vw !important; width: 60vw !important; height: 60vw !important; }

.particles-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.particle { position: absolute; width: 3px; height: 3px; background-color: var(--text); border-radius: 50%; opacity: 0.2; animation: floatParticle linear infinite; }

.top-grid {
    top: 0; transform-origin: top;
    transform: perspective(600px) rotateX(-75deg);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, transparent 100%);
}
.bottom-grid {
    bottom: 0; transform-origin: bottom;
    transform: perspective(600px) rotateX(75deg);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 100%);
}

/* =========================================
   03. HEADER & NAVIGATION
========================================= */
.header.floating-header {
    position: fixed !important; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999 !important;
    width: 95%; max-width: 1000px; height: 64px;
    background: rgba(10, 10, 10, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 100px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; justify-content: space-between; align-items: center; padding: 0 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.header.floating-header.scrolled {
    top: 15px; width: 85%; padding: 0 20px;
    background: rgba(5, 5, 5, 0.95); border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 20px rgba(139, 92, 246, 0.15);
}

.logo-container { display: flex; align-items: center; gap: 12px; }
.logo-minimal { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.logo-container h1 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.5px; }

.header-nav {
    display: flex !important;
    justify-content: flex-end !important; /* Прижимаем всё вправо */
    align-items: center !important;
    flex: 1 !important;
    gap: 12px !important; /* Расстояние между Scripts и Login */
    margin-right: 30px !important; /* Дистанция до самой плашки онлайна */
}
.nav-btn {
    color: var(--text); text-decoration: none; padding: 6px 18px; border-radius: 50px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
    font-weight: 500; font-size: 0.9rem; transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.nav-btn:hover, .header-nav .nav-btn.active {
    background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 0 15px var(--accent-glow);
}
.login-btn { background: rgba(139, 92, 246, 0.15); color: #b366ff; border-color: rgba(139, 92, 246, 0.3); margin-left: 0 !important; }
.login-btn:hover { background: rgba(139, 92, 246, 0.4); color: #fff; box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); }

.status-wrapper {
    display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 50px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
    font-size: 0.85rem; font-weight: 500; color: var(--text-dim);
}
.status-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 12px rgba(16, 185, 129, 0.8); animation: pulse 2s infinite; }

/* =========================================
   04. HERO SECTION & STATS
========================================= */
.hero { padding: 200px 20px 80px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h2 { font-size: 4.5rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -2px; line-height: 1.1; }
.hero p { color: var(--text-dim); font-size: 1.2rem; max-width: 500px; margin: 0 auto 50px; line-height: 1.6; }
.highlight { color: var(--text); }

.stats-showcase-container {
    display: flex; gap: 40px; margin: 40px auto 0; width: 95%; max-width: 1000px !important;
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px;
    padding: 30px 35px; backdrop-filter: blur(10px); align-items: center; justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.stats-text-area { display: flex; flex-direction: column; text-align: left; flex: 1; }
.premium-tall-text {
    font-family: 'Inter', sans-serif; font-weight: 900; font-size: 1.6rem; letter-spacing: -0.5px;
    text-transform: uppercase; margin: 0; line-height: 1;
    transform: scaleY(1.35) scaleX(0.9); transform-origin: left center;
}
.custom-square-highlight { background: var(--accent); color: #050505; padding: 2px 8px; border-radius: 4px; display: inline-block; font-weight: 900; }
.launch-count { font-family: 'JetBrains Mono', monospace; font-size: 2.8rem; font-weight: 700; color: #fff; margin: 15px 0 5px 0; text-shadow: 0 0 20px rgba(255,255,255,0.15); }
.stats-subtext { color: var(--text-dim); font-size: 0.85rem; margin: 0; }

.stats-chart-area { flex: 1.3; min-width: 280px; display: flex; flex-direction: column; gap: 10px; }
.chart-canvas-wrapper { width: 100%; height: 130px; position: relative; }
.chart-tabs { display: flex; justify-content: flex-end; gap: 6px; }
.chart-tab {
    background: transparent; border: 1px solid var(--border); color: var(--text-dim); padding: 3px 10px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: 0.2s; font-family: 'JetBrains Mono', monospace;
}
.chart-tab.active, .chart-tab:hover { background: rgba(139, 92, 246, 0.15); color: #fff; border-color: var(--accent); box-shadow: 0 0 10px rgba(139, 92, 246, 0.2); }

/* =========================================
   05. COMPONENTS (Bento Cards, Buttons)
========================================= */
.bento-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 24px;
    padding: 35px; backdrop-filter: blur(10px); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.bento-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 24px; padding: 2px;
    background: linear-gradient(45deg, transparent, var(--accent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.bento-card:hover::before { opacity: 1; }

.inline-copy-container { width: 100%; max-width: 750px !important; margin: 0 auto; text-align: left; background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.script-header { margin-bottom: 15px; }
.script-label { font-size: 0.9rem; font-weight: 600; color: var(--text-dim); }
.inline-box { background: rgba(0, 0, 0, 0.4); padding: 16px; border-radius: 12px; border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.inline-box code { color: #e5e7eb; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; word-break: break-all; flex: 1; }
.btn-copy-inline { background: rgba(255, 255, 255, 0.08); color: var(--text); border: 1px solid var(--border); padding: 10px 16px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: all 0.2s; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-copy-inline:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.2); }

.get-script-wrapper { text-align: center; margin: 40px 0 60px; }
.btn-massive {
    background: var(--accent); color: #fff; font-family: 'Inter', sans-serif; font-size: 1.8rem; font-weight: 800;
    padding: 24px 60px; border-radius: 20px; border: none; cursor: pointer; text-transform: uppercase;
    letter-spacing: 2px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 15px 40px var(--accent-glow);
    display: inline-flex; align-items: center; gap: 15px;
}
.btn-massive:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 25px 50px rgba(139, 92, 246, 0.6); }

/* =========================================
   06. LAYOUT SECTIONS (Showcase, Gallery, Team, FAQ)
========================================= */
.features-section, .about-us-section { padding: 60px 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1000px; width: 95%; margin: 0 auto; }
.feature-icon { font-size: 2rem; color: var(--text); margin-bottom: 25px; opacity: 0.9; }
.bento-card h4 { font-size: 1.4rem; margin-bottom: 12px; font-weight: 600; }
.bento-card p { color: var(--text-dim); line-height: 1.6; font-size: 1rem; }

.showcase-section { padding: 80px 20px; }
.showcase-layout { display: flex; align-items: center; justify-content: center; gap: 60px; max-width: 1100px; margin: 0 auto; }
.showcase-text { flex: 1; text-align: left; }
.showcase-text h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; letter-spacing: -1px; }
.showcase-text .highlight { background-color: var(--accent); color: #ffffff; padding: 0 12px 6px; border-radius: 4px; display: inline-block; line-height: 1; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }
.showcase-text p { color: var(--text-dim); line-height: 1.6; font-size: 1.1rem; }
.showcase-container { flex: 1; perspective: 1200px; }
.showcase-image { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transform: rotateY(-25deg) rotateX(5deg) scale(0.9); transform-origin: right center; box-shadow: -20px 20px 50px rgba(0,0,0,0.6); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s; cursor: zoom-in; }
.showcase-layout:hover .showcase-image { transform: rotateY(0deg) rotateX(0deg) scale(1); box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px var(--accent-glow); }

.screenshots-section { padding: 40px 20px 80px; }
.slider-wrapper {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16/9 !important; /* Заставляем браузер держать пропорции 16:9 */
    min-height: 400px; /* Фоллбэк на случай, если браузер затупит */
    display: block !important; /* Убираем flex, чтобы контейнер не схлопывался */
    
    /* Та самая крутая белая обводка */
    border: 2px solid rgba(255, 255, 255, 0.6) !important; 
    border-radius: 26px !important;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.05) !important;
    
    overflow: hidden !important; /* Обрезает углы картинок под рамку */
    padding: 0 !important;
    
    /* Поднимаем галерею над фоном */
    z-index: 10 !important; 
    background-color: #050505 !important; /* Темный фон на время прогрузки фото */
}
.slider-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.2); color: white; font-size: 1.2rem; cursor: pointer; backdrop-filter: blur(25px); display: flex; justify-content: center; align-items: center; transition: all 0.2s ease; z-index: 10; }
.slider-btn:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-50%) scale(1.05); }
.prev-btn { left: 20px; } .next-btn { right: 20px; }
.slider-dots { position: absolute; bottom: 20px; right: 30px; display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; transition: all 0.3s ease; }
.dot.active { background: white; width: 24px; border-radius: 4px; }

.about-grid { display: flex !important; justify-content: center !important; align-items: center !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 800px; margin: 0 auto; }
.about-card { text-align: center; }
.about-avatar { width: 110px; height: 110px; border-radius: 50%; border: 1px solid var(--border); margin-bottom: 20px; object-fit: cover; }
.about-socials { margin-top: 20px; }
.about-socials a { color: var(--text-dim); font-size: 1.5rem; margin: 0 10px; transition: 0.2s; }
.about-socials a:hover { color: var(--text); }

.faq-section { padding: 20px; margin-top: 40px; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px; max-width: 1000px; width: 95%; margin: 0 auto 40px; }
.faq-item { text-align: left; }
.faq-item h4 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 12px; color: #fff; }
.faq-item i { color: var(--accent); margin-right: 8px; }
.faq-item p { color: var(--text-dim); line-height: 1.5; }

/* =========================================
   07. DISCORD MINI PROFILE
========================================= */
.bento-card.profile-hover-trigger { overflow: visible !important; }
.profile-hover-trigger { position: relative; }
.profile-hover-trigger:hover { z-index: 50; }

.ds-mini-profile {
    position: absolute; top: -50px; left: 105%; width: 330px; background: #111214;
    border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden; opacity: 0; visibility: hidden; transform: translateX(-15px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1000; text-align: left;
    pointer-events: none; font-family: 'Inter', sans-serif;
}
.profile-hover-trigger:hover .ds-mini-profile { opacity: 1; visibility: visible; transform: translateX(0) scale(1); pointer-events: auto; }
.ds-banner { height: 100px; background: linear-gradient(135deg, #1e1e24, #2a1b38); }
.ds-header { padding: 0 16px; display: flex; justify-content: space-between; position: relative; }
.ds-avatar-wrapper { position: absolute; top: -40px; left: 16px; width: 84px; height: 84px; border-radius: 50%; background: #111214; padding: 6px; }
.ds-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ds-status-icon { position: absolute; bottom: 4px; right: 4px; background: #111214; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: #f0b232; font-size: 12px; }
.ds-badges { margin-left: auto; margin-top: 12px; }
.ds-badges .badge { background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; }
.ds-body { padding: 40px 16px 16px; }
.ds-display-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 2px; color: #f2f3f5; }
.ds-username { font-size: 0.9rem; color: #b5bac1; }
.ds-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 12px 0; }
.ds-about-me { font-size: 0.85rem; color: #dbdee1; line-height: 1.4; margin-bottom: 12px; }
.ds-about-me a { color: #00a8fc; text-decoration: none; }
.ds-spotify { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 12px; margin-bottom: 12px; }
.sp-header { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #b5bac1; margin-bottom: 8px; display: flex; justify-content: space-between; }
.sp-content { display: flex; gap: 12px; }
.sp-cover { width: 60px; height: 60px; border-radius: 8px; background-image: url('https://i.scdn.co/image/ab67616d0000b27393f1dc421376e4629f480f29'); background-size: cover; background-position: center; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.sp-info { flex: 1; }
.sp-title { font-size: 0.9rem; font-weight: 600; color: #f2f3f5; }
.sp-artist { font-size: 0.85rem; color: #b5bac1; margin-bottom: 6px; }
.sp-progress-bar { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; color: #b5bac1; }
.sp-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.sp-fill { width: 30%; height: 100%; background: #f2f3f5; border-radius: 2px; }
.ds-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-role { background: rgba(255,255,255,0.08); padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 500; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,0.05); }
.role-dot { width: 10px; height: 10px; border-radius: 50%; }
.role-dot.developer { background: #ed4245; }
.role-dot.support { background: #5865f2; }

/* =========================================
   08. MODALS & FOOTER
========================================= */
.img-modal {
    display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease;
}
.img-modal.show { opacity: 1; }
.img-modal-content { max-width: 85vw; max-height: 85vh; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.1); transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.img-modal.show .img-modal-content { transform: scale(1); }
.img-close { position: absolute; top: 25px; right: 35px; color: rgba(255,255,255,0.7); font-size: 28px; cursor: pointer; transition: all 0.2s; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; border: 1px solid rgba(255,255,255,0.05); }
.img-close:hover { color: #fff; background: rgba(255,255,255,0.2); transform: scale(1.1); }

.full-screen-notify {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(5, 5, 5, 0.95); z-index: 999999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.4s ease; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
}
.full-screen-notify.show { opacity: 1; visibility: visible; }
.notify-content { text-align: center; transform: scale(0.8); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.full-screen-notify.show .notify-content { transform: scale(1); }
.notify-content i { font-size: 6rem; color: #10b981; margin-bottom: 25px; text-shadow: 0 0 30px rgba(16, 185, 129, 0.5); }
.notify-content h2 { font-size: 3.5rem; font-weight: 800; color: #fff; margin-bottom: 15px; }
.notify-content p { font-size: 1.5rem; color: var(--text-dim); }

.footer { padding: 40px 20px; text-align: center; border-top: 1px solid var(--border); background: rgba(5,5,5,0.8); }
.social-icons { margin-bottom: 15px; }
.social-icons a { color: var(--text-dim); font-size: 1.6rem; margin: 0 12px; transition: 0.2s; }
.social-icons a:hover { color: var(--text); }
.copyright { font-size: 0.85rem; color: #666; }

/* =========================================
   09. ANIMATIONS & TRANSITIONS
========================================= */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.page-fade-in { animation: pageFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.page-fade-out { animation: pageFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes pageFadeIn { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes pageFadeOut { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }

/* =========================================
   10. THEMES & MEDIA QUERIES
========================================= */
body.theme-mm2 { --accent: #3b82f6; --accent-glow: rgba(59, 130, 246, 0.5); }
body.theme-mm2 .blob-1 { background: var(--accent); }
body.theme-mm2 .blob-2 { background: #1d4ed8; }

@media (max-width: 900px) {
    .showcase-layout { flex-direction: column; text-align: center; gap: 40px; }
    .showcase-text { text-align: center; }
    .showcase-image { transform: rotateY(0) scale(1); }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .ds-mini-profile { left: 50%; top: 100%; transform: translate(-50%, -10px) scale(0.95); z-index: 2000; }
    .profile-hover-trigger:hover .ds-mini-profile { transform: translate(-50%, 10px) scale(1); }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .faq-grid { grid-template-columns: 1fr; }
    .slide-info p { max-width: 100%; }
    .stats-showcase-container { flex-direction: column; gap: 30px; padding: 25px; text-align: center; }
    .stats-text-area { align-items: center; }
    .premium-tall-text { transform-origin: center; }
    .chart-tabs { justify-content: center; }
}

@media (max-width: 600px) {
    .screenshots-grid { grid-template-columns: 1fr; }
}

.blob { 
    opacity: 0.45 !important; /* Делаем фиолетовый фон намного ярче */
    filter: blur(100px) !important;
}
.blob-1 { 
    width: 60vw !important; 
    height: 60vw !important; 
    top: -15vh !important;
}
.perspective-grid {
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 65vh !important; /* Высота текстуры от низа экрана */
    
    /* ПОДКЛЮЧАЕМ ТВОЙ ФАЙЛ */
    background-image: url('../img/grid-texture.png') !important;
    background-size: 100% 100% !important; /* Растягиваем на всю ширину и высоту блока */
    background-position: bottom center !important;
    background-repeat: no-repeat !important;
    
    /* ОЧЕНЬ ВАЖНО: Отключаем 3D-наклон, потому что на твоей картинке уже есть перспектива! */
    transform: none !important; 
    
    /* Отключаем затухания, картинка сама растворяется в белый/прозрачный */
    -webkit-mask-image: none !important;
    mask-image: none !important;
    
    z-index: -1 !important; /* Поверх фиолетового фона, но под сайтом */
    pointer-events: none !important;
    opacity: 0.5 !important; /* Прозрачность (сделай 1.0, если нужна прямо ярко-белая) */
}

/* Скрываем верхнюю сетку, если она осталась в HTML, чтобы был только пол */
.top-grid {
    display: none !important;
}

/* === ПРЕМИУМ КНОПКА GET SCRIPT (ВЕРНУЛАСЬ) === */
.get-script-section {
    text-align: center;
    margin: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.get-script-pretext {
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.btn-massive-upgraded {
    background: rgba(12, 8, 20, 0.85); 
    color: #e0aaff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 22px 60px;
    border: 1px solid rgba(139, 92, 246, 0.6);
    /* Та самая скошенная cyberpunk форма */
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(139, 92, 246, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}
.btn-massive-upgraded:hover {
    background: rgba(20, 12, 35, 0.95);
    border-color: #b366ff;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25), inset 0 0 35px rgba(139, 92, 246, 0.3);
}

/* === РАВНОМЕРНЫЙ ФИОЛЕТОВЫЙ ФОН === */
.blob { opacity: 0.55 !important; }
.blob-2 { width: 60vw !important; height: 60vw !important; bottom: -10vh !important; }
.blob-3 {
    position: absolute;
    width: 55vw; height: 55vw;
    background: #9333ea; /* Ярко-фиолетовый */
    top: 35vh; left: 20vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    animation: moveBlob 22s infinite alternate ease-in-out;
}

/* === 3. ВОЗВРАЩАЕМ СТАРОЕ ОГРОМНОЕ УВЕДОМЛЕНИЕ === */
#copyNotification {
    position: fixed !important; /* Жестко привязываем к экрану */
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(5, 5, 5, 0.95) !important;
    z-index: 999999 !important; /* Поверх вообще всего */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
#copyNotification.show {
    opacity: 1 !important;
    visibility: visible !important;
}
.notify-content {
    text-align: center;
    transform: scale(0.8);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#copyNotification.show .notify-content {
    transform: scale(1) !important;
}
.notify-content i {
    font-size: 6rem;
    color: #10b981;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}
.notify-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}
.notify-content p {
    font-size: 1.5rem;
    color: var(--text-dim);
}

.hub-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px; /* Отступ от шапки */
}

.hub-section {
    text-align: center;
    width: 100%;
    padding: 40px 20px 80px;
}

.hub-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin: -30px auto 50px;
    max-width: 600px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Сама карточка игры */
.game-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    background: #050505;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Затемнение снизу (чтобы текст всегда читался) */
.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* Картинка (превью) */
.game-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Изначально полупрозрачная */
    filter: grayscale(80%) blur(3px); /* Изначально ЧБ и размыта */
    transform: scale(1);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ХОВЕР ЭФФЕКТ (Проявление стиля Roblox) */
.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.game-card:hover .game-thumb {
    opacity: 1;
    filter: grayscale(0%) blur(0px); /* Становится цветной и четкой */
    transform: scale(1.08); /* Легкий зум */
}

/* Контейнер с текстом */
.game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.game-info h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 4px 15px rgba(0,0,0,1);
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Анимация поднятия текста при наведении */
.game-card:hover .game-info h3 {
    transform: translateY(0);
}

/* Статистика как в роблоксе (Лайки, Онлайн) */
.game-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.game-card:hover .game-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.game-stat {
    color: #10b981; /* Зеленый цвет для позитивной статы */
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.game-stat:nth-child(2) {
    color: #3b82f6; /* Синий для онлайна */
}

/* Теги (Auto-Lure, ESP) */
.game-tags {
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.game-card:hover .game-tags {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.game-tag {
    background: rgba(139, 92, 246, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Для MM2 делаем теги синими под тему */
.mm2-tag {
    background: rgba(59, 130, 246, 0.8);
}

/* Адаптив для телефонов */
@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* === ОГРАНИЧЕНИЕ ШИРИНЫ ДЛЯ ШОУКЕЙСА === */
.showcase-fixed-width {
    max-width: 1000px !important; /* Ограничиваем максимальную ширину */
    margin: 0 auto !important;    /* Центрируем на странице */
}

/* === СИНЯЯ КНОПКА ДЛЯ MM2 === */
.btn-mm2 {
    border: 1px solid rgba(59, 130, 246, 0.6) !important;
    color: #93c5fd !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(59, 130, 246, 0.15) !important;
}

.btn-mm2:hover {
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25), inset 0 0 35px rgba(59, 130, 246, 0.3) !important;
}

/* 3D-ЭФФЕКТ ПРИ НАВЕДЕНИИ НА КАРТИНКУ В HERO */
.hero-image:hover .showcase-image {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02) !important;
}

/* === ЖЕСТКИЙ ФИКС ВЕРСТКИ HERO (ДВЕ КОЛОНКИ + ОТСТУП ОТ ШАПКИ) === */
.hero-split {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 60px auto 60px auto !important;
    gap: 50px !important;
    text-align: left !important;
    padding: 0 20px !important;
}
.hero-split .hero-text { flex: 1.2 !important; }
.hero-split .hero-text h2 { font-size: 3.5rem !important; margin-bottom: 20px !important; }
.hero-split .hero-image {
    flex: 1 !important;
    perspective: 1000px !important;
}
.hero-split .showcase-image {
    width: 100% !important;
    border-radius: 15px !important;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.4) !important;
    transform: rotateY(-15deg) rotateX(5deg) !important;
    transition: transform 0.4s ease !important;
}
.hero-split .hero-image:hover .showcase-image {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02) !important;
}

/* === ЖЕСТКИЙ ФИКС ГРАФИКОВ (ЧТОБЫ НЕ РВУЛИ СТРАНИЦУ) === */
.stats-section {
    max-width: 1200px !important;
    margin: 0 auto 60px auto !important;
    padding: 0 20px !important;
}
.stats-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important; /* Левый график широкий, правый бублик узкий */
    gap: 25px !important;
    width: 100% !important;
}

/* Адаптив, если будут смотреть с мобилы */
@media (max-width: 900px) {
    .hero-split { flex-direction: column !important; text-align: center !important; }
    .stats-grid { grid-template-columns: 1fr !important; }
}

.about-grid .about-card {
    max-width: 400px !important;
    width: 100% !important;
}

.about-us-section .about-grid {
    display: grid !important;
    /* Создаем ровно 2 колонки, карточки будут одной ширины */
    grid-template-columns: repeat(2, minmax(300px, 350px)) !important;
    justify-content: center !important;
    align-items: stretch !important; /* Заставляет карточки быть одной высоты */
    gap: 40px !important;
}

.about-us-section .about-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Тянем на всю высоту ячейки грида */
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.about-card p {
    flex-grow: 1 !important; 
    margin-bottom: 20px !important;
    /* Выравниваем текст по левому краю для аккуратности, либо оставь center */
    text-align: center; 
}

/* Прижимаем соцсети к низу карточки */
.about-socials {
    margin-top: auto !important; 
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Адаптив для телефонов (одна колонка) */
@media (max-width: 768px) {
    .about-us-section .about-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.95); border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 16px; padding: 15px 25px; display: flex; align-items: center; gap: 20px;
    z-index: 10000; transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(10px); width: 90%; max-width: 600px;
}
.cookie-banner.show { bottom: 30px; }
.cookie-content { display: flex; align-items: center; gap: 15px; flex: 1; }
.cookie-content i { font-size: 1.5rem; color: #b366ff; }
.cookie-content p { font-size: 0.85rem; color: #dbdee1; margin: 0; line-height: 1.4; }
.btn-cookie {
    background: rgba(139, 92, 246, 0.2); color: #fff; border: 1px solid rgba(139, 92, 246, 0.5);
    padding: 8px 16px; border-radius: 10px; cursor: pointer; font-family: 'Inter', sans-serif;
    font-weight: 600; transition: all 0.2s; white-space: nowrap;
}
.btn-cookie:hover { background: rgba(139, 92, 246, 0.5); }

.about-card .about-avatar {
    margin: 0 auto 20px auto !important; /* Жестко возвращаем аватарку в центр */
    display: block !important;
}

.about-card h4 {
    text-align: center !important;
}

.about-card p {
    font-size: 0.85rem !important; /* Уменьшаем текст */
    line-height: 1.6 !important;
    text-align: center !important; /* Центрируем текст для красоты */
    color: #9ca3af !important;
    flex-grow: 1 !important; /* Толкает соцсети вниз */
}

/* Прижимаем соцсети к низу */
.about-card .about-socials {
    margin-top: auto !important;
    text-align: center !important;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}