:root {
    /* Палітра "Кібер-преміум" */
    --primary-neon: #00ffa2; /* Яскравий зелений/бірюзовий */
    --secondary-neon: #9d4dff; /* Фіолетовий */
    --bg-darkest: #020205;
    --bg-dark: #0a0a12;
    --text-light: #ffffff;
    --text-dim: #a0a0b0;
    
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    background-color: var(--bg-darkest);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    font-size: 18px;
    line-height: 1.6;
}

/* --- ФОН І ЕФЕКТИ --- */
.bg-particles {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 30%, #1a0a2e 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, #051a14 0%, transparent 50%);
    z-index: -2;
}

.bg-overlay-grid {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 25px; }
.neon-accent { color: var(--primary-neon); text-shadow: 0 0 15px var(--primary-neon); }

/* --- НАВІГАЦІЯ --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px;
    position: absolute; width: 100%; top: 0; z-index: 50;
    background: linear-gradient(tobottom, rgba(0,0,0,0.8), transparent);
}
.logo { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.lang-switch span {
    font-family: var(--font-head); font-size: 14px; cursor: pointer;
    margin-left: 15px; color: var(--text-dim); transition: 0.3s;
    font-weight: 700;
}
.lang-switch span:hover, .lang-switch span.active-lang { color: var(--primary-neon); }

/* --- HERO СПЛІТ-СЕКЦІЯ --- */
.hero-split {
    min-height: 95vh;
    display: flex; align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.split-container {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
}

.hero-text { flex: 1; max-width: 600px; z-index: 2; }

.hero-text h1 {
    font-family: var(--font-head); font-size: 3.8rem; line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff, var(--primary-neon));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 255, 162, 0.3));
}

.hero-desc { font-size: 1.3rem; color: var(--text-dim); margin-bottom: 40px; font-weight: 500; }

.hero-actions {
    display: flex; flex-direction: column; gap: 25px; align-items: flex-start;
}

.find-us-block { display: flex; align-items: center; gap: 15px; }
.find-label { font-family: var(--font-head); color: var(--text-dim); font-size: 0.9rem; text-transform: uppercase; }
.social-icons-hero a {
    color: #fff; font-size: 20px; margin-right: 15px; transition: 0.3s;
    display: inline-flex; width: 40px; height: 40px; background: var(--glass-bg);
    border-radius: 50%; align-items: center; justify-content: center;
    border: 1px solid var(--glass-border);
}
.social-icons-hero a:hover {
    color: var(--primary-neon); border-color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 255, 162, 0.4); transform: translateY(-3px);
}

.btn {
    text-decoration: none; font-family: var(--font-head); font-weight: 700;
    text-transform: uppercase; display: inline-flex; align-items: center;
    transition: 0.4s; border: none; cursor: pointer;
}
.btn-buy-hero {
    padding: 18px 50px; font-size: 1.1rem; border-radius: 4px;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    color: #000; box-shadow: 0 0 30px rgba(0, 255, 162, 0.3);
    position: relative; overflow: hidden;
}
.btn-buy-hero i { margin-right: 10px; }
.btn-buy-hero:hover {
    box-shadow: 0 0 50px rgba(0, 255, 162, 0.6); transform: scale(1.05); color: #fff;
}
.btn-buy-hero::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg); animation: btnShine 3s infinite;
}
@keyframes btnShine { 0% { left: -50%; } 100% { left: 150%; } }

/* --- HERO ВІЗУАЛ --- */
.hero-visual { flex: 1; display: flex; justify-content: flex-end; position: relative; }
.coin-container {
    width: 500px; height: 500px; position: relative;
    perspective: 1000px;
}
.rotating-coin {
    width: 100%; height: auto;
    animation: spin3D 12s linear infinite;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 30px rgba(0, 255, 162, 0.2));
}
.coin-glow {
    position: absolute; top: 50%; left: 50%; width: 60%; height: 60%;
    background: var(--primary-neon); filter: blur(100px); opacity: 0.2;
    transform: translate(-50%, -50%); z-index: -1;
}
@keyframes spin3D {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* --- СЕКЦІЯ ДОВІРИ --- */
.why-evos { padding: 100px 0; background: linear-gradient(to bottom, var(--bg-darkest), var(--bg-dark)); }
.section-title {
    font-family: var(--font-head); font-size: 2.5rem; text-align: center;
    margin-bottom: 30px; color: var(--primary-neon); text-transform: uppercase;
}
.trust-content { text-align: center; max-width: 900px; margin: 0 auto; }
.trust-desc { font-size: 1.2rem; color: var(--text-dim); margin-bottom: 50px; }
.trust-stats { display: flex; justify-content: center; gap: 50px; }
.stat-box {
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    font-family: var(--font-head); color: #fff; font-size: 1.1rem;
}
.stat-box i { font-size: 40px; color: var(--secondary-neon); }

/* --- МАРКЕТ --- */
.market-analytics {
    padding: 80px 0;
    background: var(--bg-dark);
}
.market-grid {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: stretch;
}
.price-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 40px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
}
.price-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--primary-neon), transparent);
}
.price-header {
    font-family: var(--font-head); font-size: 1.2rem; color: var(--text-dim);
    margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.live-price-display {
    font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 162, 0.5); line-height: 1; margin-bottom: 10px;
}
.live-price-display .currency {
    font-size: 1.5rem; color: var(--primary-neon); vertical-align: super;
}
.price-subtext { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px; }
.btn-buy-market {
    padding: 18px 40px; width: 100%; justify-content: center; font-size: 1.2rem;
    background: var(--primary-neon); color: #000; border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 255, 162, 0.3);
}
.btn-buy-market:hover { background: #fff; box-shadow: 0 0 40px rgba(0, 255, 162, 0.6); }

.chart-container {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 20px; overflow: hidden; height: 500px; position: relative;
}
.chart-container iframe { width: 100%; height: 100%; border: none; }


/* --- НОВА СЕКЦІЯ: ECOSYSTEM CAROUSEL --- */
.ecosystem-carousel {
    padding: 100px 0;
    background: var(--bg-darkest);
    overflow: hidden;
    position: relative;
    min-height: 800px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* Фіксована висота для слайдера */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

/* Слайди */
.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.carousel-slide.active-slide {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Контент слайду */
.slide-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.active-slide .slide-visual {
    transform: translateX(0);
    opacity: 1;
}

.slide-content {
    flex: 1;
    transform: translateX(50px);
    opacity: 0;
    transition: transform 1s ease 0.2s, opacity 1s ease 0.2s; /* Затримка для тексту */
}

.active-slide .slide-content {
    transform: translateX(0);
    opacity: 1;
}

.slide-content h3 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    color: var(--secondary-neon);
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(157, 77, 255, 0.4);
}

.slide-hook {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.slide-desc {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Кнопки в слайдері */
.btn-play-game {
    padding: 20px 60px; font-size: 1.3rem; border-radius: 50px;
    background: var(--secondary-neon); color: #fff;
    box-shadow: 0 0 30px rgba(157, 77, 255, 0.4);
}
.btn-play-game:hover { background: #b57aff; box-shadow: 0 0 50px rgba(157, 77, 255, 0.7); }

.btn-secondary {
    padding: 15px 40px; font-size: 1.1rem; border-radius: 50px;
    background: transparent; border: 2px solid var(--primary-neon);
    color: var(--primary-neon);
}
.btn-secondary:hover {
    background: var(--primary-neon); color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 162, 0.4);
}
.btn-secondary i { margin-right: 10px; }

.pulse-animation { animation: pulseBtn 2s infinite; }
@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(157, 77, 255, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(157, 77, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(157, 77, 255, 0); }
}

/* Візуальні елементи слайдів */
.phone-frame-container {
    width: 300px; height: 600px;
    border: 4px solid #333; border-radius: 40px;
    padding: 10px; background: #000;
    box-shadow: 0 0 60px rgba(157, 77, 255, 0.2);
    transform: rotate(-5deg);
    transition: 0.5s;
}
.phone-frame-container:hover { transform: rotate(0deg) scale(1.05); }

.phone-screen {
    width: 100%; height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.game-screen-img {
    margin-top: 40px; width: 100%; height: 90%; object-fit: cover; display: block;
}

/* Стиль для Rust (Landscape) */
.landscape-frame-container {
    width: 500px; height: 300px;
    border: 2px solid var(--glass-border); border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(205, 66, 54, 0.3); /* Червоне світіння для Rust */
}
.slide-img-full {
    width: 100%; height: 100%; object-fit: cover;
}

/* Заглушка для Tasks */
.bg-task {
    background: linear-gradient(180deg, #1a1a2e, #16213e);
    color: #fff; font-family: var(--font-head);
}
.task-icon-placeholder {
    font-size: 80px; color: #4287f5; margin-bottom: 20px;
}

/* Точки навігації */
.slider-dots {
    position: absolute; bottom: -50px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 15px;
}
.dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--glass-border); cursor: pointer; transition: 0.3s;
}
.dot.active { background: var(--primary-neon); box-shadow: 0 0 10px var(--primary-neon); }


/* --- FOOTER --- */
footer { padding: 50px 0; background: #020205; text-align: center; border-top: 1px solid var(--glass-border); }
.footer-logo { font-family: var(--font-head); font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
footer p { color: #555; }

/* --- АНІМАЦІЇ ПОЯВИ --- */
.fade-up, .fade-down, .fade-right, .fade-left { opacity: 0; transition: all 0.8s ease-out; }
.fade-up { transform: translateY(40px); }
.fade-down { transform: translateY(-40px); }
.fade-right { transform: translateX(-40px); }
.fade-left { transform: translateX(40px); }
.visible { opacity: 1; transform: translate(0,0); }

/* --- АДАПТИВНІСТЬ --- */
@media (max-width: 900px) {
    .hero-split { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    .split-container, .carousel-slide { flex-direction: column; text-align: center; }
    .hero-text, .slide-content { max-width: 100%; z-index: 5; transform: none !important; }
    .hero-actions { align-items: center; }
    .hero-visual { justify-content: center; margin-top: 50px; }
    .coin-container { width: 350px; height: 350px; }
    .hero-text h1 { font-size: 3rem; }
    
    .ecosystem-carousel { min-height: 1100px; } /* Більше місця на мобільному */
    .carousel-slide { gap: 40px; justify-content: flex-start; }
    .slide-visual { transform: none !important; margin-bottom: 30px; }
    .slide-content h3 { font-size: 2.5rem; }

    /* Адаптивність для маркету */
    .market-grid { grid-template-columns: 1fr; gap: 30px; }
    .chart-container { height: 400px; }
    .live-price-display { font-size: 2rem; }
    
    .landscape-frame-container { width: 100%; max-width: 400px; height: auto; aspect-ratio: 16/9; }
}

@media (max-width: 450px) {
    .navbar { padding: 15px 20px; }
    .logo { font-size: 20px; }
    .hero-text h1 { font-size: 2.2rem; }
    .btn-buy-hero { padding: 15px 30px; font-size: 1rem; width: 100%; justify-content: center; }
    .coin-container { width: 280px; height: 280px; }
    .trust-stats { flex-direction: column; gap: 30px; }
    .phone-frame-container { width: 260px; height: 520px; }
    
    .ecosystem-carousel { padding: 50px 0; min-height: 1000px; }
    .btn-play-game { width: 100%; padding: 15px; font-size: 1.1rem; }
}

/* --- СЕКЦІЯ ПРОЕКТІВ (СІТКА) --- */
.projects-section { padding: 100px 0; background: var(--bg-dark); }
.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
}

.project-card {
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border);
    padding: 50px 30px; 
    border-radius: 20px; 
    position: relative; 
    overflow: hidden;
    transition: 0.4s; 
    text-align: center;
    /* Ефект світіння при наведенні */
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.project-card:hover { 
    transform: translateY(-15px); 
    border-color: var(--primary-neon); 
    box-shadow: 0 0 30px rgba(0, 255, 162, 0.1);
}

.card-icon { font-size: 60px; margin-bottom: 25px; display: inline-block; transition: 0.3s; }

/* Кольори іконок */
.icon-rust { color: #cd4236; filter: drop-shadow(0 0 15px rgba(205, 66, 54, 0.4)); }
.icon-tasks { color: #4287f5; filter: drop-shadow(0 0 15px rgba(66, 135, 245, 0.4)); }
.icon-game { color: #9d4dff; filter: drop-shadow(0 0 15px rgba(157, 77, 255, 0.4)); }

.project-card:hover .icon-rust { transform: scale(1.1) rotate(-5deg); }
.project-card:hover .icon-tasks { transform: scale(1.1) rotate(5deg); }
.project-card:hover .icon-game { transform: scale(1.1) rotate(-5deg); }

.project-card h3 { 
    font-family: var(--font-head); 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
    color: #fff;
}

.project-card p { color: var(--text-dim); font-size: 1rem; }

/* Декор всередині картки (полоска зверху) */
.card-deco {
    position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    opacity: 0.5;
}
.project-card:hover .card-deco { opacity: 1; box-shadow: 0 0 10px var(--primary-neon); }
