.shiny-button-container {
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.shiny-button-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.shiny-button {
    width: 100%;
    height: 100%;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    padding: 1.5rem !important;
    background: linear-gradient(45deg, #FF9800, #FFC107) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.shiny-button:hover {
    background: linear-gradient(45deg, #F57C00, #FFA000) !important;
    transform: scale(1.02);
}

.achievements-box {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.achievements-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--mud-palette-primary-lighten);
    border-radius: 50%;
    transform: translate(30%, -30%);
    opacity: 0.1;
}

.achievement-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.achievement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--mud-palette-primary-lighten);
}

.achievement-icon {
    width: 56px;
    height: 56px;
    margin-right: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-primary-lighten);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.1);
    background: var(--mud-palette-primary);
}

.achievement-item:hover .achievement-icon i {
    color: white !important;
}

.achievement-info {
    flex: 1;
}

.achievement-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--mud-palette-text-primary);
}

.achievement-description {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.4;
}

.game-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-box-style, .game-box-style-snake, .game-box-style-maze, .game-box-style-pattern {
    width: 350px;
    height: 450px;
    border-radius: 16px;
}

.game-box-style {
    background: linear-gradient(135deg, #f5f3ff 0%, #e8e5ff 100%);
}

.game-box-style-snake {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.game-box-style-maze {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}
.game-box-style-pattern {
    background: linear-gradient(135deg, #efc134 0%, #c8e6c9 100%);
}
.game-glow-box {
    background: rgba(255,255,255,0.10);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10), 0 0 24px 4px var(--game-glow, #7e6fff);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
    backdrop-filter: blur(2px);
}

    .game-glow-box:hover {
        box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18), 0 0 32px 8px var(--game-glow, #7e6fff);
        transform: translateY(-4px) scale(1.03);
    }

.game-glow-math-memory {
    --game-glow: #7e6fff;
}

.game-glow-snake {
    --game-glow: #ff9800;
}

.game-glow-maze {
    --game-glow: #4caf50;
}

.game-glow-pattern {
    --game-glow: #2196f3;
}

.game-glow-sudoku {
    --game-glow: #9c27b0;
}

.game-glow-rocket-rush {
    --game-glow: #ff6b35;
}

.game-glow-drag-race {
    --game-glow: #e74c3c;
}

.game-glow-alchemist {
    --game-glow: #667eea;
}

.user-card-component {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 75%, #eff2f7 100%);
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow:
        0 6px 18px rgba(16, 24, 40, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    overflow: visible;
    color: #2b2b2b;
}

/* Disable top highlight overlay so text stays crisp */
.user-card-component::before { display: none; }

.user-card-component::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -42px;
    transform: translateX(-50%);
    width: 80%;
    height: 65%;
    background: radial-gradient(60% 80% at 50% 0%, rgba(255, 99, 132, 0.45) 0%, rgba(255, 99, 132, 0.18) 45%, transparent 70%);
    filter: blur(18px);
    z-index: -1;
}

.user-card-component:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 28px rgba(16, 24, 40, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

/* Typography tweaks inside the user card */
.user-card-component .mud-typography-h5 {
    color: #2a2f36;
}

.user-card-component .mud-typography-body1 {
    color: #4a4f57 !important; /* override inline color on Grade */
}