/* Dark Mode Styles */

body.darkmode-active {
    background: #181a1b;
    color: #fff;
}
.darkmode-active .index-container,
.darkmode-active .social-container {
    background: #23272a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.darkmode-active .navbar {
    background: #111;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.darkmode-active .navbar a {
    color: #fff;
}
.darkmode-active .navbar a:hover {
    color: #4fc3f7;
}
.darkmode-active .social-link.instagram {
    background: linear-gradient(45deg, #4e2a2a, #3a1c3a, #1a2a3a);
}
.darkmode-active .social-link.youtube {
    background: #7a0000;
}
.darkmode-active .social-link.github {
    background: #181a1b;
}

body.darkmode-active h1, body.darkmode-active p {
    color: #fff;
}

/* Global Styles */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f9f9f9;
}

/* Container */
.index-container {
    max-width: 700px;
    margin: 3em auto;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Typography */
h1 {
    margin-top: 0;
    color: #222;
}
p {
    color: #444;
    line-height: 1.6;
}

/* Navbar Styles */

.navbar {
    background: #222;
    padding: 0.5em 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.navbar li {
    margin: 0 1.5em;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.navbar a:hover {
    color: #4fc3f7;
}

/* Social Links */

.social-container {
    max-width: 400px;
    margin: 60px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px;
    text-align: center;
}
.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 12px 0;
    border-radius: 8px;
    transition: background 0.2s;
}
.social-link.reddit { background: #ff4500; }
.social-link.instagram { background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB); }
.social-link.youtube { background: #ff0000; }
.social-link.github { background: #24292e; }
.social-link.discord { background: #7289da; }
.social-link svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}
.social-link:hover {
    opacity: 0.85;
}