:root {
    --bg-color: #14110C;
    --gold-color: #E8B738;
    --text-color: #FFFFFF;
    --text-light-gray: #D1D1D1;
    --status-bg: #3A3A3A;
    --timeline-blue: #00A9C0;
    --timeline-pink: #E83A9C;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 2rem;
    overflow-x: hidden;
    background-image: linear-gradient(180deg, rgba(20, 17, 12, 0) 50%, rgba(20, 17, 12, 1) 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Background Shapes */
.bg-shapes {
    position: absolute;
    bottom: -15%;
    left: 0;
    right: 0;
    height: 300px;
    z-index: -1;
    overflow: hidden;
    opacity: 0.5;
}

.bg-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-shapes .shape:nth-child(1) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
    transform: rotate(35deg);
}
.bg-shapes .shape:nth-child(2) {
    width: 250px;
    height: 250px;
    bottom: -150px;
    right: 5%;
    transform: rotate(55deg);
}
.bg-shapes .shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: 20%;
    transform: rotate(45deg);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    line-height: 1.1;
    font-size: 1rem;
    color: var(--gold-color);
}

header h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--gold-color);
    text-transform: uppercase;
}

.hashtag {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--text-color);
}

/* Roadmap */
.roadmap-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    position: relative;
    padding: 5rem 0;
}

.timeline-bar {
    grid-column: 2 / 10;
    grid-row: 2;
    height: 8px;
    background: var(--timeline-pink);
    display: flex;
    align-items: center;
    position: relative;
}

.timeline-progress {
    width: 45%; 
    height: 100%;
    background: var(--timeline-blue);
}

.timeline-arrow {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid var(--timeline-pink);
}

.milestone-wrapper {
    grid-column: var(--col) / span 2;
    position: relative;
    padding: 0 1rem;
}

.milestone-wrapper.top {
    grid-row: 1;
    align-self: end;
    padding-bottom: 50px;
}

.milestone-wrapper.bottom {
    grid-row: 3;
    align-self: start;
    padding-top: 50px;
}

/* Connector Line and Dot */
.milestone-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--gold-color);
}
.milestone-wrapper::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--gold-color);
    border: 3px solid var(--bg-color);
}

.milestone-wrapper.top::before { bottom: 0; height: 50px; }
.milestone-wrapper.top::after { bottom: -8px; }

.milestone-wrapper.bottom::before { top: 0; height: 50px; }
.milestone-wrapper.bottom::after { top: -8px; }

/* Milestone Card */
.milestone header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.milestone h2 {
    font-size: 1.25rem;
    color: var(--gold-color);
    font-weight: 600;
    white-space: nowrap;
}

.milestone .status {
    background-color: var(--status-bg);
    color: var(--text-light-gray);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

.milestone ul {
    list-style: none;
}

.milestone ul li {
    color: var(--text-light-gray);
    position: relative;
    padding-left: 1rem;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.milestone ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    body {
        padding: 1rem;
    }
    header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding-bottom: 2rem;
    }
    .roadmap-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 2rem 0;
    }
    .timeline-bar {
        display: none;
    }
    .milestone-wrapper,
    .milestone-wrapper.top,
    .milestone-wrapper.bottom {
        grid-column: auto;
        grid-row: auto;
        padding: 0;
        width: 100%;
        max-width: 450px;
    }
    .milestone-wrapper::before,
    .milestone-wrapper::after {
        display: none;
    }
    .milestone {
      border: 1px solid var(--gold-color);
      padding: 1rem 1.5rem;
      border-radius: 8px;
      background: rgba(232, 183, 56, 0.05);
    }
    .milestone header {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        text-align: center;
    }
    .milestone h2 {
        font-size: 1.1rem;
    }
    .milestone ul li {
        font-size: 0.85rem;
    }
}
