/* MineBet Website Styles */
/* Minecraft + Solana Theme */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --solana-purple: #9945FF;
    --solana-cyan: #14F195;
    --dark-bg: #0A0A0F;
    --medium-bg: #1A1A2E;
    --light-bg: #2A2A3E;
    --minecraft-brown: #8B4513;
    --minecraft-green: #55FF55;
    --minecraft-dirt: #7a5c3f;
    --minecraft-stone: #7d7d7d;
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8D1;
    --gradient-1: linear-gradient(135deg, var(--solana-purple), var(--solana-cyan));
    --gradient-2: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
}

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

body {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.8;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    font-size: 14px;
}

/* Regular text should be more readable */
p, li, .feature-list, .dev-text p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.7);  /* This number controls darkness */
    z-index: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(153, 69, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.brand-name {
    font-size: 1rem;
    font-weight: 400;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    font-size: 0.7rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--solana-cyan);
}

.btn-download {
    background: var(--gradient-1);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    color: white !important;
}

.btn-pumpfun {
    background: #00FF87 !important;
    color: #000000 !important;
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    font-weight: 700;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    border: 2px solid #00FF87;
    box-shadow: 2px 2px 0px rgba(0, 255, 135, 0.4);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
}

.btn-pumpfun:hover {
    background: #00D171 !important;
    border-color: #00D171;
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px rgba(0, 255, 135, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 400;
    margin-bottom: 2rem;
    color: #FFFFFF;
    text-shadow:
        4px 4px 0px var(--solana-purple),
        8px 8px 0px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    letter-spacing: 4px;
}

/* Glitch Effect */
.glitch {
    position: relative;
    text-shadow: 0.05em 0 0 var(--solana-purple),
                 -0.025em -0.05em 0 var(--solana-cyan),
                 0.025em 0.05em 0 var(--solana-purple);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--solana-purple),
                     -0.05em -0.025em 0 var(--solana-cyan),
                     -0.025em 0.05em 0 var(--solana-purple);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--solana-purple),
                     -0.05em -0.025em 0 var(--solana-cyan),
                     -0.025em 0.05em 0 var(--solana-purple);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--solana-purple),
                     0.025em 0.025em 0 var(--solana-cyan),
                     -0.05em -0.05em 0 var(--solana-purple);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--solana-purple),
                     0.025em 0.025em 0 var(--solana-cyan),
                     -0.05em -0.05em 0 var(--solana-purple);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--solana-purple),
                     0.05em 0 0 var(--solana-cyan),
                     0 -0.05em 0 var(--solana-purple);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--solana-purple),
                     0.05em 0 0 var(--solana-cyan),
                     0 -0.05em 0 var(--solana-purple);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--solana-purple),
                     -0.025em -0.025em 0 var(--solana-cyan),
                     -0.025em -0.05em 0 var(--solana-purple);
    }
}

.hero-subtitle {
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: var(--solana-cyan);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
    color: var(--minecraft-green);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.7rem;
    transition: all 0.1s ease;
    cursor: pointer;
    border: 4px solid #000;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.8);
    position: relative;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

.btn-secondary {
    background: var(--minecraft-stone);
    color: white;
    border: 4px solid #555;
}

.btn-secondary:hover {
    background: #888;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 1s ease-out 0.8s backwards;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--solana-purple);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--solana-cyan);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 18px;
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

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

.section-dark {
    background: linear-gradient(180deg, var(--dark-bg), var(--medium-bg));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 3px 3px 0px var(--solana-purple), 6px 6px 0px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--minecraft-green);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.feature-card {
    background: var(--minecraft-dirt);
    border: 4px solid var(--minecraft-brown);
    border-radius: 0;
    padding: 1.5rem;
    transition: all 0.1s;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        );
    pointer-events: none;
}

.feature-card:hover {
    transform: translate(3px, 3px);
    border-color: var(--solana-purple);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
    background: #8a654f;
}

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

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--solana-cyan);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--solana-cyan);
    font-weight: bold;
}

/* CTA Box */
.cta-box {
    background: var(--gradient-1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Developer Section */
.dev-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dev-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.dev-features {
    margin: 2rem 0;
}

.dev-feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dev-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.dev-text h4 {
    color: var(--solana-purple);
    margin-bottom: 0.5rem;
}

.dev-text p {
    color: var(--text-secondary);
}

/* Code Window */
.code-window {
    background: #1e1e1e;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.8);
    border: 4px solid #333;
}

.code-header {
    background: #2d2d2d;
    padding: 1rem;
    border-bottom: 1px solid #404040;
}

.code-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content code {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 0.5rem;
    line-height: 2;
    color: #55FF55;
}

/* Ecosystem */
.ecosystem-diagram {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.eco-node {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--solana-purple);
    border-radius: 16px;
    transition: all 0.3s;
}

.eco-node:hover {
    transform: scale(1.05);
    border-color: var(--solana-cyan);
    box-shadow: 0 10px 40px rgba(20, 241, 149, 0.2);
}

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

.eco-node h4 {
    color: var(--solana-cyan);
    margin-bottom: 0.5rem;
}

.eco-arrow {
    font-size: 2rem;
    color: var(--solana-purple);
}

/* Tokenomics */
.tokenomics {
    margin-top: 4rem;
}

.tokenomics h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.token-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(153, 69, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.token-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.token-card h4 {
    color: var(--solana-cyan);
    margin-bottom: 1rem;
}

.token-card p {
    color: var(--text-secondary);
}

/* Download Section */
.download-content {
    text-align: center;
}

.download-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.5rem 2.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.btn-large .btn-icon {
    font-size: 2rem;
}

.btn-icon-svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.btn-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.download-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #000000 100%);
    border-top: 4px solid var(--solana-purple);
    padding: 4rem 0 1rem;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--solana-purple) 0%, var(--solana-cyan) 100%);
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.footer-center {
    text-align: center;
    max-width: 500px;
}

.footer-center .social-links {
    justify-content: center;
}

.footer-section h4 {
    color: var(--solana-cyan);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.75rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-section a:hover {
    color: var(--solana-cyan);
    text-shadow: 0 0 8px var(--solana-cyan);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.6rem 1.2rem;
    background: rgba(153, 69, 255, 0.1);
    border-radius: 0;
    border: 2px solid var(--solana-purple);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
    transition: all 0.2s;
    font-size: 0.7rem;
}

.social-link:hover {
    background: rgba(153, 69, 255, 0.2);
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.built-with {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.solana-logo {
    height: 35px;
    filter: brightness(0.9);
}

.built-with p {
    font-size: 0.7rem;
    color: var(--solana-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(153, 69, 255, 0.2);
    margin-top: 2rem;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .dev-content {
        grid-template-columns: 1fr;
    }

    .ecosystem-diagram {
        flex-direction: column;
    }

    .eco-arrow {
        transform: rotate(90deg);
    }

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }
}
