:root {
    --bg-dark: #0a0b0e;
    --bg-panel: #111318;
    --bg-terminal: #0d0f14;
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --brand-rh: #00c805;
    --brand-rh-glow: rgba(0, 200, 5, 0.2);
    --border: #222631;
    --border-light: rgba(255,255,255,0.08);
    --common: #a0a0a0;
    --rare: #2563eb;
    --epic: #9333ea;
    --legendary: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--brand-rh);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.social-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.social-btn:hover {
    border-color: var(--brand-rh);
    box-shadow: 0 0 15px var(--brand-rh-glow);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

.hero {
    position: relative;
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    overflow: hidden;
}

.hero-layout {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-rh) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(40px);
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 40px) scale(0.9); }
}

.hero-content {
    text-align: left;
}

.badge-network {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(0, 200, 5, 0.1);
    color: var(--brand-rh);
    border: 1px solid rgba(0, 200, 5, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--brand-rh);
    text-shadow: 0 0 30px var(--brand-rh-glow);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--brand-rh);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--brand-rh-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 200, 5, 0.4);
}

.btn-secondary {
    background: var(--bg-panel);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--brand-rh);
    color: var(--brand-rh);
}

.thesis-terminal {
    width: 100%;
    background: var(--bg-terminal);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    overflow: hidden;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
    font-family: monospace;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.terminal-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
}

.terminal-controls span:nth-child(1) { background: #ef4444; }
.terminal-controls span:nth-child(2) { background: #f59e0b; }
.terminal-controls span:nth-child(3) { background: #10b981; }

.terminal-title {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-rh);
    font-size: 0.8rem;
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-rh);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-rh-glow);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.terminal-body {
    padding: 2rem;
    height: 450px;
    overflow-y: auto;
    font-family: monospace;
}

.terminal-body::-webkit-scrollbar {
    width: 6px;
}

.terminal-body::-webkit-scrollbar-track {
    background: transparent;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: var(--border);
}

.log-entry {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border-light);
    animation: fadeIn 0.4s ease-out forwards;
}

.log-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.log-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.log-time {
    color: var(--brand-rh);
}

.log-author {
    color: #a78bfa;
    font-weight: bold;
}

.log-text {
    color: #e5e7eb;
    line-height: 1.5;
    font-size: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.collection-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.nft-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-panel);
    transition: transform 0.3s, border-color 0.3s;
}

.nft-img:hover {
    transform: translateY(-5px);
    border-color: var(--brand-rh);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 12px;
    position: relative;
    transition: border-color 0.3s;
}

.step-card:hover {
    border-color: var(--brand-rh);
}

.step-number {
    font-family: monospace;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    color: var(--brand-rh);
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

:root {
    --t-legend: #ffb703;
    --t-epic: #a855f7;
    --t-uncommon: #3b82f6;
    --t-common: #f3f4f6;
}

.metrics-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
    align-items: center;
}

.total-supply-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.supply-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--brand-rh);
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
}

.total-supply-card h3 {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    z-index: 1;
}

.supply-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
    z-index: 1;
}

.total-supply-card p {
    color: var(--brand-rh);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1;
}

.tiers-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tier-row {
    background: rgba(17, 19, 24, 0.5);
    border: 1px solid var(--border);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}

.tier-row:hover {
    background: var(--bg-panel);
    transform: translateX(10px);
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tier-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot { background: var(--t-legend); box-shadow: 0 0 10px var(--t-legend); }
.epic-dot { background: var(--t-epic); box-shadow: 0 0 10px var(--t-epic); }
.uncommon-dot { background: var(--t-uncommon); box-shadow: 0 0 10px var(--t-uncommon); }
.common-dot { background: var(--t-common); box-shadow: 0 0 10px rgba(255,255,255,0.5); }

.tier-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.tier-stats {
    display: flex;
    gap: 1.5rem;
    font-family: monospace;
    font-size: 1rem;
}

.tier-supply {
    color: var(--text-muted);
}

.tier-percent {
    font-weight: 700;
    color: var(--text-main);
    width: 60px;
    text-align: right;
}

.tier-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.tier-bar {
    height: 100%;
    border-radius: 3px;
}

.legend-bar { background: var(--t-legend); }
.epic-bar { background: var(--t-epic); }
.uncommon-bar { background: var(--t-uncommon); }
.common-bar { background: var(--t-common); }

.contract-container {
    max-width: 800px;
    margin: 2rem auto 0;
    background: var(--bg-terminal);
    border: 1px dashed var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.contract-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px dashed var(--border);
}

.contract-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 600;
}

.status-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.contract-box {
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.contract-address {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--brand-rh);
    word-break: break-all;
}

.blur-text {
    filter: blur(5px);
    user-select: none;
    opacity: 0.7;
}

.copy-btn {
    background: var(--bg-panel);
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.3s;
}

.contract-footer {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    color: #666;
    background: rgba(0,0,0,0.2);
    text-align: center;
    font-family: monospace;
}

@media (max-width: 768px) {
    .metrics-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tier-row:hover {
        transform: translateY(-5px) translateX(0);
    }

    .contract-box {
        flex-direction: column;
        text-align: center;
    }
    
    .contract-address {
        font-size: 1rem;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .contract-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.rarity-card:hover {
    transform: translateY(-8px);
}

.rarity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rarity-card .tier-line {
    width: 100%;
    height: 4px;
    margin: 1.5rem 0;
    border-radius: 2px;
}

.rarity-card .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.common { border-top: 4px solid var(--common); }
.common .tier-line { background: var(--common); }
.common h3 { color: var(--common); }
.common:hover { box-shadow: 0 10px 30px rgba(160, 160, 160, 0.1); }

.rare { border-top: 4px solid var(--rare); }
.rare .tier-line { background: var(--rare); }
.rare h3 { color: var(--rare); }
.rare:hover { box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15); }

.epic { border-top: 4px solid var(--epic); }
.epic .tier-line { background: var(--epic); }
.epic h3 { color: var(--epic); }
.epic:hover { box-shadow: 0 10px 30px rgba(147, 51, 234, 0.15); }

.legendary { border-top: 4px solid var(--legendary); }
.legendary .tier-line { background: var(--legendary); }
.legendary h3 { color: var(--legendary); text-shadow: 0 0 10px rgba(251, 191, 36, 0.4); }
.legendary:hover { box-shadow: 0 10px 30px rgba(251, 191, 36, 0.15); }

.live-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feed-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.feed-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.feed-item span {
    font-family: monospace;
    font-size: 1.1rem;
}

.feed-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.c-common { background: rgba(160, 160, 160, 0.1); color: var(--common); }
.c-rare { background: rgba(37, 99, 235, 0.1); color: var(--rare); }
.c-epic { background: rgba(147, 51, 234, 0.1); color: var(--epic); }
.c-legendary { background: rgba(251, 191, 36, 0.1); color: var(--legendary); }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--brand-rh);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-dark);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s;
}

.footer-logo:hover {
    filter: none;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tablet & Smaller Screens */
@media (max-width: 1024px) {
    .hero-layout {
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 1rem;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .nav-menu, .social-icons {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-panel);
        padding: 2rem;
        border-bottom: 1px solid var(--border);
    }

    .social-icons.active {
        display: flex;
        position: absolute;
        top: calc(100% + 340px);
        left: 0;
        width: 100%;
        background: var(--bg-panel);
        padding: 1rem 2rem 2rem;
        justify-content: center;
        border-bottom: 1px solid var(--border);
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .collection-row {
        gap: 0.5rem;
    }
    
    .nft-img {
        border-radius: 8px;
    }

    .log-meta {
        flex-wrap: wrap;
    }

    .feed-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}