:root {
    --accent-color: dodgerblue;
    --dark-accent-color: steelblue;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #1a1a2e, #16213e, #0f3460); /* Subtle dark blue gradient */
    color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.header {
    text-align: center;
    margin: 20px 0;
}
.header img {
    width: 100%;
    max-width: 640px;
    height: auto;
    border: 0.25rem outset var(--dark-accent-color);
    box-sizing: border-box;
}
.navbar {
    text-align: center;
    margin: 10px 0;
}
.navbar a {
    color: var(--accent-color);
    text-decoration: none; /* Ensure no default underline */
    margin: 0 10px;
    position: relative; /* For ::after positioning */
    transition: transform 0.2s ease-in-out; /* For text enlargement */
}
.navbar a:hover {
    transform: scale(1.05); /* Text enlargement */
}
.navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; /* Position at the bottom of the text */
    width: 100%; /* Span full width of the text */
    height: 0; /* Start hidden */
    background-color: var(--accent-color);
    transition: height 0.2s ease-out; /* Animate height for bottom-up effect */
}
.navbar a:hover::after {
    height: 2px; /* Visible height of the animated stripe */
}
.content {
    text-align: center;
    margin: 20px;
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding: 20px 0;
}
.footer {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background-size: cover;
    color: var(--accent-color);
}
.footer img {
    max-width: 150px;
    height: auto;
}
.footer small {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #ccc;
}

/* Page-specific styles from donate.html */
.donate-section {
    margin-top: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.donate-section h2 {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 5px;
}
.donate-section h2:hover {
    cursor: pointer;
}
.donate-section p {
    margin: 15px 0;
    line-height: 1.6;
}
.donate-section .wallet {
    margin: 15px 0;
    padding: 10px;
    background-color: #222;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    word-wrap: break-word;
}
.donate-section img {
    max-width: 164px;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* Page-specific styles from games.html & services.html */
.services-section {
    margin-top: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.services-section h2 {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 5px;
}
.services-section h2:hover {
    cursor: pointer;
}
.services-section p {
    margin: 15px 0;
    line-height: 1.6;
}
.services-section a {
    color: var(--accent-color);
    text-decoration: none;
}
.services-section a:hover {
    text-decoration: underline;
}

/* Page-specific styles for chat.html */
.chat-section {
    margin-top: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.chat-section h2 {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 5px;
}
.chat-section p {
    margin: 15px 0;
    line-height: 1.6;
}
.chat-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.chat-section li {
    margin: 10px 0;
}
.chat-section a {
    color: var(--accent-color);
    text-decoration: none;
}
.chat-section a:hover {
    text-decoration: underline;
}
