@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ffffff;
    --secondary-color: #aaaaaa;
    --bg-color: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --accent-color: #6e45e2;
    --qbcore-color: #4CAF50;
    --esx-color: #2196F3;
    --standalone-color: #FF9800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-color);
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 1s ease-out;
}

.loader-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: rotate 2s linear infinite;
}

.loader-ring:nth-child(2) {
    border-top-color: var(--secondary-color);
    animation-delay: 0.3s;
}

.loader-ring:nth-child(3) {
    border-top-color: var(--accent-color);
    animation-delay: 0.6s;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

/* Навигация */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between; /* Распределяем пространство между элементами */
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    transform: translateY(-100%);
    opacity: 0;
    animation: slideDown 0.5s forwards 2s;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-cart {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    margin-right: auto;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Герой секция */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/saturn.png') no-repeat center center;
    background-size: cover;
    filter: brightness(0.6);
    z-index: 1;
    opacity: 0;
    animation: fadeIn 2s forwards 1s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
}

.logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    animation: pulse 4s infinite alternate;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1s forwards 2s;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s forwards 2.5s;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-accent {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background: transparent;
    color: var(--accent-color);
}

section {
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

#services {
    margin-top: 300px;
    transition: all 0.8s ease;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-btn {
    align-self: flex-start;
    padding: 10px 25px;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.servers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

#servers {
    transition: all 0.8s ease;
    margin-top: 300px;
}

.server-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.server-card:hover {
    transform: translateY(-10px);
}

.server-img {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.server-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.server-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.server-desc {
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.server-btn {
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 0.9rem;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.developers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

#developers {
    transition: all 0.8s ease;
    margin-top: 300px;
}

.developer-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
}

.developer-card:hover {
    transform: translateY(-10px);
}

.developer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-color);
}

.developer-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.developer-role {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.developer-bio {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.developer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover, .page-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.catalog-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 2000;
    overflow-y: auto;
    padding: 80px 20px 40px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    visibility: hidden; /* Добавляем это свойство */
}

.catalog-page.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible; /* И это */
}

.close-catalog {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.3s ease;
    z-index: 10;
}

.close-catalog:hover {
    color: var(--primary-color);
}

.catalog-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.catalog-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.catalog-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(110, 69, 226, 0.3);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.catalog-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    padding: 8px 15px;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover, .tag.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.tag.qbcore {
    border-color: var(--qbcore-color);
    color: var(--qbcore-color);
}

.tag.qbcore:hover, .tag.qbcore.active {
    background: var(--qbcore-color);
    color: white;
}

.tag.esx {
    border-color: var(--esx-color);
    color: var(--esx-color);
}

.tag.esx:hover, .tag.esx.active {
    background: var(--esx-color);
    color: white;
}

.tag.standalone {
    border-color: var(--standalone-color);
    color: var(--standalone-color);
}

.tag.standalone:hover, .tag.standalone.active {
    background: var(--standalone-color);
    color: white;
}

.catalog-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative; /* Добавляем это */
    z-index: 1; /* И это */
}

.catalog-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
    border: 1px solid var(--card-border);
    opacity: 1; /* Меняем с 0 на 1 */
    transform: translateY(0); /* Меняем с 20px на 0 */
    display: flex;
    flex-direction: column;
    visibility: visible; /* Добавляем это */
}

/* Убираем или изменяем анимацию для элементов каталога */
.catalog-item.animate {
    animation: none; /* Отключаем анимацию для тестирования */
}

.catalog-item:hover {
    transform: translateY(-5px);
}

.item-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.item-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.item-price {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.item-desc {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
}

.item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.item-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 10px;
}

.item-btns {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.item-btns .btn {
    flex: 1;
    padding: 8px 15px;
    min-width: auto;
}

/* Корзина */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-container {
    background: var(--bg-color);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.5s ease;
    border: 1px solid var(--card-border);
}

.cart-overlay.active .cart-container {
    transform: scale(1);
    opacity: 1;
}

.close-cart {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--card-border);
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-price {
    color: var(--accent-color);
}

.remove-item {
    color: var(--secondary-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #ff4d4d;
}

.cart-total {
    text-align: right;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.cart-total span {
    color: var(--accent-color);
    font-weight: 600;
}

.cart-checkout {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
}

/* Подробнее о скрипте */
.script-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
}

.script-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.script-container {
    background: var(--bg-color);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.5s ease;
    border: 1px solid var(--card-border);
}

.script-overlay.active .script-container {
    transform: scale(1);
    opacity: 1;
}

.close-script {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.close-script:hover {
    color: var(--primary-color);
}

.script-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.script-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.script-price {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.script-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.script-desc {
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.script-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-icon {
    color: var(--accent-color);
    margin-right: 10px;
}

.script-btns {
    display: flex;
    gap: 15px;
}

/* Подробнее о сервере */
.server-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
}

.server-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.server-container {
    background: var(--bg-color);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.5s ease;
    border: 1px solid var(--card-border);
}

.server-overlay.active .server-container {
    transform: scale(1);
    opacity: 1;
}

.close-server {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.close-server:hover {
    color: var(--primary-color);
}

.media-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.server-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.server-media.active {
    display: block;
}

.media-prev, .media-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.media-prev:hover, .media-next:hover {
    background: var(--accent-color);
}

.media-prev {
    left: 20px;
}

.media-next {
    right: 20px;
}

.media-tabs {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.media-tab {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-tab.active {
    background: var(--accent-color);
}

.media-tab:hover {
    background: var(--accent-color);
}

.server-title-lg {
    font-size: 2rem;
    margin-bottom: 15px;
}

.server-desc-lg {
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid var(--card-border);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.server-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.server-btn-lg {
    padding: 12px 25px;
    font-size: 1rem;
    min-width: 200px;
    text-align: center;
}

/* Хостинг */
.hosting {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

#hosting {
    transition: all 0.8s ease;
    margin-top: 300px;
}

.hosting-plan {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    text-align: center;
}

.hosting-plan:hover {
    transform: translateY(-10px);
}

.hosting-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hosting-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.hosting-price {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hosting-price span {
    font-size: 1rem;
    color: var(--secondary-color);
}

.hosting-features {
    margin-bottom: 30px;
    text-align: left;
}

.hosting-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.hosting-feature i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Популярные скрипты */
.popular-scripts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

#popular {
    transition: all 0.8s ease;
    margin-top: 300px;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    opacity: 0;
    transform: translateY(30px);
}

#order {
    transition: all 0.8s ease;
    margin-top: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input option {
    color: var(--bg-color);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.success-message {
    text-align: center;
    padding: 30px;
    display: none;
}

.success-message i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Футер */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 70px 20px 30px;
    border-top: 1px solid var(--card-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.footer-about {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 255, 255, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(255, 255, 255, 0.4); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 255, 255, 0.2); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-100%);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(100%);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(110, 69, 226, 0.5); }
    50% { box-shadow: 0 0 20px rgba(110, 69, 226, 0.8); }
    100% { box-shadow: 0 0 5px rgba(110, 69, 226, 0.5); }
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-transition {
    animation: pageIn 0.5s ease forwards;
}

.animate {
    animation: fadeInUp 1s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }


.saturn {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: transparent;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 3;
    opacity: 0;
    animation: fadeIn 2s forwards 1.5s, float 15s infinite ease-in-out 2.5s;
}

.saturn:before {
    content: '';
    position: absolute;
    width: 120%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: -10%;
    transform: rotate(15deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-content {
    animation: fadeInUp 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards 1s;
}

.developer-perm {
    color: #ff5733;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .services, .servers, .developers, .hosting, .popular-scripts {
        grid-template-columns: 1fr;
    }
    
    .saturn {
        display: none;
    }
    
    .script-btns, .server-btns {
        flex-direction: column;
    }
    
    .btn, .btn-accent {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .catalog-page {
        padding: 60px 15px 30px;
    }
    
    .close-catalog {
        top: 20px;
        right: 20px;
    }
    
    .media-container {
        height: 250px;
    }
    
    .media-prev, .media-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .media-tab {
        width: 35px;
        height: 35px;
    }
}

.visible {
    margin-top: 50px !important;
}
