body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

header {
    margin-top: 3rem;
}

header h1 {
    font-size: 3rem;
    margin: 0;
    color: #ffffff;
}

header p {
    font-size: 1.25rem;
    color: #b0b0b0;
    margin-top: 0.5rem;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Button Base */
.btn, .btn-alt {
    display: inline-block;
    min-width: 160px;       /* keeps them consistent */
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.25s ease-in-out, transform 0.15s ease-in-out;
}

/* Default Game button (blue) */
.btn {
    background: #1e88e5;
    color: white;
}
.btn:hover {
    background: #1565c0;
}

/* Login/Register buttons (purple → green) */
.btn-alt {
    background: #7e57c2; /* pleasant purple */
    color: white;
}
.btn-alt:hover {
    background: #43a047; /* pleasant green */
    transform: scale(1.03);
}
.btn-alt:active {
    background: #2e7d32; /* deeper green on click */
    transform: scale(0.97);
}


.faded {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

footer {
    margin-bottom: 1rem;
}

footer a {
    color: #1e88e5;
    margin: 0 0.75rem;
    text-decoration: none;
    font-size: 0.9rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Hero Banner */
#hero-banner {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 250px;
    margin: 2rem auto 1rem auto;
    border: 4px solid #9d4edd;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    text-align: center;
    color: #eee;
    background: rgba(20, 10, 30, 0.6);
}

/* Glowing border animation */
@keyframes glow {
    0%   { box-shadow: 0 0 20px rgba(157, 78, 221, 0.6); }
    50%  { box-shadow: 0 0 30px rgba(157, 78, 221, 0.9); }
    100% { box-shadow: 0 0 20px rgba(157, 78, 221, 0.6); }
}
#hero-banner {
    animation: glow 3s infinite ease-in-out;
}

/* Slide container */
.hero-slide-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Individual slides */
.hero-slide {
    display: none;
    padding: 1rem;
    line-height: 1.4;
}
.hero-slide.active {
    display: block;
}

/* Navigation arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(50, 20, 80, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}
.hero-nav:hover {
    background: rgba(157, 78, 221, 0.8);
}
.hero-nav.left {
    left: 10px;
}
.hero-nav.right {
    right: 10px;
}
