/* Enhanced styling for game description */
.game-description-container {
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid rgba(79, 70, 229, 0.2);
    padding: 1.5rem;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    max-width: 95%;
}

.game-description-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        145deg, 
        rgba(79, 70, 229, 0.1), 
        rgba(99, 102, 241, 0.05) 30%,
        rgba(79, 70, 229, 0.1) 60%,
        rgba(99, 102, 241, 0.05)
    );
    background-size: 300% 300%;
    animation: smooth-gradient 20s linear infinite;
    z-index: 0;
}

.game-description {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-primary);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.game-description-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}
.highlight-yellow {
    color: #d7af10;
    font-weight: 600;
}

.game-description-icon {
    font-size: 1.4rem;
    color: var(--accent-primary);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

.game-description-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* Make game instructions content unselectable but maintain hover effects */
.game-instructions {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-description {
        font-size: 1rem;
    }
    
    .game-description-title {
        font-size: 1.2rem;
    }
}

@keyframes smooth-gradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

/* Styles for the navbar title link */
.nav-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.nav-title-link:hover {
    text-decoration: none;
}
