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

p {
    padding-bottom: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #1a1a1a;
    color: #ffffff;
}

nav {
    background-color: #2d2d2d;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
}

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

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6b6b;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('minecraft-bg.webp');
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff6b6b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff4f4f;
}

section {
    padding: 5rem 2rem;
}

#features {
    background-color: #2d2d2d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

h2 {
    align-items: center;
    text-align: center;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: #3d3d3d;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 107, 107, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.download-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.download-button {
    padding: 1rem 2rem;
    background-color: #ff6b6b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #ff4f4f;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #2d2d2d;
}

.technical-section {
    background-color: #1a1a1a;
    padding: 5rem 2rem;
}

.tech-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #2d2d2d;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-item {
    text-align: center;
    padding: 1rem;
}

.tech-item i {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .download-container {
        flex-direction: column;
        align-items: center;
    }

    .showcase-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        margin-bottom: 2rem;
    }

    nav {
        background-color: #2d2d2d;
        padding: 1rem 2rem;
        position: fixed;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
    }

    h2 {
        align-items: center;
        text-align: center;
    }
}

.feature-showcase {
    margin-top: 4rem;
    background: #2d2d2d;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.showcase-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.showcase-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid #ff6b6b;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-btn.active, .showcase-btn:hover {
    background: #ff6b6b;
    transform: scale(1.05);
}

.showcase-content {
    position: relative;
    min-height: 600px;
}

.showcase-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 6rem;
}

.showcase-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.showcase-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
    object-fit: contain;
}

#gui .showcase-img {
    max-width: 430px;
}

.stats-section {
    background: #1a1a1a;
    padding: 4rem 2rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b6b;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 0.5rem;
    display: block;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: #ff6b6b;
    transition: width 0.5s ease;
}

.section-title:hover::after {
    width: 100%;
}

nav {
    background-color: #2d2d2d;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}


.loading-dots {
    animation: loading 1.5s infinite;
    display: inline-block;
}

@keyframes loading {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}
