* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Arial Black', sans-serif;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px),
        repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px),
        url('../images/bg.png') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    position: relative;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #8B4513;
    border-radius: 20px;
    padding: 60px 30px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-top: 60px;
}

.logo {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
}

.logo-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #8B4513;
}

.store-title {
    font-size: 42px;
    font-weight: 900;
    color: #ff3333;
    text-shadow: 3px 3px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-family: 'Comic Sans MS', 'Arial Black', sans-serif;
}

.login-title {
    font-size: 32px;
    font-weight: 900;
    color: #333;
    margin-bottom: 25px;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 1px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 900;
    color: #333;
    margin-bottom: 8px;
    font-size: 18px;
    font-family: 'Arial Black', sans-serif;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffb3b3;
    border-radius: 10px;
    background: #fff0f0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #ff6b6b;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -4px;
    font-size: 13.5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-weight: bold;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #ff3333;
    cursor: pointer;
}

.forgot-password {
    color: #ff3333;
    font-weight: bold;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    background: transparent;
    color: white;
    border: none;
    padding: 0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.login-btn-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.login-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    border: 2px solid #ff3333;
    pointer-events: none;
    font-family: 'Arial Black', sans-serif;
    /* Keep the label on one line. The overlay is positioned at left: 50%,
       so without this its available width is only half the button, and
       longer labels like "SEND CODE" wrap onto two lines and spill out
       of the button image. */
    white-space: nowrap;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.login-btn:hover .login-btn-image {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.login-btn:active {
    transform: translateY(0);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url('../images/footer.png') center center / 100% 100% no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 5;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer-text {
    font-weight: bold;
    font-size: 14px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .store-title {
        font-size: 28px;
    }
    
    .login-title {
        font-size: 24px;
    }

    .login-text-overlay {
        font-size: 18px;
        letter-spacing: 2px;
        padding: 6px 12px;
    }
    
    .footer-text {
        font-size: 12px;
    }
}