:root {
    --primary: #7b2fff;
    --secondary: #ff38b8;
    --accent: #00f0ff;
    --dark: #0a0a10;
    --darker: #05050a;
    --light: #f5f5f5;
    --gray: #75758a;
    --success: #4ade80;
    --warning: #f59e0b;
    --error: #f43f5e;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.section {
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
}

/* Utility Classes */
.flex {
    display: flex;
}

.grid {
    display: grid;
}

.text-center {
    text-align: center;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar */
@keyframes navbarGradient {
    0% {
        background-position: 0% 60%;
    }
    25% {
        background-position: 50% 40%;
    }
    50% {
        background-position: 100% 60%;
    }
    75% {
        background-position: 50% 80%;
    }
    100% {
        background-position: 0% 60%;
    }
}

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

.navbar {
    position: fixed;
    width: 100%;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.046);
    /* Removed gradient and animation */
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.132);
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.446),
        0 8px 32px 0 rgba(43, 56, 237, 0.747);
    border-radius: 3px;
    z-index: 1000;
    transition: all 0.4s ease;
    color: var(--light);
    overflow: hidden;
}

body.home .navbar {
    display: none;
}

.navbar::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
    animation: ripple 6s linear infinite;
    pointer-events: none;
    border-radius: 15px;
    z-index: 0;
}

@keyframes ripple {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(20%, 20%) scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand .name {
    font-size: 1.1rem;
    font-weight: 700;
}

.navbar-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 25px;
}

.desktop-nav a {
    color: var(--light);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.desktop-nav a:hover {
    color: #b085ff; /* lighter purple */
    transform: scale(1.1);
}

.desktop-nav a:hover::after {
    width: 0;
}

/* Mobile Toggle Button */
.mobile-toggle {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
    transition: color 0.3s ease;
}

.mobile-toggle:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: var(--darker);
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 1001;
}

.mobile-menu.open {
    transform: translateX(0);
}

.close-menu {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    position: absolute;
    top: 15px;
    right: 15px;
}

.menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 40px;
}

.menu-content a {
    color: var(--light);
    text-decoration: none;
    padding: 12px 0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.menu-content a:hover {
    color: var(--primary);
}

.social-icons {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
}

.social-icons a {
    color: var(--light);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero.fancy-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
    gap: 20px;
    justify-content: flex-start;
    /* Add subtle background gradient */
    background: linear-gradient(135deg, rgba(16, 4, 36, 0.15), rgba(34, 7, 24, 0.15));
    color: var(--light);
    border-radius: 0;
    box-shadow: none;
}

.hero-left-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.hero-logo-horizontal {
    width: 900px;
    height: auto;
}

.hero-logo-horizontal img {
    margin-top: 7rem;
    width: 100%;
    height: auto;
    border-radius: 20px;
    /* Removed animation to avoid conflict with floating class */
    filter: drop-shadow(0 0 20px rgba(255, 56, 184, 0.8));
}

.hero.fancy-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
    animation: ripple 6s linear infinite;
    pointer-events: none;
    border-radius: 20px;
    z-index: 0;
}

.hero-title.fancy-title {
    font-family: 'Poppins', 'Rubik Mono One', monospace;
    font-size: clamp(7rem, 12vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: 12rem;
    margin-right: 0rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: default;
    user-select: none;
    background: linear-gradient(90deg, #7b2fff, #ff38b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(123, 47, 255, 0.7);
}

/* Alternative styles for hero title - uncomment to try */

/* Neon style static glow */
/*
.hero-title.fancy-title {
    background: linear-gradient(90deg, #ff38b8, #7b2fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 5px #ff38b8,
        0 0 10px #7b2fff,
        0 0 20px #ff38b8,
        0 0 30px #7b2fff;
}
*/

/* Clean bold with underline accent */
/*
.hero-title.fancy-title {
    background: none;
    color: var(--primary);
    -webkit-text-fill-color: initial;
    text-shadow: none;
    border-bottom: 4px solid var(--secondary);
    padding-bottom: 10px;
}
*/

/* Textured pattern effect */
/*
.hero-title.fancy-title {
    background: url('pattern.png') repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
*/

@keyframes glow {
    0% {
        text-shadow: 0 0 10px #ff38b8, 0 0 20px #7b2fff;
    }
    100% {
        text-shadow: 0 0 20px #ff38b8, 0 0 40px #7b2fff;
    }
}

.hero-subtitle.fancy-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 500;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.cta-buttons.fancy-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-left: 0;
}

.cta-extreme-down {
    margin-top: 150px;
    justify-content: center !important;
    display: flex !important;
}

.subtitle-after-cta {
    margin-top: 20px;
}

.btn-fancy {
    padding: 14px 36px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(123, 47, 255, 0.4);
    user-select: none;
    text-decoration: none;
}

.btn-primary.btn-fancy {
    background: linear-gradient(90deg, #ff38b8, #7b2fff);
    color: white;
    box-shadow: 0 0 15px #ff38b8;
    border: none;
    text-shadow: 0 0 5px rgba(255, 56, 184, 0.7);
}

.btn-primary.btn-fancy:hover {
    box-shadow: 0 0 30px #7b2fff;
    transform: translateY(-3px);
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.btn-outline.btn-fancy {
    border: 2px solid white;
    color: white;
    background: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline.btn-fancy:hover {
    background: rgba(255, 255, 255, 0.15);
    filter: brightness(1.1);
}

.hero-image-container.fancy-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(123, 47, 255, 0.6);
}

.hero-image.fancy-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 56, 184, 0.7));
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(123, 47, 255, 0.15), transparent 70%);
    pointer-events: none;
    border-radius: 20px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 50%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    gap: 20px;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    padding-right: 40px;
}

.hero-logo-images {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-grow: 1;
    justify-content: flex-end;
}

.floating.main-token {
    max-width: 700px;
    width: 100%;
    height: auto;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 900 !important;
    pointer-events: auto !important;
}

.cta-buttons {
    margin-top: 15px;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-bottom: 7rem;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating.main-token {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.floating.small-token {
    width: 80px;
    position: relative;
    z-index: 1;
    animation-timing-function: ease-in-out;
}

.small-token.token-1 {
    animation-delay: 0.5s;
}

.small-token.token-2 {
    animation-delay: 1s;
}

/* Sections */
.section {
    padding: 80px 0;
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.visible {
    animation-duration: 1.5s;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(20, 20, 30, 0.6);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 47, 255, 0.15);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(123, 47, 255, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.card-text {
    color: var(--gray);
    font-size: 1rem;
}

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
    align-items: start;
}

.tokenomics-grid > .distribution,
.tokenomics-grid > .features {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.tokenomics-grid > .features {
    align-items: flex-end;
    text-align: right;
}

.features h3 {
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
}

.tokenomics-grid > .features ul {
    margin-left: auto;
    text-align: left;
}

.distribution-item {
    margin-bottom: 2rem;
}

.distribution-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
}

.distribution h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
}

.distribution-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.3); /* increased opacity for better visibility */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); /* slightly stronger shadow */
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
}

.features-list h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--light);
}

.features-list p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.4;
}

/* Roadmap Section */
.roadmap-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: translateX(-50%);
    z-index: 1;
}

.roadmap-item {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.roadmap-phase {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.0rem;
    line-height: 1.1;
    margin: 0 auto 15px;
    position: relative;
}

.roadmap-card {
    background: rgba(20, 20, 30, 0.6);
    border-radius: 15px;
    padding: 25px;
    max-width: 90%;
    margin: 0 auto;
    border: 1px solid rgba(123, 47, 255, 0.2);
}

.roadmap-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.roadmap-card ul {
    list-style: none;
}

.roadmap-card li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.roadmap-card li:before {
    content: "•";
    color: var(--primary);
}

/* Buy Section */
.buy-steps {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: 5px;
}

.step-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 8px;
    font-size: 0.9rem;
}

.btn-small img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.contract-address {
    display: flex;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 8px;
    margin-top: 10px;
    overflow: hidden;
}

.contract-address code {
    flex-grow: 1;
    padding: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-copy {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-copy:hover {
    background: var(--secondary);
}

/* Community Section */
.community-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(20, 20, 30, 0.6);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(123, 47, 255, 0.2);
    transition: all 0.3s ease;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.community-features {
    margin-bottom: 30px;
}

.community-features h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.community-features ul {
    list-style: none;
   
}

.community-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .emoji {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-brand .name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.link-group a {
    display: block;
    color: var(--gray);
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-bottom .social-icons {
    display: flex;
    gap: 20px;
}

.footer-bottom .social-icons a {
    color: var(--gray);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-bottom .social-icons a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .roadmap-line {
        display: none;
    }
    
    .roadmap-phase {
        margin-bottom: 10px;
    }
    
    .roadmap-card {
        max-width: 100%;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.2rem;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
        text-overflow: clip;
        display: none;
    }
    
    .section-title {
        font-size: 1.5rem;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
        text-overflow: clip;
        margin-left: 10px;
        margin-right: 10px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-left: 10px;
        margin-right: 10px;
    }

    .hero-logo-horizontal img {
        max-width: 250px;
        margin-top: 2rem;
    }

    .cta-buttons .btn-fancy {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .section {
        padding: 40px 0;
    }
    
    .btn {
        width: 100%;
    }
}

.tokenomics-note {
    background: rgba(123, 47, 255, 0.15);
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    padding: 20px;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(123, 47, 255, 0.3);
}

.dexscreener-card {
    background: rgba(20, 20, 30, 0.6);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 47, 255, 0.15);
    max-width: 900px;
    margin: 0 auto 40px auto;
    box-shadow: 0 10px 30px rgba(123, 47, 255, 0.2);
}

.dexscreener-card iframe {
    border-radius: 12px;
    width: 100% !important;
    height: 500px !important;
    display: block;
    border: none;
}
