/* CS-ORION.RU - Ultimate Design */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Анимированный фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 60, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
    pointer-events: none;
    z-index: -1;
}

/* Кастомный скролл */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1f;
}

::-webkit-scrollbar-thumb {
    background: #ff3c00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b35;
}

/* Хедер */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 60, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 60, 0, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #ff3c00, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff3c00, transparent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff3c00;
    transition: width 0.3s;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: #ff3c00;
}

/* Контейнер */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 2rem 4rem;
}

/* Hero секция */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    font-family: 'Orbitron', monospace;
    color: #ff3c00;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid rgba(255, 60, 0, 0.5);
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.server-ip {
    background: rgba(255, 60, 0, 0.1);
    border: 1px solid rgba(255, 60, 0, 0.5);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: inline-block;
    margin-bottom: 2rem;
}

.server-ip span {
    color: #ff3c00;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-copy {
    background: transparent;
    border: 1px solid #ff3c00;
    color: #ff3c00;
    padding: 0.3rem 1rem;
    border-radius: 5px;
    margin-left: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #ff3c00;
    color: #fff;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff3c00, #ff8c00);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.3);
}

.hero-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 60, 0, 0.2);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #ff3c00;
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.2);
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff3c00;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: #888;
}

/* Секция новостей */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #ff3c00, transparent);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 60, 0, 0.2);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #ff3c00;
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.2);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #9e081c, #5c0612);
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ff3c00;
}

.news-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
}

.news-excerpt {
    line-height: 1.6;
    color: #aaa;
}

/* Магазин */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 60, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 60, 0, 0.1), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #ff3c00;
}

.product-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 2rem;
    color: #ff3c00;
    font-weight: 800;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #aaa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff3c00;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Форум */
.forum-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 60, 0, 0.2);
    overflow: hidden;
}

.category-header {
    background: rgba(255, 60, 0, 0.1);
    padding: 1rem 1.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.topic-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.topic-row:hover {
    background: rgba(255, 60, 0, 0.05);
}

.topic-title {
    color: #fff;
    text-decoration: none;
}

.topic-title:hover {
    color: #ff3c00;
}

/* Профиль */
.profile-header {
    background: linear-gradient(135deg, rgba(255, 60, 0, 0.1), rgba(0, 0, 0, 0));
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 60, 0, 0.3);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Формы */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 60, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff3c00;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 60, 0, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff3c00;
    box-shadow: 0 0 10px rgba(255, 60, 0, 0.3);
}

/* Алерты */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

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

.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
}

/* Футер */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 60, 0, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    color: #ff3c00;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #888;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff3c00;
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
}

/* Адаптивность */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 80px 1rem 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}
/* SVG иконки */
svg {
    vertical-align: middle;
    margin-right: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .nav-links a svg {
        display: none;
    }
}
/* Стили для форума */
.forum-container {
    background: #0a0a0f;
    min-height: calc(100vh - 200px);
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .forum-container {
        flex-direction: column;
        padding: 80px 1rem 2rem !important;
    }
    
    .forum-container aside {
        order: 2;
    }
    
    .forum-container main {
        order: 1;
    }
    
    .forum-container [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
    }
}