/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Body Styles */
body {
    background-color: #121212;
    color: #fff;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #222;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.navbar .logo h1 {
    color: #003cff;
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
}


.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin: 0 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar ul li a:hover {
    color: #ff5733;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://i.ibb.co/Mxy4r595/video-game-rust-wallpaper-preview-1-1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 700px;
    z-index: 10;
    animation: fadeIn 2s ease-out;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #ff5733;
    padding: 10px 30px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #c43d2f;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Footer */
footer {
    background-color: #222;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    color: #aaa;
}

/* Additional Styles for Pages (Download, Features, Contact) */
section {
    padding: 60px 20px;
    text-align: center;
}

.features-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #fff;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
}

button[type="submit"] {
    background-color: #ff5733;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #c43d2f;
    transform: translateY(-3px);
}
#download {
    padding: 60px 20px;
    text-align: center;
    background-color: #111;
    color: #fff;
}

#download h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.download-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-box {
    position: relative;
    width: 300px;
    height: 400px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.box-image {
    width: 100%;
    height: 60%;
    overflow: hidden;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-content {
    padding: 20px;
    text-align: center;
}

.logo {
    max-width: 20%;
    margin-bottom: 15px;
}

.download-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff5733;
    color: #fff;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-link:hover {
    background-color: #c43d2f;
    transform: translateY(-3px);
}

/* Launcher Box - Unique Style */
.launcher-box .box-content {
    position: relative;
}

.launcher-icon {
    width: 60px;
    height: 60px;
    background-color: #ff5733;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: launcherAnimation 1.5s infinite ease-in-out;
}

@keyframes launcherAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.features-section {
    text-align: center;
    padding: 50px 20px;
    background: #1e1e1e;
    color: white;
}

.features-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-card {
    background: #292929;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card img {
    width: 60px;
    margin-bottom: 15px;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #00a86b;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.cta-button:hover {
    background: #008a58;
}


.btn-download {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    background: linear-gradient(90deg, #ff8c00, #ff4500);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.btn-download:hover {
    background: linear-gradient(90deg, #ff4500, #ff8c00);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Add some styling to the Discord icon in the navbar */
.navbar .discord-icon {
    font-size: 30px;
    color: #7289da;  /* Discord blue */
    padding: 10px;
    transition: color 0.3s ease;
}

.navbar .discord-icon:hover {
    color: #99aab5;  /* Discord hover color */
}

#installation {
    background: #1e1e1e; /* Dark background for contrast */
    color: #fff; /* White text for readability */
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 30px auto;
    width: 80%;
    max-width: 800px;
}

#installation h2 {
    font-size: 2rem;
    font-family: 'Russo One', sans-serif;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#installation p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#installation ol {
    text-align: left;
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto;
    padding-left: 20px;
}

#installation ol li {
    margin-bottom: 10px;
}

#installation a {
    color: #ffcc00; /* Highlight Discord link */
    font-weight: bold;
    text-decoration: none;
}

#installation a:hover {
    text-decoration: underline;
}

/* Center the server section */
.server-section {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Create a flex container for the server info and map */
.server-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;  /* Prevent the container from growing too wide */
    margin: 0 auto;  /* Center the content */
}

/* Server List Section */
.server-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

/* Server Card Styling */
.server-card {
    background: transparent;
    color: white;
    text-align: left;
}

/* Map Container beside the server info */
.map-container {
    width: 100%;
    max-width: 800px;
    height: 400px;
    background-image: url('https://content.rustmaps.com/maps/264/1d56983c74524ff9995bba9ceb2d98f3/map_icons.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
}

/* Text in the server card */
.server-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.server-card p {
    font-size: 1rem;
    margin: 5px 0;
}

/* Server IP copy button */
.copy-ip-button {
    padding: 5px 10px;
    background-color: #3b6b3f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.copy-ip-button:hover {
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #3b6b3f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.cta-button.secondary {
    background-color: #7289da; /* Discord blue */
}

.cta-button:hover {
    opacity: 0.9;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .server-content {
        flex-direction: column;
        align-items: center;
    }

    .map-container {
        max-width: 100%;
        height: 300px;  /* Adjust height for smaller screens */
    }

    .server-list {
        max-width: 100%;
        width: 100%;
    }
}












