/* Drops Widget CSS */
.drops-widget-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.drops-widget-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f5 100%);
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    font-variant-ligatures: common-ligatures;
    width: 100%;
    padding: 16px;
}

/* Header styling */
.drops-header-card {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.drops-main-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 100%;
}

/* Colorful gradient line */
.drops-gradient-line {
    height: 4px;
    background: linear-gradient(90deg, 
        #e53e3e 0%, 
        #ff6b6b 12%, 
        #ffa726 25%, 
        #ffeb3b 37%, 
        #66bb6a 50%, 
        #42a5f5 62%, 
        #ab47bc 75%, 
        #e91e63 87%, 
        #e53e3e 100%);
    border-radius: 4px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
    width: 100%;
}

/* Content cards styling */
.drops-content-card,
.drops-bottom-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 6px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.drops-description-text {
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
    width: 100%;
    text-align: left;
}

/* Games section styling */
.drops-games-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 32px;
    width: 100%;
}

.drops-games-title-card {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    grid-column: 1 / -1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.drops-games-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.drops-game-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(0, 0, 0, 0.03), 0 1px 5px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    width: 100%;
}

.drops-game-item:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.drops-game-header {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px 16px 0 0;
    width: 100%;
}

.drops-game-header:hover {
    background-color: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.drops-game-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drops-game-icon.aces { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.drops-game-icon.jackpot { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
}

.drops-game-icon.jacks { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
}

.drops-game-icon.bonus { 
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); 
}

.drops-game-icon.sevens { 
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); 
}

.drops-game-title {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    margin: 0;
    text-align: left;
}

.drops-dropdown-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    color: #6b7280;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
    transform: rotate(0deg);
}

.drops-game-item.expanded .drops-dropdown-arrow {
    transform: rotate(180deg) !important;
    color: #4f46e5;
}

.drops-game-content {
    max-height: 0 !important;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(243, 244, 246, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    padding: 0 16px 0 16px;
}

.drops-game-item.expanded .drops-game-content {
    max-height: 220px !important;
    padding: 0 16px 16px 16px !important;
}

.drops-game-description {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 12px;
    width: 100%;
    text-align: left;
}

.drops-game-features {
    margin-top: 12px;
    width: 100%;
}

.drops-game-features h4 {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: left;
}

.drops-feature-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.drops-feature-list li {
    color: #4b5563;
    font-size: 0.85rem;
    padding: 2px 0;
    position: relative;
    padding-left: 14px;
    line-height: 1.5;
    text-align: left;
    width: 100%;
}

.drops-feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Additional smooth effects */
.drops-widget-container * {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

/* DESKTOP SPECIFIC - Ensure accordion works on all screen sizes */
@media (min-width: 769px) {
    .drops-game-content {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 0 16px 0 16px !important;
    }

    .drops-game-item.expanded .drops-game-content {
        max-height: 220px !important;
        padding: 0 16px 16px 16px !important;
    }

    .drops-dropdown-arrow {
        transform: rotate(0deg) !important;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .drops-game-item.expanded .drops-dropdown-arrow {
        transform: rotate(180deg) !important;
        color: #4f46e5 !important;
    }

    .drops-game-item {
        cursor: pointer !important;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .drops-widget-container {
        padding: 12px;
        width: 100%;
        margin: 0;
    }

    .drops-header-card {
        padding: 16px;
        border-radius: 12px;
        width: 100%;
        margin: 0 0 6px 0;
    }

    .drops-main-title {
        font-size: 1.9rem;
        width: 100%;
        text-align: center;
    }

    .drops-content-card,
    .drops-bottom-content {
        padding: 16px;
        border-radius: 12px;
        width: 100%;
        margin: 0 0 16px 0;
    }

    .drops-description-text {
        font-size: 0.95rem;
        width: 100%;
        text-align: left;
    }

    .drops-games-section {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
        width: 100%;
    }

    .drops-games-title-card {
        padding: 12px 16px;
        margin-bottom: 12px;
        border-radius: 12px;
        width: 100%;
    }

    .drops-games-title {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }

    .drops-game-item {
        width: 100%;
        border-radius: 12px;
    }

    .drops-game-header {
        padding: 12px;
        width: 100%;
    }

    .drops-game-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
        font-size: 0.9rem;
    }

    .drops-game-title {
        font-size: 1rem;
        width: 100%;
        text-align: left;
    }

    .drops-game-description {
        font-size: 0.85rem;
        width: 100%;
        text-align: left;
    }

    .drops-feature-list li {
        font-size: 0.8rem;
        width: 100%;
        text-align: left;
    }

    .drops-game-item.expanded .drops-game-content {
        max-height: 200px;
        padding: 0 12px 12px 12px;
        width: 100%;
    }

    .drops-dropdown-arrow {
        width: 16px;
        height: 16px;
    }

    .drops-game-features {
        width: 100%;
    }

    .drops-game-features h4 {
        text-align: left;
        width: 100%;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .drops-widget-container {
        padding: 8px;
        width: 100%;
    }

    .drops-header-card {
        padding: 12px;
        width: 100%;
    }

    .drops-main-title {
        font-size: 1.6rem;
        width: 100%;
        text-align: center;
    }

    .drops-content-card,
    .drops-bottom-content {
        padding: 12px;
        width: 100%;
    }

    .drops-description-text {
        font-size: 0.9rem;
        width: 100%;
        text-align: left;
    }

    .drops-games-title-card {
        padding: 10px 12px;
        width: 100%;
    }

    .drops-games-title {
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .drops-game-header {
        padding: 10px;
        width: 100%;
    }

    .drops-game-icon {
        width: 32px;
        height: 32px;
        margin-right: 8px;
        font-size: 0.8rem;
    }

    .drops-game-title {
        font-size: 0.95rem;
        width: 100%;
        text-align: left;
    }

    .drops-game-description {
        font-size: 0.8rem;
        width: 100%;
        text-align: left;
    }

    .drops-feature-list li {
        font-size: 0.75rem;
        width: 100%;
        text-align: left;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Editor specific styles - FIXED for desktop compatibility */
.elementor-editor-active .drops-widget-container {
    min-height: 400px;
}

/* IMPORTANT: Enable clicks in editor preview */
.elementor-editor-active .drops-game-item {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Preview first item as expanded in editor ONLY when actually expanded */
.elementor-editor-active .drops-game-item:first-child {
    background: rgba(255, 255, 255, 0.98);
}

/* Ensure JavaScript controls expansion even in editor */
.elementor-editor-active .drops-game-content {
    max-height: 0 !important;
    padding: 0 16px 0 16px !important;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.elementor-editor-active .drops-game-item.expanded .drops-game-content {
    max-height: 220px !important;
    padding: 0 16px 16px 16px !important;
}

.elementor-editor-active .drops-dropdown-arrow {
    transform: rotate(0deg) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.elementor-editor-active .drops-game-item.expanded .drops-dropdown-arrow {
    transform: rotate(180deg) !important;
    color: #4f46e5 !important;
}

/* RTL Support */
.rtl .drops-game-header {
    direction: rtl;
}

.rtl .drops-game-icon {
    margin-right: 0;
    margin-left: 14px;
}

.rtl .drops-feature-list li {
    padding-left: 0;
    padding-right: 14px;
}

.rtl .drops-feature-list li:before {
    left: auto;
    right: 0;
} 