:root {
    --bg-dark: #0f172a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}
.bg-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('bg.jpg');
    background-size: cover; background-position: center; z-index: -2;
}
.bg-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: -1;
}
.main-wrapper {
    display: flex; flex-direction: column; min-height: 100vh;
    position: relative; z-index: 1;
}
header { padding: 30px 20px; text-align: center; }
.logo-text { font-size: 1.8rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.site-logo { height: 48px; width: auto; object-fit: contain; }
.hero-section {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; align-items: center; padding: 20px;
}
.hero-title {
    font-size: 2.2rem; font-weight: 700; margin-bottom: 10px;
    text-align: center; text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero-subtitle {
    color: var(--text-secondary); margin-bottom: 50px;
    text-align: center; max-width: 600px;
}
.cards-container {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}
.card {
    position: relative; display: block;
    width: 260px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px;
    padding: 20px; text-decoration: none; color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden; cursor: pointer;
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.card-glow {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--card-bg); opacity: 0; transition: opacity 0.4s ease; z-index: 0;
}
.card:hover .card-glow { opacity: 1; }
.card-shine {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg); transition: 0.5s; z-index: 1; pointer-events: none;
}
.card:hover .card-shine { left: 150%; transition: 0.7s ease-in-out; }
.card-top {
    position: relative; z-index: 2; display: flex;
    align-items: center; margin-bottom: 24px;
}
.card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(255,255,255,0.1); display: flex;
    align-items: center; justify-content: center;
    margin-right: 16px; overflow: hidden;
}
.card-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card-info { flex: 1; }
.card-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.card-status { display: flex; align-items: center; font-size: 0.8rem; color: var(--text-secondary); }
.status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background-color: #ef4444; margin-right: 6px; box-shadow: 0 0 8px currentColor;
}
.status-dot--active {
    background-color: #22c55e; box-shadow: 0 0 8px #22c55e;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.refresh-btn-static {
    width: 28px; height: 28px; border-radius: 8px;
    background: rgba(255,255,255,0.05); display: flex;
    align-items: center; justify-content: center;
    color: var(--text-secondary); transition: 0.3s;
}
.card:hover .refresh-btn-static {
    background: rgba(255,255,255,0.15); color: #fff; transform: rotate(180deg);
}
.card-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px; background: rgba(255,255,255,0.05); border-radius: 12px;
    font-weight: 600; font-size: 0.85rem; transition: 0.3s;
    position: relative; z-index: 2;
}
.card:hover .card-btn { background: rgba(255,255,255,0.15); color: #fff; }
.site-runtime {
    text-align: center; padding: 16px 20px; margin-bottom: 0;
    font-size: 0.9rem; color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px; font-variant-numeric: tabular-nums;
}
.site-runtime .runtime-value { color: #22c55e; font-weight: 600; }
.seo-footer {
    padding: 40px 20px; text-align: center;
    background: rgba(0,0,0,0.3); backdrop-filter: blur(5px);
}
.seo-footer h2 { font-size: 1.1rem; margin-bottom: 10px; color: #fff; }
.seo-footer p {
    font-size: 0.9rem; color: rgba(255,255,255,0.5);
    max-width: 700px; margin: 0 auto; line-height: 1.6;
}
.copyright { margin-top: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.3); }
@media (max-width: 1200px) {
    .card { width: 300px; }
}
@media (max-width: 768px) {
    .cards-container { gap: 12px; }
    .card { width: calc(50% - 6px); padding: 16px; }
    .card-icon { width: 40px; height: 40px; }
    .card-name { font-size: 1rem; }
    .card-btn { padding: 8px; font-size: 0.8rem; }
    .hero-title { font-size: 1.8rem; }
    .site-runtime { font-size: 0.8rem; }
}