* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.cube {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateY(30deg);
}

.cube div {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f0f0, #ffffff);
    border: 1px solid #eaeaea;
}

.front {
    transform: translateZ(30px);
}

.back {
    transform: rotateY(180deg) translateZ(30px);
}

.left {
    transform: rotateY(-90deg) translateZ(30px);
}

.right {
    transform: rotateY(90deg) translateZ(30px);
}

.top {
    transform: rotateX(90deg) translateZ(30px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

h1 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #111;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    transition: 0.2s;
}

input:focus {
    outline: none;
    border-color: #999;
}

button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #333;
}

.footer {
    margin-top: 15px;
    font-size: 12px;
    color: #888;
}

@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }

    h1 {
        font-size: 18px;
    }
}

.bg-overlay {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-rotator {
    position: absolute;
    inset: -50%;
    transform: rotate(-30deg);
}

.bg-track {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    will-change: transform;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bg-line {
    white-space: nowrap;
    font-size: 28px;
    color: rgba(0, 0, 0, 0.05);
    letter-spacing: 2px;
}

.card {
    z-index: 1;
}
