body {
    background: #0a0a0a !important;
}

.page-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 50px;
    text-shadow: 0 0 15px rgba(255,255,255,0.4),
                 0 0 30px rgba(255,255,255,0.3),
                 0 0 45px rgba(255,255,255,0.2);
    animation: fadeIn 0.8s ease;
}

.game-section {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideUp 0.5s ease;
}

.game-section:hover {
    border-color: #333;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.game-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.3s ease;
}

.game-header:hover {
    background: #151515;
}

.game-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.game-name {
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.expand-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    text-shadow: 0 0 5px rgba(255,255,255,0.2);
}

.game-section.active .expand-icon {
    transform: rotate(180deg);
}

.products-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.game-section.active .products-container {
    max-height: 2000px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.product-card {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.product-card:hover {
    border-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255,255,255,0.08);
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 5px rgba(255,255,255,0.2);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
    animation: glow 2s ease-in-out infinite;
}

.status-detected {
    color: #ff4444;
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5),
                0 0 20px rgba(255, 68, 68, 0.3);
}

.status-updating {
    color: #ff9800;
    border-color: #ff9800;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5),
                0 0 20px rgba(255, 152, 0, 0.3);
}

.status-undetected {
    color: #00ff00;
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5),
                0 0 20px rgba(0, 255, 0, 0.3);
}

.product-dates {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #888;
}

.date-item {
    display: flex;
    flex-direction: column;
}

.date-label {
    margin-bottom: 3px;
}

.date-value {
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #111;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

.modal-title {
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.modal-close:hover {
    color: #ff4444;
    transform: rotate(90deg);
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.changelog-content {
    color: #ccc;
    line-height: 1.8;
    white-space: pre-wrap;
    font-size: 15px;
}

@keyframes glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .game-name {
        font-size: 18px;
    }
    
    .modal-content {
        padding: 25px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 22px;
    }
}
