* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #05050a;
    color: #ffffff;
    height: 100vh;
    width: 100vw;
    overflow: hidden; /* Скрываем обычный скролл, будет горизонтальный */
    user-select: none;
}

.gradient-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 0% 0%, #1b1b3a 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, #3a1b3a 0%, transparent 50%);
    background-color: #05050a;
    filter: blur(80px);
    opacity: 0.6;
}

/* --- Навигационные точки --- */
.nav-dots {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0,0,0,0.4);
    padding: 10px 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #8a2be2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    width: 25px;
    border-radius: 10px;
}

/* --- ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ КОНТЕЙНЕР --- */
.horizontal-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory; /* Притягивание слайдов */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Скрытие скроллбара (Chrome, Safari, Edge) */
.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}
/* Скрытие скроллбара (Firefox) */
.horizontal-scroll-container {
    scrollbar-width: none;
}

/* --- СЛАЙДЫ --- */
.slide {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    padding: 40px;
}

.slide-content {
    width: 100%;
    max-width: 1100px;
    background: rgba(15, 15, 30, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 0 60px rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
}

/* Выравнивание по центру для Главной и Контактов */
.center-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* --- СЛАЙД 1: Главная --- */
.avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #4169e1);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0d0d1a;
}

.status-dot {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    background: #00ff88;
    border-radius: 50%;
    border: 3px solid #0d0d1a;
    box-shadow: 0 0 15px #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.6; transform: scale(0.9); }
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.highlight {
    background: linear-gradient(90deg, #8a2be2, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: #b0b0d0;
    margin-bottom: 10px;
}

.meta-info {
    font-size: 0.95rem;
    color: #8888aa;
    display: flex;
    gap: 15px;
}

.separator { color: #444; }

.scroll-hint {
    margin-top: 40px;
    color: #8a2be2;
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(5px); }
}

/* --- СЛАЙД 2: Проекты, СЛАЙД 3: Услуги --- */
.slide-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #e0e0ff;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-align: center;
}

/* Сетки внутри слайдов */
.horizontal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Карточка Проекта */
.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
}
.project-card:hover {
    transform: translateY(-5px);
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.15);
}
.project-icon {
    width: 50px; height: 50px; margin: 0 auto 15px;
    border-radius: 12px; background: linear-gradient(135deg, #8a2be2, #4169e1);
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; color: #fff;
}
.project-content h3 { font-size: 1.2rem; margin-bottom: 8px; }
.project-content p { font-size: 0.95rem; color: #c0c0e0; margin-bottom: 15px; }

.btn-project {
    display: inline-block; padding: 8px 16px; border-radius: 20px;
    text-decoration: none; font-size: 0.85rem; font-weight: 600; color: #fff;
    background: rgba(138, 43, 226, 0.2); border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}
.btn-project:hover { background: #8a2be2; box-shadow: 0 0 15px rgba(138, 43, 226, 0.3); }
.btn-project.discord-btn { background: rgba(88, 101, 242, 0.2); border-color: rgba(88, 101, 242, 0.3); }
.btn-project.discord-btn:hover { background: #5865F2; }

/* Карточка Услуги */
.service-card {
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 25px 20px; text-align: center; transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: #fff; background: rgba(255, 255, 255, 0.05); }
.service-card i { 
    font-size: 2rem; margin-bottom: 15px; 
    padding: 15px; border-radius: 12px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: #fff; }
.service-card p { font-size: 0.9rem; color: #b0b0d0; line-height: 1.5; }

/* --- СЛАЙД 4: Стек технологий --- */
.tech-stack-wrapper { display: flex; flex-direction: column; gap: 20px; }
.skill-category h3 { font-size: 1rem; color: #c0c0e0; margin-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 8px; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.tech-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 10px; border-radius: 10px; text-align: center; font-weight: 600;
    font-size: 0.85rem; color: #d0d0e0; transition: all 0.3s ease;
}
.tech-card i { font-size: 1.5rem; color: #8a2be2; display: block; margin-bottom: 5px; }
.tech-card:hover { transform: translateY(-5px); border-color: #8a2be2; background: rgba(138, 43, 226, 0.1); }

/* --- СЛАЙД 5: Контакты --- */
.social-links-wrapper {
    display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px;
}

.social-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 50px; text-decoration: none;
    font-weight: 600; color: #fff; transition: all 0.3s ease;
}

.social-btn.telegram { background: linear-gradient(90deg, #0088cc, #24a1de); box-shadow: 0 0 20px rgba(0, 136, 204, 0.3); }
.social-btn.discord { background: linear-gradient(90deg, #5865F2, #4752c4); box-shadow: 0 0 20px rgba(88, 101, 242, 0.3); }
.social-btn.playerok { background: linear-gradient(90deg, #ff0055, #d4004a); box-shadow: 0 0 20px rgba(255, 0, 85, 0.3); }

.social-btn:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 255, 255, 0.2); }

footer { font-size: 0.8rem; color: #555; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; width: 100%; }

/* --- АДАПТИВНОСТЬ (МОБИЛЬНЫЕ) --- */
@media (max-width: 850px) {
    .horizontal-grid { grid-template-columns: 1fr 1fr; }
    .slide-content { padding: 30px; }
    .nav-dots { bottom: 15px; }
}

@media (max-width: 600px) {
    .horizontal-grid { grid-template-columns: 1fr; }
    .title { font-size: 2rem; }
    .avatar-wrapper { width: 100px; height: 100px; }
    .social-links-wrapper { flex-direction: column; width: 100%; }
    .social-btn { width: 100%; justify-content: center; }
}