.dnm-frontend-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #fff;
}

.dnm-frontend-container h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.dnm-selector {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.dnm-selector label {
    font-size: 16px;
    font-weight: 500;
}

.dnm-selector select {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    background: rgba(255,255,255,0.9);
    color: #333;
    min-width: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dnm-selector select:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dnm-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.dnm-button {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    background: #ff6b6b;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

.dnm-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
}

.dnm-button:active {
    transform: translateY(0);
}

.dnm-results {
    min-height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.dnm-loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
}

.dnm-number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    padding: 10px;
}

.dnm-number-item {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: default;
    animation: dnmFadeIn 0.5s ease;
}

.dnm-number-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #fff;
}

.dnm-number-item:nth-child(odd) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.dnm-number-item:nth-child(even) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.dnm-number-item:nth-child(3n) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.dnm-number-item:nth-child(5n) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
}

.dnm-no-results {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

@keyframes dnmFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .dnm-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dnm-selector select,
    .dnm-button {
        width: 100%;
    }
    
    .dnm-number-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 10px;
    }
    
    .dnm-number-item {
        font-size: 18px;
        padding: 12px;
    }
}