/* General styles */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styles */
header {
    background-color: #2a2a2a;
    padding: 1rem;
    margin-bottom: 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.header-image {
    max-height: 50px;
    width: auto;
}

.site-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e0e0e0;
    white-space: nowrap;
    margin-left: 0.5rem;
}

/* Main content styles */
h1, h2 {
    text-align: center;
}

main {
    flex: 1 0 auto;
    padding-bottom: 20px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background-color: #2a2a2a;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card-content {
    padding: 1rem;
}

.game-card h3 {
    text-align: center;
}

.game-card a {
    display: block;
    background-color: #3a3a3a;
    color: #e0e0e0;
    text-align: center;
    padding: 0.5rem;
    text-decoration: none;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

.game-card a:hover {
    background-color: #4a4a4a;
}

/* About and Discord sections */
.about-section, .discord-section {
    background-color: #2a2a2a;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 2rem 0;
}

.discord-section {
    text-align: center;
}

.discord-widget {
    width: 100%;
    max-width: 100%;
    height: 350px;
}

/* Navigation styles */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a2a2a;
    padding: 10px;
    z-index: 10000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10001;
}

.bar {
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin: 3px 0;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-list.open {
    display: flex;
}

.nav-list li {
    padding: 0 10px;
    position: relative;
}

.nav-list li a {
    text-decoration: none;
    color: #e0e0e0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2a2a2a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
    right: 0;
    border: 1px solid #4d4d4d;
    border-radius: 4px;
}

.dropdown-content li {
    list-style-type: none;
}

.dropdown-content li a {
    transition: color 0.3s ease;
}

.dropdown-content li a:hover {
    color: #ffcc00;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        align-items: center;
        justify-content: flex-start;
        display: none;
        z-index: 10000;
        overflow-y: auto;
        padding-top: 60px;
    }

    .nav-list.open {
        display: flex !important;
    }

    .nav-list li {
        display: block;
        text-align: center;
        padding: 10px 0;
    }

    .dropdown > a {
        display: block;
        font-weight: bold;
        font-size: 1.2em;
        margin-top: 20px;
    }

    .dropdown-content {
        display: block;
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        border: none;
        border-radius: 0;
    }

    .dropdown-content li {
        padding: 5px 0;
    }

    .dropdown-content li:first-child {
        padding-top: 5px;
    }

    .menu-toggle.x .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.x .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.x .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
}

/* Conan Exiles Section Styles */
.conan-section {
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    padding: 0;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 25.93%; /* Maintain aspect ratio */
	border-radius: 0.5rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

 .slider-nav {
            position: absolute;
            top: 30%; /* Move buttons higher up */
            left: 0;
            right: 0;
            transform: translateY(-50%);
            z-index: 2;
            padding: 0 20px;
        }

        .prev-btn, .next-btn {
            background-color: rgba(0, 0, 0, 0.5);
            color: #fff;
            border: none;
            padding: 10px 15px;
            font-size: 24px;
            cursor: pointer;
            border-radius: 5px;
        }

        .prev-btn {
            position: absolute;
            left: 10px;
        }

        .next-btn {
            position: absolute;
            right: 10px;
        }

        /* Add this new style to prevent slider images from being clickable */
        .slider img {
            pointer-events: none;
        }

.slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.indicator.active {
    background-color: #fff;
}

.slider-text {
    width: 100%;
    background-color: transparent;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    font-family: 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    margin-top: -10px;
}

.slider-text h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.slider-text p {
    font-size: 17px;
}

/* Server Status Styles */
#server-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
}

.server {
    background-color: rgba(58, 58, 58, 0.8);
    border-radius: 0.5rem;
    padding: 15px;
    text-align: center;
    width: 100%;
    max-width: 300px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.server-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.ip-address {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid #555;
    border-radius: 4px;
    padding: 8px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ip-address:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.status-box {
    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    font-weight: bold;
}

.online {
    background-color: #4CAF50;
}

.offline {
    background-color: #F44336;
}

.unknown {
    background-color: #9E9E9E;
}

/* New content section styles */
.content-section {
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.screenshots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.screenshots img {
    width: 30%;
    transition: transform 0.3s;
    cursor: pointer;
}

.screenshots img:hover {
    transform: scale(1.1);
}

/* Fullscreen image overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Unvisited links */
a {
    color: #66ff66; /* Light green */
    text-decoration: none; /* Removes underline */
}

/* Visited links */
a:visited {
    color: #339933; /* Darker green */
}

/* Hover state for both visited and unvisited links */
a:hover, a:visited:hover {
    text-decoration: underline; /* Adds underline on hover */
}

/* Active state (when the link is being clicked) */
a:active {
    color: #3399ff; /* Slightly darker blue for active state */
}

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px auto;
    display: block;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.content-section {
    padding: 20px;
    text-align: left;
}

.content-section ol {
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 15px;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 15px;
}

.content-section > p {
    text-align: center;
    margin-bottom: 10px;
}

.content-section a,
.content-section .ipaddresses {
    word-break: break-word;
    overflow-wrap: break-word;
}

.ipaddresses-container {
    max-width: 80%;
    margin: 15px auto;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.ipaddresses {
    margin: 0;
    padding: 0;
}

.ipaddresses p {
    margin: 5px 0;
    font-size: 0.9em;
    line-height: 1.3;
}

.ipaddresses strong {
    display: block;
    margin-bottom: 3px;
    color: #FFFFFF;
}

.ip-address {
    font-family: 'Courier New', monospace;
    background-color: #1a1a1a;
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-block;
}

.mod-list-container {
    max-width: 80%;
    margin: 15px auto;
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    text-align: center; /* Center all text within the container */
}

.mod-list-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-size: 1em;
    text-decoration: underline; /* Underline the title */
    padding-bottom: 5px; /* Add some space below the underline */
}

.mod-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.mod-list li {
    padding: 2px 0; /* Add a small vertical padding for better readability */
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #e0e0e0;
}

.mod-list-container-compact {
    max-width: 300px; /* Keep this as is */
    margin: 15px auto;
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add this line for the drop shadow */
    padding: 10px;
    text-align: center; /* Add this line to center the text */
}

.mod-list-compact {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mod-list-compact li {
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    padding: 2px 0;
}

.mod-list-container .mod-list.left-aligned {
    text-align: left;
}

/* Unvisited links */
a {
    color: #66ff66; /* Light green */
    text-decoration: none; /* Removes underline */
}

/* Visited links */
a:visited {
    color: #339933; /* Darker green */
}

/* Hover state for both visited and unvisited links */
a:hover, a:visited:hover {
    text-decoration: underline; /* Adds underline on hover */
}

/* Active state (when the link is being clicked) */
a:active {
    color: #228B22; /* Forest green for active state */
}

.internal-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.internal-nav a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #2a2a2a;
    color: #66b3ff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
    border: 1px solid #66b3ff;
}

.internal-nav a:hover {
    background-color: #66b3ff;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.internal-nav a:active {
    transform: translateY(0);
    box-shadow: none;
}

h2 {
    text-decoration: underline;
}

.back-to-top-container {
    text-align: center;
    margin-top: 20px;
}

.back-to-top {
    display: inline-block;
    padding: 10px 15px;
    background-color: #2a2a2a;
    color: #66b3ff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
    border: 1px solid #66b3ff;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #66b3ff;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.back-to-top:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Updated styles for pre and code elements to prevent overflow */
.mod-list-container pre,
.mod-list-container code,
.ipaddresses-container pre,
.ipaddresses-container code {
    white-space: pre-wrap; /* Wrap lines */
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word; /* Handle long words */
    overflow-x: auto; /* Allow horizontal scrolling if necessary */
}
.text-left {
    text-align: left !important;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.server-info {
    margin-bottom: 20px;
}

#conan-exiles {
    /* Add any specific styles for this section if needed */
}

.ip-address:active {
    background-color: rgba(0, 0, 0, 0.6);
}

#exiled-lands, #isle-of-siptah {
    /* Add any specific styles for these containers if needed */
}

.text-center {
    text-align: center;
}
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: Arial, sans-serif;
            background-color: #1a1a1a;
            color: #e0e0e0;
            display: flex;
            flex-direction: column;
        }
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        header {
            background-color: #2a2a2a;
            padding: 1rem;
        }
        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo-container {
            display: flex;
            align-items: center;
        }
        .header-image {
            max-height: 50px;
            width: auto;
        }
        .site-name {
            font-size: 1.5rem;
            font-weight: bold;
            color: #e0e0e0;
            white-space: nowrap;
            margin-left: 0.5rem;
        }
        h1, h2 {
            text-align: center;
        }
        main {
            flex: 1 0 auto;
            padding-bottom: 20px;
        }
        .game-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        .game-card {
            background-color: #2a2a2a;
            border-radius: 0.5rem;
            overflow: hidden;
            transition: transform 0.3s;
        }
        .game-card:hover {
            transform: scale(1.05);
        }
        .game-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .game-card-content {
            padding: 1rem;
        }
        .game-card h3 {
            text-align: center;
        }
        .game-card a {
            display: block;
            background-color: #3a3a3a;
            color: #e0e0e0;
            text-align: center;
            padding: 0.5rem;
            text-decoration: none;
            border-radius: 0.25rem;
            margin-top: 1rem;
        }
        .game-card a:hover {
            background-color: #4a4a4a;
        }
        .about-section, .discord-section {
            background-color: #2a2a2a;
            border-radius: 0.5rem;
            padding: 1rem;
            margin: 2rem 0;
        }
        .discord-section {
            text-align: center;
        }
        .discord-widget {
            width: 100%;
            max-width: 100%;
            height: 350px;
        }
        .navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #2a2a2a;
            padding: 10px;
            z-index: 10000;
        }
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            z-index: 10001;
        }
        .bar {
            background-color: #fff;
            height: 3px;
            width: 25px;
            margin: 3px 0;
        }
        .nav-list {
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: flex;
        }
        .nav-list li {
            padding: 0 10px;
            position: relative;
        }
        .nav-list li a {
            text-decoration: none;
            color: #e0e0e0;
        }
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #2a2a2a;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            padding: 12px 16px;
            z-index: 1;
            right: 0;
            border: 1px solid #4d4d4d;
            border-radius: 4px;
        }
        .dropdown-content li {
            list-style-type: none;
        }
        .dropdown-content li a {
            transition: color 0.3s ease;
        }
        .dropdown-content li a:hover {
            color: #ffcc00;
        }
        .dropdown:hover .dropdown-content {
            display: block;
        }
        @media screen and (max-width: 600px) {
            .menu-toggle {
                display: flex;
            }
    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
                bottom: 0;
                flex-direction: column;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.9);
                align-items: center;
                justify-content: flex-start;
                display: none;
                z-index: 10000;
                overflow-y: auto;
        padding-top: 60px;
    }

    .nav-list.open {
        display: flex !important;
    }

    .nav-list li {
        display: block;
        text-align: center;
        padding: 10px 0;
    }
            .dropdown > a {
                display: block;
                font-weight: bold;
                font-size: 1.2em;
                margin-top: 20px;
            }
            .dropdown-content {
                display: block;
                position: static;
                background-color: transparent;
                box-shadow: none;
                padding: 0;
                border: none;
                border-radius: 0;
            }
            .dropdown-content li {
                padding: 5px 0;
            }
            .dropdown-content li:first-child {
                padding-top: 5px;
            }
            .menu-toggle.x .bar:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            .menu-toggle.x .bar:nth-child(2) {
                opacity: 0;
            }
            .menu-toggle.x .bar:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -8px);
            }
        }
.content-section img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
