:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #151515;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-primary: #ffffff;
    --accent-secondary: #e0e0e0;
    --accent-gradient: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

body.preloader-active {
    overflow: hidden;
}

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

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 0 24px;
}

.loading-stage {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-stage.fade-out {
    opacity: 0;
}

.welcome-stage {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.welcome-stage.fade-in {
    opacity: 1;
    pointer-events: all;
}

.logo-text {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 48px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.loading-bar-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.loading-bar {
    width: 100%;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.loading-percentage {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 1px;
}

.welcome-logo {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.welcome-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

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

.welcome-button:hover::before {
    left: 100%;
}

.welcome-button:hover {
    transform: translateY(-2px);
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.welcome-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.welcome-button:hover svg {
    transform: translateX(4px);
}

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

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

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar {
    padding: 20px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 2px;
    transition: var(--transition);
}

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

.logo-life {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.nav-discord {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-title {
    font-size: 96px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: 4px;
    line-height: 1;
}

.title-flash {
    color: var(--text-primary);
}

.title-life {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-rp {
    display: block;
    font-size: 48px;
    margin-top: 16px;
    color: var(--text-secondary);
    letter-spacing: 8px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 48px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    margin-bottom: 8px;
}

.server-status.offline {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.status-icon {
    width: 20px;
    height: 20px;
    color: #22c55e;
}

.server-status.offline .status-icon {
    color: #ef4444;
}

.status-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #22c55e;
}

.server-status.offline .status-text {
    color: #ef4444;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.5); }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn svg {
    width: 20px;
    height: 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.about-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.about-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    color: var(--text-primary);
    transition: var(--transition);
}

.about-card:hover .about-icon {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.about-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-primary);
}

.feature-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.team-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

.team-grid::-webkit-scrollbar {
    display: none;
}

.team-grid.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.team-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    min-width: 280px;
    flex-shrink: 0;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    border-color: var(--text-primary);
}

.loading-card {
    text-align: center;
    min-width: 280px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 1px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.avatar-placeholder svg {
    width: 50%;
    height: 50%;
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.team-role {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 1px;
}

.connect-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.connect-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.connect-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.step-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-info p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.connect-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.connect-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.server-ip-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-tertiary);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.server-ip-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-copy-ip {
    padding: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-copy-ip:hover {
    background: var(--accent-gradient);
    border-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-copy-ip svg {
    width: 20px;
    height: 20px;
}

.connect-links {
    display: flex;
    gap: 16px;
}

.connect-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.connect-link:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.connect-link svg {
    width: 20px;
    height: 20px;
}

.page-hero {
    padding: 140px 0 80px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.rules-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.rules-sidebar {
    position: sticky;
    top: 100px;
}

.rules-nav {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.rules-nav h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.rules-nav ul {
    list-style: none;
}

.rules-nav li {
    margin-bottom: 4px;
}

.rules-nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.rules-nav-link:hover,
.rules-nav-link.active {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.rules-content {
    background: var(--bg-card);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.rules-section {
    margin-bottom: 64px;
}

.rules-section:last-of-type {
    margin-bottom: 0;
}

.rules-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.rule-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.rule-item:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
}

.rule-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
}

.rule-text h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.rule-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.rules-notice {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--text-primary);
    border-left: 4px solid var(--text-primary);
    border-radius: 8px;
    margin-top: 48px;
}

.notice-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.rules-notice h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.rules-notice p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .rules-container {
        grid-template-columns: 1fr;
    }
    
    .rules-sidebar {
        position: static;
    }
    
    .rules-nav {
        display: none;
    }
    
    .connect-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 72px;
    }
    
    .title-rp {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 32px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 24px;
        border-right: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .title-rp {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .stat-value {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .page-title {
        font-size: 40px;
    }
    
    .about-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        min-width: 240px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .rules-content {
        padding: 24px;
    }
    
    .rule-item {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .title-rp {
        font-size: 20px;
        letter-spacing: 4px;
    }
    
    .logo-text {
        font-size: 48px;
    }
    
    .welcome-logo {
        font-size: 48px;
    }
    
    .welcome-button {
        padding: 16px 32px;
        font-size: 14px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .about-card,
    .feature-card,
    .team-card {
        padding: 24px;
    }
    
    .connect-box {
        padding: 24px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-value {
        font-size: 32px;
    }
}
