:root {
    --primary: #6e48aa;
    --secondary: #9d50bb;
    --dark: #121212;
    --dark-alt: #1e1e1e;
    --light: #f8f9fa;
    --light-alt: #e9ecef;
    --purple: #6e48aa;
    --blue: #4776E6;
    --teal: #00b4d8;
    --orange: #f77f00;
    --pink: #e63946;
    --yellow: #ffbe0b;
    --red: #d90429;
    --green: #2b9348;
}

 
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

.dark-theme {
    background-color: var(--dark);
    color: var(--light);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

 
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: rgba(18, 18, 18, 0.9) !important;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.dropdown-menu {
    background-color: var(--dark-alt);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    color: var(--light);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: white;
}

 
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark), var(--dark-alt));
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero-bg-pattern.png') center/cover;
    opacity: 0.05;
    z-index: 0;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

 
.server-card {
    background-color: var(--dark-alt);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-img-top {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.server-card:hover .card-img-top img {
    transform: scale(1.1);
}

.players-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
}

.server-stats {
    margin: 15px 0;
}

.server-stats .badge {
    margin-right: 5px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
}

.bg-purple { background-color: var(--purple); }
.bg-blue { background-color: var(--blue); }
.bg-teal { background-color: var(--teal); }
.bg-orange { background-color: var(--orange); }
.bg-pink { background-color: var(--pink); }
.bg-yellow { background-color: var(--yellow); }
.bg-red { background-color: var(--red); }
.bg-green { background-color: var(--green); }

 
.features-section {
    background: linear-gradient(135deg, var(--dark-alt), var(--dark));
    position: relative;
    overflow: hidden;
}

.feature-card {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

 
.stats-section {
    background: url('assets/images/stats-bg.jpg') center/cover;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.8);
}

.stat-card {
    position: relative;
    z-index: 1;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    color: white;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

 
.footer {
    background-color: var(--dark-alt);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-decoration: none;
}

.footer-brand img {
    height: 40px;
    margin-right: 10px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-alt);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.btn-discord {
    background-color: #5865F2;
    color: white;
    font-weight: 500;
}

.btn-discord:hover {
    background-color: #4752C4;
    color: white;
}

.footer-payments i {
    font-size: 24px;
    margin-left: 10px;
    color: var(--light-alt);
}

 
.btn {
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 72, 170, 0.4);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

 
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-titlegm {
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.section-titlegm::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 175px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-titlewy {
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.section-titlewy::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-subtitle {
    color: var(--light-alt);
    max-width: 600px;
    margin: 0 auto;
}

 
@media (max-width: 991.98px) {
    .hero-section {
        padding: 150px 0 80px;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 50px;
    }
}

@media (max-width: 767.98px) {
    .section-header {
        margin-bottom: 30px;
    }
    
    .feature-card, .stat-card {
        padding: 20px;
    }
}

 
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

.floating {
    animation: float 6s ease-in-out infinite;
}