/* Import Pixel Font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* CSS Variables */
:root {
    --primary-color: #00ff41;
    --secondary-color: #ff6b00;
    --accent-color: #ff0040;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-glow: #00ff41;
    --border-color: #333333;
    --pixel-shadow: 2px 2px 0px rgba(0, 255, 65, 0.5);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Press Start 2P', cursive;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Particles */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a1a 100%);
}

#particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 0, 64, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-shadow: var(--pixel-shadow);
}

.pixel-border {
    position: relative;
    padding: 20px;
    border: 4px solid var(--primary-color);
    border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m0 0h100v100h-100z' fill='none' stroke='%2300ff41' stroke-width='4'/%3E%3C/svg%3E") 4;
}

.pixel-box {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--primary-color);
    padding: 30px;
    position: relative;
    backdrop-filter: blur(10px);
}

.pixel-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    border-radius: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo .logo {
    width: 40px;
    height: 40px;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 0px var(--primary-color));
}

.nav-title {
    font-size: 1rem;
    color: var(--primary-color);
    text-shadow: var(--pixel-shadow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 40px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--accent-color);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--secondary-color);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(2px, 2px); }
    20% { transform: translate(-2px, -2px); }
    30% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, 2px); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.hero-description {
    font-size: 0.8rem;
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-buttons .btn {
    min-width: 200px;
    font-size: 0.8rem;
}

.btn {
    padding: 15px 30px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    border: 2px solid;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-color);
}

.btn-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--secondary-color);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }
}

/* Hero Turtle */
.hero-turtle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.turtle-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 200px;
    height: 200px;
    image-rendering: pixelated;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 0 20px var(--primary-color));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.radiation-ring {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.radiation-ring {
    width: 250px;
    height: 250px;
    opacity: 0.6;
}

.ring2 {
    width: 300px;
    height: 300px;
    animation-duration: 15s;
    animation-direction: reverse;
    border-color: var(--secondary-color);
    opacity: 0.4;
}

.ring3 {
    width: 350px;
    height: 350px;
    animation-duration: 20s;
    border-color: var(--accent-color);
    opacity: 0.3;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    font-size: 0.6rem;
    color: var(--primary-color);
}

.arrow-down {
    margin-top: 10px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
    margin: 10px auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1rem;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 0.7rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Atom Visual */
.atom-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-color);
    animation: pulse-nucleus 2s infinite;
}

@keyframes pulse-nucleus {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.electron-orbit {
    position: absolute;
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit1 {
    width: 80px;
    height: 80px;
    animation: rotate 5s linear infinite;
}

.orbit2 {
    width: 120px;
    height: 120px;
    animation: rotate 7s linear infinite reverse;
}

.orbit3 {
    width: 160px;
    height: 160px;
    animation: rotate 9s linear infinite;
}

.electron {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--secondary-color);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--border-color);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px currentColor);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.feature-card p {
    font-size: 0.6rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Tokenomics Section */
.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tokenomics-chart {
    display: flex;
    justify-content: center;
}

.network-info {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 5px;
}

.network-info h4 {
    color: #ffc107;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.network-info p {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.token-breakdown {
    margin: 20px 0;
}

.token-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.7rem;
}

.token-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tax-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid var(--secondary-color);
}

.tax-info h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.tax-info p {
    font-size: 0.6rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

/* Roadmap Section */
.roadmap-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.roadmap-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.roadmap-item:nth-child(even) .roadmap-content {
    order: -1;
    text-align: right;
}

.roadmap-phase {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: var(--primary-color);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    font-size: 0.7rem;
    z-index: 2;
}

.roadmap-content {
    flex: 1;
    padding: 30px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--border-color);
    margin: 0 30px;
}

.roadmap-item.completed .roadmap-phase {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.roadmap-item.active .roadmap-phase {
    background: var(--secondary-color);
    color: var(--bg-dark);
    animation: pulse 2s infinite;
}

.roadmap-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.roadmap-content ul {
    list-style: none;
}

.roadmap-content li {
    margin-bottom: 8px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Partners Section */
.partners-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.partner-card {
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--border-color);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.partner-logo {
    font-size: 2rem;
    margin-bottom: 15px;
}

.partner-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.partner-card p {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Social Section */
.social-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(0, 255, 65, 0.05);
    border: 2px solid var(--border-color);
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    gap: 20px;
}

.social-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 65, 0.3);
}

.social-btn.telegram:hover { border-color: #0088cc; }
.social-btn.twitter:hover { border-color: #1da1f2; }

.social-icon {
    font-size: 1.5rem;
}

.social-text h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.social-text p {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 2px solid var(--primary-color);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo {
    width: 30px;
    height: 30px;
    image-rendering: pixelated;
}

.footer-logo span {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.footer-text p {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .tokenomics-content {
        grid-template-columns: 1fr;
    }
    
    .roadmap-item:nth-child(even) .roadmap-content {
        order: 0;
        text-align: left;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .turtle-container {
        width: 250px;
        height: 250px;
    }
    
    .hero-logo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .turtle-container {
        width: 200px;
        height: 200px;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
}

/* Whitepaper Specific Styles */
.whitepaper-hero {
    min-height: 80vh;
    padding-top: 120px;
}

.whitepaper-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.turtle-container.small {
    width: 200px;
    height: 200px;
}

.hero-logo.small {
    width: 120px;
    height: 120px;
}

.whitepaper-title h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.whitepaper-title h2 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.version {
    font-size: 0.7rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.whitepaper-content {
    max-width: 1000px;
    margin: 0 auto;
}

.principle-list {
    list-style: none;
    margin: 20px 0;
}

.principle-list li {
    margin-bottom: 10px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 20px;
    position: relative;
}

.principle-list li::before {
    content: '⚛️';
    position: absolute;
    left: 0;
    top: 0;
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.spec-item {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 5px;
}

.spec-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.spec-item p {
    font-size: 0.7rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.spec-item ul {
    list-style: none;
    margin-top: 10px;
}

.spec-item li {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.spec-item li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Responsive Whitepaper */
@media (max-width: 768px) {
    .whitepaper-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .whitepaper-title h1 {
        font-size: 2rem;
    }
    
    .turtle-container.small {
        width: 150px;
        height: 150px;
    }
    
    .hero-logo.small {
        width: 100px;
        height: 100px;
    }
    
    .tech-specs {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
} 