:root {
    --primary: #00f2ff;
    /* Electric Cyan */
    --secondary: #0066ff;
    --bg-dark: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.nav-logo-wrap {
    height: 70px;
    /* Increased from 50px */
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    height: 100%;
    /* Use the full height of the wrap */
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    /* Keep this to ensure any black backgrounds are removed */
}

.nav-brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    /* Increased from 1.1rem */
    font-weight: 800;
    letter-spacing: 5px;
    /* Extra-wide for premium feel */
    background: linear-gradient(180deg, #ffffff 0%, #d1d1d1 45%, #8a8a8a 50%, #e0e0e0 55%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.btn-join {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: radial-gradient(circle at 20% 30%, #001a33 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, #000c1a 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('hero_bg.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: -1;
    filter: brightness(0.6) contrast(1.2);
    /* Cinematic background restored */
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(3rem, 12vw, 6rem);
    /* Responsive font size */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.3));
    white-space: nowrap;
    /* Prevent accidental wrapping */
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.btn-secondary {
    border: 1px solid var(--text-secondary);
    color: white;
}

.hero-image img {
    width: clamp(250px, 45vw, 550px);
    mix-blend-mode: screen;
    opacity: 1;
    /* Much softer radial mask to kill the edges earlier */
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 70%);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 70%);

    /* Stronger drop-shadow to create an artificial 'glow' that hides any remaining edge artifacts */
    filter: drop-shadow(0 0 40px var(--primary)) drop-shadow(0 0 80px rgba(0, 102, 255, 0.4)) brightness(1.1);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 4rem 10%;
    background: var(--card-bg);
}

.stat-item {
    text-align: center;
}

.stat-item .label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.stat-item .value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Mining Dashboard */
.mining-section {
    padding: 8rem 10%;
    text-align: center;
}

.dashboard-mockup {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('mining_bg.png') center/cover no-repeat;
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 15px;
    padding: 3rem;
    max-width: 900px;
    margin: 3rem auto;
    text-align: left;
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.1);
}

.db-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.db-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.7rem;
}

.db-value {
    font-size: 1.1rem;
    font-weight: bold;
}

.status-dot {
    height: 10px;
    width: 10px;
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
    box-shadow: 0 0 10px #00ff00;
}

/* Content Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.content-section {
    padding: 10rem 0;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Tokenomics */
.tokenomics-section {
    padding: 10rem 10%;
    background: radial-gradient(circle at 50% 50%, #001a33 0%, transparent 70%);
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.token-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 242, 255, 0.05);
    text-align: center;
    transition: 0.3s;
}

.token-card:hover {
    background: rgba(0, 242, 255, 0.02);
    border-color: var(--primary);
    transform: scale(1.05);
}

.percentage {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.token-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.token-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Roadmap */
.roadmap-section {
    padding: 10rem 10%;
    background: linear-gradient(transparent, #0a0a0a);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.roadmap-item {
    position: relative;
    padding: 2rem;
    border-left: 2px solid var(--primary);
    background: rgba(255, 255, 255, 0.02);
}

.phase-tag {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.roadmap-item h4 {
    margin-bottom: 1rem;
}

.roadmap-item ul {
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.roadmap-item li::before {
    content: '▶';
    color: var(--primary);
    font-size: 0.6rem;
    margin-right: 8px;
}