/* Sidebar Modern Widget CSS */

.sidebarmodern-widget * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sidebarmodern-widget {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    line-height: 1.6;
    font-weight: 400;
}

.sidebarmodern-container {
    max-width: 350px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 
        0 40px 80px rgba(15, 23, 42, 0.06),
        0 20px 40px rgba(15, 23, 42, 0.04),
        0 10px 20px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(148, 163, 184, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sidebarmodern-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899, #f97316, #fbbf24, #7c3aed);
    background-size: 500% 100%;
    animation: luxuryShimmer 8s ease-in-out infinite;
    border-radius: 24px 24px 0 0;
    opacity: 0.9;
}

.sidebarmodern-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(600px circle at 30% 20%, rgba(124, 58, 237, 0.03), transparent 50%),
        radial-gradient(800px circle at 70% 80%, rgba(236, 72, 153, 0.02), transparent 50%);
    pointer-events: none;
    border-radius: 24px;
    z-index: 1;
}

@keyframes luxuryShimmer {
    0%, 100% { 
        background-position: -200% 0;
        opacity: 0.7;
    }
    50% { 
        background-position: 300% 0;
        opacity: 1;
    }
}

.sidebarmodern-sidebar-section {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.sidebarmodern-section-header {
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 30px rgba(15, 23, 42, 0.12),
        0 8px 16px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebarmodern-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.12), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.08), transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.sidebarmodern-section-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sidebarmodern-section-icon {
    font-size: 18px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 3px 6px rgba(249, 115, 22, 0.4));
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { 
        filter: drop-shadow(0 3px 6px rgba(249, 115, 22, 0.4));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 4px 8px rgba(249, 115, 22, 0.6));
        transform: scale(1.05);
    }
}

.sidebarmodern-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebarmodern-nav-item {
    margin-bottom: 8px;
}

.sidebarmodern-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.3);
    position: relative;
    overflow: hidden;
}

.sidebarmodern-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s ease;
}

.sidebarmodern-nav-link:hover::before {
    left: 100%;
}

.sidebarmodern-nav-link:hover {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(124, 58, 237, 0.15);
}

.sidebarmodern-nav-text {
    flex: 1;
}

.sidebarmodern-dropdown-arrow {
    font-size: 12px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.sidebarmodern-nav-link:hover .sidebarmodern-dropdown-arrow {
    color: #7c3aed;
    transform: translateX(2px);
}

.sidebarmodern-casino-link {
    color: #059669;
}

.sidebarmodern-casino-link:hover {
    color: #047857;
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15);
}

.sidebarmodern-casino-link::before {
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
}

.sidebarmodern-color-divider {
    height: 2px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6);
    margin: 20px 0;
    border-radius: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.sidebarmodern-color-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: dividerShine 3s ease-in-out infinite;
}

@keyframes dividerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile Responsive - Modern 2025 App Style */
@media (max-width: 768px) {
    /* Elementor container overrides for full width */
    .elementor-widget-sidebarmodern,
    .elementor-widget-sidebarmodern .elementor-widget-container,
    .sidebarmodern-widget {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .sidebarmodern-container {
        padding: 10px 8px;
        margin: 0 !important;
        border-radius: 0;
        min-height: auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto;
        box-shadow: 
            0 4px 20px rgba(15, 23, 42, 0.08),
            0 2px 10px rgba(15, 23, 42, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        background: rgba(248, 250, 252, 0.95);
        border: none;
    }

    .sidebarmodern-section-header {
        padding: 10px 12px;
        border-radius: 16px;
        margin-bottom: 8px;
        background: linear-gradient(135deg, #1e293b, #334155, #475569);
        box-shadow: 
            0 12px 24px rgba(15, 23, 42, 0.15),
            0 6px 12px rgba(15, 23, 42, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .sidebarmodern-section-title {
        font-size: 15px;
        gap: 8px;
        font-weight: 700;
    }

    .sidebarmodern-section-icon {
        font-size: 17px;
    }

    .sidebarmodern-nav-link {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 12px;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(226, 232, 240, 0.4);
        box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
    }

    .sidebarmodern-nav-link:hover {
        transform: translateX(3px) scale(1.02);
        box-shadow: 0 6px 12px rgba(124, 58, 237, 0.2);
    }

    .sidebarmodern-casino-link:hover {
        box-shadow: 0 6px 12px rgba(16, 185, 129, 0.2);
    }

    .sidebarmodern-nav-item {
        margin-bottom: 10px;
    }

    .sidebarmodern-sidebar-section {
        margin-bottom: 24px;
    }

    .sidebarmodern-color-divider {
        margin: 20px 0;
        height: 3px;
        border-radius: 2px;
        background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6, #ec4899);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    }

    /* Modern App-like touch interactions */
    .sidebarmodern-nav-link:active {
        transform: translateX(2px) scale(0.98);
        transition: all 0.1s ease;
    }

    .sidebarmodern-section-header:active {
        transform: scale(0.99);
        transition: all 0.1s ease;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    /* Elementor container overrides for full width */
    .elementor-widget-sidebarmodern,
    .elementor-widget-sidebarmodern .elementor-widget-container,
    .sidebarmodern-widget {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .sidebarmodern-container {
        padding: 8px 6px;
        border-radius: 0;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .sidebarmodern-section-header {
        padding: 8px 10px;
        border-radius: 14px;
    }

    .sidebarmodern-section-title {
        font-size: 14px;
    }

    .sidebarmodern-nav-link {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 10px;
    }

    .sidebarmodern-nav-item {
        margin-bottom: 6px;
    }
}

/* Dropdown Menu Styles */
.sidebarmodern-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(248, 250, 252, 0.95);
    border-radius: 8px;
    margin-top: 5px;
    border: 1px solid rgba(226, 232, 240, 0.4);
    backdrop-filter: blur(10px);
}

.sidebarmodern-dropdown-menu.open {
    max-height: 300px;
    transition: max-height 0.3s ease-in;
}

.sidebarmodern-dropdown-item {
    list-style: none;
    margin: 0;
}

.sidebarmodern-dropdown-link {
    display: block;
    padding: 8px 16px;
    color: #64748b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    border-radius: 6px;
    margin: 4px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.6);
}

.sidebarmodern-dropdown-link:hover {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    transform: translateX(3px);
}

.sidebarmodern-dropdown-arrow.open {
    transform: rotate(180deg);
}

/* Text Content Styles */
.sidebarmodern-top-text,
.sidebarmodern-bottom-text {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    border: 1px solid rgba(226, 232, 240, 0.3);
    backdrop-filter: blur(10px);
}

.sidebarmodern-top-text {
    margin-bottom: 20px;
}

.sidebarmodern-bottom-text {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #64748b;
}

.sidebarmodern-top-text p,
.sidebarmodern-bottom-text p {
    margin: 0 0 10px 0;
}

.sidebarmodern-top-text p:last-child,
.sidebarmodern-bottom-text p:last-child {
    margin-bottom: 0;
}

.sidebarmodern-top-text h1,
.sidebarmodern-top-text h2,
.sidebarmodern-top-text h3,
.sidebarmodern-top-text h4,
.sidebarmodern-top-text h5,
.sidebarmodern-top-text h6 {
    color: #1e293b;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.sidebarmodern-top-text a,
.sidebarmodern-bottom-text a {
    color: #7c3aed;
    text-decoration: none;
}

.sidebarmodern-top-text a:hover,
.sidebarmodern-bottom-text a:hover {
    color: #6d28d9;
    text-decoration: underline;
}

/* Mobile text content styles */
@media (max-width: 768px) {
    .sidebarmodern-top-text,
    .sidebarmodern-bottom-text {
        margin: 10px 0;
        padding: 12px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .sidebarmodern-bottom-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .sidebarmodern-top-text,
    .sidebarmodern-bottom-text {
        margin: 8px 0;
        padding: 10px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .sidebarmodern-bottom-text {
        font-size: 10px;
    }
} 