/* Minecraft Server Hosting Page Styles */

.minecraft-hero {
    height: 60vh; /* Reduced height since we removed buttons */
    display: flex;
    align-items: center;
    position: relative;
}

.minecraft-hero-content {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.minecraft-hero-text {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.minecraft-hero .hero-rating {
    justify-content: center;
    margin-bottom: 1rem;
}

.minecraft-hero .hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    width: 100%;
}

.minecraft-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    width: 100%;
}

.minecraft-features {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    gap: 30px;
}

.minecraft-hero .feature-item {
    display: inline-flex; /* Changed to inline-flex to keep icon and text together */
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    padding: 0;
}

.minecraft-hero .feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    display: inline-block; /* Ensure icon stays inline */
}

.minecraft-hero .feature-item span {
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block; /* Ensure text stays inline */
}

.minecraft-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
}

.server-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 991px) {
    .minecraft-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .minecraft-hero .feature-item {
        width: auto; /* Changed from percentage to auto */
        margin: 0 10px; /* Added horizontal margin instead */
    }
    
    .minecraft-hero .hero-text,
    .minecraft-image {
        width: 100%;
    }
    
    .minecraft-image {
        margin-top: 40px;
        justify-content: center;
    }
    
    .server-image {
        max-width: 80%;
    }
}

@media (max-width: 767px) {
    .minecraft-hero {
        height: auto;
        padding: 100px 0 60px;
    }
    
    .minecraft-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .minecraft-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .minecraft-features {
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Reduced gap for mobile */
    }
    
    .minecraft-hero .feature-item {
        width: auto; /* Keep width auto */
        margin: 0; /* Remove margin on mobile */
        justify-content: center; /* Ensure center alignment */
    }
    
    /* Ensure icon and text stay together on small screens */
    .minecraft-hero .feature-item i,
    .minecraft-hero .feature-item span {
        display: inline-block;
        vertical-align: middle;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .minecraft-features {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns */
        gap: 10px;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .minecraft-hero .feature-item {
        width: 100%;
        gap: 5px; /* Smaller gap between icon and text */
    }
    
    .minecraft-hero .feature-item i {
        font-size: 0.9rem; /* Smaller icon */
    }
    
    .minecraft-hero .feature-item span {
        font-size: 0.8rem; /* Smaller text */
        font-weight: 500;
    }
}