.hero-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.dark .hero-bg {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.dark .card-hover:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}
body {
    font-family: "Inter", sans-serif;
}
.theme-toggle {
    transition: background 0.3s ease;
}
/* Position the toggle button fixed in the top right corner */
#theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background: rgba(255 255 255 / 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.3s ease;
}
#theme-toggle:hover {
    background: rgba(255 255 255 / 0.3);
}
#theme-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}
#theme-toggle span {
    margin-left: 0.5rem;
    user-select: none;
}
/* Discord button style */
#discord-join {
    background: #5865f2;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
    text-decoration: none;
    font-size: 1.125rem;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.39);
}
#discord-join:hover {
    background: #4752c4;
    box-shadow: 0 6px 20px rgba(71, 82, 196, 0.6);
}
#discord-join svg {
    width: 1.5rem;
    height: 1.5rem;
}