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

body {
    font-family: 'Press Start 2P', monospace;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Pixel Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    gap: 40px;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 20px;
}

.logo-section {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 60px;
    width: auto;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 0px #000);
}

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

.nav-link {
    font-size: 12px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffff00;
}

/* Disabled Navigation Item */
.nav-item.disabled {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
    cursor: not-allowed;
    position: relative;
    transition: color 0.3s ease;
}

.nav-text {
    color: #666;
    transition: color 0.3s ease;
}

.nav-item.disabled.active .nav-text {
    color: #ffff00;
}

.soon-badge {
    background: linear-gradient(45deg, #ffff00, #ffed4e);
    color: #000;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-name {
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px #000;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 10px;
    margin-bottom: 20px;
    max-width: 400px;
    line-height: 1.8;
    color: #cccccc;
}

.magiceden-logo {
    height: 12px;
    width: 12px;
    opacity: 1;
    object-fit: contain;
}

.cta-button {
    background: #ffff00;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow: 4px 4px 0px #000;
}

.cta-button:hover {
    background: #ffff80;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

.cta-button:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

/* Contract Card */
.contract-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #333;
    padding: 10px 16px;
    margin: 15px auto 20px auto;
    max-width: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0px #000;
    backdrop-filter: blur(10px);
}

.contract-card:hover {
    background: rgba(40, 40, 40, 0.95);
    border-color: #ffff00;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px #000;
}

.contract-card:active {
    transform: translateY(0);
    box-shadow: 1px 1px 0px #000;
}

.contract-text {
    font-size: 7px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    text-align: center;
    line-height: 1.2;
    opacity: 0.9;
}

.contract-card.copied {
    background: rgba(255, 255, 0, 0.1);
    border-color: #ffff00;
}

.contract-card.copied .contract-text {
    color: #ffff00;
}

/* Floating Skull Icons */
.pixel-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.icon {
    position: absolute;
    width: 42px;
    height: 42px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(1px 1px 0px #000);
    opacity: 0.7;
}

.skull-icon:nth-child(1) {
    top: 15%;
    left: 10%;
}

.skull-icon:nth-child(2) {
    top: 15%;
    right: 15%;
}

.skull-icon:nth-child(3) {
    top: 35%;
    left: 5%;
}

.skull-icon:nth-child(4) {
    bottom: 25%;
    left: 10%;
}

.skull-icon:nth-child(5) {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.skull-icon:nth-child(6) {
    bottom: 20%;
    right: 15%;
}

.skull-icon:nth-child(7) {
    top: 45%;
    right: 8%;
}

.skull-icon:nth-child(8) {
    top: 60%;
    left: 20%;
}

/* Content Section */
.content-section {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
}

.about-text {
    font-size: 8px;
    line-height: 1.8;
    color: #cccccc;
}

.about-text p {
    margin-bottom: 15px;
}

.nft-gallery {
    position: relative;
    width: 120px;
    height: 120px;
    border: 3px solid #000;
    overflow: hidden;
}

.pixel-avatar {
    width: 120px;
    height: 120px;
    border: none;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    object-fit: contain;
    background: transparent;
}

.nft-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: pointer;
}

.nft-image.active {
    opacity: 1;
}

.nft-image:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.social-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    font-size: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    color: #ffff00;
    border-bottom-color: #ffff00;
}

.x-logo {
    height: 12px;
    width: 12px;
    opacity: 1;
    object-fit: contain;
}

/* Tokenomics Section */
.tokenomics-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tokenomics-item {
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    position: relative;
}

.tokenomics-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #555;
}

.tokenomics-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ffff00;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tokenomics-item:hover::before {
    opacity: 1;
}

.tokenomics-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 15px;
    padding: 15px;
    align-items: center;
    cursor: pointer;
    font-size: 8px;
}

.tokenomics-type {
    color: #ffff00;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000;
}

.tokenomics-percentage {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000;
}

.tokenomics-action {
    color: #ffffff;
    font-weight: bold;
}

.tokenomics-status {
    color: #888;
    font-size: 7px;
    text-transform: uppercase;
}

.tokenomics-status.active {
    color: #00ff00;
}

.tokenomics-status.planned {
    color: #ffaa00;
}

.expand-icon {
    color: #ffffff;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.tokenomics-item[data-expanded="true"] .expand-icon {
    transform: rotate(45deg);
}

.tokenomics-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    font-size: 8px;
    color: #cccccc;
    line-height: 1.6;
}

.tokenomics-item[data-expanded="true"] .tokenomics-details {
    max-height: 300px;
    padding: 15px;
    border-top: 1px solid #333;
}

.tokenomics-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-label {
    font-size: 7px;
    color: #888;
    text-transform: uppercase;
}

.metric-value {
    font-size: 8px;
    color: #ffff00;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000;
}

/* Roadmap Section */
.roadmap-description {
    font-size: 8px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 30px;
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.roadmap-item {
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    position: relative;
}

.roadmap-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #555;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #00ff00;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.roadmap-item:hover::before {
    opacity: 1;
}

.roadmap-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    padding: 15px;
    align-items: center;
    cursor: pointer;
    font-size: 8px;
}

.roadmap-phase {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000;
}

.roadmap-title {
    color: #ffffff;
    font-weight: bold;
}

.roadmap-status {
    color: #888;
    font-size: 7px;
    text-transform: uppercase;
}

.roadmap-status.completed {
    color: #00ff00;
}

.roadmap-status.in-progress {
    color: #ffaa00;
}

.roadmap-status.planned {
    color: #87ceeb;
}

.roadmap-status.future {
    color: #888;
}

.expand-icon {
    color: #ffffff;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.roadmap-item[data-expanded="true"] .expand-icon {
    transform: rotate(45deg);
}

.roadmap-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    font-size: 8px;
    color: #cccccc;
    line-height: 1.6;
}

.roadmap-item[data-expanded="true"] .roadmap-details {
    max-height: 300px;
    padding: 15px;
    border-top: 1px solid #333;
}

.roadmap-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-label {
    font-size: 7px;
    color: #888;
    text-transform: uppercase;
}

.metric-value {
    font-size: 8px;
    color: #00ff00;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 8px;
    color: #888;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-section {
        min-height: 50vh;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tokenomics-header {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .tokenomics-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .roadmap-header {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .roadmap-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Staking Section Mobile */
    .staking-section {
        padding: 40px 15px;
    }
    
    .coming-soon-content h3 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .staking-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .staking-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .notify-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .notify-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .logo-section {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 10px;
    }
    
    .nav-item.disabled {
        font-size: 10px;
    }
    
    .hero-name {
        font-size: 24px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .hero-tagline {
        font-size: 8px;
    }
    
    .magiceden-logo {
        height: 10px;
        width: 10px;
    }
    
    .x-logo {
        height: 10px;
        width: 10px;
    }
    
    .section-title {
        font-size: 12px;
    }
    
    .about-text,
    .contact-description {
        font-size: 7px;
    }
    
    .tokenomics-header {
        font-size: 7px;
    }
    
    .roadmap-header {
        font-size: 7px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 7px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }
    
    .logo-section {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 9px;
    }
    
    .nav-item.disabled {
        font-size: 9px;
    }
    
    .soon-badge {
        font-size: 0.5rem;
        padding: 1px 4px;
    }
    
    .hero-name {
        font-size: 18px;
    }
    
    .hero-tagline {
        font-size: 7px;
    }
    
    .nft-gallery {
        width: 80px;
        height: 80px;
    }
    
    .pixel-avatar {
        width: 80px;
        height: 80px;
    }
}

/* Animation for floating skull icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.skull-icon {
    animation: float 4s ease-in-out infinite;
}

.skull-icon:nth-child(1) { animation-delay: 0s; }
.skull-icon:nth-child(2) { animation-delay: 0.5s; }
.skull-icon:nth-child(3) { animation-delay: 1s; }
.skull-icon:nth-child(4) { animation-delay: 1.5s; }
.skull-icon:nth-child(5) { animation-delay: 2s; }
.skull-icon:nth-child(6) { animation-delay: 2.5s; }
.skull-icon:nth-child(7) { animation-delay: 3s; }
.skull-icon:nth-child(8) { animation-delay: 3.5s; }
