* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: rgba(15, 25, 35, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

header {
    background: linear-gradient(90deg, #1a2980, #26d0ce);
    padding: 25px 40px;
    text-align: center;
    border-bottom: 3px solid #ffcc00;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.8rem;
    color: #ffcc00;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.main-content {
    padding: 30px;
}

.control-panel {
    background-color: rgba(40, 60, 80, 0.7);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    border: 2px solid #3a7bd5;
}

.control-item {
    flex: 1;
    min-width: 200px;
}

.control-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #a3d9ff;
}

.control-item select, .control-item input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px solid #3a7bd5;
    background-color: #1e3a5c;
    color: white;
    font-size: 1rem;
}

.mode-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.mode-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #3a7bd5;
    background-color: #1e3a5c;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.mode-btn.active {
    background-color: #3a7bd5;
    color: white;
    box-shadow: 0 0 10px rgba(58, 123, 213, 0.7);
}

.mode-btn:hover {
    background-color: #2a5ba0;
}

.generate-btn, .reset-btn {
    padding: 14px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.generate-btn {
    background: linear-gradient(90deg, #ff5e62, #ff9966);
    color: white;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 94, 98, 0.4);
}

.reset-btn {
    background: linear-gradient(90deg, #4776E6, #8E54E9);
    color: white;
}

.reset-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(142, 84, 233, 0.4);
}

.loading-animation {
    text-align: center;
    padding: 50px;
    display: none;
}

.slot-machine {
    width: 200px;
    height: 120px;
    background: linear-gradient(90deg, #8B0000, #B22222);
    border-radius: 15px;
    margin: 0 auto 30px;
    position: relative;
    border: 8px solid #DAA520;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.slot-reel {
    width: 150px;
    height: 80px;
    background-color: #000;
    border-radius: 10px;
    position: absolute;
    top: 20px;
    left: 25px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slot-symbol {
    font-size: 2.5rem;
    margin: 0 10px;
    animation: spin 1.5s infinite linear;
    animation-delay: calc(var(--i) * 0.1s);
}

.slot-handle {
    width: 30px;
    height: 60px;
    background-color: #DAA520;
    position: absolute;
    right: -30px;
    top: 30px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

@keyframes spin {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100px); }
}

.recommendation-container {
    display: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3a7bd5;
}

.section-title i {
    font-size: 2rem;
    color: #ffcc00;
}

.section-title h2 {
    font-size: 1.8rem;
}

.gacor-badge {
    background: linear-gradient(90deg, #ff5e62, #ff9966);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: auto;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.recommendation-card {
    background-color: rgba(30, 45, 60, 0.8);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #3a7bd5;
    transition: transform 0.3s, box-shadow 0.3s;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.recommendation-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #a3d9ff;
    font-size: 1.3rem;
}

.game-image, .pattern-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.game-image img, .pattern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.hot-indicator {
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.game-details h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.game-details p {
    color: #ccc;
    margin-bottom: 10px;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.rating-stars {
    color: #ffcc00;
}

.volatility {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volatility-label {
    color: #ccc;
}

.volatility-value {
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 5px;
}

.volatility-value.high {
    background-color: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}

.pattern-details h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.pattern-details p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pattern-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.stat-label {
    color: #a3d9ff;
}

.stat-value {
    font-weight: 700;
}

.stat-value.turbo {
    color: #ff9966;
}

.stat-value.success {
    color: #4CAF50;
}

.betting-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.betting-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.betting-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #4776E6, #8E54E9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.betting-text h4 {
    font-size: 1rem;
    color: #a3d9ff;
    margin-bottom: 5px;
}

.betting-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffcc00;
}

.betting-chart h4 {
    margin-bottom: 15px;
    color: #a3d9ff;
}

.chart-container {
    width: 100%;
    height: 150px;
}

.id-display {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.id-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a7bd5;
}

.id-header i {
    font-size: 2rem;
    color: #ffcc00;
}

.id-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.id-label {
    color: #a3d9ff;
}

.id-value {
    font-weight: 700;
}

.gacor-id {
    color: #ffcc00;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.copy-btn {
    background-color: #3a7bd5;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meter-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.meter-bar {
    flex: 1;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    width: 100%;
}

.meter-value {
    font-weight: 700;
    color: #4CAF50;
    min-width: 40px;
}

.id-tips h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #a3d9ff;
}

.id-tips ul {
    list-style-type: none;
    padding-left: 10px;
}

.id-tips li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.id-tips li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.disclaimer {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.disclaimer p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.disclaimer i {
    color: #ff9966;
    font-size: 1.2rem;
    margin-top: 3px;
}

footer {
    background-color: rgba(20, 30, 40, 0.9);
    padding: 20px 40px;
    text-align: center;
    border-top: 2px solid #3a7bd5;
}

footer p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #a3d9ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
    .control-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
    
    .betting-details {
        grid-template-columns: 1fr;
    }
    
    .pattern-stats {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}