/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #222831;
    --bg-secondary: #393e46;
    --primary: #00adb5;
    --light: #eeeeee;
    --text: #eeeeee;
    --text-light: #cccccc;
    --white: #ffffff;
    --black: #111111;
}

html {
    font-size: 16px;
    line-height: 1.5;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* ===== НАВИГАЦИЯ ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(34, 40, 49, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(57, 62, 70, 0.5);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
    color: var(--text-light);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--light);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-cta {
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
}

.nav-cta:hover {
    background-color: var(--light);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 173, 181, 0.3);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light);
}

/* Меню пользователя */
.user-menu {
    position: relative;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 173, 181, 0.1);
    border-radius: 6px;
    color: var(--light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-welcome:hover {
    background: rgba(0, 173, 181, 0.2);
}

.user-welcome i {
    color: var(--primary);
}

.username {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(34, 40, 49, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 62, 70, 0.8);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(57, 62, 70, 0.5);
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: rgba(57, 62, 70, 0.7);
    color: var(--light);
    padding-left: 25px;
}

.user-dropdown a i {
    width: 20px;
    text-align: center;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
#main-content {
    padding-top: 80px;
    min-height: calc(100vh - 300px);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===== ГЕРОЙ СЕКЦИЯ ===== */
.hero {
    padding: 120px 0 80px;
    text-align: left;
    position: relative;
    background: linear-gradient(rgba(34, 40, 49, 0.85), rgba(57, 62, 70, 0.9)),
                url('/images/background.jpg') no-repeat center center;
    background-size: cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.7;
}

/* Кнопки */
.btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 173, 181, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light);
    border: 1px solid var(--light);
}

.btn-secondary:hover {
    background-color: rgba(238, 238, 238, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Блок статуса сервера */
.hero-status {
    position: relative;
}

.status-simple {
    text-align: center;
    padding: 30px;
}

.status-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.status-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.status-header h3 i {
    color: var(--primary);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(0, 173, 181, 0.15);
    color: var(--primary);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-players {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.players-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 173, 181, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
}

.players-info {
    text-align: center;
}

.players-count {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 173, 181, 0.3);
}

.players-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== СЕКЦИЯ ОСОБЕННОСТЕЙ ===== */
.features {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

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

.feature-card {
    background-color: rgba(34, 40, 49, 0.7);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(34, 40, 49, 0.9);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 173, 181, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--light);
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* ===== СЕКЦИЯ СТАТИСТИКИ ===== */
.stats {
    padding: 100px 0;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 173, 181, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 500;
}

/* ===== СЕКЦИЯ ПОДКЛЮЧЕНИЯ ===== */
.connect {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.connect-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.connect-box {
    background-color: rgba(34, 40, 49, 0.7);
    border-radius: 10px;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid rgba(57, 62, 70, 0.5);
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(34, 40, 49, 0.9);
    border-radius: 6px;
    border: 1px solid rgba(57, 62, 70, 0.5);
}

.info-label {
    font-weight: 500;
    color: var(--light);
    font-size: 16px;
}

.info-value {
    font-weight: 600;
    color: var(--primary);
    font-family: monospace;
    font-size: 18px;
}

.copy-btn {
    background-color: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.copy-btn:hover {
    background-color: var(--light);
}

/* ===== ФУТЕР ===== */
footer {
    background-color: var(--bg-dark);
    color: var(--light);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(57, 62, 70, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 15px;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(57, 62, 70, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(57, 62, 70, 0.5);
    color: var(--text-light);
    font-size: 14px;
}

/* ===== СТРАНИЦЫ АВТОРИЗАЦИИ ===== */
.auth-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
}

.auth-container {
    max-width: 480px;
    margin: 0 auto;
    background: rgba(34, 40, 49, 0.9);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(57, 62, 70, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    color: var(--light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 16px;
}

.auth-form {
    margin-bottom: 25px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light);
    font-size: 15px;
}

.form-group label i {
    color: var(--primary);
    width: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(57, 62, 70, 0.7);
    border: 1px solid rgba(57, 62, 70, 0.9);
    border-radius: 6px;
    color: var(--light);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 173, 181, 0.2);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

.form-error {
    font-size: 13px;
    color: #ff4757;
    margin-top: 5px;
    min-height: 18px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 14px;
}

.checkbox input {
    margin: 0;
}

.checkbox a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox a:hover {
    text-decoration: underline;
}

.forgot-password {
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    margin-bottom: 20px;
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(57, 62, 70, 0.5);
}

.auth-footer p {
    color: var(--text-light);
    font-size: 15px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: var(--text-light);
    font-size: 14px;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(57, 62, 70, 0.5);
}

.auth-separator span {
    padding: 0 15px;
}

.social-auth {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn.discord {
    background: #5865F2;
    color: white;
}

.social-btn.discord:hover {
    background: #4752c4;
}

.social-btn.microsoft {
    background: #00a4ef;
    color: white;
}

.social-btn.microsoft:hover {
    background: #0089cc;
}

/* ===== СТРАНИЦА ПРОФИЛЯ ===== */
.profile-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 300px);
    background: var(--bg-secondary);
}

.profile-container {
    background: rgba(34, 40, 49, 0.9);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(57, 62, 70, 0.8);
}

.profile-header {
    display: flex;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 173, 181, 0.1), rgba(57, 62, 70, 0.3));
    gap: 30px;
}

.profile-avatar {
    position: relative;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: rgba(0, 173, 181, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    border: 3px solid var(--primary);
}

.avatar-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

.avatar-status.online {
    background: #00d166;
}

.avatar-status.offline {
    background: #ff4757;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    font-size: 32px;
    color: var(--light);
    margin-bottom: 5px;
}

.profile-username {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.profile-email {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-email i {
    color: var(--primary);
}

.profile-actions {
    display: flex;
    gap: 15px;
}

.profile-content {
    padding: 40px;
}

.profile-stats {
    margin-bottom: 40px;
}

.profile-stats h3 {
    font-size: 24px;
    color: var(--light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.stat-card {
    background: rgba(57, 62, 70, 0.7);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(57, 62, 70, 0.9);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 173, 181, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.stat-info {
    flex: 1;
}

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

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.profile-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.profile-section {
    background: rgba(57, 62, 70, 0.7);
    border-radius: 8px;
    padding: 25px;
}

.profile-section h3 {
    font-size: 20px;
    color: var(--light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(57, 62, 70, 0.5);
}

.data-item:last-child {
    border-bottom: none;
}

.data-label {
    color: var(--text-light);
}

.data-value {
    color: var(--light);
    font-weight: 500;
}

.status-online {
    color: #00d166;
    font-weight: 600;
}

.security-data {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(34, 40, 49, 0.7);
    border-radius: 6px;
}

.security-item i {
    font-size: 20px;
    color: var(--primary);
    width: 30px;
}

.security-item div {
    flex: 1;
}

.security-label {
    color: var(--light);
    font-weight: 500;
    margin-bottom: 5px;
}

.security-status {
    font-size: 14px;
}

.security-status.active {
    color: #00d166;
}

.security-status.inactive {
    color: #ffa502;
}

.security-value {
    color: var(--text-light);
    font-size: 14px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 13px;
}

.profile-actions-full {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid rgba(57, 62, 70, 0.5);
}

.btn-danger {
    background: #ff4757;
    color: white;
}

.btn-danger:hover {
    background: #ff3742;
}

/* ===== НЕАВТОРИЗОВАННЫЙ ДОСТУП ===== */
.not-authorized {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}

.not-authorized-content i {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 30px;
    opacity: 0.5;
}

.not-authorized h2 {
    font-size: 32px;
    color: var(--light);
    margin-bottom: 15px;
}

.not-authorized p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
}

.not-authorized .auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== СОСТОЯНИЕ ЗАГРУЗКИ ===== */
.loading {
    position: relative;
    min-height: 200px;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(0, 173, 181, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-status {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .players-count {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
        padding: 0 15px;
    }

    .hero p {
        font-size: 16px;
        padding: 0 20px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features, .stats, .connect {
        padding: 80px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .auth-container,
    .profile-container {
        padding: 30px 20px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-sections {
        grid-template-columns: 1fr;
    }
    
    .profile-actions-full {
        flex-direction: column;
    }
    
    .social-auth {
        flex-direction: column;
    }
    
    .user-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
    }
    
    .user-menu:hover .user-dropdown {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .connect-box {
        padding: 30px 20px;
    }
    
    .info-item {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .info-item .copy-btn {
        align-self: flex-end;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .status-header h3 {
        font-size: 20px;
    }
    
    .players-count {
        font-size: 32px;
    }
    
    .players-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .not-authorized .auth-buttons {
        flex-direction: column;
    }
}