.menu-item-has-children {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 250px;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.sub-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin: 0 8px;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
    border-radius: 6px;
    margin: 2px 0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.sub-menu a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.sub-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sub-menu a:hover:before {
    left: 100%;
}

.menu-item-casino > a {
    position: relative;
}

.menu-item-casino > a:after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.menu-item-casino:hover > a:after {
    transform: rotate(180deg);
}

/* Mobile dropdown menu fixes */
@media (max-width: 768px) {
    .sub-menu {
        position: static;
        display: none;
        background: rgba(255,255,255,0.95);
        backdrop-filter: none;
        border-radius: 4px;
        margin: 5px 0;
        transform: none;
        opacity: 1;
    }
    
    .menu-item-has-children.mobile-open .sub-menu {
        display: block;
    }
    
    .sub-menu a {
        color: #333;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .sub-menu a:hover {
        background: #f0f0f0;
        transform: none;
    }
}