@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@400;600;700&display=swap');

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

:root {
    --primary: #6366f1;
    --secondary: #0ea5e9;
    --dark: #0f0f23;
    --darker: #05050f;
    --accent: #a855f7;
}

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

/* Animated Starfield Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(2px 2px at 20px 30px, white, transparent),
                radial-gradient(2px 2px at 60px 70px, white, transparent),
                radial-gradient(1px 1px at 50px 50px, white, transparent),
                radial-gradient(1px 1px at 130px 80px, white, transparent),
                radial-gradient(2px 2px at 90px 10px, white, transparent);
    background-size: 200px 200px;
    animation: stars 20s linear infinite;
    opacity: 0.5;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    padding: 1rem 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.6));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-socials {
    display: flex;
    gap: 1rem;
}

.nav-socials a {
    color: #ffffff;
    transition: all 0.3s;
}

.nav-socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.coin-container {
    margin-bottom: 2rem;
    width: 180px;
    height: 180px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    overflow: hidden;
}

.hero-coin {
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
}

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

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
    position: relative;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #808080;
    letter-spacing: 2px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--secondary);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: rgba(5, 5, 15, 0.5);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

/* About */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.highlight-box code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--secondary);
    word-break: break-all;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.spec-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.spec-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.spec-label {
    font-size: 0.85rem;
    color: #808080;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.spec-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* Download Section */
.download-box {
    background: rgba(99, 102, 241, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.download-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.btn-download {
    margin-top: 2rem;
    flex-direction: column;
    gap: 0.3rem;
}

.btn-download small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.5);
}

.step-card h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.step-card pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
}

.step-card code {
    font-family: 'Courier New', monospace;
    color: var(--secondary);
    font-size: 0.9rem;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.command-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.command-box h4 {
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

/* Wallet Coming Soon */
.wallet-coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(99, 102, 241, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
}

.wallet-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.wallet-coming-soon h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.wallet-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2rem;
    margin: 2rem 0;
}

.wallet-features span {
    background: rgba(99, 102, 241, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50px;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.support-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 3rem;
}

.support-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.donation-address {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.donation-address code {
    font-family: 'Courier New', monospace;
    color: var(--secondary);
    word-break: break-all;
}

.support-card ul {
    list-style: none;
    padding-left: 0;
}

.support-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.support-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 8px;
}

.contact-info a {
    color: var(--secondary);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: rgba(5, 5, 15, 0.8);
    border-top: 1px solid rgba(99, 102, 241, 0.3);
    padding: 3rem 0 1.5rem;
}

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

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

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    color: #808080;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .glitch {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
}

/* Improved circular logo with gentle animation */
.coin-container {
    margin-bottom: 2rem;
    width: 180px;
    height: 180px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    padding: 10px;
}

.hero-coin {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: gentleFloat 5s ease-in-out infinite, gentleSpin 15s linear infinite;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
    object-fit: cover;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

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

/* Ensure nav and footer logos are circular */
.logo, .footer-logo {
    border-radius: 50% !important;
    object-fit: cover;
}


/* Whitepaper */
.whitepaper-page .hero-whitepaper {
    min-height: auto;
    padding: 120px 0 80px;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.18) 0%, rgba(5, 5, 15, 0.95) 70%);
    text-align: left;
}


.whitepaper-page .hero-whitepaper .container {
    text-align: center;
}

.whitepaper-page .wp-title {
    text-align: center;
}
.whitepaper-page .wp-title {
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 24px rgba(99, 102, 241, 0.6);
}

@keyframes wp-glow {
    0%, 100% {
        text-shadow: 0 0 12px rgba(99, 102, 241, 0.35), 0 0 28px rgba(99, 102, 241, 0.6);
    }
    50% {
        text-shadow: 0 0 18px rgba(99, 102, 241, 0.6), 0 0 42px rgba(14, 165, 233, 0.55);
    }
}

.whitepaper-page .wp-header h1 {
    animation: wp-glow 3.5s ease-in-out infinite;
}

.whitepaper-page .wp-shell {
    background: linear-gradient(180deg, rgba(7, 7, 20, 0.92), rgba(5, 5, 15, 0.98));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    padding: 48px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}

.whitepaper-page .wp-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.whitepaper-page .wp-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.6rem;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.whitepaper-page .wp-subtitle {
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.whitepaper-page .wp-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.whitepaper-page .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.35);
    background: rgba(15, 15, 35, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.whitepaper-page .wp-section {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.12);
}

.whitepaper-page .wp-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.whitepaper-page .wp-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.whitepaper-page .wp-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-top: 1rem;
    color: var(--secondary);
}

.whitepaper-page .wp-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
}

.whitepaper-page .wp-section ul,
.whitepaper-page .wp-section ol {
    margin-left: 1.25rem;
}

.whitepaper-page .wp-section li {
    margin: 0.4rem 0;
}

.whitepaper-page .wp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    font-size: 0.95rem;
    background: rgba(10, 10, 25, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.whitepaper-page .wp-table th,
.whitepaper-page .wp-table td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.whitepaper-page .wp-table th {
    text-align: left;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(99, 102, 241, 0.08);
}


.whitepaper-page .wp-link {
    color: var(--secondary);
    font-weight: 600;
}

.whitepaper-page .wp-link:hover {
    color: #7dd3fc;
}

.whitepaper-page .wp-table tr:last-child td {
    border-bottom: none;
}

.whitepaper-page .code-block {
    font-family: "Courier New", monospace;
    background: rgba(8, 8, 20, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.85rem;
    border-radius: 10px;
    overflow-wrap: anywhere;
    color: #dbeafe;
}

.whitepaper-page .checkmark {
    color: #4ade80;
    font-weight: 700;
}

@media (max-width: 900px) {
    .whitepaper-page .wp-shell {
        padding: 32px;
    }

    .whitepaper-page .wp-title {
        font-size: 2.4rem;
    }

    .whitepaper-page .wp-header h1 {
        font-size: 2rem;
    }
}

/* Hide legacy section labels if cached HTML still includes them */
#about > .container > h1.glitch,
#features > .container > h1.glitch,
#specs > .container > h1.glitch {
    display: none;
}
