* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #4a90e2 50%, #50c9c3 75%, #74ebd5 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    padding: 20px;
    color: #fff;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255,255,255,0.5), 0 0 40px rgba(255,255,255,0.3);
    animation: glow 2s ease-in-out infinite alternate;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255,255,255,0.5), 0 0 40px rgba(255,255,255,0.3); }
    to { text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 60px rgba(255,255,255,0.5); }
}

.subtitle {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 300;
}

.info-notice {
    text-align: center;
    font-size: 1em;
    margin: 0 auto 40px auto;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-notice a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.info-notice a:hover {
    color: #74ebd5;
}

/* Legend Styles */
.legend-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin: 0 auto 40px auto;
    max-width: 900px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.legend-container h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.4);
    font-weight: 600;
    letter-spacing: 2px;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.legend-box {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    font-size: 0.9em;
}

.legend-text {
    color: #fff;
    font-size: 0.95em;
    flex: 1;
}

h2 {
    margin: 40px 0 20px 0;
    font-size: 2em;
    text-align: center;
    text-shadow: 0 0 15px rgba(255,255,255,0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.table-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: fadeIn 0.6s ease-in;
    width: 100%;
    max-width: 100%;
}

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

table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

th {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 18px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    width: 16.66%;
}

th:first-child {
    border-top-left-radius: 15px;
    width: 16.66%;
}

th:last-child {
    border-top-right-radius: 15px;
}

td {
    padding: 15px 12px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 16.66%;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}

/* Status styles with gradients and animations */
.ok, .green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.warning, .yellow {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: blink 1.5s ease-in-out infinite;
}

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

.not-ok, .red {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%) !important;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.grey {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%) !important;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.not-found, td:contains("Not Found") {
    background: rgba(150, 150, 150, 0.3) !important;
    color: #666 !important;
    font-style: italic;
}

.error {
    background: linear-gradient(135deg, #434343 0%, #000000 100%) !important;
    color: white !important;
    font-weight: 600;
}

/* Hover effects */
tr:hover td {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

td:hover {
    transform: scale(1.1) !important;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

/* First column styling */
td:first-child {
    font-weight: 700;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.2) 0%, rgba(42, 82, 152, 0.2) 100%) !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Clickable cell styling */
.clickable {
    cursor: pointer;
    position: relative;
}

.clickable:hover {
    filter: brightness(1.1);
}

.cell-link {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.cell-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .table-container {
        padding: 15px;
    }
    
    th, td {
        padding: 10px 5px;
        font-size: 0.9em;
    }
}

/* Loading animation for cache refresh */
.refreshing {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-fk墨�n���ƭy߾