*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: radial-gradient(ellipse at center, #e8f4fc 0%, #b8daf0 55%, #8ec4e8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-radial-gradient(circle at 50% 45%, transparent 0 38px, rgba(255, 255, 255, 0.15) 38px 39px);
    pointer-events: none;
}

.home-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.25rem 5rem;
    width: 100%;
    max-width: 560px;
}

.logo-card {
    max-width: 520px;
    width: 100%;
}

.logo-card img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
}

.slogan {
    color: #1a3a6e;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
    padding: 0 0.5rem;
}

.admin-link {
    position: fixed;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #2c5282;
    font-size: 0.85rem;
    text-decoration: none;
    opacity: 0.85;
    padding: 0.5rem 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.admin-link:hover {
    opacity: 1;
    color: #0d47a1;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .home-wrap { padding: 1.25rem 1rem 5.5rem; gap: 1.1rem; }
    .slogan { font-size: 0.95rem; }
}
