* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #F4C2C2 0%, #000000 100%);
    color: #ffffff;
}

.fans-layout {
    height: 100vh;
    display: grid;
    grid-template-columns: 41% 59%;
}

.fans-photo {
    position: relative;
    overflow: hidden;
}

.fans-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 14%;
    transform: scale(1.03);
    filter: contrast(1.03) saturate(1.04);
    display: block;
}

.fans-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.22));
    pointer-events: none;
    z-index: 2;
}

.fans-photo-copy {
    position: absolute;
    top: 26px;
    left: 24px;
    right: 24px;
    z-index: 3;
    text-align: left;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.fans-photo-copy h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 4px;
}

.fans-photo-copy p {
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: lowercase;
}

.fans-form-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
}

.fans-card {
    width: 100%;
    max-width: 560px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 22px;
    backdrop-filter: blur(10px);
    padding: 16px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 32px);
    overflow: auto;
}

.fans-card h1 {
    font-size: 1.65rem;
    margin-bottom: 4px;
}

.fans-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.fans-form {
    display: grid;
    gap: 7px;
}

.field-label {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 2px;
    font-weight: 500;
}

.fans-form input,
.fans-form select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    padding: 8px 10px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fans-form input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.fans-form input:focus,
.fans-form select:focus {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(244, 194, 194, 0.2);
}

.fans-form option {
    color: #111;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.terms {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 2px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.92);
}

.terms input {
    width: auto;
    accent-color: #F4C2C2;
}

.primary-btn {
    border: none;
    border-radius: 12px;
    padding: 9px 12px;
    background: linear-gradient(135deg, #F4C2C2, #FFB6C1);
    color: #1f1f1f;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 194, 194, 0.45);
}

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    justify-content: center;
    margin: 2px 0;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.25);
}

.login-link {
    text-align: center;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
    margin-top: 2px;
}

.login-link a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
}

@media (max-width: 900px) {
    .fans-layout {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .fans-photo {
        min-height: 32vh;
    }

    .fans-photo-copy {
        top: 14px;
        left: 14px;
        right: 14px;
    }

    .fans-photo-copy h2 {
        font-size: 1.1rem;
    }

    .fans-photo-copy p {
        font-size: 0.92rem;
    }

    .fans-form-area {
        padding: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
