/* ===============================================
   SAMAEL CITY - GTA V Roleplay FiveM Website
   Premium CSS Styles
   =============================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #ff4757;
    --primary-dark: #c0392b;
    --primary-light: #ff6b7a;

    /* Accent Colors */
    --accent: #ffd32a;
    --accent-dark: #f0b90b;

    /* Neon Colors */
    --neon-purple: #9b59b6;
    --neon-blue: #3498db;
    --neon-cyan: #00d4ff;
    --neon-pink: #ff00ff;

    /* Background Colors */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff4757 0%, #c0392b 100%);
    --gradient-accent: linear-gradient(135deg, #ffd32a 0%, #f0b90b 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(255, 71, 87, 0.3);

    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Science Gothic', 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./bg.jpg') center/cover no-repeat;
    z-index: -2;
    filter: brightness(0.3);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(20, 20, 40, 0.9) 100%);
    z-index: -1;
}

/* Particle Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.accent {
    color: var(--primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::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: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.5);
}

.btn-secondary {
    background: var(--bg-glass);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.btn-play {
    background: var(--gradient-primary);
    color: white;
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

/* ===============================================
   QUICK CONNECT BAR
   =============================================== */
.quick-connect-bar {
    position: relative;
    width: 100%;
    z-index: 998;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2) 0%, rgba(192, 57, 43, 0.2) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 71, 87, 0.3);
    padding: 15px 0;
    margin-top: 70px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.connect-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.connect-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #2ecc71;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-pulse {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.connect-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.connect-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.connect-code {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(255, 211, 42, 0.3);
    letter-spacing: 1px;
    transition: all var(--transition-normal);
}

.connect-code:hover {
    background: rgba(255, 211, 42, 0.15);
    border-color: var(--accent);
    transform: scale(1.02);
}

.connect-hint {
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
}

.btn-connect-quick {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-connect-quick:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.5);
}

/* Responsive Quick Connect */
@media (max-width: 768px) {
    .quick-connect-bar {
        margin-top: 60px;
        padding: 10px 0;
    }

    .connect-content {
        gap: 15px;
    }

    .connect-hint {
        display: none;
    }

    .connect-code {
        padding: 6px 12px;
        font-size: 12px;
    }

    .btn-connect-quick {
        padding: 8px 16px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .connect-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .connect-label {
        display: none;
    }
}

/* ===============================================
   NAVIGATION
   =============================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all var(--transition-normal);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.95);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all var(--transition-normal);
}

/* ===============================================
   HERO SECTION
   =============================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 40px;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 600;
    animation: fadeInDown 1s ease;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
}

.hero-title {
    margin-bottom: 25px;
}

.title-line {
    display: block;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 5px;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease 0.2s both;
}

.title-main {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    letter-spacing: 5px;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--primary);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #00ffff;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #ff00ff;
    z-index: -2;
}

@keyframes glitch-1 {

    0%,
    100% {
        clip-path: inset(0 0 95% 0);
        transform: translate(-2px, -2px);
    }

    20% {
        clip-path: inset(20% 0 60% 0);
    }

    40% {
        clip-path: inset(50% 0 30% 0);
    }

    60% {
        clip-path: inset(70% 0 10% 0);
    }

    80% {
        clip-path: inset(80% 0 5% 0);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        clip-path: inset(95% 0 0 0);
        transform: translate(2px, 2px);
    }

    20% {
        clip-path: inset(60% 0 20% 0);
    }

    40% {
        clip-path: inset(30% 0 50% 0);
    }

    60% {
        clip-path: inset(10% 0 70% 0);
    }

    80% {
        clip-path: inset(5% 0 80% 0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===============================================
   FEATURES SECTION
   =============================================== */
.features {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, rgba(20, 20, 40, 0.9) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 25px;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===============================================
   ABOUT SECTION
   =============================================== */
.about {
    background: linear-gradient(180deg, rgba(20, 20, 40, 0.9) 0%, rgba(10, 10, 15, 0.9) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-tag {
    margin-bottom: 15px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.about-feature i {
    color: var(--primary);
    font-size: 18px;
}

.about-image .image-frame {
    position: relative;
}

.server-info-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.server-status.online {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.server-info-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 25px;
}

/* Connection Guide */
.connect-guide {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
}

.connect-guide .guide-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.connect-guide .guide-steps {
    text-align: left;
}

.connect-guide .guide-steps p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.connect-guide .guide-steps p:last-child {
    margin-bottom: 0;
}

.connect-guide kbd {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3);
}

.connect-guide code {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 5px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 600;
    border: 1px solid rgba(255, 211, 42, 0.3);
}

.server-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.server-details .detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-secondary);
}

.server-details .detail i {
    color: var(--primary);
    width: 20px;
}

.btn-connect {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 16px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-connect:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ===============================================
   JOBS SECTION
   =============================================== */
.jobs {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, rgba(20, 20, 40, 0.9) 100%);
    overflow: hidden;
}

.jobs-slider {
    overflow: hidden;
    margin: 0 -20px;
    padding: 20px;
}

.jobs-track {
    display: flex;
    gap: 25px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.jobs-track:hover {
    animation-play-state: paused;
}

.job-card {
    min-width: 250px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.job-card.legal {
    border-top: 3px solid #3498db;
}

.job-card.illegal {
    border-top: 3px solid #e74c3c;
}

.job-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.job-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.job-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.job-type {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.job-card.legal .job-type {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.job-card.illegal .job-type {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ===============================================
   RULES SECTION
   =============================================== */
.rules {
    background: linear-gradient(180deg, rgba(20, 20, 40, 0.9) 0%, rgba(10, 10, 15, 0.9) 100%);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 35px;
    position: relative;
    transition: all var(--transition-normal);
}

.rule-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 71, 87, 0.3);
}

.rule-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 71, 87, 0.1);
    line-height: 1;
}

.rule-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.rule-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===============================================
   CONTACT SECTION
   =============================================== */
.contact {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.9) 0%, rgba(20, 20, 40, 0.9) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-info .section-title {
    margin-bottom: 15px;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link i {
    font-size: 2rem;
    width: 40px;
}

.social-link.discord i {
    color: #5865F2;
}

.social-link.facebook i {
    color: #1877F2;
}

.social-link.youtube i {
    color: #FF0000;
}

.social-link.tiktok i {
    color: #00f2ea;
}

.social-info {
    display: flex;
    flex-direction: column;
}

.social-name {
    font-weight: 600;
    color: white;
}

.social-handle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.2);
}

.form-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.form-group textarea+i {
    top: 18px;
    transform: none;
}

.form-group input:focus+i,
.form-group select:focus+i,
.form-group textarea:focus+i {
    color: var(--primary);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: white;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit:hover {
    box-shadow: var(--shadow-glow);
}

/* ===============================================
   FOOTER
   =============================================== */
.footer {
    background: var(--bg-darker);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 12px 18px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===============================================
   BACK TO TOP
   =============================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===============================================
   ANIMATIONS
   =============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1024px) {

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        width: 45%;
    }

    .features-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Mobile Navigation Overlay */
.nav-links.active {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.nav-buttons.active {
    display: flex;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
}

/* ===============================================
   CONNECT SECTION (NEW - MOVED UP)
   =============================================== */
.connect-section {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(20, 20, 40, 0.95) 100%);
    padding: 80px 0;
}

.connect-wrapper {
    display: flex;
    justify-content: center;
}

.server-info-card.large {
    max-width: 600px;
    width: 100%;
    padding: 50px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 71, 87, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(255, 71, 87, 0.15);
}

.server-info-card.large h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.server-info-card.large .connect-guide {
    padding: 30px;
    margin-bottom: 30px;
}

.server-info-card.large .guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.server-info-card.large .guide-steps .step {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.server-info-card.large .guide-steps .step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.server-info-card.large .guide-steps .step p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.server-info-card.large .server-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.server-info-card.large .server-details .detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.server-info-card.large .btn-connect {
    width: 100%;
    padding: 20px 40px;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
}

.server-info-card.large .btn-connect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.5);
}

.alternative-connect {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.alternative-connect p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.alternative-connect strong {
    color: var(--primary);
}

/* ===============================================
   ABOUT SECTION - CENTERED LAYOUT
   =============================================== */
.about-content.centered {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content.centered .about-text {
    text-align: center;
}

.about-content.centered .about-text .section-title {
    text-align: center;
}

.about-content.centered .about-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
    margin-top: 35px;
}

.about-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* ===============================================
   SIMPLE FOOTER
   =============================================== */
.footer.simple {
    background: rgba(5, 5, 10, 0.95);
    padding: 30px 0;
}

.footer.simple .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

@media (max-width: 768px) {
    .server-info-card.large {
        padding: 30px;
    }

    .server-info-card.large h3 {
        font-size: 2rem;
    }

    .about-buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-buttons .btn {
        width: 100%;
    }

    .footer.simple .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}