:root {
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --accent-red: #ff3030;
    --accent-red-dark: #b71c1c;
    --text-light: #f5f5f5;
    --text-gray: #aaaaaa;
    --card-bg: rgba(30, 30, 30, 0.8);
    --border-radius: 8px;
    --glow-effect: 0 0 10px rgba(255, 48, 48, 0.6);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particles */
.particles-container {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(128, 128, 128, 0.4), rgba(128, 128, 128, 0.4)), url('https://cdnme.ejs.biz.id/file/598e67.jpeg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

/* Header Styles */
header {
    background-color: rgba(10, 10, 10, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
}

.server-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 15px;
    border: 2px solid var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
.logo-container h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 8px;
    font-size: 1.1rem;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-red);
    background-color: rgba(255, 48, 48, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(20, 20, 20, 0.9));
    overflow: hidden;
    padding-top: 150px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdnme.ejs.biz.id/file/598e67.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
    filter: blur(5px);
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    z-index: 1;
}

.main-logo-container {
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
    margin-bottom: 30px;
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    max-width: 270px;
    height: auto;
    animation: pulseAnimation 2s infinite ease-in-out;
    margin-bottom: 15px;
}
        @keyframes pulseAnimation {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

.server-title {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
}

.server-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.server-title h2 i {
    color: var(--accent-red);
    margin: 0 10px;
}

.server-status {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeIn 1.5s ease;
}

.status-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 48, 48, 0.3);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    margin: 0 auto;
    clear: both; 
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 48, 48, 0.4);
}

.status-header {
    background-color: var(--accent-red-dark);
    color: var(--text-light);
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-body {
    padding: 20px;
}

.status-body p {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-label {
    font-weight: 600;
    color: var(--text-gray);
}

.online-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.online-status.online {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.online-status.offline {
    background-color: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 2s ease;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.btn i {
    margin-left: 10px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(183, 28, 28, 0.4);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 48, 48, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title h2 i {
    color: var(--accent-red);
    margin-right: 10px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--accent-red);
    margin: 0 auto;
    position: relative;
    border-radius: 5px;
}

.title-underline:before {
    content: "";
    position: absolute;
    width: 200px;
    height: 1px;
    background: rgba(255, 48, 48, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Features Section */
.features {
    background-color: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 48, 48, 0.2);
    border-color: rgba(255, 48, 48, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-red-dark), var(--accent-red));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.3);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--text-light);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Connect Section */
.connect {
    background-color: var(--darker-bg);
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.connect-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.connect-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 48, 48, 0.3);
}

.connect-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.java-icon {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
}

.bedrock-icon {
    background: linear-gradient(135deg, #7B1FA2, #4A148C);
}

.connect-icon i {
    font-size: 3rem;
    color: var(--text-light);
}

.connect-card h3 {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.connect-info {
    padding: 20px;
}

.connect-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.info-label {
    font-weight: 600;
    color: var(--text-gray);
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.info-label i {
    margin-right: 5px;
    color: var(--accent-red);
}

.ip-address {
    font-family: 'Courier New', monospace;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #4CAF50;
}

.copy-btn {
    background-color: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
    padding: 5px;
}

.copy-btn:hover {
    color: var(--accent-red);
}

.download-btn {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 20px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    text-align: center;
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:hover {
    background-color: var(--accent-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Players Section */
.players {
    background-color: var(--dark-bg);
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 48, 48, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red-dark), var(--accent-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(183, 28, 28, 0.3);
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.stat-info h3 {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.stat-count {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.player-list-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
                                    border: 1px solid rgba(255, 255, 255, 0.05);
                                }

                                .player-list-header {
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    margin-bottom: 30px;
                                    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                                    padding-bottom: 15px;
                                }

                                .player-list-header h3 {
                                    font-size: 1.5rem;
                                    font-weight: 600;
                                    color: var(--text-light);
                                    display: flex;
                                    align-items: center;
                                }

                                .player-list-header h3 i {
                                    margin-right: 10px;
                                    color: var(--accent-red);
                                }

                                .refresh-btn {
                                    padding: 8px 15px;
                                    background-color: rgba(255, 48, 48, 0.1);
                                    border-radius: 4px;
                                    color: var(--accent-red);
                                    cursor: pointer;
                                    font-weight: 600;
                                    display: flex;
                                    align-items: center;
                                    transition: all 0.3s ease;
                                }

                                .refresh-btn i {
                                    margin-right: 8px;
                                }

                                .refresh-btn:hover {
                                    background-color: rgba(255, 48, 48, 0.2);
                                }
/* player head */
1
                                .player-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.player-card {
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 48, 48, 0.2);
    border-color: rgba(255, 48, 48, 0.3);
}

.player-avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.player-card.java .player-avatar img {
    border-color: rgba(21, 101, 192, 0.5);
}

.player-card.bedrock .player-avatar img {
    border-color: rgba(123, 31, 162, 0.5);
}

.player-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.player-type {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
}

.player-type.java {
    background-color: rgba(21, 101, 192, 0.2);
    color: #42A5F5;
    border: 1px solid rgba(21, 101, 192, 0.3);
}

.player-type.bedrock {
    background-color: rgba(123, 31, 162, 0.2);
    color: #AB47BC;
    border: 1px solid rgba(123, 31, 162, 0.3);
}
/* PLAYER HEAD */

                                .loading-players {
                                    grid-column: 1 / -1;
                                    text-align: center;
                                    padding: 50px 0;
                                }

                                .spinner {
                                    width: 40px;
                                    height: 40px;
                                    border: 4px solid rgba(255, 255, 255, 0.1);
                                    border-radius: 50%;
                                    border-top-color: var(--accent-red);
                                    margin: 0 auto 15px;
                                    animation: spin 1s linear infinite;
                                }

                                footer {
                                    background-color: var(--darker-bg);
                                    padding: 60px 5% 20px;
                                    border-top: 1px solid rgba(255, 255, 255, 0.05);
                                }

                                .footer-content {
                                    display: grid;
                                    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                                    gap: 40px;
                                    max-width: 1200px;
                                    margin: 0 auto;
                                }

                                .footer-logo {
                                    display: flex;
                                    align-items: center;
                                    margin-bottom: 20px;
                                }

                                .footer-logo-img {
                                    width: 40px;
                                    height: 40px;
                                    border-radius: 6px;
                                    margin-right: 15px;
                                }

                                .footer-title h3 {
                                    font-size: 1.2rem;
                                    font-weight: 700;
                                    color: var(--text-light);
                                }

                                .footer-title p {
                                    font-size: 0.9rem;
                                    color: var(--text-gray);
                                }

                                .footer-links h4, .footer-social h4 {
                                    font-size: 1.1rem;
                                    color: var(--text-light);
                                    margin-bottom: 20px;
                                    position: relative;
                                    display: inline-block;
                                }

                                .footer-links h4:after, .footer-social h4:after {
                                    content: '';
                                    position: absolute;
                                    width: 50%;
                                    height: 2px;
                                    background-color: var(--accent-red);
                                    bottom: -8px;
                                    left: 0;
                                }

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

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

                                .footer-links ul li a {
                                    color: var(--text-gray);
                                    text-decoration: none;
                                    transition: all 0.3s ease;
                                }

                                .footer-links ul li a:hover {
                                    color: var(--accent-red);
                                    padding-left: 5px;
                                }

                                .social-icons {
                                    display: flex;
                                    gap: 15px;
                                }

                                .social-icon {
                                    width: 40px;
                                    height: 40px;
                                    background-color: rgba(255, 255, 255, 0.05);
                                    border-radius: 50%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    color: var(--text-gray);
                                    font-size: 1.2rem;
                                    transition: all 0.3s ease;
                                }

                                .social-icon:hover {
                                    background-color: var(--accent-red);
                                    color: var(--text-light);
                                    transform: translateY(-3px);
                                }

                                .footer-bottom {
                                    text-align: center;
                                    margin-top: 60px;
                                    padding-top: 20px;
                                    border-top: 1px solid rgba(255, 255, 255, 0.05);
                                    color: var(--text-gray);
                                    font-size: 0.9rem;
                                }

                                .notification {
                                    position: fixed;
                                    bottom: 30px;
                                    right: 30px;
                                    background-color: rgba(0, 0, 0, 0.8);
                                    color: var(--text-light);
                                    padding: 15px 25px;
                                    border-radius: 5px;
                                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
                                    transform: translateY(100px);
                                    opacity: 0;
                                    transition: all 0.3s ease;
                                    z-index: 1000;
                                    border-left: 4px solid var(--accent-red);
                                }

                                .notification.show {
                                    transform: translateY(0);
                                    opacity: 1;
                                }

                                @keyframes fadeIn {
                                    from {
                                        opacity: 0;
                                    }
                                    to {
                                        opacity: 1;
                                    }
                                }

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

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

                                @media screen and (max-width: 992px) {
                                    .server-title h2 {
                                        font-size: 2rem;
                                    }

                                    nav ul li {
                                        margin-left: 10px;
                                    }

                                    nav ul li a {
                                        padding: 8px 10px;
                                        font-size: 0.9rem;
                                    }

                                    nav ul li a i {
                                        margin-right: 5px;
                                    }

                                    .logo-container h1 {
                                        font-size: 1.3rem;
                                    }
                                }

                                @media screen and (max-width: 768px) {
                                    header {
                                        padding: 15px 3%;
                                    }

                                    .server-logo {
                                        width: 40px;
                                        height: 40px;
                                        margin-right: 10px;
                                    }

                                    .logo-container h1 {
                                        font-size: 1.1rem;
                                    }

                                    nav ul li a {
                                        padding: 5px 8px;
                                        font-size: 0.85rem;
                                    }

                                    nav ul li a i {
                                        margin-right: 3px;
                                    }

                                    .server-title h2 {
                                        font-size: 1.5rem;
                                    }

                                    .cta-buttons {
                                        flex-direction: column;
                                        gap: 15px;
                                    }

                                    .btn {
                                        width: 100%;
                                    }

                                    section {
                                        padding: 80px 3%;
                                    }

                                    .section-title h2 {
                                        font-size: 1.5rem;
                                    }
                                }

                                @media screen and (max-width: 576px) {
                                    header {
                                        flex-direction: column;
                                        padding: 10px 3%;
                                    }

                                    .logo-container {
                                        margin-bottom: 10px;
                                    }

                                    nav ul {
                                        justify-content: center;
                                        flex-wrap: wrap;
                                    }

                                    nav ul li {
                                        margin: 5px;
                                    }

                                    .player-grid {
                                        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                                    }
                                }
