:root {
    --bg-color: #030303; 
    --text-color: #ffffff;
    --text-muted: #8a8a93;
    
    --primary-color: #FF0084;
    --games-color: #9d00ff;
    --services-color: #ff5500;
    --studio-color: #00d4ff;
    
    --glass-bg: rgba(255, 255, 255, 0.015);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Отключаем всплывающие кнопки визуального поиска в браузерах над картинками */
img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}


body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none; /* Убираем стандартный курсор */
}
a, button { cursor: none; }

/* Custom Cursor */
.cursor-dot {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.cursor-glow {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

/* Hover effects for cursor */
.cursor-dot.hovered { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(2px); }
.cursor-glow.hovered { width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); }

/* Noise Overlay (Текстура шума) */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 1; opacity: 0.02;
    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");
}

/* Background & Cyber Grid */
.ambient-light {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -3;
    background: linear-gradient(to bottom, rgba(3,3,3,0.5) 0%, rgba(3,3,3,0.98) 100%), url('img/bg.jpg');
    background-size: cover; background-position: center top; background-attachment: fixed;
}

.cyber-grid {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 50vh; z-index: -2;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
    mask-image: linear-gradient(to top, rgba(0,0,0,1), transparent);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1), transparent);
}

/* Layout */
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 10; }
.section { padding: 140px 0; }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; }
.hero-badge {
    display: inline-block; padding: 8px 16px; border: 1px solid rgba(74, 222, 128, 0.4); border-radius: 100px;
    font-size: 0.75rem; font-weight: 800; letter-spacing: 2px; color: #4ade80;
    margin-bottom: 32px; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.2);
    animation: pulseBadge 2s infinite alternate;
}
@keyframes pulseBadge {
    0% { box-shadow: 0 0 10px rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.2); }
    100% { box-shadow: 0 0 25px rgba(74, 222, 128, 0.6); border-color: rgba(74, 222, 128, 0.8); }
}
.hero-title { font-size: clamp(4rem, 12vw, 9rem); font-weight: 900; line-height: 1; margin-bottom: 24px; letter-spacing: -0.05em; text-transform: uppercase; position: relative; }
.primary-text { color: var(--primary-color); text-shadow: 0 0 30px rgba(255,0,132,0.6); }
.hero-subtitle { font-size: clamp(1.125rem, 2vw, 1.5rem); color: var(--text-muted); max-width: 700px; margin: 0 auto 56px; font-weight: 300; position: relative; z-index: 2; }

/* Magnetic Button CTA */
.magnetic-btn { display: inline-flex; align-items: center; justify-content: center; position: relative; }
.cta-text { transition: transform 0.2s ease-out; pointer-events: none; }
.cta-button {
    padding: 20px 48px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-highlight);
    color: #fff; text-decoration: none; border-radius: 100px; font-weight: 600; font-size: 1.125rem;
    backdrop-filter: blur(20px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), 0 10px 30px rgba(0,0,0,0.5);
    text-transform: uppercase; letter-spacing: 2px; overflow: hidden;
}
.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 ease;
}
.cta-button:hover::before { left: 100%; }

/* Marquee (Бегущая строка) */
.marquee-wrapper {
    width: 100%; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.4); backdrop-filter: blur(10px); padding: 20px 0; margin-bottom: 80px;
}
.marquee-content {
    display: flex; white-space: nowrap; animation: marquee 20s linear infinite; font-weight: 800; font-size: 1.5rem; letter-spacing: 4px; color: rgba(255,255,255,0.2);
}
.marquee-content span { margin: 0 40px; }
.marquee-content .dot { color: var(--text-muted); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Header */
.section-header { display: flex; align-items: center; gap: 40px; margin-bottom: 80px; }
.section-title { font-size: 4rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; }
.section-line { height: 1px; flex-grow: 1; background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent); }

/* 3D Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; perspective: 1000px; }
.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
    border-radius: 32px; border: 1px solid rgba(255,255,255,0.15);
    position: relative; 
    backdrop-filter: blur(40px) saturate(120%);
    -webkit-backdrop-filter: blur(40px) saturate(120%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, box-shadow;
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-games { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255,255,255,0.02), 0 30px 60px rgba(0,0,0,0.8), 0 0 80px rgba(157, 0, 255, 0.1); }
.card-games:hover { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255,255,255,0.02), 0 30px 60px rgba(0,0,0,0.8), 0 0 120px rgba(157, 0, 255, 0.3); }

.card-services { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255,255,255,0.02), 0 30px 60px rgba(0,0,0,0.8), 0 0 80px rgba(255, 85, 0, 0.1); }
.card-services:hover { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255,255,255,0.02), 0 30px 60px rgba(0,0,0,0.8), 0 0 120px rgba(255, 85, 0, 0.3); }

.card-studio { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255,255,255,0.02), 0 30px 60px rgba(0,0,0,0.8), 0 0 80px rgba(0, 212, 255, 0.1); }
.card-studio:hover { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255,255,255,0.02), 0 30px 60px rgba(0,0,0,0.8), 0 0 120px rgba(0, 212, 255, 0.3); }

/* vanilla-tilt добавляет блик, стилизуем его */
.js-tilt-glare { 
    border-radius: 32px; 
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.card-inner { padding: 48px 40px; display: flex; flex-direction: column; height: 100%; }

/* Card Components */
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.card-icon { font-size: 3.5rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); transform: translateZ(20px); }
.card-badge {
    padding: 6px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    transform: translateZ(10px);
}
.card-games .card-badge { color: var(--games-color); border-color: rgba(157,0,255,0.3); }
.card-services .card-badge { color: var(--services-color); border-color: rgba(255,85,0,0.3); }
.card-studio .card-badge { color: var(--studio-color); border-color: rgba(0,212,255,0.3); }

.card-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; text-transform: uppercase; transform: translateZ(30px); }
.card-desc { color: var(--text-muted); margin-bottom: 40px; font-weight: 300; font-size: 1.125rem; flex-grow: 1; transform: translateZ(20px); }

.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; transform: translateZ(30px); }
.card-link { color: #fff; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.875rem; display: flex; align-items: center; gap: 8px; }
.card-games .card-link:hover { color: var(--games-color); }
.card-services .card-link:hover { color: var(--services-color); }
.card-studio .card-link:hover { color: var(--studio-color); }
.arrow { transition: transform 0.3s; }
.card-link:hover .arrow { transform: translateX(5px); }

.card-stats { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 800; color: var(--text-muted); }
.stat-dot { width: 8px; height: 8px; border-radius: 50%; }
.pulse-purple { background: var(--games-color); box-shadow: 0 0 10px var(--games-color); animation: pulseDot 2s infinite; }
.pulse-orange { background: var(--services-color); box-shadow: 0 0 10px var(--services-color); animation: pulseDot 2s infinite; }
.pulse-cyan { background: var(--studio-color); box-shadow: 0 0 10px var(--studio-color); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* Glass Panel Component */
.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 24px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}

/* About Section */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 60px; }
.about-card { padding: 40px; text-align: left; transition: transform 0.3s ease, border-color 0.3s ease; }
.about-card:hover { transform: translateY(-5px); border-color: rgba(255,0,132,0.4); }
.about-icon { font-size: 2.5rem; margin-bottom: 20px; }
.about-card h3 { font-size: 1.5rem; margin-bottom: 16px; color: #fff; }
.about-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* FAQ Section */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 60px auto 0; }
.faq-item { overflow: hidden; transition: border-color 0.3s ease; }
.faq-item.active { border-color: rgba(255,0,132,0.4); }
.faq-question {
    width: 100%; padding: 24px 30px; background: transparent; border: none; color: #fff;
    font-size: 1.1rem; font-weight: 600; text-align: left; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-family: inherit;
}
.faq-icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; margin-left: 20px; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: #fff; transition: all 0.3s ease; }
.faq-icon::before { top: 11px; left: 2px; right: 2px; height: 2px; }
.faq-icon::after { top: 2px; bottom: 2px; left: 11px; width: 2px; }
.faq-item.active .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item.active .faq-icon::before { transform: rotate(180deg); background: #FF0084; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 30px 30px; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* Contact CTA */
.contact-card { padding: 80px 40px; text-align: center; max-width: 800px; margin: 0 auto; }
.contact-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; color: #fff; }
.contact-card p { font-size: 1.1rem; color: var(--text-muted); }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 100px 0 40px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); position: relative; z-index: 10; }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 80px; }
.footer-logo { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.05em; }
.footer-logo .light { font-weight: 300; color: var(--text-muted); }
.footer-slogan { font-size: 1.125rem; color: var(--text-muted); font-weight: 300; }
.socials { display: flex; gap: 40px; margin-top: 32px; }
.socials a { color: #fff; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.875rem; padding: 12px 24px; border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; transition: all 0.3s; }
.socials a:hover { background: #fff; color: #000; }

.footer-legal-links { display: flex; gap: 32px; font-size: 0.8rem; margin: 40px 0 20px; color: var(--text-muted); flex-wrap: wrap; justify-content: center; }
.footer-legal-links a { color: inherit; text-decoration: underline; transition: color 0.3s; }
.footer-legal-links a:hover { color: #fff; }

.footer-bottom { display: flex; flex-direction: column; gap: 24px; }
.footer-line { height: 1px; width: 100%; background: rgba(255,255,255,0.05); }
.footer-legal { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--text-muted); font-weight: 600; }
.status-ok { color: #4ade80; text-shadow: 0 0 10px rgba(74,222,128,0.5); margin-left: 8px; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

/* Navbar (Editorial Style) */
.navbar { position: absolute; top: 0; left: 0; right: 0; padding: 40px; display: flex; justify-content: space-between; align-items: center; z-index: 100; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.nav-left { color: #fff; }
.nav-right { display: flex; gap: 40px; color: var(--text-muted); }
.menu-icon { color: #fff; cursor: none; }

/* Monochrome Hero */
.monochrome-hero {
    min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: #050505; /* Deep black */
}
.monochrome-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 150px;
    background: linear-gradient(to top, #050505 0%, transparent 100%); z-index: 5; pointer-events: none;
}

.ambient-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,0,132,0.15) 0%, transparent 70%);
    z-index: 1; pointer-events: none;
}

.hero-center-img {
    position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0;
    display: flex; align-items: center; justify-content: center;
}
.hero-center-img img {
    width: 100vw; height: 100vh; object-fit: cover; 
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%); opacity: 0.7;
}

.hero-content {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 40px; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;
}
.hero-content > * { pointer-events: auto; }

.hero-center-block {
    flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; max-width: 800px; margin: 0 auto; gap: 24px; z-index: 2;
}
.hero-main-logo {
    width: 80vw; max-width: 450px; margin-bottom: 8px;
}
.hero-main-text {
    color: rgba(255,255,255,0.8); font-size: 1.1rem; font-weight: 300; line-height: 1.6;
    letter-spacing: 0.5px;
}

.hero-tags {
    display: flex; gap: 16px; margin-top: 10px; justify-content: center; flex-wrap: wrap;
}
.glass-tag {
    padding: 8px 16px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: flex; align-items: center; gap: 8px;
}
.glass-tag .dot { width: 6px; height: 6px; border-radius: 50%; }
.glass-tag .dot.pink { background: var(--games-color); box-shadow: 0 0 8px var(--games-color); }
.glass-tag .dot.orange { background: var(--services-color); box-shadow: 0 0 8px var(--services-color); }
.glass-tag .dot.cyan { background: var(--studio-color); box-shadow: 0 0 8px var(--studio-color); }

.hero-cta {
    margin-top: 20px; padding: 18px 48px; border-radius: 100px; font-size: 0.85rem; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; color: #fff; text-decoration: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.hero-cta::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 ease;
}
.hero-cta:hover {
    background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4);
    box-shadow: 0 10px 40px rgba(255,0,132,0.3), inset 0 1px 0 rgba(255,255,255,0.5);
    transform: translateY(-2px);
}
.hero-cta:hover::before { left: 100%; }

/* Tech HUD Elements */
.hud-circle-1, .hud-circle-2 {
    position: absolute; top: 50%; left: 50%; border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0.15;
}
.hud-circle-1 {
    width: 600px; height: 600px; border: 1px dashed rgba(255,255,255,0.5); margin: -300px 0 0 -300px;
    animation: rotateSlow 60s linear infinite;
}
.hud-circle-2 {
    width: 630px; height: 630px; border: 1px solid rgba(255,0,132,0.4); margin: -315px 0 0 -315px;
    animation: rotateSlowReverse 40s linear infinite;
}
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateSlowReverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

.hero-bottom {
    display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}
.hero-bottom-center { color: var(--text-muted); }

.explore-link { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.hero-bottom-right { display: flex; align-items: center; gap: 24px; }
.next-label { display: flex; gap: 12px; }
.next-label .strong { color: #fff; }
.next-label .dim { color: var(--text-muted); }

.circle-btn {
    width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s;
}
.circle-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
