﻿body {
    background: #1f1c2c;
    overflow: hidden;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 20% 20%, #4e54c8, transparent 40%),
                radial-gradient(circle at 80% 80%, #8f94fb, transparent 40%),
                radial-gradient(circle at 50% 50%, #928dab, transparent 50%);
    background-size: 200% 200%;
    animation: animateBg 10s ease-in-out infinite;
}

.signup-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-in-out;
    color: white;
}

.signup-card h2 {
    text-align: center;
    margin-bottom: 30px;
}

label {
    color: #fff;
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    color: #fff;
    width: 100%;
    margin-bottom: 20px;
}

.form-control:focus {
    outline: none;
    border-color: #ffc107;
}

::placeholder {
    color: #ccc;
}

.btn-signup {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 10px;
    width: 100%;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s;
}

.btn-signup:hover {
    background-color: #e0a800;
}

.book-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
    z-index: 1;
    animation: bookOpen 2s ease forwards, floatBook 3s ease-in-out infinite;
    animation-delay: 1s, 3s;
    opacity: 0;
}

.book-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    animation: bookOpen 2s ease forwards;
    animation-delay: 1s;
    opacity: 0;
    margin: 0 auto;
}

.coin {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #f2a900, #b17f00);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    text-shadow: 0 0 2px #000;
    z-index: 3;
}

/* Coins raining from the sky */
.rain-coin {
    top: -30px;
    animation: coinRain 5s linear infinite;
}

@keyframes coinRain {
    0% { transform: translateY(-30px); opacity: 1; }
    100% { transform: translateY(110vh); opacity: 0.7; }
}

/* Coins rising from the book */
.book-coin {
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    animation: coinsFromBook 2s ease-out forwards;
    opacity: 0;
}



/* Static coins gathered at bottom */
.ground-coin {
    position: absolute;
    bottom: 10px;
    width: 20px;
    height: 20px;
    left: calc(10% * var(--i));
    opacity: 0.9;
    z-index: 1;
}

@keyframes bookOpen {
    0% { transform: scale(0.1); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes floatBook {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes animateBg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 500px) {
    .signup-card { padding: 25px; }
    .book-img { max-width: 200px; }
    .coin { width: 20px; height: 20px; font-size: 12px; }
}

/*-- new file*/
body {
    background: #1f1c2c;
    overflow: hidden;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 20% 20%, #4e54c8, transparent 40%), radial-gradient(circle at 80% 80%, #8f94fb, transparent 40%), radial-gradient(circle at 50% 50%, #928dab, transparent 50%);
    background-size: 200% 200%;
    animation: animateBg 10s ease-in-out infinite;
}

.signup-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-in-out;
    color: white;
}

    .signup-card h2 {
        text-align: center;
        margin-bottom: 30px;
    }

label {
    color: #fff;
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    color: #fff;
    width: 100%;
    margin-bottom: 20px;
}

    .form-control:focus {
        outline: none;
        border-color: #ffc107;
    }

::placeholder {
    color: #ccc;
}

.btn-signup {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 10px;
    width: 100%;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s;
}

    .btn-signup:hover {
        background-color: #e0a800;
    }

.book-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
    z-index: 1;
    animation: bookOpen 2s ease forwards, floatBook 3s ease-in-out infinite;
    animation-delay: 1s, 3s;
    opacity: 0;
}

.book-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    animation: bookOpen 2s ease forwards;
    animation-delay: 1s;
    opacity: 0;
    margin: 0 auto;
}

.coin {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #f2a900, #b17f00);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    text-shadow: 0 0 2px #000;
    z-index: 3;
}

/* Coins raining from the sky */
.rain-coin {
    top: -30px;
    animation: coinRain 5s linear infinite;
}

@keyframes coinRain {
    0% {
        transform: translateY(-30px);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0.7;
    }
}

/* Coins rising from the book */
.book-coin {
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    animation: coinsFromBook 2s ease-out forwards;
    opacity: 0;
}



/* Static coins gathered at bottom */
.ground-coin {
    position: absolute;
    bottom: 10px;
    width: 20px;
    height: 20px;
    left: calc(10% * var(--i));
    opacity: 0.9;
    z-index: 1;
}

@keyframes bookOpen {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatBook {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes animateBg {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 500px) {
    .signup-card {
        padding: 25px;
    }

    .book-img {
        max-width: 200px;
    }

    .coin {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}
body {
    background: #1f1c2c;
    overflow: hidden;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 20% 20%, #4e54c8, transparent 40%), radial-gradient(circle at 80% 80%, #8f94fb, transparent 40%), radial-gradient(circle at 50% 50%, #928dab, transparent 50%);
    background-size: 200% 200%;
    animation: animateBg 10s ease-in-out infinite;
}

.signup-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-in-out;
    color: white;
}

    .signup-card h2 {
        text-align: center;
        margin-bottom: 30px;
    }

label {
    color: #fff;
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    color: #fff;
    width: 100%;
    margin-bottom: 20px;
}

    .form-control:focus {
        outline: none;
        border-color: #ffc107;
    }

::placeholder {
    color: #ccc;
}

.btn-signup {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 10px;
    width: 100%;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s;
}

    .btn-signup:hover {
        background-color: #e0a800;
    }

.book-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
    z-index: 1;
    animation: bookOpen 2s ease forwards, floatBook 3s ease-in-out infinite;
    animation-delay: 1s, 3s;
    opacity: 0;
}

.book-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    animation: bookOpen 2s ease forwards;
    animation-delay: 1s;
    opacity: 0;
    margin: 0 auto;
}

.coin {
    position: absolute;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #f2a900, #b17f00);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    text-shadow: 0 0 2px #000;
    z-index: 3;
}

/* Coins raining from the sky */
.rain-coin {
    top: -30px;
    animation: coinRain 5s linear infinite;
}

@keyframes coinRain {
    0% {
        transform: translateY(-30px);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0.7;
    }
}

/* Coins rising from the book */
.book-coin {
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    animation: coinsFromBook 2s ease-out forwards;
    opacity: 0;
}
.crypto-coin {
    position: absolute;
    top: -80px; /* 🆕 Coins thoda upar se start hon */
    width: 40px; /* 🆕 Bigger coin */
    height: 40px;
    background: radial-gradient(circle, #f2a900, #b17f00);
    border-radius: 50%;
    animation-name: coinDrop;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px; /* 🆕 Bigger text */
    pointer-events: none;
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(255, 200, 0, 0.8);
}

@keyframes coinDrop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0.2;
    }
}


/*@keyframes coinDrop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0.3;
    }
}
*/


/* Static coins gathered at bottom */
.ground-coin {
    position: absolute;
    bottom: 10px;
    width: 20px;
    height: 20px;
    left: calc(10% * var(--i));
    opacity: 0.9;
    z-index: 1;
}

@keyframes bookOpen {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatBook {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes animateBg {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 500px) {
    .signup-card {
        padding: 25px;
    }

    .book-img {
        max-width: 200px;
    }

    .coin {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}



/*@keyframes coinDrop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0.5;
    }
}

@keyframes coinDrop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0.5;
    }
}
*/