/* ============================================================
   OCEAN PROJECT STYLES
   Неоново-океанская тематика + улучшенная читаемость
   Вдохновение: Vice City 2026, Майами, океан
   ============================================================ */

/* ---------- ИМПОРТ ШРИФТОВ ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

/* ---------- ПЕРЕМЕННЫЕ ---------- */
:root {
    /* Основные цвета */
    --bg-primary: #0A0E17;
    --bg-secondary: #0F1A2E;
    --bg-card: rgba(255, 255, 255, 0.03);
    
    /* Неоновые акценты (океан + неон) */
    --neon-teal: #2DD4BF;
    --neon-blue: #38BDF8;
    --neon-pink: #F472B6;
    --neon-purple: #A78BFA;
    --neon-yellow: #FBBF24;
    --neon-green: #34D399;
    
    /* Основной акцент (бирюзовый) */
    --accent-primary: #2DD4BF;
    --accent-secondary: #F472B6;
    --accent-glow: rgba(45, 212, 191, 0.35);
    --accent-glow-pink: rgba(244, 114, 182, 0.25);
    --accent-glow-blue: rgba(56, 189, 248, 0.2);
    
    /* Текст */
    --text-white: #F1F5F9;
    --text-gray: #94A3B8;
    --text-muted: #64748B;
    
    /* Панели */
    --panel-bg: rgba(15, 26, 46, 0.88);
    --panel-border: rgba(45, 212, 191, 0.15);
    --panel-hover: rgba(45, 212, 191, 0.08);
    
    /* Градиенты */
    --gradient-main: linear-gradient(135deg, #2DD4BF 0%, #38BDF8 50%, #2DD4BF 100%);
    --gradient-hero: linear-gradient(180deg, #0A0E17 0%, #0F1A2E 60%, #0A0E17 100%);
    --gradient-card: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(56, 189, 248, 0.08));
    --gradient-sunset: linear-gradient(135deg, #F472B6, #FBBF24, #2DD4BF);
    
    /* Тени */
    --shadow-neon: 0 0 50px rgba(45, 212, 191, 0.15);
    --shadow-pink: 0 0 50px rgba(244, 114, 182, 0.1);
    --shadow-glow: 0 0 80px rgba(45, 212, 191, 0.05);
    
    /* Статусы */
    --status-online: #34D399;
    --status-offline: #64748B;
    --status-warn: #FBBF24;
    --status-error: #F472B6;
    
    /* Базовые */
    --border-color: rgba(45, 212, 191, 0.12);
    --bg-color: #0A0E17;
}

/* ---------- БАЗОВЫЕ СТИЛИ ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    background-image: url('../assets/vice-city-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* Затемнение фона для читаемости */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 23, 0.78);
    z-index: -1;
}

/* Дополнительный слой с градиентом */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 80%, rgba(45, 212, 191, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 20%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* ---------- СКРОЛЛБАР ---------- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-teal);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* ---------- ВЫДЕЛЕНИЕ ТЕКСТА ---------- */
::selection {
    background: var(--neon-teal);
    color: #fff;
}

/* ---------- ШАПКА ---------- */
header {
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--panel-border);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(45, 212, 191, 0.3));
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 0 60px rgba(45, 212, 191, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: 0.3s;
    border-radius: 10px;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--text-white);
    text-shadow: 0 0 30px var(--accent-glow);
}

/* ---------- КНОПКИ ---------- */
.header-btn {
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.btn-cabinet {
    background: transparent;
    border: 1px solid var(--panel-border);
    color: var(--text-white);
}

.btn-cabinet:hover {
    border-color: var(--neon-teal);
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-play-header {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-play-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 70px var(--accent-glow);
}

.btn {
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 12px;
    transition: 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 10px 50px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 80px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--panel-border);
    color: var(--text-white);
}

.btn-secondary:hover {
    border-color: var(--neon-teal);
    box-shadow: 0 0 50px var(--accent-glow);
}

/* ---------- ГЛАВНЫЙ ЭКРАН ---------- */
.hero {
    padding: 120px 10% 100px;
    text-align: center;
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--panel-border);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✦';
    position: absolute;
    font-size: 350px;
    opacity: 0.03;
    right: -50px;
    top: -50px;
    color: var(--neon-teal);
    transform: rotate(15deg);
}

.hero::after {
    content: '🌊';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 80px;
    opacity: 0.08;
    animation: waveSway 4s ease-in-out infinite;
}

@keyframes waveSway {
    0%, 100% { transform: rotate(-2deg) scale(1); }
    50% { transform: rotate(2deg) scale(1.05); }
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 82px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(45, 212, 191, 0.1)); }
    50% { filter: drop-shadow(0 0 60px rgba(45, 212, 191, 0.2)); }
}

.hero h1 span {
    background: linear-gradient(135deg, #F472B6, #38BDF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-gray);
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- ОНЛАЙН ---------- */
.online-section {
    padding: 50px 5%;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 26, 46, 0.6) 0%, rgba(10, 14, 23, 0.8) 100%);
    border-bottom: 1px solid var(--panel-border);
}

.online-header {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 30px;
}

.online-header i {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px var(--accent-glow);
}

.online-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 30px 20px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.stat-item:hover {
    border-color: var(--neon-teal);
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px var(--accent-glow);
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ---------- СЕКЦИИ ---------- */
.section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 5%;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title i {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px var(--accent-glow);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    margin: 15px auto 0;
    border-radius: 10px;
    box-shadow: 0 0 30px var(--accent-glow);
}

/* ---------- НОВОСТИ ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--neon-teal);
    transform: translateY(-8px);
    box-shadow: var(--shadow-neon);
}

.news-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(56, 189, 248, 0.25));
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.news-date {
    font-size: 12px;
    color: var(--neon-teal);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.news-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-more {
    display: inline-block;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.news-more:hover {
    transform: translateX(4px);
    filter: brightness(1.2);
}

/* ---------- ТОП ИГРОКОВ ---------- */
.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table-wrap table th {
    text-align: left;
    padding: 15px;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.table-wrap table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #d1d5db;
}

.table-wrap table tr:hover td {
    background: rgba(45, 212, 191, 0.04);
}

/* ---------- БОЛЬШИЕ БЛОКИ ---------- */
.big-block {
    padding: 80px 5%;
    border-top: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(10px);
}

.big-block-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.big-block h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.big-block h2 i {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.big-block p {
    color: var(--text-gray);
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 40px;
}

/* ---------- СИСТЕМНЫЕ ТРЕБОВАНИЯ ---------- */
.sys-req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 700px;
    margin-bottom: 40px;
}

.req-item {
    background: var(--panel-bg);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.req-item:hover {
    border-color: var(--neon-teal);
}

.req-item span:first-child {
    color: var(--text-white);
    font-weight: 600;
}

.req-item span:last-child {
    color: var(--text-gray);
    font-size: 14px;
}

/* ---------- ЛАУНЧЕР ---------- */
.launcher-block {
    background: linear-gradient(180deg, rgba(15, 26, 46, 0.8) 0%, rgba(10, 14, 23, 1) 100%);
    text-align: center;
}

.launcher-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.step-item {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 30px 20px;
    position: relative;
    transition: 0.3s;
}

.step-item:hover {
    border-color: var(--neon-teal);
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

.step-item::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 40px var(--accent-glow);
}

.step-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.step-item h4 i {
    color: var(--neon-teal);
    margin-right: 8px;
}

.step-item p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.launcher-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- СОЦСЕТИ ---------- */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.social-card {
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
}

.social-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-teal);
    box-shadow: var(--shadow-neon);
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}

.social-discord .social-icon { background: #5865F2; }
.social-discord:hover { border-color: #5865F2; box-shadow: 0 0 50px rgba(88, 101, 242, 0.2); }

.social-vk .social-icon { background: #0077FF; }
.social-vk:hover { border-color: #0077FF; box-shadow: 0 0 50px rgba(0, 119, 255, 0.2); }

.social-tg .social-icon { background: #229ED9; }
.social-tg:hover { border-color: #229ED9; box-shadow: 0 0 50px rgba(34, 158, 217, 0.2); }

.social-yt .social-icon { background: #FF0000; }
.social-yt:hover { border-color: #FF0000; box-shadow: 0 0 50px rgba(255, 0, 0, 0.2); }

.social-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.social-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--neon-teal);
    box-shadow: var(--shadow-neon);
}

.faq-item .faq-question {
    padding: 18px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    user-select: none;
    letter-spacing: 0.3px;
}

.faq-item .faq-question .faq-icon {
    color: var(--neon-teal);
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-gray);
    line-height: 1.9;
    border-top: 1px solid transparent;
    display: none;
    font-size: 15px;
}

.faq-item.open .faq-answer {
    display: block;
    border-top-color: var(--panel-border);
    padding-top: 20px;
}

.faq-item .faq-answer b {
    color: var(--text-white);
}

.faq-item .faq-answer a {
    color: var(--neon-teal);
    text-decoration: none;
}
.faq-item .faq-answer a:hover {
    text-decoration: underline;
}

/* ---------- ФУТЕР ---------- */
footer {
    background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid var(--panel-border);
    padding: 40px 5%;
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

footer a {
    color: var(--text-white);
    margin: 0 15px;
    transition: 0.3s;
}

footer a:hover {
    color: var(--neon-teal);
    text-shadow: 0 0 30px var(--accent-glow);
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 992px) {
    .hero h1 { font-size: 48px; }
    .hero { padding: 80px 5% 60px; }
    .online-stats { grid-template-columns: 1fr; max-width: 400px; }
    .news-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .socials-grid { grid-template-columns: 1fr 1fr; }
    .launcher-steps { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 40px; }
    .sys-req-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    
    header { flex-direction: column; gap: 16px; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .hero-buttons, .launcher-buttons { flex-direction: column; align-items: center; }
    
    .section-title { font-size: 28px; }
    .big-block h2 { font-size: 26px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 32px; letter-spacing: 1px; }
    .stat-number { font-size: 32px; }
    .socials-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 22px; }
    .big-block h2 { font-size: 22px; }
    .logo-text { font-size: 18px; }
    .online-header { font-size: 18px; }
}

@media (max-width: 480px) {
    .socials-grid { grid-template-columns: 1fr; }
    .faq-item .faq-question { font-size: 14px; padding: 14px 16px; }
    .faq-item .faq-answer { font-size: 14px; padding: 0 16px 16px 16px; }
    .hero h1 { font-size: 26px; }
    .news-card h3 { font-size: 17px; }
}