/* Base styles & reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Menggunakan font bawaan sistem agar offline tetap bagus (Roboto di Android, Segoe UI di Windows, San Francisco di Apple) */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Background Gradients */
.bg-index {
    background: linear-gradient(to bottom right, #eff6ff, #e0e7ff);
}
.bg-gagal {
    background: linear-gradient(to bottom right, #fef2f2, #ffe4e6);
}

/* Typography */
h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.subtitle {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.description {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}
.text-gagal {
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Card Container */
.card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 2rem;
    text-align: center;
    border: 1px solid #f3f4f6;
}
.card-lg { max-width: 32rem; }
.card-md { max-width: 28rem; }

/* Server Selection Boxes */
.server-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.server-box {
    display: block;
    text-decoration: none;
    background-color: #ffffff;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.server-alpha { border-color: #3b82f6; }
.server-alpha:hover {
    background-color: #eff6ff;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}
.server-alpha:hover h3 { color: #1d4ed8; }

.server-lokal { border-color: #fb923c; }
.server-lokal:hover {
    background-color: #fff7ed;
    box-shadow: 0 4px 6px -1px rgba(251, 146, 60, 0.1);
}
.server-lokal:hover h3 { color: #ea580c; }

/* Badges */
.badge {
    display: inline-block;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.badge-blue { background-color: #3b82f6; }
.badge-orange { background-color: #fb923c; }

/* Images and Icons */
.img-container {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.img-container img {
    max-height: 100%;
    object-fit: contain;
}
.fallback-icon {
    width: 3.5rem;
    height: 3.5rem;
}
.text-blue { color: #3b82f6; }
.text-orange { color: #fb923c; }

/* Gagal Page Elements */
.warning-icon-bg {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem auto;
    background-color: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}
.warning-icon {
    width: 3rem;
    height: 3rem;
    color: #ef4444;
}
.btn-back {
    display: block;
    width: 100%;
    background-color: #ef4444;
    color: #ffffff;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
    font-size: 1rem;
}
.btn-back:hover {
    background-color: #dc2626;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3);
}

/* Footers */
.footer-text {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    font-size: 0.875rem;
    color: #9ca3af;
}
.footer-text-gagal {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 1rem;
}