@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #ffee07;
    --text-color: #ffffff;
    --background-color: #111214;
    --overlay-color: rgba(0, 0, 0, 0.6);
    --online-color: #4ade80;
    --footer-background: #000000;
    --card-background: rgba(255, 255, 255, 0.1);
    --hover-color: #ffcc00;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    z-index: 100;
    transition: background-color 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    transition: all 0.3s ease;
}

.scrolled {
    background-color: rgba(17, 18, 20, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    align-items: center;
}

/* Online Count Styles */
.online-count {
    background-color: rgba(74, 222, 128, 0.1);
    color: var(--online-color);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--online-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.online-count.offline {
    background-color: rgba(232, 9, 46, 0.1);
    color: #e8092e;
    border-color: #e8092e;
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--online-color);
    margin-right: 0.5rem;
    position: relative;
}

.online-count.offline .pulse {
    background-color: #e8092e;
}

.pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: inherit;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Hero Section Styles */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://staticg.sportskeeda.com/editor/2023/08/59924-16934650851512-1920.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.5) 80%,
        rgba(17, 18, 20, 0.8) 100%
    );
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(17, 18, 20, 0) 0%,
        rgba(17, 18, 20, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1,
.hero p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-buttons a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    margin: 0 0.5rem;
    border-radius: 5px;
}

.join-server-btn {
    background-color: var(--primary-color);
    color: var(--background-color);
    cursor: pointer;
}

/* About Us Section Styles */
.about-us {
    background-color: #111214;
    padding: 4rem 5%;
}

.about-us-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-us-image {
    flex: 1;
    padding-right: 2rem;
}

.about-us-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-us-text {
    flex: 1;
}

.about-us h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-us p {
    margin-bottom: 1rem;
}

/* Our Games Section Styles */
.our-games {
    background-color: #111214;
    padding: 4rem 5%;
    text-align: center;
}

.our-games h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.games-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.game-card {
    background-color: #1a1b1f;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h3 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.game-card p {
    color: var(--text-color);
    padding: 0 1rem 1rem;
}

/* Join Community Section Styles */
.join-community {
    background-color: #111214;
    padding: 4rem 5%;
}

.join-community-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row-reverse;
}

.join-community-image {
    flex: 1;
    padding-left: 2rem;
}

.join-community-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.join-community-text {
    flex: 1;
}

.join-community h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.join-community p {
    margin-bottom: 1rem;
}

.join-discord-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    margin-top: 1rem;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: 500;
    text-align: center;
}

.join-discord-btn:hover {
    background-color: #ffcc00;
}

/* Footer Styles */
footer {
    background-color: var(--footer-background);
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: var(--text-color);
}

footer .footer-section {
    flex: 1;
    margin: 0.5rem;
}

footer .footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

footer .footer-section a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

footer .footer-section a:hover {
    color: var(--primary-color);
}

footer .footer-section .cta-button {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    text-align: center;
    border-radius: 5px;
    display: inline-block;
    margin-top: 0.5rem;
}

footer .footer-section .cta-button:hover {
    background-color: #ffcc00;
}

footer .copyright {
    flex-basis: 100%;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    color: var(--text-color);
    font-size: 0.875rem;
    text-align: center;
}

/* IP Notification Styles */
.ip-notification {
    position: fixed;
    bottom: 20px;
    right: -300px;
    background-color: #4dc274;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ip-notification.show {
    right: 20px;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu span {
    width: 2rem;
    height: 0.25rem;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffcc00;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--background-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin: 1rem 0;
    }

    .nav-buttons {
        margin-top: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .about-us-content,
    .join-community-content {
        flex-direction: column;
    }

    .about-us-image,
    .join-community-image {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .game-card {
        width: 100%;
    }

    footer {
        flex-direction: column;
        text-align: left;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--background-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .about-us-content,
    .join-community-content {
        flex-direction: column;
    }

    .about-us-image,
    .join-community-image,
    .about-us-text,
    .join-community-text {
        width: 100%;
        padding: 0;
        margin-bottom: 2rem;
    }

    .game-card {
        width: calc(50% - 1rem);
    }

    footer .footer-section {
        flex-basis: calc(50% - 1rem);
    }
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
}

main, header, footer {
    position: relative;
    z-index: 1;
}