/* ==========================================================================
   Variables and Reset
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #B026FF;
    --primary-dark: #8A2BE2;
    --accent: #FF66FF;
    --accent-glow: #FF99FF;
    --bg-dark: #1A0033;
    --bg-gradient: linear-gradient(135deg, #1A0033 0%, #2D0059 100%);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: var(--bg-gradient);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    overflow: visible;
}

section {
    padding: 6rem 0;
}

/* ==========================================================================
   Background Animation
   ========================================================================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, 
        rgba(176, 38, 255, 0.1) 0%,
        rgba(255, 102, 255, 0.05) 30%,
        transparent 70%
    );
    animation: rotateGradient 30s linear infinite;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 50%;
    filter: blur(2px);
    animation: floatParticle 20s infinite linear;
    pointer-events: none;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-20vh) translateX(50px);
        opacity: 0;
    }
}

/* ==========================================================================
   Button Styles
   ========================================================================== */
.button {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(176, 38, 255, 0.4);
}

.button.outline {
    background: transparent;
    border: 2px solid var(--primary);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
   nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(26, 0, 51, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(176, 38, 255, 0.2);
}

.nav-content {
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.2rem;
}

.nav-links .button {
    font-size: 1.1rem;
    padding: 0.85rem 2.2rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-socials {
    display: flex;
    gap: 1.5rem;
    margin-right: 2rem;
}

.nav-social-link {
    color: var(--accent);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-social-link:hover {
    color: white;
    transform: translateY(-2px);
}

.menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: calc(100vh - 70px);
    margin-top: 70px;
    display: flex;
    align-items: center;
    padding-bottom: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.3);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 3px 3px 6px rgba(176, 38, 255, 0.3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--accent) 50%,
        transparent 100%
    );
    filter: drop-shadow(0 0 5px var(--accent));
}

.section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contract-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(26, 0, 51, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--primary);
    margin: 1rem auto;
    max-width: fit-content;
}

.contract-address span {
    color: var(--accent);
    font-family: monospace;
    font-size: 1rem;
}

.copy-button {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.copy-button:hover {
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   About Section
   ========================================================================== */
   #about {
    padding: 4rem 0;
}

#about .container {
    position: relative;
}

.about-card {
    background: rgba(26, 0, 51, 0.5);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 102, 255, 0.1) 0%,
        transparent 70%
    );
    animation: rotateGradient 10s linear infinite;
    z-index: 0;
}

.about-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.3);
    animation: morphShape 15s ease-in-out infinite;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-icon {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    right: 2rem;
    top: 2rem;
    color: var(--accent);
    transform: rotate(15deg);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
}

.about-card p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-card .feature-list {
    margin: 1.5rem 0;
    columns: 2;
    column-gap: 2rem;
    list-style-type: none; /* Explicitly remove default bullets */
}

.about-card .feature-list li {
    margin-bottom: 1rem;
    break-inside: avoid;
    padding-left: 1.5rem;
    position: relative;
    list-style: none; /* Remove any inherited bullets */
}

.about-card .feature-list li::before {  /* Changed from :before to ::before for consistency */
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0.5rem; /* Adjusted for better alignment */
    font-size: 1.2em; /* Make bullet slightly larger */
}

.about-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.about-social-link {
    background: rgba(176, 38, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s ease;
    text-decoration: none;
}

.about-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(176, 38, 255, 0.3);
    cursor: pointer;
}

.about-social-link i {
    font-size: 1.2rem;
}

/* ==========================================================================
   Trading Section
   ========================================================================== */
#trading {
    padding: 4rem 0;
}

.trading-hexagon {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
}

.trading-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.violet-logo {
    width: 150px;
    height: 150px;
    background: rgba(26, 0, 51, 0.8);
    border: 2px solid var(--primary);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.3);
}

.violet-trading-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.trading-item {
    background: rgba(26, 0, 51, 0.5);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.trading-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.2);
}

.trading-item h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trading-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.trading-button {
    flex: 0 1 auto;
    min-width: 200px;
    background: rgba(26, 0, 51, 0.5);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.trading-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(176, 38, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.trading-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(176, 38, 255, 0.3);
    border-color: var(--accent);
}

.trading-button:hover::before {
    left: 100%;
}

.trading-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trading-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.trading-button span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Secret Listing Button */
.secret-listing {
    grid-column: 1 / -1;
    justify-self: center;
    width: 250px;
    position: relative;
    cursor: not-allowed;
    filter: blur(1px);
    opacity: 0.9;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(176, 38, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

.locked-overlay span {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    filter: blur(0);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.secret-listing:hover .locked-overlay {
    opacity: 1;
}

.secret-listing .trading-icon i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ==========================================================================
   Roadmap Section
   ========================================================================== */
   .roadmap-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--accent) 50%, 
        var(--primary) 100%
    );
    transform: translateY(-50%);
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(176, 38, 255, 0.3));
}

.roadmap-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.roadmap-card {
    background: rgba(26, 0, 51, 0.7);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.connection-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(255, 102, 255, 0.5);
    z-index: 3;
}

.phase-number {
    position: absolute;
    top: -20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
}

.roadmap-card h3 {
    margin-top: 1.5rem;
    color: var(--accent);
    font-size: 1.5rem;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    padding-top: 150%;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Community Section
   ========================================================================== */
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.social-button {
    background: rgba(26, 0, 51, 0.5);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-width: 200px;
}

.social-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(176, 38, 255, 0.3);
    border-color: var(--accent);
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   Footer
   ========================================================================== */
   footer {
    background: rgba(26, 0, 51, 0.95);
    padding: 3rem 0;
    border-top: 1px solid rgba(176, 38, 255, 0.2);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

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

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 5px var(--accent)); }
    50% { filter: drop-shadow(0 0 15px var(--accent)); }
}

@keyframes morphShape {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float-particle {
    0% { transform: translateY(100vh); opacity: 0; }
    20% { opacity: 0.2; }
    80% { opacity: 0.2; }
    100% { transform: translateY(-20vh); opacity: 0; }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Tablet and smaller screens */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 3rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .about-card {
        gap: 1.5rem;
    }

    .roadmap-cards {
        gap: 1.5rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Navigation */
    .nav-content {
        height: 70px;
    }

    .menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(26, 0, 51, 0.95);
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-socials {
        margin: 1rem 0;
        justify-content: center;
    }
    
    .nav-social-link {
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-video-container {
        max-width: 100%;
    }

    /* About Section */
    #about {
        padding: 2rem 0;
    }

    .about-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }

    .about-image-wrapper {
        width: 150px;
        height: 150px;
        margin: 0 auto 2rem;
    }

    .about-socials {
        justify-content: center;
    }

    .about-icon {
        right: 1rem;
        top: 1rem;
        font-size: 2.5rem;
    }

    /* Trading Section */
    .trading-buttons {
        gap: 1rem;
    }

    .trading-button {
        padding: 1rem;
    }

    .trading-icon {
        width: 32px;
        height: 32px;
    }

    .secret-listing {
        width: 100%;
    }

    /* Roadmap Section */
    .roadmap-cards {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .connection-line,
    .connection-dot {
        display: none;
    }

    /* Gallery Section */
    .gallery-grid {
        gap: 1rem;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    /* Community Section */
    .social-button {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    /* General Spacing */
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .trading-category {
        padding: 1.5rem;
    }
    
    .trading-category h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .trading-button span {
        font-size: 0.9rem;
    }
}

/* Handle tall mobile devices */
@media (max-height: 800px) and (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 5rem;
    }
}

@media (max-width: 768px) {
    .trading-hexagon {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .trading-center {
        display: none; /* Hide the center element on mobile */
    }

    .trading-item {
        padding: 1.5rem;
    }

    .trading-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .trading-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .contract-address {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .contract-address span {
        font-size: 0.9rem;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .trading-item h3 {
        font-size: 1.3rem;
    }

    .trading-button span {
        font-size: 0.9rem;
    }

    .trading-icon {
        width: 24px;
        height: 24px;
    }
}