@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Cormorant+Garamond:wght@600&display=swap');

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

/* BODY */
body{
    min-height: 100vh;
    background: linear-gradient(to bottom, #171516, #211d1f);
    font-family: 'Poppins', sans-serif;
    color: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
    overflow: hidden;
    position: relative;
}

/* BACKGROUND GLOW */
body::before{
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(241, 184, 200, 0.08);
    filter: blur(120px);
    border-radius: 50%;
    top: -120px;
    right: -120px;
    z-index: 0;
}

/* TEXTURE CHECKERBOARD BERGERAK */
body::after{
    content: "";
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(45deg, #ffffff12 25%, transparent 25%),
        linear-gradient(-45deg, #ffffff12 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ffffff12 75%),
        linear-gradient(-45deg, transparent 75%, #ffffff12 75%);

    background-size: 80px 80px;

    background-position:
        0 0,
        0 40px,
        40px -40px,
        -40px 0px;

    opacity: 0.12;

    animation: checkerMove 12s linear infinite;

    z-index: 0;
    pointer-events: none;
}

/* ANIMASI */
@keyframes checkerMove{
    from{
        transform: translateX(0);
    }

    to{
        transform: translateX(80px);
    }
}

/* WRAPPER */
.warning-wrapper{
    position: relative;
    width: 100%;
    max-width: 720px;
    z-index: 1;
}

/* CARD */
.warning-card{
    background: rgba(42, 38, 39, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
}

/* TAPE */
.tape{
    width: 90px;
    height: 24px;
    background: rgba(255,255,255,0.15);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    border-radius: 6px;
    backdrop-filter: blur(3px);
}

/* ICON */
.warning-icon{
    font-size: 60px;
    margin-bottom: 20px;
}

/* TITLE */
.warning-title{
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    color: #f1b8c8;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

/* IMAGE */
.gambar{
    width: 220px;
    max-width: 100%;
    border-radius: 16px;
    margin: 18px auto;
    display: block;
    border: 2px solid rgba(241, 184, 200, 0.35);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: 0.3s ease;
}

.gambar:hover{
    transform: scale(1.05);
}

/* SUBTITLE */
.warning-subtitle{
    color: #a4a0a1;
    font-size: 15px;
    margin-bottom: 35px;
}

/* WARNING BOX */
.warning-box{
    background: #1d1a1b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 25px;
    text-align: left;
    margin-bottom: 35px;
}

.warning-box p{
    color: #e3e3e3;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 14px;
}

.warning-box p:last-child{
    margin-bottom: 0;
}

/* BUTTONS */
.button-group{
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.enter-btn,
.leave-btn{
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 14px;
    transition: 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

/* ENTER */
.enter-btn{
    background: #f1b8c8;
    color: #1a1819;
}

.enter-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(241,184,200,0.25);
}

/* LEAVE */
.leave-btn{
    border: 1px solid rgba(255,255,255,0.12);
    color: #d6d6d6;
    background: rgba(255,255,255,0.03);
}

.leave-btn:hover{
    background: rgba(255,255,255,0.08);
}

/* FOOTER */
.warning-footer{
    margin-top: 28px;
    color: #777;
    font-size: 12px;
    letter-spacing: 1px;
}

/* MOBILE */
@media(max-width: 768px){

    .warning-card{
        padding: 35px 24px;
    }

    .warning-title{
        font-size: 40px;
    }

    .warning-icon{
        font-size: 48px;
    }

    .button-group{
        flex-direction: column;
    }

    .enter-btn,
    .leave-btn{
        width: 100%;
    }

    .gambar{
        width: 180px;
    }
}