* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* EXACT TEMPLATE GRADIENT DIRECTION */
body {
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #0b0033 0%,
        #1c0466 35%,
        #3f43b5 70%,
        #7fd0e6 100%
    );
    overflow-x: hidden;
    position: relative;
}

/* RIGHT SIDE POLYGON LINES BACKGROUND */
.bg-polygons {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 98%;
    z-index: 0;
    opacity: 0.18; /* LIGHT TRANSPARENCY LIKE TEMPLATE */
    pointer-events: none;
}

.bg-polygons img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WRAPPER */
.wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 60px;
}

.container {
    width: 100%;
    max-width: 1350px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

/* LEFT SIDE */
.left {
    flex: 1;
    color: #ffffff;
}

.logo img {
    width: 240px;
    margin-bottom: 30px;
}

.title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.desc {
    max-width: 420px;
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 50px;
}

/* SOCIAL GRID */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    gap: 24px;
    margin-bottom: 55px;
}

/* SOCIAL BUTTON WITH IMAGE BACKGROUND */
.social-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    /*border-radius: 24px;*/
    cursor: pointer;
    overflow: hidden;

    /* 🔥 PLACE YOUR BUTTON BG IMAGE HERE */
    background: url("images/social-btn-bg.png") no-repeat center;
    background-size: 100% 100%;

    transition: all 0.35s ease;
}

/* Glass overlay for premium UI */
.social-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        135deg,
        rgba(255,255,255,0.35),
        rgba(255,255,255,0.05)
    );
    /* border-radius: 24px;*/
    z-index: 0;
}

/* Keep content above background */
.social-btn span,
.icon-box {
    position: relative;
    z-index: 2;
}

.social-btn span {
    font-size: 18px;
    font-weight: 600;
    color: #1b1b1b;
}

/* ICON BOX COLORS */
.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #1876f200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.insta {
    background: linear-gradient(45deg, #ff4d6d, #ff9a00, #d62976);
}

.icon-box.dark {
    background: #000;
}

.icon-box.red {
    background: #ff0000;
}

.icon-box img {
    width: 52px;
}

/* CTA BUTTON (EXACT GRADIENT) */
.cta-btn {
    padding: 18px 52px;
    border-radius: 40px;
    border: none;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(
        90deg,
        #8b7cf6 0%,
        #b38cff 50%,
        #f6a3c8 100%
    );
    box-shadow: 0 15px 40px rgba(255, 150, 200, 0.35);
    cursor: pointer;
    transition: all 0.35s ease;
}

.cta-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 25px 60px rgba(255, 150, 200, 0.6);
}

/* RIGHT CARD */
.right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.outer-card {
    padding: 40px;
    border-radius: 30px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 90px rgba(0,0,0,0.25);
}

.login-card {
    width: 430px;
    background: rgba(255,255,255,0.92);
    border-radius: 25px;
    padding: 45px 35px;
    text-align: center;
}

.login-card h2 {
    font-size: 28px;
    color: #444;
    margin-bottom: 8px;
}

.sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.login-card form {
    text-align: left;
}

.login-card label {
    font-size: 13px;
    color: #555;
}

.login-card input {
    width: 100%;
    padding: 13px 14px;
    margin: 8px 0 18px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
}

.forgot {
    text-align: right;
    font-size: 12px;
    color: #4a49b7;
    margin-bottom: 22px;
}

.signin {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    background: #1e1464;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.signin:hover {
    background: #2e2390;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .social-grid {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
    }

    .desc {
        margin: 0 auto 40px;
    }
}

@media (max-width: 600px) {
    .title {
        font-size: 38px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .login-card {
        width: 100%;
    }

    .wrapper {
        padding: 30px 20px;
    }
}