body {
    margin: 0;
    font-family: Georgia;
    background: linear-gradient(-45deg, #021e37, #046f75, #35c364, #138671);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    text-align: center;
    color: rgb(255, 255, 255);
    
}

/* Background animation */
@keyframes gradientBG {
    0% {background-position: 0%}
    50% {background-position: 100%}
    100% {background-position: 0%}
}
/* ===== MAIN CONTAINER ===== */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* ===== INPUT ===== */
#input {
    width: 60%;
    padding: 12px;
    font-size: 16px;
}

/* ===== BUTTONS ===== */
.buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== CARDS ===== */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    #input {
        width: 90%;
    }

    .title {
        font-size: 22px;
    }

    .card {
        width: 80%;
    }

}
.container {
    margin-top: 100px;
    animation: fadeIn 2s ease-in;
}

/* Fade animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(30px);}
    to {opacity: 1; transform: translateY(0);}
}

.title {
    font-size: 40px;
    text-shadow: 0 0 20px #ffffff;
}

.subtitle {
    opacity: 0.8;
}

input {
    padding: 12px;
    width: 90%;
    max-width: 500px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    outline: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.buttons button {
    padding: 10px 15px;
    margin: 10px;
    border: none;
    border-radius: 20px;
    background: rgb(0, 0, 0);
    color: rgb(233, 237, 236);
    cursor: pointer;
    transition: 0.3s;
}

/* Hover animation */
.buttons button:hover {
    transform: scale(1.1);
    background: white;
    color: black;
}

.result-box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-in;
}

/* 📱 Mobile Fix */
@media (max-width: 600px) {

    .container {
        margin-top: 30px;   /* pehle 100px tha → kam kar diya */
        padding: 10px;
    }

    body {
        height: auto;
    }

    input {
        width: 90%;  /* full width */
    }

    .buttons button {
        margin: 5px;
        padding: 8px 12px;
    }

    .result-box {
        margin-bottom: 20px; /* extra bottom space remove */
    }
}
.container {
    margin-top: 20px;
}
.creator {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    transition: 0.3s;
}

.creator a {
    text-decoration: none;
    color: white;
}

.creator:hover {
    transform: scale(1.1);
    background: white;
}

.creator:hover a {
    color: black;
}

@media (max-width: 600px) {
    .container {
        min-height: auto;
        display: block;
    }


    body {
        display: block; /* flex hata do mobile me */
    }
}

@media (max-width: 600px) {

    body {
        margin: 0;
        padding: 0;
    }

    .container {
        margin-top: 10px !important;
        min-height: auto;
        display: block;
        padding: 10px;
    }
}

/* 🔥 Loader Animation */
#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    z-index: 9999;
    transition: opacity 1s ease;
}
/* ===== LOADER FULL SCREEN ===== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ===== TEXT STYLE ===== */
#loader h1 {
    font-size: 52px;
    text-align: center;
}

/* ===== MOBILE VERSION ===== */
@media (max-width: 768px) {
    #loader h1 {
        font-size: 20px;
        padding: 0 10px;
    }
}
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* 🌈 Background Animation */
body {
    background: linear-gradient(270deg, #0899a7, #13686c);
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% }
    50% { background-position: 100% }
    100% { background-position: 0% }
}

/* ✨ Button Hover */
button {
    transition: 0.3s;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px white;
}

#dots {
    font-weight: bold;
    color: #ffffff;
}
body {
  background-image: url('bg.jpg.jpg');
  background-size: cover;
  background-position: center;
}
.resume-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #010000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}

.resume-btn:hover {
    background: #000000;
    transform: scale(1.05);
}
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.card {
    width: 250px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.card:hover {
    transform: translateY(-10px) scale(1.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.2);
}

#animatedText {
    font-weight: bold;
    color: #fff;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.5; }
}
a {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}
