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

body {
    min-height: 100vh;
    overflow-x: hidden;

    background: linear-gradient(-45deg,
            #0f172a,
            #1e3a8a,
            #6d28d9,
            #2563eb);

    background-size: 400% 400%;
    animation: bgMove 12s ease infinite;
}

/* ==========================
   NAVBAR
========================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 30px;

    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, .15);

    animation: navGlow 3s infinite alternate;
}

.logo {
    font-size: 2rem;
    font-weight: bold;

    background: linear-gradient(90deg,
            #ffcc00,
            #ff4d6d,
            #4dabf7,
            #38d9a9);

    background-size: 300% 300%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: logoMove 5s linear infinite;
}

.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-btn {
    text-decoration: none;
    color: white;
    font-weight: 600;

    padding: 10px 18px;
    border-radius: 12px;

    background: rgba(255, 255, 255, .15);

    transition: .3s;
}

.nav-btn:hover {
    transform: translateY(-3px) scale(1.08);

    box-shadow:
        0 0 15px rgba(255, 255, 255, .5);
}

/* ==========================
   HOME CONTENT
========================== */

.container {
    text-align: center;
    padding: 50px 20px;
}

.container p {
    color: white;
    font-size: 2rem;
    font-weight: bold;

    margin-bottom: 25px;

    text-shadow:
        0 0 10px rgba(255, 255, 255, .5);
}

.main-image {
    width: 100%;
    max-width: 450px;
    border-radius: 25px;

    box-shadow:
        0 0 30px rgba(255, 255, 255, .3);

    animation: imagePulse 5s infinite ease-in-out;
}

/* ==========================
   RAIN
========================== */

.rain {
    position: fixed;
    top: -120px;
    width: 2px;
    height: 80px;

    background: rgba(255, 255, 255, .4);

    z-index: 1;

    animation: rainFall linear infinite;
}

.r1 {
    left: 10%;
    animation-duration: 1.2s;
}

.r2 {
    left: 20%;
    animation-duration: 1.6s;
}

.r3 {
    left: 35%;
    animation-duration: 1.1s;
}

.r4 {
    left: 50%;
    animation-duration: 1.8s;
}

.r5 {
    left: 65%;
    animation-duration: 1.4s;
}

.r6 {
    left: 80%;
    animation-duration: 1.7s;
}

.r7 {
    left: 90%;
    animation-duration: 1.3s;
}

/* ==========================
   ANIMATIONS
========================== */

@keyframes bgMove {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes logoMove {

    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes navGlow {

    from {
        box-shadow:
            0 0 10px rgba(255, 255, 255, .1);
    }

    to {
        box-shadow:
            0 0 25px rgba(255, 255, 255, .3);
    }
}

@keyframes imagePulse {

    0% {
        transform: scale(.9);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(.9);
    }
}

@keyframes rainFall {

    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(120vh);
        opacity: 1;
    }
}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px) {

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container p {
        font-size: 1.4rem;
    }

    .main-image {
        max-width: 280px;
    }
}

/* home css */
.container {
    text-align: center;
    padding: 50px 20px;
}

.container p {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.main-image {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
}

/* login css */


.login-page {
    min-height: calc(100vh - 80px);

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    padding: 30px;

    overflow: hidden;
}

/* Floating Photos */

.photo {
    position: absolute;

    width: 140px;
    height: 180px;

    object-fit: cover;

    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);

    animation: float 6s ease-in-out infinite;
}

.photo1 {
    top: 10%;
    left: 5%;
}

.photo2 {
    top: 12%;
    right: 5%;
    animation-delay: 1s;
}

.photo3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

.photo4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

/* Card */

.card {
    width: 100%;
    max-width: 420px;

    padding: 35px;

    border-radius: 25px;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, .15);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .3);

    text-align: center;

    z-index: 5;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;

    margin-bottom: 10px;
}

.subtitle {
    color: #d1d5db;
    margin-bottom: 25px;
}

.form-input {
    width: 100%;

    padding: 14px;

    margin-bottom: 15px;

    border: none;
    outline: none;

    border-radius: 12px;

    background: rgba(255, 255, 255, .12);

    color: white;
}

.form-input::placeholder {
    color: #d1d5db;
}

.btn {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 12px;

    cursor: pointer;

    color: white;

    font-weight: bold;

    background: linear-gradient(135deg,
            #06b6d4,
            #2563eb);

    transition: .3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.link {
    margin-top: 18px;
    color: white;
}

.link a {
    color: #facc15;
    text-decoration: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media(max-width:768px) {

    .photo {
        width: 90px;
        height: 120px;
    }

    .photo1,
    .photo2 {
        top: 5%;
    }

    .card {
        max-width: 350px;
    }
}

/* pics css */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

.heading {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.form-card {
    background: rgba(255, 255, 255, .1);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 40px;
}

input[type="text"],
input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #22c55e;
    color: white;
    cursor: pointer;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: .3s;
}

.card img:hover {
    transform: scale(1.03);
}

.card-content {
    padding: 15px;
    text-align: center;
}

.empty {
    color: white;
    text-align: center;
}

/* ---------- Modal ---------- */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .95);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    margin-top: 35px;
    border-radius: 10px;
}

.close {
    position: absolute;
    right: 30px;
    top: 15px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

.close:hover {
    color: red;
}

#caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 22px;
}


/* signup css */

.signup-page{
    min-height:calc(100vh - 80px);

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;

    overflow:hidden;

    padding:30px;
}

/* Floating Photos */

.photo{
    position:absolute;

    width:150px;
    height:180px;

    object-fit:cover;

    border-radius:18px;

    box-shadow:
        0 15px 30px rgba(0,0,0,.4);

    animation:float 6s ease-in-out infinite;

    transition:.4s;
}

.photo:hover{
    transform:scale(1.1);
}

.photo1{
    top:10%;
    left:5%;
}

.photo2{
    top:12%;
    right:5%;
    animation-delay:1s;
}

.photo3{
    bottom:10%;
    left:8%;
    animation-delay:2s;
}

.photo4{
    bottom:10%;
    right:8%;
    animation-delay:3s;
}

/* Card */

.card{
    width:100%;
    max-width:450px;

    padding:40px;

    border-radius:30px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

    box-shadow:
        0 20px 40px rgba(0,0,0,.35);

    text-align:center;

    z-index:5;

    animation:cardFloat 4s ease-in-out infinite;
}

/* Logo */

.logo{
    font-size:2.2rem;
    font-weight:bold;

    margin-bottom:10px;

    background:linear-gradient(
        90deg,
        #facc15,
        #fb7185,
        #60a5fa,
        #34d399
    );

    background-size:300% 300%;

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    animation:logoMove 4s linear infinite;
}

.subtitle{
    color:#d1d5db;
    margin-bottom:25px;
}

/* Inputs */

.form-input{
    width:100%;

    padding:14px;

    border:none;
    outline:none;

    border-radius:12px;

    margin-bottom:15px;

    background:rgba(255,255,255,.12);

    color:white;
}

.form-input::placeholder{
    color:#d1d5db;
}

/* Button */

.btn{
    width:100%;

    padding:15px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    color:white;

    font-size:16px;
    font-weight:bold;

    background:linear-gradient(
        135deg,
        #06b6d4,
        #2563eb,
        #7c3aed
    );

    background-size:300% 300%;

    animation:btnMove 5s linear infinite;

    transition:.3s;
}

.btn:hover{
    transform:translateY(-4px);

    box-shadow:
        0 10px 25px rgba(37,99,235,.5);
}

/* Login Link */

.link{
    margin-top:20px;
    color:white;
}

.link a{
    color:#facc15;
    text-decoration:none;
    font-weight:bold;
}

/* Particles */

.particle{
    position:absolute;

    width:8px;
    height:8px;

    border-radius:50%;

    background:white;

    opacity:.5;

    animation:particleMove 8s linear infinite;
}

.p1{left:10%;}
.p2{left:30%;}
.p3{left:50%;}
.p4{left:70%;}
.p5{left:90%;}

/* Animations */

@keyframes float{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-20px);
    }
}

@keyframes logoMove{

    0%{
        background-position:0% 50%;
    }

    100%{
        background-position:100% 50%;
    }
}

@keyframes btnMove{

    0%{
        background-position:0% 50%;
    }

    100%{
        background-position:100% 50%;
    }
}

@keyframes cardFloat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }
}

@keyframes particleMove{

    from{
        top:100%;
        opacity:0;
    }

    to{
        top:-10%;
        opacity:1;
    }
}

@media(max-width:768px){

    .photo{
        width:90px;
        height:120px;
    }

    .card{
        padding:25px;
    }

    .logo{
        font-size:1.7rem;
    }
}

