body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Arial", sans-serif;
}

.intro-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4, #ffdde1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 10;
    transition: opacity 1s ease-in-out;
}

.intro-screen h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

#textBelow {
    position: absolute;
    top: calc(50% + 240px);
    left: 50%;
    transform: translate(-50%, 0) scale(0.8);
    background-color: #FF0000;
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    max-width: fit-content;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.8);
    animation: beat 1.5s infinite ease-in-out;
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 10px rgba(255, 23, 68, 0.6);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 23, 68, 1);
    }
}

.reveal-text {
    opacity: 1 !important;
    transform: translate(-50%, 0) scale(1) !important;
    transition-delay: 1s;
}

#textBelow:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    background-color: rgba(255, 0, 0, 0.9);
    animation: beat 1.5s infinite ease-in-out;
}

.start-btn {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #ff5252;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
}

.dynamic-background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #1e3c72, #2a5298, #6a11cb, #2575fc);
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
    z-index: -1;
}

canvas {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    border-radius: 10px;
    display: none;
}

.heart {
    position: absolute;
    color: red;
    font-size: 20px;
    opacity: 0.8;
    animation: fall 0s linear infinite;
    z-index: 9999;
    pointer-events: none;
}

@keyframes fall {
    0% {
        transform: translateY(-50px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.final-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.text-below {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: beat 1.5s infinite ease-in-out;
    margin-left: -185px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hanging-image {
    position: absolute;
    width: 250px;
    border: 10px solid white;
    border-radius: 10px;
    background: white;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    transform-origin: top center;
    animation: swing 3s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, top 1.5s ease-in-out;
}

@keyframes swing {
    0% { transform: rotate(-10deg); }
    100% { transform: rotate(10deg); }
}

.hanging-image.left:nth-child(1) { left: 5%; }
.hanging-image.left:nth-child(2) { left: 15%; }

.hanging-image.right:nth-child(1) { right: 5%; }
.hanging-image.right:nth-child(2) { right: 45%; }

.left {
    left: 50%;
}

.right {
    right: 7%;
}

.hanging-image.right:nth-child(2) { 
    right: 5%; 
    top: -25%;
}

.hanging-image.right:nth-child(4) { 
    right: 5%; 
    bottom: 55%;
}

#hangingLeft1 { top: -40%; }
#hangingLeft2 { top: -50%; }
#hangingRight1 { top: -40%; }
#hangingRight2 { top: -90%; }

@keyframes swing {
    0% { transform: rotate(-10deg); }
    100% { transform: rotate(10deg); }
}





body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #282c34;
    font-family: 'Arial', sans-serif;
}

.intro-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.content-box {
    background-color: #444;
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 600px;
    margin-bottom: 20px;
}

.typing-container {
    margin-top: 20px;
}

.typing-line {
    font-size: 1.2rem;
    margin: 10px 0;
    color: white;
    opacity: 0;
    animation: fadeIn 1s forwards, typing 5s steps(50) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    100% {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

.start-btn {
    background: linear-gradient(45deg, #ff6347, #ff4500);
    border: none;
    padding: 15px 30px;
    font-size: 1.5rem;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.start-btn:hover {
    background: linear-gradient(45deg, #ff4500, #ff6347);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.start-btn:focus {
    outline: none;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Arial", sans-serif;
    text-align: center;
    width: 100vw;
    height: 100vh;
    position: relative;
}

#particleCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2000px;
    height: 600px;
    z-index: 1;
    pointer-events: none;
}

#generatedImage {
    display: none !important;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 2;
}

.hanging-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 50px;
    width: 100%;
    z-index: 2;
    position: relative;
}

.hanging-image {
    max-width: 25vw;
    height: auto;
    border-radius: 8px;
    z-index: 2;
}

#textBelow {
    font-size: 12px;
    max-width: 80%;
    padding: 5px;
    line-height: 1.2;
    height: auto;
    z-index: 2;
    position: relative;
}

.final-image {
    max-width: 40vw;
    height: auto;
    z-index: 2;
    position: relative;
}

@media (max-width: 768px) and (orientation: landscape) {
    .hanging-images {
        margin-top: 80px;
    }

    .hanging-image {
        max-width: 20vw;
    }

    .final-image {
        max-width: 35vw;
    }

    #textBelow {
        font-size: 10px;
        max-width: 70%;
    }
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 10px rgba(255, 23, 68, 0.6);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 23, 68, 1);
    }
}

@media (max-width: 480px) and (orientation: landscape) {
    .hanging-images {
        margin-top: 100px;
    }

    .hanging-image {
        max-width: 18vw;
    }

    .final-image {
        max-width: 30vw;
    }

    #textBelow {
        font-size: 9px;
        max-width: 65%;
    }
}

@media (max-width: 768px) {
    #hangingLeft2, #hangingRight2 {
        top: 75% !important;
    }
}


#textBelow {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    line-height: 1.5;
    padding: 5px 10px;
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 50px;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 480px) {
    #textBelow {
        bottom: 1% !important;
        font-size: 14px;
        padding: 5px 5px;
        max-width: 95%;
        padding-top: 3px !important;
        padding-bottom: -5px !important;
        height: auto !important;
        line-height: 1.2 !important;
        display: inline-block;
        height: auto !important;
        margin-top: 100px !important;
        animation: beat 1.5s infinite ease-in-out;
        margin-left: -185px !important;
    }
}

@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Arial", sans-serif;
    text-align: center;
    width: 100vw;
    height: 100vh;
    position: relative;
}

.intro-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4, #ffdde1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 10;
    transition: opacity 1s ease-in-out;
    padding: 0 20px;
}

.intro-screen h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.start-btn {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: #ff5252;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
}

.dynamic-background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #1e3c72, #2a5298, #6a11cb, #2575fc);
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
    z-index: -1;
}

canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.text-below {
    font-size: 1.5rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    animation: beat 1.5s infinite ease-in-out;
}

.text-below:hover {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 30px rgba(255, 0, 0, 1);
}

@keyframes glowAnimation {
    0% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 1);
    }
}

.text-below span.heart {
    transition: color 0.3s ease;
}

.text-below:hover span.heart {
    color: red;
}



/* Tweak By: Narayan Singh - Blinking & Glowing Effect */
.tweak-text {
    position: absolute;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(12px, 3vw, 20px);
    padding: 5px 3vw;
    border-radius: 10px;
    background: linear-gradient(45deg, blue, purple);
    color: rgb(244, 244, 244);
    font-weight: bold;
    text-shadow: 0 0 5px cyan, 0 0 10px cyan;
    animation: blinkText 1.5s infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}

/* Blinking Animation */
@keyframes blinkText {
    0% { opacity: 1; text-shadow: 0 0 5px cyan, 0 0 10px cyan; }
    100% { opacity: 0.5; text-shadow: 0 0 10px cyan, 0 0 20px cyan; }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .tweak-text {
        top: 7%;
        font-size: clamp(10px, 4vw, 18px);
        padding: 4px 5vw;
    }
}

@media (max-width: 480px) {
    .tweak-text {
        top: 1%;
        font-size: clamp(8px, 5vw, 16px);
        padding: 3px 7vw;
    }
}

/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

/* Intro Screen */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4, #ffdde1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 10;
    transition: opacity 1s ease-in-out;
    padding: 0;
}

/* Adjust Text Size for Mobile */
@media (max-width: 768px) {
    .intro-screen h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    #particleCanvas {
        width: 80vw;
        height: 80vh;
    }
}

@media (max-width: 480px) {
    #particleCanvas {
        width: 80vw;
        height: 50vh;
        
    }
}

