/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header, footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.header-content h1 {
    font-size: 2.5em;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Skip Link for accessibility */
.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    background-color: #000;
    color: #fff;
    padding: 10px;
    z-index: 100;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

/* Logo */
.logo {
    max-width: 100%;
    height: auto;
}

/* Navigation Menu */
nav {
    background-color: #333;
    color: #fff;
    padding: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    font-size: 1.2em;
}

#menuToggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5em;
}

#toggleDarkMode {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5em;
}

/* Main Content */
main {
    padding: 20px;
    text-align: center;
}

h1, h2 {
    color: #333;
}

/* Donate Button */
.donate-button img {
    display: block;
    margin: 0 auto;
}

/* Radio Player */
.radio-player {
    text-align: center;
    margin: 20px 0;
}

iframe {
    width: 100%;
    height: 150px;
    border: none;
}

/* Footer */
footer {
    padding: 10px;
}

footer p {
    margin: 0;
}

/* Social Links */
.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.social-links li {
    margin: 0 10px;
}

.social-links a {
    color: #fff;
    font-size: 1.5em;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode header, 
body.dark-mode footer, 
body.dark-mode nav {
    background-color: #1e1e1e;
}

body.dark-mode a {
    color: #bb86fc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 1.8em;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .radio-player iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    nav ul li {
        margin: 5px 0;
    }
}

/* Dynamic Quote Container */
.quote-container {
    background-color: #2a2a2a;
    color: #ffd700;
    padding: 10px 20px;
    margin: 15px auto 0;
    max-width: 800px;
    border-radius: 5px;
    font-style: italic;
    font-size: 1.1em;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    border-left: 4px solid #ffd700;
}

body.dark-mode .quote-container {
    background-color: #ffd700;
    color: #121212;
    border-left: 4px solid #fff;
}

/* Featured Games/Apps */
.featured-additions {
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 900px;
}

body.dark-mode .featured-additions {
    background-color: #1e1e1e;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.featured-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px 20px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    display: block;
}

body.dark-mode .feature-card {
    background: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
}

.feature-card:hover, .feature-card:focus {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    outline: 2px solid #0066cc;
}

body.dark-mode .feature-card:hover, body.dark-mode .feature-card:focus {
    box-shadow: 0 12px 20px rgba(0,0,0,0.4);
    outline: 2px solid #bb86fc;
}

.feature-icon {
    font-size: 3em;
    color: #0066cc;
    margin-bottom: 15px;
    display: block;
}

body.dark-mode .feature-icon {
    color: #bb86fc;
}
