/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.container {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

/* Title */
h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    text-shadow: 0 0 5px #ff5e62;
}

/* Dropdown */
select {
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    outline: none;
    margin-bottom: 20px;
    background: #111;
    color: #fff;
}

/* Quote Box */
.quote-box {
    background: #111;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease;
}

/* Quote Text & Author */
#quoteText {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

#quoteAuthor {
    font-size: 1rem;
    color: #aaa;
    font-style: italic;
}

/* Quote Box */
.quote-box {
    background: #111;
    padding: 20px 20px 50px 20px; /* extra bottom space for button */
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease;
}

/* Copy Button - Dark Theme */
#copyBtn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #333;           /* Dark gray to match black background */
    border: 1px solid #555;           /* subtle border for definition */
    border-radius: 8px;               /* Slightly rounded corners */
    padding: 5px 10px;                /* Compact size */
    cursor: pointer;
    font-size: 0.9rem;                /* Smaller text */
    color: #fff;                       /* White text for contrast */
    box-shadow: 0 0 8px rgba(255,255,255,0.2); /* soft glow for premium feel */
    transition: all 0.3s ease;
}

#copyBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255,255,255,0.4); /* brighter glow on hover */
    background-color: #444;                       /* slightly lighter on hover */
}



/* Next Button */
.next-btn {
    margin-top: 20px;
    padding: 12px 25px;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    background: #ff9966;
    background: linear-gradient(90deg, #ff9966, #ff5e62);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.next-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #ff5e62;
}

/* Floating Hearts */
.heart {
    position: absolute;
    width: 15px;
    height: 15px;
    background: red;
    transform: rotate(45deg);
    left: 50%;
    animation: floatUp 3s ease forwards;
    opacity: 0.8;
    border-radius: 3px;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: red;
    border-radius: 50%;
}

.heart::before {
    top: -7.5px;
    left: 0;
}

.heart::after {
    left: 7.5px;
    top: 0;
}

/* Heart Animation */
@keyframes floatUp {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 0.8;
    }
    100% {
        transform: translateX(calc(-50px + 100px * var(--randX))) translateY(-200px) rotate(45deg);
        opacity: 0;
    }
}

/* Gradient Text for Motivation / Inspiration */
.gradient-text {
    background: linear-gradient(90deg, #ff9966, #ff5e62);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(-45deg, #000000, #111111, #222222, #000000);
    background-size: 400% 400%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
