#progressBarSection {
    position: relative;
    width: 100%;
    min-height: 250vh;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Adjust based on your header height */
}

#progressBarSection .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px; /* Bootstrap's default container width */
    padding: 0 15px;
    margin: 0 auto;
}

#progressBarSection .progress-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#progressBarSection .progress-bar {
    width: 100%;
    height: 30px;
    background-color: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

#progressBarSection .progress-fill {
    height: 100%;
    background-color: #3ab54a;
    width: 0;
    transition: width 0.3s ease-in-out;
    border-radius: 15px;
}

#progressBarSection .progress-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

#progressBarSection .progress-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0 10px;
}

#progressBarSection .marker {
    position: relative;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

#progressBarSection .marker:hover {
    color: #3ab54a;
}

#progressBarSection .progress-controls {
    margin-top: 2rem;
}

#progressBarSection .btn-progress,
#progressBarSection .btn-reset {
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    border: none;
    border-radius: 25px;
    background-color: #3ab54a;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#progressBarSection .btn-progress:hover,
#progressBarSection .btn-reset:hover {
    background-color: #2d8d3a;
}

#progressBarSection .btn-reset {
    background-color: #dc3545;
}

#progressBarSection .btn-reset:hover {
    background-color: #bb2d3b;
}

#progressBarSection .btn-primary:hover,
#progressBarSection .btn-info:hover {
    transform: translateY(4px) !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.2) !important;
}

#progressBarSection .btn-primary:active,
#progressBarSection .btn-info:active {
    transform: translateY(8px) !important;
    box-shadow: none !important;
}

#progressBarSection .presale-section {
    position: relative;
    width: 100%;
    height: calc(120vh - 80px); /* Adjust based on your header height */
    display: flex;
    align-items: center;
    justify-content: center;
}

#progressBarSection .presale-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#progressBarSection .background-slider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: 1;
}

#progressBarSection .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#progressBarSection .slide:first-child {
    opacity: 1;
}

#progressBarSection .content-overlay {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

#progressBarSection .yellow-glow {
    text-shadow: 0 0 10px #ffd700;
    color: #ffd700;
}

#progressBarSection .green-glow {
    text-shadow: 0 0 10px #3ab54a;
    color: #3ab54a;
}

#progressBarSection .presale-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

#progressBarSection .journey-text {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
}

#progressBarSection .presale-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

#progressBarSection .phase-info {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

#progressBarSection .phase-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

#progressBarSection .token-info h3 {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 0.5rem;
}

#progressBarSection .price {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: bold;
}

#progressBarSection .progress-circle {
    position: relative;
    width: 200px;
    height: 200px;
    flex: 0 0 auto;
}

#progressBarSection .circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
}

#progressBarSection .glass-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

#progressBarSection .glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1)
    );
}

#progressBarSection .liquid {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    overflow: hidden;
    isolation: isolate;
}

#progressBarSection .liquid .bg {
    position: absolute;
    inset: 0;
    /* Remove hardcoded value, will be set by JS/blade */
}

#progressBarSection .liquid .bg:before,
#progressBarSection .liquid .bg:after {
    content: "";
    position: absolute;
    inset: 0;
    --gp: calc(100% - var(--progress));
    background: linear-gradient(
        to bottom,
        var(--c5) calc(5% - var(--gp)),
        var(--c4) calc(25% - var(--gp)),
        var(--c3) calc(50% - var(--gp)),
        var(--c2) calc(75% - var(--gp)),
        var(--c1) calc(100% - var(--gp))
    );
    /* Remove hardcoded 82% value */
    transform: translateY(calc(100% - var(--progress)));
    animation: wave 1s linear infinite;
    transition: all 0.3s linear;
    filter: saturate(0.85);
}

#progressBarSection .liquid .bg:after {
    /* Remove hardcoded 82% value */
    transform: scaleX(-1) translateY(calc(100% - var(--progress)));
    opacity: 0;
    --o: 0.6;
    animation-delay: 0.55s;
}

@keyframes wave {
    from {
        opacity: var(--o, 1);
        clip-path: polygon(
            100% 100%,
            0% 100%,
            0% 27.83%,
            7.14% 28.61%,
            14.29% 28.98%,
            21.43% 28.9%,
            28.57% 28.4%,
            35.71% 27.49%,
            42.86% 26.22%,
            50% 24.65%,
            57.14% 22.86%,
            64.29% 20.95%,
            71.43% 19%,
            78.57% 17.12%,
            85.71% 15.4%,
            92.86% 13.92%,
            100% 12.77%
        );
    }

    25% {
        clip-path: polygon(
            100% 100%,
            0% 100%,
            0% 17.77%,
            7.14% 16.02%,
            14.29% 14%,
            21.43% 11.82%,
            28.57% 9.58%,
            35.71% 7.4%,
            42.86% 5.38%,
            50% 3.63%,
            57.14% 2.23%,
            64.29% 1.26%,
            71.43% 0.76%,
            78.57% 0.76%,
            85.71% 1.26%,
            92.86% 2.23%,
            100% 3.63%
        );
    }

    50% {
        clip-path: polygon(
            100% 100%,
            0% 100%,
            0% 2.21%,
            7.14% 1.34%,
            14.29% 0.93%,
            21.43% 1.01%,
            28.57% 1.58%,
            35.71% 2.6%,
            42.86% 4.03%,
            50% 5.8%,
            57.14% 7.81%,
            64.29% 9.97%,
            71.43% 12.16%,
            78.57% 14.28%,
            85.71% 16.22%,
            92.86% 17.88%,
            100% 19.19%
        );
    }

    to {
        opacity: var(--o, 1);
        clip-path: polygon(
            100% 100%,
            0% 100%,
            0% 31.33%,
            7.14% 32.11%,
            14.29% 32.48%,
            21.43% 32.4%,
            28.57% 31.9%,
            35.71% 30.99%,
            42.86% 29.72%,
            50% 28.15%,
            57.14% 26.36%,
            64.29% 24.45%,
            71.43% 22.5%,
            78.57% 20.62%,
            85.71% 18.9%,
            92.86% 17.42%,
            100% 16.27%
        );
    }
}

#progressBarSection .bubbles {
    position: absolute;
    inset: 0;
}

#progressBarSection .bubbles:before {
    content: "";
    position: absolute;
    inset: 0;
    --x: 50%;
    --y: 80%;
    background:
        radial-gradient(
            0.02vmin at var(--x) var(--y),
            hsla(0, 0, 100%, 0.8) 0.2vmin,
            transparent 0.4vmin,
            transparent
        ) center center no-repeat,
        radial-gradient(
            0.03vmin at calc(var(--x) * 1.9) calc(var(--y) * 1.9),
            hsla(0, 0, 100%, 0.8) 0.2vmin,
            transparent 0.4vmin,
            transparent
        ) center center no-repeat;
    mix-blend-mode: soft-light;
    animation: b2 linear 3.5s infinite;
}

#progressBarSection .bubbles:after {
    content: "";
    position: absolute;
    inset: 0;
    --x: 30%;
    --y: 60%;
    background:
        radial-gradient(
            0.02vmin at var(--x) var(--y),
            hsla(0, 0, 100%, 0.1) 0.1vmin,
            transparent 0.4vmin,
            transparent
        ) center center no-repeat,
        radial-gradient(
            0.03vmin at calc(var(--x) * 1.2) calc(var(--y) * 1.5),
            hsla(0, 0, 100%, 0.1) 0.1vmin,
            transparent 0.4vmin,
            transparent
        ) center center no-repeat;
    mix-blend-mode: soft-light;
    animation: b1 linear 6s infinite;
}

@keyframes b1 {
    from {
        --x: 50%;
        --y: 60%;
        opacity: 0;
    }

    50% {
        --x: 60%;
        --y: 45%;
        opacity: 1;
        transform: scale(1.1);
    }

    to {
        --x: 50%;
        --y: 30%;
        opacity: 0;
    }
}

@keyframes b2 {
    from {
        --x: 50%;
        --y: 80%;
        opacity: 0;
    }

    50% {
        --x: 10%;
        --y: 55%;
        opacity: 1;
        transform: scale(1.1);
    }

    to {
        --x: 60%;
        --y: 30%;
        opacity: 0;
    }
}

#progressBarSection .glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 60%
    );
}

#progressBarSection .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    color: white;
}

#progressBarSection .total-raised {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

#progressBarSection .total-raised .progress-bar {
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

#progressBarSection .total-raised .progress {
    height: 100%;
    background: #3ab54a;
    transition: width 1.5s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
}

#progressBarSection .raised-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: bold;
    color: white;
    z-index: 2;
    width: 100%;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

@supports (background: paint(houdini)) {
    @property --progress {
        syntax: "<percentage>";
        inherits: true;
        initial-value: 0%;
    }

    @property --x {
        syntax: "<percentage>";
        inherits: true;
        initial-value: 0%;
    }

    @property --y {
        syntax: "<percentage>";
        inherits: true;
        initial-value: 0%;
    }
}

:root {
    --c1: #00adff;
    --c2: #39d469;
    --c3: #ffeb00;
    --c4: #ff8100;
    --c5: #b50f0f;
}

/* Media Queries using Bootstrap breakpoints */
/* Small devices (phones, 320px - 480px) */
@media only screen and (min-width: 320px) and (max-width: 480px) {
    #progressBarSection .progress-circle {
        width: 150px;
        height: 150px;
    }

    #progressBarSection .content-overlay {
        width: 100%;
        border-radius: 0;
    }
}

/* Medium devices (tablets, 481px - 767px) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
    #progressBarSection .presale-info {
        flex-direction: column;
        gap: 3rem;
    }

    #progressBarSection .phase-info {
        width: 100%;
        min-width: unset;
    }

    #progressBarSection .progress-circle {
        width: 180px;
        height: 180px;
    }

    #progressBarSection .content-overlay {
        padding: 2rem 1rem;
    }
}

/* For backwards compatibility, keeping the old media queries but updating them */
@media (max-width: 768px) {
    /* These styles are now handled by the Bootstrap breakpoints above */
}

@media (max-width: 480px) {
    /* These styles are now handled by the Bootstrap breakpoints above */
}
