
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding-top: 160px; /* Space for ticker and fixed header */
}

button {
    box-shadow: 0 2px #000;
    border: 1px solid #000;
}

/* Fixed header so logo, menu arrow, and wallet button stay visible */
header {
    position: fixed;
    top: 40px; /* below ticker */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    body {
        padding-top: 160px;
    }
    .logo img {
        height: 50px;
    }
}

@media (min-width: 769px) {
    body {
        padding-top: 240px;
    }
}

section {
    padding: 4rem 1rem;
    scroll-margin-top: 150px;
}

section > p {
    max-width: 600px;
    margin: 1rem auto;
    line-height: 1.6;
}

section > p:not(.graph-source):not(.total-supply):not(.info-box) {
    font-weight: bold;
    background: #fff;
    border: 2px solid #c69cd9;
    box-shadow: 4px 4px 0 #000;
    padding: 0.5rem 1rem;
}

.cartoon {
    filter: drop-shadow(2px 2px 0 #000);
}

/* Tug of War Graphic */
.tug-of-war {
    position: relative;
    width: 100%;
    height: 20px;
    border: 2px solid #000;
    margin: 1rem auto;
    overflow: hidden;
}
.tug-bar {
    position: absolute;
    top: 0;
    height: 100%;
    transition: width 0.3s linear;
}
.tug-bar.token {
    left: 0;
    background-color: #c69cd9;
}
.tug-bar.waste {
    right: 0;
    background-color: #ff0000;
}
.tug-labels {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0.5rem auto 2rem;
    font-size: 0.9rem;
}
.tug-labels .token-label {
    color: #c69cd9;
}
.tug-labels .waste-label {
    color: #ff0000;
}
.tug-labels i {
    margin-right: 0.25rem;
}

.annual-count {
    display: block;
    font-size: 0.8rem;
    color: #008000;
}

.mission-image {
    position: relative;
    max-width: 400px;
    margin: 1rem auto;
}

.mission-image canvas {
    width: 100%;
    display: block;
}

.mission-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 0.5rem;
}

section > p:not(.graph-source):not(.total-supply)::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105";
    color: #c69cd9;
    margin-right: 0.5rem;
}

.info-box {
    background-color: #fdfbf7;
    background-image:
        linear-gradient(
            to right,
            transparent 40px,
            #ffb3ba 40px,
            #ffb3ba 42px,
            transparent 42px
        ),
        repeating-linear-gradient(
            to bottom,
            #fdfbf7,
            #fdfbf7 24px,
            #c3d4f7 24px,
            #c3d4f7 25px
        );
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 100% 25px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1rem 1rem 1rem 3rem;
    margin: 1rem auto;
    max-width: 800px;
    line-height: 25px;
    font-weight: bold;
}

.section-list {
    list-style: disc;
    margin: 1rem auto;
    max-width: 600px;
    text-align: left;
    padding-left: 1.5rem;
}

.section-list li::marker {
    color: #c69cd9;
}

.vision-board {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.vision-board li {
    background-color: #fdfbf7;
    background-image:
        linear-gradient(
            to right,
            transparent 40px,
            #ffb3ba 40px,
            #ffb3ba 42px,
            transparent 42px
        ),
        repeating-linear-gradient(
            to bottom,
            #fdfbf7,
            #fdfbf7 24px,
            #c3d4f7 24px,
            #c3d4f7 25px
        );
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 100% 25px;
    border: 2px solid #c69cd9;
    box-shadow: 4px 4px 0 #000;
    padding: 1rem 1rem 1rem 3rem;
    width: 220px;
    position: relative;
    transform-origin: top center;
    animation: swing 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vision-board li::before {
    content: '';
    width: 15px;
    height: 15px;
    background: #c69cd9;
    border: 2px solid #000;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.vision-board li:nth-child(even) {
    animation-delay: 2s;
}

@keyframes swing {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.vision-icon {
    animation: bounce 2s ease-in-out infinite;
}

.section-icon {
    color: #c69cd9;
    margin-right: 0.5rem;
    animation: floatCoin 3s ease-in-out infinite, sparkleCoin 2s ease-in-out infinite;
    width: 1em;
    height: 1em;
}

.section-icon.red-icon {
    color: #ff0000;
    animation: floatCoin 3s ease-in-out infinite, sparkleRed 2s ease-in-out infinite;
}

.section-icon.gold-icon {
    color: #FFD700;
    animation: floatCoin 3s ease-in-out infinite, sparkleGold 2s ease-in-out infinite;
}

.token-title-icon.gold-icon {
    color: #FFD700;
    animation: wiggle 2s ease-in-out infinite, sparkleGold 2s ease-in-out infinite;
}

@media (min-width: 769px) {
    section {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        scroll-margin-top: 220px;
    }
}

/* Logo */
.logo img {
    height: 60px;
    margin: 0;
    display: block;
    color: #c69cd9;
    animation: floatCoin 3s ease-in-out infinite, sparkleCoin 2s ease-in-out infinite;
}

/* Wallet button */
.wallet-button {
    background-color: #c69cd9;
    border: 1px solid #000;
    color: #ffffff;
    padding: 10px 20px;
    margin: 0.5rem 0 0;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 2px #000;
}
.wallet-button:hover {
    background-color: #b17cc7;
}

/* Presale button */
.presale-button {
    background-color: #000;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 10px 20px;
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px #00ff00;
}
.presale-button:hover {
    background-color: #00ff00;
    color: #000;
}

/* Language selector and chat toggle */
.language-container {
    position: fixed;
    bottom: 20px;
    left: 90px;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    z-index: 10000;
}
.language-container button {
    background-color: #c69cd9;
    border: 1px solid #000;
    color: #ffffff;
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.language-container button img {
    width: 30px;
    height: 30px;
}
.language-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0.5rem;
}
.language-container.open .language-dropdown {
    display: block;
}

/* Dropdown menu */
.dropdown-arrow {
    display: block;
    width: 100%;
    font-size: 2rem;
    cursor: pointer;
    color: #c69cd9;
    -webkit-text-stroke: 1px #000;
    text-shadow: -1px -1px 0 #000,
                 1px -1px 0 #000,
                 -1px 1px 0 #000,
                 1px 1px 0 #000;
    margin: 0.5rem auto 0;
    text-align: center;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    margin-top: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 901;
}
.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dropdown-menu ul li {
    display: inline-block;
    margin: 0 1rem;
}
.dropdown-menu ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}
.dropdown-menu ul li a.active {
    border-bottom: 2px solid #c69cd9;
}
.dropdown-menu ul li a:hover {
    color: #c69cd9;
}

/* Cyber Grid behind countdown */
#hero {
    position: relative;
    padding: 4rem 1rem;
}
#hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: repeating-linear-gradient(0deg, rgba(0,255,0,0.1) 1px, transparent 1px, transparent 20px),
                      repeating-linear-gradient(90deg, rgba(0,255,0,0.1) 1px, transparent 1px, transparent 20px);
    z-index: 0;
}
#countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #00ff00;
    z-index: 1;
    position: relative;
    background-color: #000;
    border: 2px solid #00ff00;
    padding: 0.5rem 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.time-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    width: fit-content;
}

.launch-title {
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ff00;
}

.launch-rocket {
    animation: rocket 2s infinite ease-in-out;
}

@keyframes rocket {
    0% { transform: translateY(0); }
    50% { transform: translate(-3px, -10px); }
    100% { transform: translateY(0); }
}

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5rem;
    border-left: 1px solid #00ff00;
}

.time-segment:first-child {
    border-left: none;
}


.count-num {
    font-weight: bold;
    color: #00ff00;
}


.count-label {
    font-size: 0.6em;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #00ff00;
}

.ico-hero {
    margin-top: 1rem;
    padding: 2rem 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metal-box {
    position: relative;
    background: linear-gradient(145deg, #b0b0b0, #7a7a7a);
    border: 3px solid #444;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.metal-box::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: linear-gradient(145deg, #d0d0d0, #8a8a8a);
    border: 3px solid #444;
    border-radius: 20px;
    z-index: -1;
}

.bolt {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ccc;
    border: 2px solid #666;
    border-radius: 50%;
}

.bolt::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.bolt.top-left { top: 4px; left: 4px; }
.bolt.top-right { top: 4px; right: 4px; }
.bolt.bottom-left { bottom: 4px; left: 4px; }
.bolt.bottom-right { bottom: 4px; right: 4px; }


.ico-bar {
    width: 80%;
    height: 20px;
    border: 2px solid #800080;
    background: #000;
    margin: 1rem auto;
    position: relative;
}


.ico-bar-fill {
    height: 100%;
    background: #800080;
    width: 0;
    transition: width 8s linear;
}

.ico-raised,
.ico-price,
.ico-wallet {
    margin: 0.25rem 0;
    font-weight: bold;
}

.ico-note {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.ico-wallet {
    font-size: 0.9rem;
    margin-top: 1rem;
}

#walletInfoLink {
    color: #c69cd9;
    text-decoration: underline;
}

.w3p-logo {
    display: inline-block;
    height: 2.4em;
    vertical-align: middle;
}

.powered-by {
    display: block;
    margin-top: 0.25rem;
}

@media (max-width: 600px) {
    #hero {
        padding: 4rem 0;
    }

    #countdown {
        display: flex;
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        gap: 0.25rem;
        padding: 0.25rem 0.5rem;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        max-width: 100%;
        box-sizing: border-box;
    }

    .time-wrapper {
        flex-wrap: nowrap;
        gap: 0.25rem;
        width: fit-content;
    }

    .time-segment {
        padding: 0 0.25rem;
    }

    .w3p-logo {
        height: 2.4em;
    }
}

/* Features & Roadmap */
.features-grid, .steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1000px;
}
.feature-card, .step {
    padding: 1rem;
    flex: 1 1 200px;
    font-weight: bold;
}

.cta-box {
    padding: 1rem;
    margin: 1rem auto;
    max-width: 800px;
    text-align: center;
    font-weight: bold;
}

.step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    animation: floatCoin 3s ease-in-out infinite, sparkleCoin 2s ease-in-out infinite;
}

@keyframes floatCoin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes sparkleCoin {
    0%, 100% { filter: drop-shadow(0 0 0px currentColor); }
    50% { filter: drop-shadow(0 0 8px currentColor); }
}

@keyframes sparkleRed {
    0%, 100% { filter: drop-shadow(0 0 0px #ff0000); }
    50% { filter: drop-shadow(0 0 8px #ff0000); }
}

@keyframes sparkleGold {
    0%, 100% { filter: drop-shadow(0 0 0px #FFD700); }
    50% { filter: drop-shadow(0 0 8px #FFD700); }
}

.step-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-icon {
    font-size: 2rem;
    color: #c69cd9;
    margin-bottom: 0.5rem;
    animation: floatCoin 3s ease-in-out infinite, sparkleCoin 2s ease-in-out infinite;
}

.supply-icon {
    width: 24px;
    height: 24px;
    margin-left: 0.3rem;
    vertical-align: middle;
    color: #c69cd9;
    animation: floatCoin 3s ease-in-out infinite, sparkleCoin 2s ease-in-out infinite;
}

.thrift-coin {
    color: #c69cd9;
}

.total-supply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fff;
    border: 2px solid #c69cd9;
    box-shadow: 4px 4px 0 #000;
    padding: 0.5rem 1rem;
    margin: 1rem auto;
    font-size: 1.2rem;
    font-weight: bold;
    max-width: fit-content;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .total-supply {
        font-size: 1rem;
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        white-space: normal;
    }
}

.allocation-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.allocation-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #c69cd9;
    margin-right: 0.5rem;
    animation: floatCoin 3s ease-in-out infinite, sparkleCoin 2s ease-in-out infinite;
}
.roadmap-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
    padding: 2rem 0;
}
.roadmap-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #c69cd9;
    transform: translateX(-50%);
}
.roadmap-phase {
    position: relative;
    background: #ffffff;
    padding: 1rem 2rem;
    margin: 2rem 0;
    width: 80%;
    max-width: 500px;
    border: 2px solid #c69cd9;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #000;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.roadmap-phase::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #c69cd9;
}
.roadmap-phase.visible {
    opacity: 1;
    transform: translateY(0);
}

.phase-icon {
    filter: drop-shadow(0 0 4px currentColor);
}

.phase1 .phase-icon { color: #e63946; }
.phase2 .phase-icon { color: #ffb703; }
.phase3 .phase-icon { color: #2a9d8f; }
.phase4 .phase-icon { color: #457b9d; }
.phase5 .phase-icon { color: #e07a5f; }

@media (min-width: 769px) {
    .roadmap-container {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

/* Footer */
footer {
    background: #151515;
    padding: 1rem 1rem 2rem;
    color: #ffffff;
}
.footer-links {
    margin-bottom: 0.5rem;
}
.footer-links a {
    margin: 0 1rem;
    color: #ffffff;
    font-size: 1.5rem;
}
.footer-links a:hover {
    color: #c69cd9;
}

/* Tokenomics */
#tokenomics .section-list {
    text-align: center;
    list-style-position: inside;
    padding-left: 0;
}

/* Tokenomics graph and utility */
.allocation-graph {
    max-width: 600px;
    margin: 1.5rem auto;
}

.allocation-bar {
    position: relative;
    height: 40px;
    margin: 0.5rem 0;
    border: 4px solid #000;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 4px 4px 0 #000;
}

.allocation-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--bar-color);
    animation: growBar 1.5s ease-out forwards;
}

.allocation-bar span {
    position: relative;
    z-index: 1;
    line-height: 40px;
    font-weight: bold;
}

@keyframes growBar {
    from { width: 0; }
    to { width: calc(var(--percent) * 1%); }
}

.token-utility-wrapper,
.ico-progress-wrapper {
    padding: 2rem 1rem;
    margin: 2rem auto;
    width: 100%;
    max-width: 350px;
    text-align: center;
    animation: popIn 1s ease;
}

.token-utility-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    color: #c69cd9;
    text-shadow: -1px 0 0 #000, 1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000;
    margin-bottom: 0.5rem;
}

.token-title-icon {
    font-size: 2.5rem;
    animation: wiggle 2s ease-in-out infinite;
}

.tether-info {
    font-weight: bold;
    animation: fadeIn 1.5s ease both;
}

.token-utility {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 600px;
}

.utility-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    animation: fadeIn 0.8s ease forwards;
}

.utility-item:nth-child(2) { animation-delay: 0.2s; }
.utility-item:nth-child(3) { animation-delay: 0.4s; }

.utility-icon {
    font-size: 2rem;
    color: #c69cd9;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(2px 2px 0 #000);
}

.utility-item:nth-child(2) .utility-icon { animation-delay: 0.3s; }
.utility-item:nth-child(3) .utility-icon { animation-delay: 0.6s; }

.pink-icon {
    color: #ff66aa;
}

.sparkle-icon {
    animation: bounce 2s ease-in-out infinite, sparkleCoin 2s ease-in-out infinite;
}

.green-icon {
    color: #28a745;
}

.blue-glow-icon {
    color: #1e90ff;
}


.ico-progress-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    color: #c69cd9;
    text-shadow: -1px 0 0 #000, 1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000;
    margin-bottom: 1rem;
}

.ico-progress-chart-container {
    max-width: 100%;
    margin: 0 auto;
}

.token-graphs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.ico-progress-text {
    font-weight: bold;
    margin-top: 1rem;
}

.ico-goal-note {
    font-style: italic;
    margin-top: 0.5rem;
}

.token-equation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    margin: 2rem auto;
    font-size: 1.2rem;
}

.eq-part {
    background: #fff;
    border: 2px solid #c69cd9;
    box-shadow: 4px 4px 0 #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    animation: popIn 0.6s ease forwards;
}

.eq-number {
    color: #c69cd9;
    font-size: 2rem;
    font-weight: bold;
    display: block;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(2px 2px 0 #000);
}

.eq-label {
    display: block;
    font-size: 0.8rem;
    color: #000;
}

.eq-operator {
    font-size: 2rem;
    font-weight: bold;
    color: #c69cd9;
    filter: drop-shadow(2px 2px 0 #000);
    align-self: center;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-15deg); }
}

/* Whitepaper button */
.whitepaper-container {
    text-align: center;
    margin: 2rem 0;
}

.whitepaper-button {
    background-color: #c69cd9;
    border: 1px solid #000;
    color: #ffffff;
    padding: 10px 20px;
    margin: 1rem auto;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px #000;
}

.whitepaper-button:hover {
    background-color: #b17cc7;
}

/* Graphs */
.chart-container {
    max-width: 600px;
    margin: 1rem auto;
    background: #fff;
    border: 2px solid #c69cd9;
    box-shadow: 4px 4px 0 #000;
    padding: 1rem;
}

.chart-container canvas {
    width: 100%;
    height: 300px;
}

.ico-progress-chart-container canvas {
    width: 100%;
    height: 250px;
}

@media (min-width: 768px) {
    .token-graphs {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .token-utility-wrapper,
    .ico-progress-wrapper {
        max-width: 300px;
    }

    .ico-progress-chart-container canvas {
        height: 200px;
    }
}

.graph-source {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Extra spacing between consecutive graphs */
.graph-source + h3 {
    margin-top: 3rem;
}

/* Chatbot */
.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c69cd9;
    border: 1px solid #000;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    font-size: 24px;
}

.chatbot {
    position: fixed;
    bottom: 90px;
    left: 20px;
    right: auto;
    width: 300px;
    max-height: 400px;
    background: #fff;
    border: 2px solid #c69cd9;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #000;
    display: flex;
    flex-direction: column;
    z-index: 10002;
}

.chatbot.hidden {
    display: none;
}

.chatbot-header {
    background: #c69cd9;
    color: #fff;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-messages {
    flex: 1;
    padding: 0.5rem;
    overflow-y: auto;
    text-align: left;
}

.chatbot-input {
    display: flex;
    border-top: 1px solid #c69cd9;
}

.chatbot-input input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    outline: none;
    font-size: 16px;
}

.chatbot-input button {
    background: #c69cd9;
    color: #fff;
    border: 1px solid #000;
    padding: 0 1rem;
    cursor: pointer;
}

.chatbot-input button:hover {
    background: #b17cc7;
}

.chat-user, .chat-bot {
    margin-bottom: 0.5rem;
}

.chat-user {
    text-align: right;
}

.chat-bot {
    text-align: left;
}

.chatbot-close {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid, .steps {
        flex-direction: column;
    }
    .dropdown-menu ul li {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Purchase ticker */
.purchase-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #fff;
    border-bottom: 2px solid #000;
    overflow: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.ticker-label {
    margin-left: 10px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}
.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ticker-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}
.ticker-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: ticker 50s linear infinite;
    -webkit-animation: ticker 50s linear infinite;
}
.purchase-item {
    padding: 0 1.5rem;
    white-space: nowrap;
    font-weight: bold;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@-webkit-keyframes ticker {
    from { -webkit-transform: translateX(0); }
    to { -webkit-transform: translateX(-50%); }
}

/* Wallet modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}
.modal.hidden { display: none; }
.modal-content {
    background: #e0e0e0;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 2px #000;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-weight: bold;
}
.wallet-option {
    background: #c69cd9;
    color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 10px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 2px #000;
}
.wallet-option img,
.wallet-option i {
    width: 24px;
    height: 24px;
    margin-left: 10px;
}

.wallet-steps {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.download-button {
    display: block;
    background: #c69cd9;
    color: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 10px 0;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px #000;
    text-decoration: none;
}

/* Notebook paper background */
.notebook-paper {
    background: repeating-linear-gradient(#fff, #fff 24px, #e2f0ff 24px, #e2f0ff 25px);
}
