/* Основные переменные темы */
:root {
	--bg-dark: #0f0f0f;
	--bg-card: #1a1a1a;
	--bg-input: #252525;
	--accent: #ff3b6c; /* Клубничный красный */
	--accent-hover: #ff5c85;
	--accent-glow: rgba(255, 59, 108, 0.3);
	--text-main: #ffffff;
	--text-muted: #a0a0a0;
	--transition: all 0.3s ease;
	--border-radius: 12px;
}

/* Общие стили */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	background-color: var(--bg-dark);
	color: var(--text-main);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4 {
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

/* Заголовки секций */
.section-title {
	font-size: 2rem;
	margin-bottom: 1rem;
	text-align: center;
	position: relative;
	padding-bottom: 10px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: var(--accent);
	border-radius: 2px;
}

.section-desc {
	text-align: center;
	color: var(--text-muted);
	margin-bottom: 3rem;
}

/* Навигация */
.header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	background: rgba(15, 15, 15, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 15px 0;
}

.nav-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo h1 {
	font-size: 1.5rem;
}

.logo span {
	color: var(--accent);
}

.logo .subtitle {
	font-size: 0.7rem;
	color: var(--text-muted);
	letter-spacing: 2px;
}

.nav-links a {
	margin: 0 15px;
	font-size: 0.9rem;
	font-weight: 600;
}

.nav-links a:hover {
	color: var(--accent);
}

/* Кнопки */
.btn-primary {
	background: var(--accent);
	padding: 10px 25px;
	border-radius: var(--border-radius);
	font-weight: 600;
	box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
}

/* Главный экран (Hero) */
.hero-section {
	padding: 180px 0 100px;
	background: radial-gradient(
		circle at top right,
		rgba(255, 59, 108, 0.1),
		transparent
	);
	text-align: center;
}

.server-status {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	padding: 8px 16px;
	border-radius: 30px;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 10px;
}

.status-indicator.online {
	background: #2ecc71;
	box-shadow: 0 0 10px #2ecc71;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}

.hero-content h2 {
	font-size: 3.5rem;
	margin-bottom: 20px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.search-box {
	margin-top: 40px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.search-box input {
	width: 100%;
	max-width: 400px;
	padding: 15px 25px;
	border-radius: var(--border-radius);
	border: none;
	background: var(--bg-card);
	color: white;
	outline: none;
	border: 1px solid transparent;
}

.search-box input:focus {
	border-color: var(--accent);
}

.btn-search {
	background: var(--accent);
	border: none;
	color: white;
	padding: 0 25px;
	border-radius: var(--border-radius);
	cursor: pointer;
	font-weight: 600;
}

/* Карточки новостей */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.news-card {
	background: var(--bg-card);
	padding: 30px;
	border-radius: var(--border-radius);
	border-left: 4px solid var(--accent);
}

.news-date {
	color: var(--accent);
	font-size: 0.8rem;
	display: block;
	margin-bottom: 10px;
}

/* Инфо-карточки */
.info-section {
	padding: 80px 0;
}
.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.info-card {
	background: linear-gradient(145deg, #1e1e1e, #161616);
	padding: 40px;
	border-radius: var(--border-radius);
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.accent-text {
	color: var(--accent);
	font-weight: 800;
	font-size: 1.2rem;
	margin: 10px 0;
}

/* Таблица команд */
.commands-table-wrapper {
	overflow-x: auto;
	background: var(--bg-card);
	border-radius: var(--border-radius);
}

.commands-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.commands-table th,
.commands-table td {
	padding: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.commands-table th {
	background: rgba(255, 59, 108, 0.1);
	color: var(--accent);
}

code {
	background: rgba(255, 255, 255, 0.1);
	padding: 4px 8px;
	border-radius: 4px;
	color: var(--accent-hover);
}

/* FAQ Аккордеон */
.faq-accordion {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 15px;
	background: var(--bg-card);
	border-radius: var(--border-radius);
	overflow: hidden;
}

.faq-question {
	width: 100%;
	padding: 20px;
	background: none;
	border: none;
	color: white;
	text-align: left;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-answer {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease;
	color: var(--text-muted);
}

.faq-item.active .faq-answer {
	padding-bottom: 20px;
	max-height: 200px;
}

.faq-item.active .icon {
	transform: rotate(45deg);
	color: var(--accent);
}

/* Команда проекта */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.team-card {
	background: var(--bg-card);
	padding: 30px;
	border-radius: var(--border-radius);
	text-align: center;
	transition: var(--transition);
}

.team-card:hover {
	transform: translateY(-10px);
	border-color: var(--accent);
}

.avatar {
	width: 80px;
	height: 80px;
	background: #333;
	border-radius: 50%;
	margin: 0 auto 15px;
	border: 3px solid var(--accent);
}

.role {
	font-size: 0.8rem;
	color: var(--accent);
	margin-top: 5px;
}

/* Форма тикетов */
.ticket-container {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 50px;
	background: var(--bg-card);
	padding: 50px;
	border-radius: var(--border-radius);
}

.btn-discord {
	display: inline-block;
	margin-top: 20px;
	padding: 12px 24px;
	background: #5865f2;
	border-radius: var(--border-radius);
	font-weight: 600;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 15px;
	background: var(--bg-input);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: var(--border-radius);
	color: white;
	outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--accent);
}

.btn-submit {
	width: 100%;
	padding: 15px;
	background: var(--accent);
	border: none;
	border-radius: var(--border-radius);
	color: white;
	font-weight: 800;
	cursor: pointer;
	transition: var(--transition);
}

.btn-submit:hover {
	background: var(--accent-hover);
	box-shadow: 0 0 20px var(--accent-glow);
}

/* Футер */
.footer {
	background: #080808;
	padding: 80px 0 20px;
	margin-top: 100px;
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 50px;
	margin-bottom: 50px;
}

.footer-brand h2 span {
	color: var(--accent);
}
.footer-links a,
.footer-socials a {
	display: block;
	color: var(--text-muted);
	margin-bottom: 10px;
}

.footer-links a:hover,
.footer-socials a:hover {
	color: var(--accent);
}

.footer-bottom {
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 20px;
	color: var(--text-muted);
	font-size: 0.8rem;
}

/* Адаптивность */
@media (max-width: 992px) {
	.ticket-container {
		grid-template-columns: 1fr;
	}
	.hero-content h2 {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}
	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}
}
