﻿

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/pelakfa-light.ttf') format('truetype');
    font-weight: 300;
}


* {
    box-sizing: border-box;
    font-family: 'Pelak', sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #f6c45322 0, transparent 45%), radial-gradient(circle at bottom right, #f6c45322 0, transparent 45%), #050505;
    font-family: 'Pelak', sans-serif;
    color: #f9fafb;
}

.login-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 16px;
}

.login-card {
    position: relative;
    border-radius: 24px;
    padding: 28px 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0,0,0,0.75));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(246,196,83,0.25);
    box-shadow: 0 18px 60px rgba(0,0,0,0.8);
    animation: cardIn .7s ease-out forwards;
}

    .login-card::before {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: inherit;
        background: linear-gradient(135deg, #f6c45333, transparent 40%, #f6c45333);
        opacity: 0.35;
        z-index: -1;
    }

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(35px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo-badge {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: radial-gradient(circle at 30% 20%, #fff, #f6c453);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    box-shadow: 0 0 22px rgba(246,196,83,0.9);
    margin: 0 auto 16px;
}

    .logo-badge i {
        font-size: 30px;
    }

.login-title {
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.login-sub {
    font-size: .85rem;
    text-align: center;
    color: #d1d5db;
    margin-bottom: 18px;
}

label.form-label {
    font-size: .85rem;
    color: #e5e7eb;
}

.form-control {
    background: rgba(15,15,15,0.9) !important;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.6) !important;
    color: #f9fafb !important;
    font-weight: 600;
    font-size: .95rem;
}

    .form-control:focus {
        border-color: #f6c453 !important;
        box-shadow: 0 0 0 1px #f6c45388;
    }

.gold-btn {
    background: linear-gradient(135deg,#f6c453,#ffdd7a);
    border: none;
    color: #111827;
    font-weight: 800;
    border-radius: 14px !important;
    padding: 10px 14px;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all .25s ease;
}

    .gold-btn i {
        font-size: .9rem;
    }

    .gold-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 0 24px rgba(246,196,83,0.9);
    }

    .gold-btn:disabled {
        opacity: .55;
        box-shadow: none;
    }

.btn-secondary {
    border-radius: 14px !important;
    font-weight: 600;
}

.timer-circle {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 3px solid rgba(249,220,99,0.35);
    margin: 12px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-size: 1.2rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

    .timer-circle::before {
        content: '';
        position: absolute;
        inset: 3px;
        border-radius: inherit;
        border: 3px solid #f6c453;
        border-top-color: transparent;
        border-right-color: transparent;
        transform: rotate(0deg);
        transform-origin: center center;
        animation: spinLinear 60s linear forwards;
    }

@keyframes spinLinear {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer-hint {
    font-size: .8rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 8px;
}

    .footer-hint span {
        color: #f6c453;
    }

.msg-label {
    font-size: .83rem;
}

@media (max-width: 576px) {
    .login-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .login-title {
        font-size: 1rem;
    }

    .timer-circle {
        width: 74px;
        height: 74px;
    }
}
