* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
        /* Reference your local file here. Example: 'bg.gif' */
    background-image: url('graphic/smallglit.gif'); 

    /* This makes it repeat like a pattern */
    background-repeat: repeat; 

    /* Control the scale. Small (100px) for a tight pattern, Large (500px) for big visuals */
    background-size: 100px; 

    /* Keeps the background still while you scroll through your favorites */
    background-attachment: fixed;
    background-color: #050a06; /* Midnight Emerald */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 4rem 1rem;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Floating Background Blobs --- */
.blob, .blob2 {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(172, 225, 175, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: move 20s infinite alternate;
}
.blob { top: -100px; left: -100px; }
.blob2 { bottom: -100px; right: -100px; animation-delay: -5s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.2); }
}

/* --- Layout Container --- */
.container {
    width: 100%;
    max-width: 650px;
    position: relative;
    z-index: 1;
}

/* --- Header & Title --- */
header {
    margin-bottom: 5rem;
    text-align: center;
}

.activity-label {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #ace1af;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.gradient-title {

    font-size: clamp(2.2rem, 8vw, 3.5rem);

    font-weight: 800;

    line-height: 1.1;

    background: linear-gradient(to right, #ffffff 20%, #a855f7 50%, #ec4899 80%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}
.title-gif {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4)); 
}

/* --- Main List Cards --- */
.main-list {
    list-style: none;
    counter-reset: roadmap;
}

.main-list > li {
    counter-increment: roadmap;
    display: flex;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08); 
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.main-list > li:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

/* Vertical Stack Fix for Content */
.content {
    display: flex;
    flex-direction: column; 
    width: 100%;
}

/* --- Rainbow Number Pills --- */
.main-list > li::before {
    content: counter(roadmap);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 900;
    margin-right: 2rem;
    flex-shrink: 0;
}

.step-1::before { background: #ff595e; box-shadow: 0 0 20px rgba(255, 89, 94, 0.4); }
.step-2::before { background: #ffca3a; box-shadow: 0 0 20px rgba(255, 202, 58, 0.4); }
.step-3::before { background: #8ac926; box-shadow: 0 0 20px rgba(138, 201, 38, 0.4); }
.step-4::before { background: #1982c4; box-shadow: 0 0 20px rgba(25, 130, 196, 0.4); }
.step-5::before { background: #6a4c93; box-shadow: 0 0 20px rgba(106, 76, 147, 0.4); }

.label {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* --- Sub-Lists (Neutral Style) --- */
.sub-list {
    list-style: none;
    padding-left: 0;
}

.sub-list > li {
    color: #a1a1a6;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.sub-list > li::before {
    content: "→";
    margin-right: 10px;
    color: rgba(255,255,255,0.2);
}

/* --- Nested 1, 2, 3 Lists (Organization Fix) --- */
.nested-header {
    display: block;
    font-weight: 700;
    color: #ffffff;
    margin-top: 1rem;
}

.inner-number-list {
    display: block; /* Forces it to drop below the text */
    list-style-type: decimal;
    padding-left: 2.5rem; /* Indented for organization */
    margin: 0.5rem 0 1rem 0;
    color: #a1a1a6;
}

.inner-number-list li {
    display: list-item;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.inner-number-list li::before {
    content: none; /* No arrows for nested numbers */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .header-main { flex-direction: column; gap: 10px; }
    .title-gif { width: 45px; height: 45px; }
    .main-list > li { padding: 1.5rem; flex-direction: column; }
    .main-list > li::before { margin-bottom: 1rem; }
}