/* WordFlies Game Styles - Lobby and Mode Selection Only */


/* Game Lobby Styles */
.game-lobby {
    padding: 40px 0;
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}

.welcome-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.game-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.game-subtitle {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 30px;
}

/* Game Modes */
.game-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.mode-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 20px;
    flex: 1 1 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.mode-card h3 {
    margin-top: 10px;
    font-size: 1.4rem;
    color: #fff;
}

.mode-card p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Shape Selector */
.shape-selector {
    margin-top: 30px;
}

.shape-selector h4 {
    margin-bottom: 15px;
    color: #ddd;
}

.shape-options {
    display: flex;
    gap: 15px;
}

.shape-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shape-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.shape-btn.active {
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Shape button animations */
.shape-btn {
    position: relative;
    overflow: hidden;
}

.shape-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.shape-btn:hover::after {
    width: 100px;
    height: 100px;
}

/* Mode card animations */
.mode-card {
    position: relative;
}

.mode-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 15px;
    pointer-events: none;
}

.mode-card:hover::after {
    opacity: 1;
}

/* Floating letters */
.floating-letter {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}