/* CSS Variables */
:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #00ff00;
    --bg-color: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.8);
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00ffff, #ff00ff);
    --gradient-secondary: linear-gradient(135deg, #00ff00, #00ffff);
    --border-glow: 0 0 20px rgba(0, 255, 255, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Matrix Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

#matrix-canvas {
    width: 100%;
    height: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--border-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
    position: relative;
}

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

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

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glitch {
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch::before {
    animation: glitch-1 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
    animation: glitch-2 2s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
}

.hero-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 120px;
    height: 50px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0 1rem;
}

.hero-social-btn i {
    font-size: 1.2rem;
    z-index: 10;
    position: relative;
    display: block !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-social-btn span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff !important;
    z-index: 10;
    position: relative;
}

.hero-social-btn.telegram {
    border-color: #0088cc;
}

.hero-social-btn.telegram i {
    color: #ffffff !important;
}

.hero-social-btn.twitter {
    border-color: #1da1f2;
}

.hero-social-btn.twitter i {
    color: #ffffff !important;
}

.hero-social-btn.website {
    border-color: var(--accent-color);
}

.hero-social-btn.website i {
    color: #ffffff !important;
}

.hero-social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.hero-social-btn.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.4);
}

.hero-social-btn.telegram:hover i {
    color: #ffffff !important;
}

.hero-social-btn.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.hero-social-btn.twitter:hover i {
    color: #ffffff !important;
}

.hero-social-btn.website:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.4);
}

.hero-social-btn.website:hover i {
    color: #ffffff !important;
}

/* Ensure Font Awesome icons are loaded properly */
.hero-social-btn i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    line-height: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

.hero-social-btn .fab {
    font-family: "Font Awesome 6 Brands" !important;
}

.hero-social-btn .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--bg-color);
    box-shadow: var(--shadow-glow);
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    animation: float 3s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

/* Banner Section */
.banner-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.banner-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.3);
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03) 0%, rgba(255, 0, 255, 0.03) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tokenomics Section */
.tokenomics {
    padding: 6rem 0;
    background: var(--bg-color);
}

.token-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.token-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

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

.contract-address {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.contract-address span {
    flex: 1;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.copy-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: scale(1.1);
}

.copy-feedback {
    color: var(--accent-color);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
}

.token-stats {
    display: grid;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* Chart Section */
.chart-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.03) 0%, rgba(0, 255, 0, 0.03) 100%);
}

.chart-container {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: var(--card-bg);
    margin-bottom: 2rem;
}

.chart-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.chart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.chart-link:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--border-glow);
}

/* Community Section */
.community {
    padding: 6rem 0;
    background: var(--bg-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    min-width: 150px;
}

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

.social-link.telegram i {
    color: #0088cc;
}

.social-link.twitter i {
    color: #1da1f2;
}

.social-link.website i {
    color: var(--accent-color);
}

.social-link:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.social-link span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo .logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text p {
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1) rotate(360deg);
}

.fab i {
    color: var(--bg-color);
    font-size: 1.5rem;
}

/* Animations */
@keyframes glitch {
    0%, 100% {
        text-shadow: 0.05em 0 0 #00ffff, -0.05em -0.025em 0 #ff00ff,
                     0.025em 0.05em 0 #ffff00;
    }
    15% {
        text-shadow: 0.05em 0 0 #00ffff, -0.05em -0.025em 0 #ff00ff,
                     0.025em 0.05em 0 #ffff00;
    }
    16% {
        text-shadow: -0.05em -0.025em 0 #00ffff, 0.025em 0.025em 0 #ff00ff,
                     -0.05em -0.05em 0 #ffff00;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 #00ffff, 0.025em 0.025em 0 #ff00ff,
                     -0.05em -0.05em 0 #ffff00;
    }
    50% {
        text-shadow: 0.025em 0.05em 0 #00ffff, 0.05em 0 0 #ff00ff,
                     0 -0.05em 0 #ffff00;
    }
    99% {
        text-shadow: 0.025em 0.05em 0 #00ffff, 0.05em 0 0 #ff00ff,
                     0 -0.05em 0 #ffff00;
    }
}

@keyframes glitch-1 {
    0%, 100% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0.025em, -0.025em);
    }
    15% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0.025em, -0.025em);
    }
    16% {
        clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
        transform: translate(-0.025em, 0.025em);
    }
    50% {
        clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
        transform: translate(-0.025em, 0.025em);
    }
    51% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0.025em, -0.025em);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        transform: translate(-0.025em, 0.025em);
    }
    15% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        transform: translate(-0.025em, 0.025em);
    }
    16% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0.025em, -0.025em);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0.025em, -0.025em);
    }
    51% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        transform: translate(-0.025em, 0.025em);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid rgba(0, 255, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-title {
        font-size: 3rem;
    }

    .logo-container {
        width: 300px;
        height: 300px;
    }

    .hero-social {
        justify-content: center;
        margin-top: 1rem;
    }

    .hero-social-btn {
        min-width: 100px;
        height: 45px;
        padding: 0 0.8rem;
    }

    .hero-social-btn i {
        font-size: 1.1rem;
    }

    .hero-social-btn span {
        font-size: 0.8rem;
    }

    .token-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        min-width: 120px;
        padding: 1.5rem;
    }

    .banner-section {
        padding: 2rem 0;
    }

    .banner-image {
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .logo-container {
        width: 250px;
        height: 250px;
    }

    .chart-container {
        height: 400px;
    }

    .fab {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .fab i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .contract-address {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .copy-btn {
        margin-left: 0;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 200px;
    }
}
