@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
    margin: 0;
    padding: 0;
    background: url('assets/dashboardbg.png') no-repeat center center fixed;
    background-size: cover;
    font-family: "Exo 2", sans-serif;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(22, 22, 24, 0.9);
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3fb9c1;
}

/* Toggle button for small screens */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

/* Nav Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #3fb9c1;
}

/* Main Content */
.main-content {
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    min-height: calc(100vh - 60px);
    padding-left: 20px;
    padding-right: 20px;
}

/* Server List Container */
.serverlist {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    text-align: center;
    width: 100%;
    max-width: 550px;
    color: #ffffff;
    animation: fadeIn 0.6s ease-in-out;
}

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

.serverlist h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #3fb9c1;
}

/* Server List Items */
.serverlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}



.serverlist ul li {
    background-color: rgba(42, 42, 43, 0.8);
    padding: 12px 20px;
    margin-bottom: 12px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.serverlist ul li a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.subscribe-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3fb9c1, #2596be);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #2596be, #3fb9c1);
  box-shadow: 0 0 10px rgba(63, 185, 193, 0.5);
}

.subscription-note {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #ccc;
}

.serverlist ul li:hover {
    background-color: rgba(59, 59, 61, 0.95);
    transform: scale(1.02);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(63, 185, 193, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgba(22, 22, 24, 0.95);
        flex-direction: column;
        width: 100%;
        display: none;
    }

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

    .nav-links li {
        padding: 15px;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .main-content {
        padding-top: 100px;
    }

    .serverlist {
        padding: 30px 20px;
    }
}
