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

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #0F0F13;
    color: #FFFFFF;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Add a subtle dark overlay over the background for contrast */
.login-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 19, 0.4) 0%, rgba(15, 15, 19, 0.8) 100%);
    z-index: 1;
}

.login-card {
    position: relative;
    z-index: 2;
    background: rgba(20, 20, 25, 0.45);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px 24px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@media (min-width: 640px) {
    .login-card {
        padding: 56px 48px;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    overflow: hidden;
    padding: 4px;
}

.login-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.premium-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFFFFF 0%, #A0A0B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

@media (min-width: 640px) {
    .premium-title {
        font-size: 32px;
    }
}

.premium-subtitle {
    text-align: center;
    color: #9E9EA8;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

@media (min-width: 640px) {
    .premium-subtitle {
        margin-bottom: 48px;
        font-size: 15px;
    }
}

.btn-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 140px;
    width: 100%;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px;
}

@media (min-width: 640px) {
    .btn-card {
        height: 160px;
        padding: 16px;
    }
}

.btn-card span {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    margin-top: 12px;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .btn-card span {
        font-size: 16px;
        margin-top: 16px;
    }
}

.btn-card i {
    color: #FFFFFF;
    opacity: 0.8;
    transition: all 0.4s ease;
}

/* Hover effects */
.btn-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.btn-card:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Specific glows */
.btn-card.retail:hover {
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
    border-color: rgba(0, 113, 227, 0.4);
}
.btn-card.retail:hover i { color: #4facfe; }

.btn-card.wholesale:hover {
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.4);
}
.btn-card.wholesale:hover i { color: #b176ff; }

.footer-text {
    text-align: center;
    font-size: 12px;
    color: #6E6E78;
    margin-top: 48px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
