* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background style */
.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.hero-buttons-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: blur(150px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.pink {
    background: linear-gradient(45deg, rgba(70, 57, 255, 0.3), rgba(0, 239, 169, 0.3));
    animation-delay: -2s;
}

.purple {
    background: linear-gradient(-45deg, rgba(0, 239, 169, 0.3), rgba(70, 57, 255, 0.3));
    animation-delay: -4s;
}

.blue {
    background: linear-gradient(90deg, rgba(70, 57, 255, 0.3), rgba(0, 239, 169, 0.3));
    animation-delay: -6s;
}

.footer {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
}

/* Top navigation style */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 10;
}

/* Announcement Banner */
.announcement-banner {
    position: fixed;
    top: 74px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #00efa9;
    color: white;
    width: 100%;
    border-radius: 0px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9;
    box-shadow: 0 2px 10px rgba(0, 239, 169, 0.3);
}

.announcement-banner:hover {
    background: rgba(0, 239, 169, 0.8);
    transform: translateX(-50%) translateY(-2px);
}

.announcement-banner i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .announcement-banner {
        top: 74px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .models-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        max-width: 1000px;
        margin: 40px auto 0;
        padding: 0 !important;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-item:hover {
    color: white;
}

.nav-item.active {
    color: white;
    background: linear-gradient(135deg, #4639ff, #00efa9);
}

/* Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem;
    justify-content: space-around;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    align-items: center;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 8px;
    border-radius: 8px;
    min-width: auto;
    justify-content: center;
}

.bottom-nav .nav-item i {
    font-size: 1.2rem;
}

.bottom-nav .nav-item span {
    font-size: 0.9rem;
}

.bottom-nav .nav-item:hover {
    color: rgba(255, 255, 255, 0.8);
}

.bottom-nav .nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, #4639ff, #00efa9);
    padding: 0.5rem 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4639ff, #00efa9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nav-logo {
    width: 70%;
    height: 70%;
    object-fit: cover;
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(to right, #4639ff, #00efa9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.05em;
    text-transform: none;
}

/* Main content style */
.main-content {
    flex: 1;
    padding: 120px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-manifesto {
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    margin: 40px 0;
}

/* Enhanced Markdown Support */
.section-manifesto h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(to right, #4639ff, #00efa9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-manifesto h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(70, 57, 255, 0.2);
    padding-bottom: 0.5rem;
}

.section-manifesto p {
    margin: 1.2rem 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.section-manifesto strong {
    color: #00efa9;
    font-weight: 600;
}

.section-manifesto ul {
    list-style: none;
    margin: 1.2rem 0;
    padding-left: 1.8rem;
}

.section-manifesto ul li {
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.6;
}

.section-manifesto ul li::before {
    content: "•";
    color: #4639ff;
    position: absolute;
    left: -1.8rem;
    font-size: 1.2em;
}

/* Code Block Styling */
.section-manifesto code {
    background: rgba(70, 57, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #61afef;
}

.section-manifesto pre {
    background: rgba(15, 15, 15, 0.9);
    border-radius: 8px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    border: 1px solid rgba(70, 57, 255, 0.2);
    position: relative;
}

.section-manifesto pre code {
    background: none;
    padding: 0;
    font-size: 12px;
    font-family: 'Source Code Pro', 'JetBrains Mono', monospace;
    line-height: 1.6;
    color: #abb2bf;
    display: block;
    white-space: pre;
}

/* Language Badge */
.section-manifesto pre::before {
    content: attr(data-language);
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(70, 57, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 0 8px 0 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Inline Elements */
.section-manifesto em {
    color: #00efa9;
    font-style: normal;
    font-weight: 500;
}

.section-manifesto blockquote {
    border-left: 4px solid #4639ff;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(70, 57, 255, 0.1);
    border-radius: 0 8px 8px 0;
}

.section-manifesto blockquote p {
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-manifesto {
        padding: 25px;
    }

    .section-manifesto h2 {
        font-size: 2rem;
    }

    .section-manifesto h3 {
        font-size: 1.5rem;
    }

    .section-manifesto pre {
        padding: 1rem;
    }
}

/* Token Distribution */
.token-distribution {
    margin: 60px 0;
}

.token-distribution h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    background: linear-gradient(to right, #4639ff, #00efa9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-buttons-row {
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0 1rem;
}

.token-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.chart-container {
    flex: 1;
    min-width: 300px;
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 30px;
}

.pie-chart-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.pie-chart {
    width: 100%;
    height: 100%;
}

.pie-chart path {
    transition: all 0.3s ease;
}

.percentage-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: opacity0.3s;
    pointer-events: none;
    background: rgba(23, 23, 23, 0.9);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.percentage-display.visible {
    opacity: 1;
}

.percentage-display .name {
    font-size: 14px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.7);
}

.percentage-display .value {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.chart-legend {
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.supply {
    background-color: #4639ff;
}

.legend-color.prize {
    background-color: #00efa9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-color.team {
    background-color: #00b8d4;
}

.token-info {
    flex: 1;
    min-width: 300px;
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 30px;
}

.token-info-item {
    margin-bottom: 30px;
}

.token-info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.token-info-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.escrow-account {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.contact-section {
    text-align: center;
    padding: 40px 0;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    background: linear-gradient(to right, #4639ff, #00efa9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.social-link img {
    height: 30px;
    width: auto;
}

/* Bottom navigation style */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-item.active {
    color: #fff;
    background-color: #4639ff;
    width: 65px;
    padding: 10px 0;
    border-radius: 10px;
}

.nav-item .icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: -5px;
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(-30px) translateX(-20px);
    }

    25% {
        transform: translate(-50%, -50%) translateY(0px) translateX(20px);
    }

    50% {
        transform: translate(-50%, -50%) translateY(30px) translateX(-10px);
    }

    75% {
        transform: translate(-50%, -50%) translateY(0px) translateX(10px);
    }
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        /* gap: 1rem; */
    }

    .nav-links {
        display: none;
    }

    .main-content {
        padding: 100px 10px 80px;
    }

    .section-manifesto {
        padding: 20px;
    }

    .token-content {
        flex-direction: column;
    }

    .social-links {
        gap: 30px;
    }

    .wallet-button {
        margin-left: auto;
        white-space: nowrap;
        padding: 6px 12px;
    }

    .top-nav {
        justify-content: space-between;
        padding: 1rem 2rem;
    }

    .bottom-nav .nav-item {
        min-width: auto;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .bottom-nav .nav-item {
        min-width: auto;
    }
}

.wallet-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .wallet-button {
        margin-left: auto;
        white-space: nowrap;
        padding: 6px 12px;
    }
}

.wallet-button i {
    font-size: 16px;
}

.section-manifesto h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.section-manifesto ul {
    list-style: none;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.section-manifesto ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.section-manifesto ul li::before {
    content: "•";
    color: #4639ff;
    position: absolute;
    left: -1.5rem;
}

.section-manifesto code {
    background: rgba(70, 57, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}

.section-manifesto pre {
    background: rgba(23, 23, 23, 0.8);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    border: 1px solid rgba(70, 57, 255, 0.2);
}

.section-manifesto pre code {
    background: none;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
}

.framework-video {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    width: 100%;
}

.framework-video video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.framework-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    width: 100%;
}

.framework-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}