/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', monospace;
    background-color: #111;
    color: #eee;
    line-height: 1.6;
    font-size: 12px;
    position: relative;
    width: 1500px;
    height: 2000px;
    margin: 0 auto;
    background-image: url('Counter Backdrop.png');
    background-size: 1500px 2000px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove the pseudo-element background */
body::before {
    display: none;
}

/* Pixel grid overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(238, 238, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 238, 238, 0.03) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
    z-index: 1;
}

/* Header */
.pixel-header {
    position: sticky;
    top: 0;
    background-color: #222;
    border-bottom: 2px solid #eee;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo-text {
    font-size: 14px;
    color: #eee;
    text-shadow: 2px 2px 0px #000;
}

.pixel-nav {
    display: flex;
    gap: 20px;
}

.pixel-nav-btn {
    color: #eee;
    text-decoration: none;
    padding: 8px 12px;
    border: 2px solid #eee;
    background-color: transparent;
    transition: all 0.1s ease;
    font-family: inherit;
    font-size: 10px;
}

.pixel-nav-btn:hover {
    background-color: #eee;
    color: #222;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px #000;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 0;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.counter-coin-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    display: block;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.hero-tagline {
    font-size: 16px;
    margin-bottom: 30px;
    color: #eee;
    text-shadow: 2px 2px 0px #000;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.pixel-btn {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 12px 20px;
    border: 2px solid #eee;
    background-color: transparent;
    color: #eee;
    cursor: pointer;
    transition: all 0.1s ease;
}

.pixel-btn:hover:not(:disabled) {
    background-color: #eee;
    color: #222;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px #000;
}

.btn-disabled {
    border-color: #ff0000;
    color: #ff0000;
    cursor: not-allowed;
    opacity: 0.7;
}

.warning-badge {
    background-color: #ff0000;
    color: #eee;
    padding: 8px 16px;
    border: 2px solid #eee;
    font-size: 8px;
    display: inline-block;
    text-shadow: 1px 1px 0px #000;
}

/* About Section */
.about-section {
    padding: 60px 0;
    text-align: center;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 20px;
    margin-bottom: 30px;
    color: #eee;
    text-shadow: 2px 2px 0px #000;
}

.about-text {
    font-size: 10px;
    line-height: 1.8;
    color: #eee;
    background-color: rgba(34, 34, 34, 0.8);
    padding: 20px;
    border: 2px solid #eee;
}

/* Footer */
.pixel-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222;
    border-top: 2px solid #eee;
    padding: 20px;
    text-align: center;
    z-index: 100;
}

.social-links {
    margin-bottom: 15px;
}

.social-placeholder {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid #eee;
    background-color: transparent;
    color: #eee;
    font-size: 10px;
}

.disclaimer {
    font-size: 8px;
    color: #999;
}

/* Tokenomics Section */
.tokenomics-section {
    padding: 60px 0;
    text-align: center;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tokenomics-card {
    background-color: rgba(34, 34, 34, 0.9);
    border: 2px solid #eee;
    padding: 20px;
    text-align: center;
    transition: all 0.1s ease;
}

.tokenomics-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px #000;
}

.tokenomics-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #000;
}

.tokenomics-value {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    color: #eee;
    text-shadow: 2px 2px 0px #000;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .pixel-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .logo-text {
        font-size: 12px;
    }

    .pixel-nav {
        gap: 10px;
    }

    .pixel-nav-btn {
        font-size: 8px;
        padding: 6px 10px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .hero-tagline {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .pixel-btn {
        font-size: 10px;
        padding: 10px 16px;
    }

    .section-title {
        font-size: 16px;
    }

    .about-text {
        font-size: 9px;
        padding: 15px;
    }

    .counter-coin-image {
        width: 150px;
        height: 150px;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tokenomics-value {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 10px;
    }

    .logo-text {
        font-size: 10px;
    }

    .pixel-nav-btn {
        font-size: 7px;
        padding: 5px 8px;
    }

    .hero-tagline {
        font-size: 10px;
    }

    .pixel-btn {
        font-size: 9px;
        padding: 8px 12px;
    }

    .section-title {
        font-size: 14px;
    }

    .about-text {
        font-size: 8px;
    }

    .warning-badge {
        font-size: 7px;
        padding: 6px 12px;
    }
}
