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

/* ── Body ── */
body {
    font-family: monospace;
    position: relative;
    min-height: 100vh;
    color: #fff;
    background-color: #000;
    background-image: url('Images/admin-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ── Container ── */
.container {
    max-width: 400px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
}

/* ── Header / Logo ── */
header {
    text-align: center;
    margin-bottom: 10px;
}

header a img {
    max-width: 150px;
    height: auto;
    display: inline-block;
    transform-origin: center;
    animation: logoAggressivePulse 1.15s ease-in-out infinite;
    filter: drop-shadow(0 0 8px #ffd700) drop-shadow(0 0 18px rgba(255, 215, 0, 0.75));
    transition: transform 0.18s ease, filter 0.18s ease;
}

header a img:hover {
    transform: scale(1.16) rotate(-3deg);
    filter: drop-shadow(0 0 14px #ffffff) drop-shadow(0 0 32px #ffd700) drop-shadow(0 0 48px #ff7a00);
}

@keyframes logoAggressivePulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px #ffd700) drop-shadow(0 0 18px rgba(255, 215, 0, 0.75));
    }
    25% {
        transform: scale(1.08) rotate(1.5deg);
        filter: drop-shadow(0 0 14px #ffffff) drop-shadow(0 0 28px #ffd700);
    }
    50% {
        transform: scale(0.96) rotate(-1.5deg);
        filter: drop-shadow(0 0 10px #ff7a00) drop-shadow(0 0 24px #ffd700);
    }
    75% {
        transform: scale(1.1) rotate(1deg);
        filter: drop-shadow(0 0 18px #ffffff) drop-shadow(0 0 36px #ff7a00);
    }
}

/* ── Typewriter heading ── */
.welcome {
    max-width: 350px;
    margin: 0 auto 12px;
}

.welcome h1 {
    font-size: 12px;
    color: #fff;
    overflow: hidden;
    border-right: 0.15em solid transparent;
    white-space: nowrap;
    letter-spacing: 0.09em;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to   { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50%       { border-color: #ffd700; }
}

/* ── Banner ── */
.banner-wrap {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 4px;
}

.banner-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* ── Buttons ── */
.btn-login {
    display: block;
    padding: 10px;
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(to bottom, #c9a110, #ffd700);
    margin-top: 10px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 0 12px #000000, 0 0 18px rgba(255, 215, 0, 0.65);
    animation: buttonAggressiveGlow 1.05s ease-in-out infinite;
    transition: filter 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-daftar {
    display: block;
    padding: 10px;
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(to bottom, #ffd700, #c9a110);
    margin-top: 10px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 0 12px #000000, 0 0 18px rgba(255, 215, 0, 0.65);
    animation: buttonAggressiveGlow 1.05s ease-in-out infinite reverse;
    transition: filter 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-login:hover,
.btn-daftar:hover {
    filter: brightness(1.35) contrast(1.15);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 0 14px #ffffff, 0 0 28px #ffd700, 0 0 42px #ff7a00;
}

.btn-login::before,
.btn-daftar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -85%;
    width: 55%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transform: skewX(-24deg);
    animation: buttonAggressiveSweep 1.35s linear infinite;
    z-index: -1;
}

.btn-login:active,
.btn-daftar:active {
    transform: scale(0.96);
    filter: brightness(1.5);
}

@keyframes buttonAggressiveGlow {
    0%, 100% {
        box-shadow: 0 0 12px #000000, 0 0 18px rgba(255, 215, 0, 0.65);
    }
    50% {
        box-shadow: 0 0 12px #ffffff, 0 0 30px #ffd700, 0 0 46px #ff7a00;
    }
}

@keyframes buttonAggressiveSweep {
    0% { left: -85%; }
    100% { left: 130%; }
}

/* ── JP gif strip ── */
.jp-strip {
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    max-width: 320px;
    margin: 10px auto 0;
    border-radius: 10px;
}

.jp-strip img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ── Copyright ── */
.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.59);
    margin-top: 14px;
    font-size: 13px;
}

.copyright a {
    color: #ffffff;
    text-decoration: none;
}
