* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Arial', sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    /* Use the PNG logo from images/ as a background image */
    display: inline-block;
    width: 160px;
    height: 48px;
    background: url('./images/Layer_1_1.png') center/contain no-repeat;
    text-indent: -9999px; /* hide the text while keeping it for accessibility */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #7289DA;
    background-color: rgba(114, 137, 218, 0.1);
}

.nav-links a.active {
    color: #7289DA;
    background-color: rgba(114, 137, 218, 0.15);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 0;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.7)),
                url('./images/background.jpg') center/cover fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    padding: 0 2rem;
    z-index: 1;
}

.hero h1 {
    font-family: 'Minecraft', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: #7289DA;
    text-shadow: 0 0 30px rgba(114, 137, 218, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #ffffff;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    min-width: 200px;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.plans-btn {
    background: linear-gradient(135deg, #7289DA, #5b6eae);
    color: white;
    box-shadow: 0 4px 20px rgba(114, 137, 218, 0.4);
}

.plans-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(114, 137, 218, 0.6);
}

.login-btn {
    background-color: rgba(114, 137, 218, 0.1);
    color: #ffffff;
    border: 2px solid #7289DA;
}

.login-btn:hover {
    background-color: #7289DA;
    transform: translateY(-3px);
}

.custom-btn {
    background: linear-gradient(135deg, #5b6eae, #7289DA);
    color: white;
    box-shadow: 0 4px 20px rgba(114, 137, 218, 0.4);
}

.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(114, 137, 218, 0.6);
}

/* Features Section */
.features {
    padding: 8rem 10%;
    background-color: #0a0a0a;
    position: relative;
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #7289DA;
    font-family: 'Minecraft', sans-serif;
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(114, 137, 218, 0.2);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(20, 20, 20, 0.5);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(114, 137, 218, 0.1);
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #7289DA;
    box-shadow: 0 10px 30px rgba(114, 137, 218, 0.2);
}

.feature-card h3 {
    color: #7289DA;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: rgba(20, 20, 20, 0.5);
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Mobile Responsive Design */
@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }

    .menu-toggle {
        display: block;  /* Only show on mobile */
        background-color: transparent;
        border: 2px solid #7289DA;
        color: #7289DA;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        padding: 0;
        outline: none;
    }

    .menu-toggle:hover {
        background-color: rgba(114, 137, 218, 0.1);
        transform: scale(1.05);
    }

    .menu-toggle:active {
        transform: scale(0.95);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 4rem 5%;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;  /* Force hide on desktop */
    }
    
    .nav-links {
        display: flex !important;  /* Always show nav links on desktop */
    }
}

/* High-DPI Screen Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.7)),
                         url('./images/background.jpg');
    }
}