* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Comfortaa', cursive;
    background: linear-gradient(135deg, #e6e6fa, #d8bfd8);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: start;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 2em;
}
#app {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3em;
    position: relative;
}
h1 {
    font-size: 2.2em;
    margin-bottom: 1em;
    color: #6a0dad;
}
.hidden {
    display: none;
}
button {
    padding: 0.8em 1.6em;
    font-size: 1em;
    border: none;
    border-radius: 12px;
    background: #9370db;
    color: white;
    cursor: pointer;
    margin-top: 1em;
    transition: background 0.3s;
}
button:hover {
    background: #6a5acd;
}
input {
    padding: 0.5em;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 1em;
    margin-top: 1em;
}
img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 1em;
}
.step {
    background: #f8f4ff;
    padding: 1em;
    border-left: 6px solid #9370db;
    margin: 1.5em 0;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    animation: fadeIn 1s ease;
}
.step::before {
    position: absolute;
    left: -40px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: #9370db;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #dcd6f7;
    content: '?';
    align-content: center;
    text-align: center;
    color: white;
}
.trail {
    position: relative;
    margin-top: 2em;
}
.curve {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('https://www.svgrepo.com/show/303610/path.svg') center no-repeat;
    background-size: contain;
    opacity: 0.2;
    z-index: 0;
}
.step-content {
    position: relative;
    z-index: 1;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.checklist {
    background: #f3eaff;
    padding: 1em 1.5em;
    border-radius: 15px;
    margin-top: 1.5em;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.checklist h2 {
    margin-bottom: 0.5em;
    color: #6a0dad;
}
.checklist ul {
    list-style: none;
    padding-left: 0;
}
.checklist li {
    padding: 0.4em 0;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.final-step {
    background: #f0f8ff;
    border-left-color: #00bcd4;
}
#reveal-hidden-btn {
    position: absolute;
    top: 10px;         /* change this to your secret location */
    left: 10px;        /* adjust as needed */
    width: 1px;
    height: 1px;
    opacity: 0;
    z-index: 9999;
    background: transparent;
    border: none;
    cursor: pointer;
}
#scroll-bottom-btn {
    position: fixed;
    top: 5rem;
    right: 1rem;
    background-color: #d8b4e2;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
    padding: 0;
}

#refresh-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: #d8b4e2;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 0;
}

#scroll-bottom-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

#scroll-bottom-btn:hover {
    background-color: #c084fc;
}

#refresh-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

#refresh-btn:hover {
    background-color: #c084fc;
}
