body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji",
        "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
    background: #1f2937;
    text-align: center;
    margin: 0;
    padding: 0;
    padding-top: 60px;
}

::selection {
    background-color: #4338b9;
    color: white;
}

header {
    background: #111827;
    color: white;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #1f2937;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo img {
    height: 60px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 5 10px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    padding: 8px 15px;
    text-decoration: none;
}

#header-links {
    border-radius: 25px;
    border: 1px solid transparent;
    padding: 5 10px;
}

#header-links:hover {
    background-color: #5044e4;
    border: 1px solid #5044e4;
}

#landing {
    height: 600px;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    padding: 0 20px;
}

.landing-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.landing-text {
    flex: 1;
    padding: 30px;
    text-align: left;
}

.landing-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.landing-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#joinHeader {
    border-radius: 25px;
    border: 1px solid #5044e4;
    background-color: #5044e4;
    padding: 5 10px;
}

#joinHeader:hover {
    background-color: #4338b9;
    border: 1px solid #4338b9;
}

#joinHeader svg {
    margin-bottom: -2.15px;
}

.cta-button {
    padding: 12px 24px;
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
    color: white;
    border-radius: 25px;
    border: 1px solid #5044e4;
    background-color: #5044e4;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #4338b9;
    border: 1px solid #4338b9;
}

/* Right Side - Image */
.landing-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
}

/* Main Content */
main {
    padding: 20px;
    text-align: left;
    margin: 20px;
}

section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

section ul {
    padding: 0;
}

section ul li {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 1.1rem;
}

/* Rule Section Styling */
#rules, #whitelist, #home-info, #mods, #whitelist-payment {
    max-width: 800px;
    margin: 0 auto;
}

#rules, #whitelist, #home-info, #mods, #whitelist-payment h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

#rules, #whitelist, #home-info, #mods, #whitelist-payment ul {
    list-style-type: disc;
    padding-left: 20px;
}

#rules, #whitelist, #home-info, #mods, #whitelist-payment ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: left;
}

#rules, #whitelist, #home-info, #mods, #whitelist-payment p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: left;
}

.inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #111827;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#steamId {
    max-width: 500px;
    padding: 12px 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#steamId:focus {
    border-color: #5044e4;
}

#steamId::placeholder {
    color: #999;
    font-style: italic;
}

#home-info {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    text-align: left;
}

#mods h3 {
    color: #ffffff;
}

.mod-link {
    text-decoration: none;
    color: #5f53e3;
}

.mod-link svg {
    margin-bottom: -2.15px;
}

.info-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.info-text {
    flex: 1;
    padding-right: 20px;
}

.info-text h2 {
    text-align: left;
}

.info-iframe {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1f2937 url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="10"%3E%3Ccircle cx="5" cy="5" r="1" fill="%23111827" /%3E%3C/svg%3E') repeat;
    background-size: 20px 20px;
    background-position: top right;
    border-radius: 10px;
    padding: 20px;
}

iframe {
    border-radius: 10px;
}

.hamburger {
    display: none;
    position: absolute;
    right: 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

#payment-section {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background: #1c1c1c;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: white;
}

#payment-section h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #f8b400;
}

#paypal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#paypal-form label {
    font-size: 16px;
    margin-bottom: 10px;
}


#paypal-form input[type="number"] {
    padding: 10px;
    width: 80%;
    font-size: 16px;
    border: 2px solid #f8b400;
    border-radius: 5px;
    margin-bottom: 15px;
}

#paypal-form input[type="image"] {
    width: 200px;
    transition: transform 0.3s;
}

#paypal-form input[type="image"]:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {

    #payment-section {
        width: 90%;
    }
    #paypal-form input[type="number"] {
        width: 100%;
    }


    #landing {
        height: auto;
        padding: 20px;
    }

    .landing-container {
        flex-direction: column;
        text-align: center;
    }

    .landing-text {
        text-align: center;
    }

    .landing-image {
        margin-top: 20px;
    }

    .landing-image img {
        max-width: 100%;
    }
    
    #home-info {
        flex-direction: column;
        text-align: center;
    }

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

    .info-text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .info-iframe {
        flex: none;
        width: 100%;
        max-width: 350px;
        margin: 0;
    }

    /* .nav-links {
        margin-right: 15px;
    } */

    .nav-links {
        display: none;
        flex-direction: column;
        background: #111827;
        gap: 20px;
        position: absolute;
        top: 82px;
        border-top: 1px solid #1f2937;
        right: 0;
        width: 100%;
        border-bottom: 0px solid transparent;
        transition: border-bottom 0.3s ease-in-out;
    }

    .nav-links.open {
        display: flex;
        border-bottom: 1px solid #1f2937;
    }

    .nav-links.active {
        display: flex;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .info-text h2 {
        text-align: center;
    }

    .info-text p {
        text-align: left;
    }

    .mods-container h2 {
        text-align: center;
    }

}

footer {
    background: #111827;
    color: white;
    padding: 10px;
    bottom: 0;
}
