/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay dengan efek industrial */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(60, 60, 60, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%),
        repeating-linear-gradient(45deg, 
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 11px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Card dengan tema besi industrial */
.card {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    padding: 50px 45px 45px;
    border-radius: 18px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    border: 2px solid #6d6d6d;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px #4a4a4a,
        0 0 30px rgba(200, 170, 110, 0.15);
    position: relative;
    overflow: hidden;
}

/* Efek metalik di bagian atas card */
.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, 
        #6d6d6d, 
        #c9a84c, 
        #f0d080, 
        #c9a84c, 
        #6d6d6d
    );
    border-radius: 18px 18px 0 0;
}

/* Efek baut di sudut */
.card::after {
    content: '⦿';
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 12px;
    color: #5a5a5a;
    opacity: 0.3;
}

/* Logo / Icon Toko Jaya Besi */
.logo-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(200, 170, 110, 0.3));
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #c9a84c;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(200, 170, 110, 0.2);
    margin-bottom: 5px;
}

.brand-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    margin: 8px auto 20px;
}

.title {
    font-size: 26px;
    font-weight: 700;
    color: #e8e0d0;
    line-height: 1.3;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.title span {
    color: #c9a84c;
}

.sub-text {
    color: #9a9a8a;
    font-size: 14px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

/* Efek garis besi dekoratif */
.iron-line {
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, 
        #4a4a4a 0px, 
        #4a4a4a 8px, 
        transparent 8px, 
        transparent 16px
    );
    margin: 0 0 25px 0;
}

/* Tombol */
.btn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-yes {
    background: linear-gradient(145deg, #c9a84c, #b8922f);
    color: #1a1a1a;
    box-shadow: 
        0 4px 15px rgba(200, 170, 110, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 14px;
    border: 1px solid #dbb85c;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(200, 170, 110, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, #dbb85c, #c9a84c);
}

.btn-yes:active {
    transform: translateY(0px);
    box-shadow: 0 2px 10px rgba(200, 170, 110, 0.2);
}

.btn-no {
    background: transparent;
    color: #8a8a7a;
    border: 1.5px solid #4a4a4a;
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
    font-weight: 600;
    font-size: 15px;
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: #6a6a5a;
    color: #b0b0a0;
}

/* Efek rivet (paku keling) dekoratif */
.rivets {
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    margin-top: 20px;
    opacity: 0.3;
}

.rivet {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 35% 35%, #6a6a6a, #3a3a3a);
    border-radius: 50%;
    border: 1px solid #2a2a2a;
    box-shadow: inset 0 -1px 2px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 35px 25px 30px;
    }
    .title {
        font-size: 22px;
    }
    .btn {
        font-size: 16px;
        padding: 14px 16px;
    }
    .logo-icon {
        font-size: 38px;
    }
    .brand-name {
        font-size: 17px;
    }
}

/* Animasi tambahan untuk efek metalik */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Efek kilap pada tombol yes */
.btn-yes::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
    pointer-events: none;
}