:root {
    --primary-purple: #3e003e;
    --accent-pink: #e6007e;
    --text-white: #ffffff;
    --input-bg: #f5f5f5;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--primary-purple);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.navbar-brand img {
    height: 40px;
}

.btn-join-live {
    background-color: var(--accent-pink);
    color: white;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 0 10px var(--accent-pink);
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px var(--accent-pink), 0 0 20px var(--accent-pink);
    }
    to {
        box-shadow: 0 0 20px var(--accent-pink), 0 0 40px var(--accent-pink);
    }
}

/* Hero Section */
.hero-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.join-game-container {
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.join-label {
    color: black;
    font-weight: bold;
    padding-left: 1rem;
    white-space: nowrap;
}

.game-pin-input {
    border: none;
    flex-grow: 1;
    padding: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    outline: none;
    background: transparent;
    color: #333;
    font-weight: bold;
    letter-spacing: 1px;
}
.game-pin-input::placeholder {
    color: #aaa;
    font-weight: normal;
}

.btn-go {
    background-color: var(--accent-pink);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.btn-go:active {
    transform: scale(0.9);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-yellow {
    color: #ffcc00;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 320px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.btn-create-free {
    background-color: var(--accent-pink);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    max-width: 350px;
    display: block;
    text-decoration: none;
    margin-bottom: 4rem; /* Space for bottom nav */
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(128, 0, 128, 0.5); /* Semi-transparent background matching image */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
}

.nav-item-custom {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-item-custom:hover, .nav-item-custom.active {
    opacity: 1;
    color: white;
}

.nav-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
}
