/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: #262626;
    color: white;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background: #292929;
}

::-webkit-scrollbar-thumb {
    background: #474747;
}

::-webkit-scrollbar-thumb:hover {
    background: #505050;
}

/* Utility */
.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

/* Navbar */
.navbar {
    background: #262626;
    width: 100%;
    height: 60px;
    position: fixed;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar-link-cont {
    color: #ccc;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    transition: color 0.3s;
}

.navbar-link-cont:hover {
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.main-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://upanhnhanh.com/be041ddf8d8023efcd53fbd4ec6b6c6a');
    /* Minecraft-like background */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.main-section .logo {
    width: 850px;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.logo-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 2rem;
}

.main-section h3 {
    font-family: 'Minecraft', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0 #000;
    letter-spacing: 2px;
}

.server-ip-container {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border: 2px solid #5f5f5f;
}

.ip-box {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.5rem;
    color: #55ff55;
    /* Minecraft Green */
    padding: 0 10px;
}

.copy-btn {
    background: #7289da;
    border: none;
    color: white;
    padding: 8px 16px;
    font-family: 'Minecraft', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #5b6eae;
}

.btn-primary {
    display: inline-block;
    background: #388e3c;
    /* Minecraft Button Green */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    border: 2px solid #1b5e20;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 4px 0 #1b5e20;
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 0 0 #1b5e20;
}

.arrow-scroll {
    position: relative;
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

.arrow-scroll svg {
    width: 40px;
    height: 40px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Content Sections */
.home-show-sections {
    background: #323232;
    padding: 4rem 0;
}

.section-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.section-item.invert {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #eee;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

.highlight {
    color: #55ff55;
    font-weight: bold;
    font-family: 'Minecraft', sans-serif;
}

.image-content {
    flex: 1;
}

.img-placeholder {
    width: 100%;
    height: 250px;
    background: #1a1a1a;
    border: 4px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Minecraft', sans-serif;
    color: #555;
    font-size: 1.5rem;
}

.step-image {
    width: 100%;
    height: auto;
    border: 4px solid #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: block;
}

/* Footer */
.footer {
    background: #262626;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #444;
}

.footer p {
    color: #888;
    margin-bottom: 0.5rem;
}

.footer .disclaimer {
    font-size: 0.8rem;
    font-style: italic;
}

/* Version Warning */
.version-warning {
    color: #ffcc00;
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border: 2px solid #ffcc00;
    border-radius: 4px;
    display: inline-block;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* About Section */
.about-section {
    position: relative;
    background: radial-gradient(circle at center, #2a2a2a 0%, #1a1a1a 100%);
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Background decoration */
.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(85, 255, 85, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(114, 137, 218, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-family: 'Minecraft', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #fff;
    text-shadow: 4px 4px 0 #000;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(85, 255, 85, 0.3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 25px rgba(85, 255, 85, 0.4));
}

.feature-card h3 {
    font-family: 'Minecraft', sans-serif;
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 #000;
}

.feature-card p {
    color: #aaa;
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 300;
}

.feature-card strong {
    color: #55ff55;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .section-item {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .section-item.invert {
        flex-direction: column;
    }

    .main-section h3 {
        font-size: 1.5rem;
    }
}