/* 
 * NAUELVERSE - DARK MODE THEME 
 * Aesthetic: Cyberpunk / Crypto / High-Tech
 */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Outfit:wght@300;500;700;900&display=swap');

:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --bg-card-hover: #161616;

    --accent-primary: #00f3ff;
    /* Neon Cyan */
    --accent-secondary: #bc13fe;
    /* Neon Purple */
    --text-main: #ffffff;
    --text-muted: #888888;

    --border-color: #222;
    --border-glow: rgba(0, 243, 255, 0.3);

    /* Spacing */
    --container-width: 1100px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Grid Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(18, 18, 18, 0) 50%, rgba(0, 0, 0, 0.8) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--accent-primary);
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px;
}

.hero-tag {
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

/* Projects Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 50px;
    padding-top: 100px;
}

.section-title {
    font-size: 2.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.status-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    text-transform: uppercase;
}

.status-live {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.status-beta {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    color: var(--accent-primary);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 4px 10px;
    border-radius: 100px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.2s;
}

.project-link:hover {
    gap: 15px;
    color: var(--accent-primary);
}

/* Footer */
footer {
    margin-top: 150px;
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

.social-links {
    display: flex;
}

.hero-tag {
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

/* Projects Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 50px;
    padding-top: 100px;
}

.section-title {
    font-size: 2.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.status-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    text-transform: uppercase;
}

.status-live {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.status-beta {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    color: var(--accent-primary);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 4px 10px;
    border-radius: 100px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.2s;
}

.project-link:hover {
    gap: 15px;
    color: var(--accent-primary);
}

/* Footer */
footer {
    margin-top: 150px;
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-link {
    color: var(--text-main);
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--accent-primary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--bg-card);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--accent-primary);
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.1);
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent-primary);
}

.wallet-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: border-color 0.3s;
}

.wallet-item:hover {
    border-color: var(--accent-secondary);
}

.wallet-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.wallet-info {
    flex-grow: 1;
    overflow: hidden;
}

.wallet-network {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.wallet-address {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--accent-primary);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--accent-primary);
    color: #000;
}

/* Animations */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section-header {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 20px;
    }

    .wallet-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .copy-btn {
        width: 100%;
        margin-top: 10px;
    }
}