/* New Status Page Styles */
.status-new-container {
    padding: 0;
    color: #fff;
}

.status-new-container .statusPageHeader {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.status-new-container .statusPageMain {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.status-header {
    text-align: center;
    margin-bottom: 0;
    padding: 2rem;
}

.status-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #c084fc, #fff, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.status-header h1.animate {
    opacity: 1;
    transform: translateY(0);
}

.status-header p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s;
}

.status-header p.animate {
    opacity: 1;
    transform: translateY(0);
}

.refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #9333ea;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.refresh-btn.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.refresh-btn svg {
    transition: transform 0.3s ease;
}

.refresh-btn:hover {
    background: #7e22ce;
    transform: translateY(0) scale(1.05);
}

.refresh-btn:hover svg {
    transform: rotate(180deg);
}

.refresh-btn:active {
    transform: translateY(0) scale(0.95);
}

.refresh-btn:active svg {
    transform: rotate(360deg);
}

.status-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 0 2rem;
}

.summary-card {
    background: rgb(30, 33, 43);
    border: 1px solid rgb(30, 33, 43);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.summary-card:hover {
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.15);
    transform: translateY(-4px);
}

.summary-card:hover .summary-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.summary-card-icon {
    transition: transform 0.3s ease;
}

.summary-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(147, 51, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #a855f7;
}

.summary-card-content {
    flex: 1;
}

.summary-card-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.products-status-section {
    margin-bottom: 2.5rem;
    padding: 0 2rem;
}


.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
}

.section-header h2:hover {
    color: #c084fc;
    transform: translateX(5px);
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
    transition: color 0.3s ease, transform 0.3s ease;
}

.last-updated:hover {
    color: #c084fc;
    transform: translateX(-3px);
}

.last-updated svg {
    transition: transform 0.3s ease;
}

.last-updated:hover svg {
    transform: rotate(90deg);
}

.last-updated svg {
    width: 1rem;
    height: 1rem;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card {
    background: rgb(30, 33, 43);
    border: 1px solid rgb(30, 33, 43);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.2);
    transform: translateY(-4px);
}

@media (min-width: 768px) {
    .product-card {
        flex-direction: row;
    }
}


.product-image-container {
    position: relative;
    height: 8rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .product-image-container {
        width: 12rem;
        height: auto;
    }
}

.product-image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.product-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .product-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.product-info {
    flex: 1;
}

.product-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.product-tag {
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.product-tag.cheat {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

.product-tag.hwid {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.product-version {
    font-size: 0.875rem;
    color: #c084fc;
}

.product-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.product-updated svg {
    width: 0.75rem;
    height: 0.75rem;
}

.product-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .product-stats {
        width: 12rem;
    }
}

.product-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
}

.product-stat-value {
    font-weight: 500;
}

.product-status-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .product-status-action {
        flex-direction: column;
        justify-content: center;
        width: 8rem;
    }
}

.product-status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    background: #22c55e;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6), 0 0 12px rgba(34, 197, 94, 0.4);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-online {
    font-weight: 700;
    font-size: 1rem;
    color: #22c55e;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.5), 0 0 12px rgba(34, 197, 94, 0.3);
}

.details-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.3);
    color: #c084fc;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.details-btn:hover {
    background: rgba(147, 51, 234, 0.3);
    color: #c084fc;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(147, 51, 234, 0.3);
}

.details-btn svg {
    width: 0.875rem;
    height: 0.875rem;
}

.system-health-wrapper {
    padding: 0 2rem 2rem 2rem;
}

.system-health-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, color 0.3s ease, transform 0.3s ease;
}

.system-health-wrapper.animate .system-health-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.system-health-title:hover {
    color: #c084fc;
    transform: translateX(5px);
}

.system-health-section {
    background: rgb(30, 33, 43);
    border: 1px solid rgb(30, 33, 43);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.system-health-wrapper.animate .system-health-section {
    transition-delay: 0.3s;
}

.system-health-section:hover {
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.15);
}

.system-health-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.system-health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.health-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.health-service {
    display: flex;
    flex-direction: column;
}

.health-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.health-service-name {
    font-size: 0.875rem;
    font-weight: 500;
}

.health-service-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.health-service-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background: #22c55e;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6), 0 0 10px rgba(34, 197, 94, 0.4);
}

.health-service-text {
    font-weight: 700;
    color: #22c55e;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.5), 0 0 12px rgba(34, 197, 94, 0.3);
}

.health-bar-container {
    width: 100%;
    height: 0.75rem;
    background: #080712;
    border-radius: 9999px;
    overflow: hidden;
}

.health-bar {
    height: 100%;
    background: #22c55e;
    transition: width 0.1s;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-up-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-up-delay-3 {
    transition-delay: 0.3s;
}

/* Summary cards animation */
.summary-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.summary-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.summary-card:nth-child(1) {
    transition-delay: 0.1s;
}

.summary-card:nth-child(2) {
    transition-delay: 0.2s;
}

.summary-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Product cards animation */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.product-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* System Health animation */
.system-health-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.system-health-wrapper.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Health bar animation */
.health-bar {
    width: 0 !important;
    transition: width 1.2s ease-out;
}

.health-bar-container.animate .health-bar {
    width: 100% !important;
}

.health-bar-container[data-delay="1"].animate .health-bar {
    transition-delay: 0.1s;
}

.health-bar-container[data-delay="2"].animate .health-bar {
    transition-delay: 0.2s;
}

.health-bar-container[data-delay="3"].animate .health-bar {
    transition-delay: 0.3s;
}

.health-bar-container[data-delay="4"].animate .health-bar {
    transition-delay: 0.4s;
}

/* Health service animation */
.health-service {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.health-item.animate .health-service {
    opacity: 1;
    transform: translateY(0);
}

.health-item.animate .health-service:nth-child(1) {
    transition-delay: 0.1s;
}

.health-item.animate .health-service:nth-child(2) {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .status-header h1 {
        font-size: 2rem;
    }
    
    .summary-card {
        flex-direction: column;
        text-align: center;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-image-container {
        width: 100%;
    }
}

