/* Base styles that work with theme system */
h1 {
    font-family: Arial;
    color: inherit;
    text-shadow: inherit;
}

p {
    font-family: Arial;
    color: inherit;
    text-shadow: inherit;
    line-height: 1.6;
}

a {
    font-family: Arial;
    color: inherit;
    text-shadow: inherit;
}

li {
    font-family: Arial;
    color: inherit;
    text-shadow: inherit;
    margin: 8px 0;
}

body {
    background-color: #00072D;
    color: Cyan;
    margin: 0;
    padding: 0;
    text-shadow: 0 0 5px currentColor;
    border: 3px solid currentColor;
    box-shadow: inset 0 0 50px rgba(0, 255, 255, 0.1);
    min-height: 100vh;
    overflow-x: hidden;
}

h3 {
    font-family: Arial;
    color: inherit;
    text-shadow: inherit;
}

h2 {
    font-family: Arial;
    color: inherit;
    text-shadow: inherit;
}

/* Main content container */
.main-content {
    padding: 130px 220px 20px 20px; /* Top padding for title, right padding for settings */
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

/* Special link styling */
.bluelinkidfk {
    color: #A6E1FA;
    text-decoration: none;
    margin: 15px;
    display: inline-block;
    padding: 10px 15px;
    border: 2px solid #A6E1FA;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(166, 225, 250, 0.3);
    transition: all 0.3s ease;
}

.bluelinkidfk:hover {
    text-decoration: none;
    background: rgba(166, 225, 250, 0.1);
    box-shadow: 0 0 15px rgba(166, 225, 250, 0.5);
    transform: scale(1.05);
}

.changelogcolour {
    background-color: #001C55;
}

.fourmscolour {
    background-color: #0E6BA8;
}

/* Ensure list items are properly styled */
ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 20px;
}

li {
    margin: 8px 0;
    line-height: 1.4;
}

/* ASCII Art Styling for homepage */
.ascii-title {
    font-family: "Courier New", monospace;
    white-space: pre;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
    margin: 15px 0;
    text-shadow: 0 0 8px currentColor;
    color: inherit;
    height: 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Settings Menu for homepage */
#settings-menu {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    border: 2px solid currentColor;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 1000;
    width: 200px;
    max-height: 150px;
    overflow-y: auto;
}

#settings-menu label {
    color: inherit;
    margin-right: 15px;
    text-shadow: inherit;
    display: block;
    margin-bottom: 5px;
}

#settings-menu select {
    background: transparent;
    color: inherit;
    border: 2px solid currentColor;
    padding: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    font-family: inherit;
    width: 100%;
}

#settings-menu input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(1.2);
}

/* Content sections */
.content-section {
    margin: 30px 0;
    padding: 20px;
    border: 2px solid currentColor;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.content-section h2 {
    margin-top: 0;
    text-align: center;
    border-bottom: 2px solid currentColor;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Navigation section */
.nav-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    border: 2px solid currentColor;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: currentColor;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.8);
}