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

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

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

/* Animated Pixel Background */
.pixel-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, #ff6b35 25%, transparent 25%),
        linear-gradient(-45deg, #ff6b35 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ff6b35 75%),
        linear-gradient(-45deg, transparent 75%, #ff6b35 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: pixelMove 20s linear infinite;
    opacity: 0.1;
    z-index: -1;
}

@keyframes pixelMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid #ff6b35;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    image-rendering: pixelated;
    border: 2px solid #ff6b35;
}

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

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    padding: 10px 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0px #000;
}

.nav-link:hover {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23ff6b35" stroke-width="1" opacity="0.1"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-image {
    text-align: center;
}

.hero-character {
    width: 300px;
    height: 300px;
    image-rendering: pixelated;
    border: 4px solid #ff6b35;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    animation: float 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 48px;
    color: #ff6b35;
    text-shadow: 4px 4px 0px #000;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 32px;
    color: #ffd700;
    text-shadow: 3px 3px 0px #000;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    color: #ff6b35;
    text-shadow: 2px 2px 0px #000;
    font-weight: bold;
}

.stat-label {
    font-size: 10px;
    color: #888888;
    text-transform: uppercase;
}

/* Contract Address Section */
.contract-address {
    margin-top: 40px;
    text-align: center;
    background: rgba(255, 107, 53, 0.1);
    border: 3px solid #ff6b35;
    padding: 20px;
    position: relative;
}

.contract-label {
    display: block;
    font-size: 12px;
    color: #ffd700;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.contract-value {
    font-size: 14px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ffd700;
    padding: 15px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px #000;
    word-break: break-all;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contract-value:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ff6b35;
    transform: scale(1.02);
}

.btn-copy {
    background: #ff6b35;
    border: 2px solid #ff6b35;
    color: white;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000;
    margin-top: 10px;
}

.btn-copy:hover {
    background: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-copy:active {
    transform: translateY(0);
}

/* Mint Section */
.mint-section {
    padding: 80px 0;
    background: #0f0f0f;
}

.mint-box {
    background: linear-gradient(145deg, #1a1a1a, #2d1b1b);
    border: 4px solid #ff6b35;
    border-radius: 0;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.3);
    position: relative;
}

.mint-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b35, #ffd700, #ff6b35);
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

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

.mint-title {
    text-align: center;
    font-size: 24px;
    color: #ff6b35;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 30px;
}

.mint-preview {
    text-align: center;
    margin-bottom: 30px;
}

.mint-preview-img {
    width: 200px;
    height: 200px;
    image-rendering: pixelated;
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.mint-info {
    text-align: center;
}

.mint-price {
    margin-bottom: 20px;
}

.price-label {
    font-size: 12px;
    color: #888888;
    display: block;
    margin-bottom: 5px;
}

.price-value {
    font-size: 24px;
    color: #ffd700;
    text-shadow: 2px 2px 0px #000;
    font-weight: bold;
}

.mint-benefit {
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid #ff6b35;
    padding: 15px;
    margin-bottom: 30px;
}

.benefit-text {
    font-size: 12px;
    color: #ff6b35;
    text-shadow: 1px 1px 0px #000;
}

.mint-countdown {
    margin-bottom: 30px;
}

.countdown-label {
    font-size: 12px;
    color: #888888;
    display: block;
    margin-bottom: 15px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid #ff6b35;
    padding: 15px 10px;
    min-width: 60px;
}

.countdown-number {
    display: block;
    font-size: 20px;
    color: #ff6b35;
    text-shadow: 2px 2px 0px #000;
    font-weight: bold;
}

.countdown-item .countdown-label {
    font-size: 8px;
    color: #888888;
    margin-bottom: 0;
}

.mint-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    border: 3px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px 0px #000;
}

.btn-connect {
    background: #4a90e2;
    border-color: #4a90e2;
    color: white;
}

.btn-connect:hover {
    background: #357abd;
    border-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.btn-mint {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
}

.btn-mint:hover:not(:disabled) {
    background: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-mint:disabled {
    background: #666666;
    border-color: #666666;
    color: #999999;
    cursor: not-allowed;
}

/* Roadmap Section */
.roadmap-section {
    padding: 80px 0;
    background: #1a1a1a;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #ff6b35;
    text-shadow: 3px 3px 0px #000;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

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

.roadmap-item {
    background: linear-gradient(145deg, #2d1b1b, #1a1a1a);
    border: 3px solid #ff6b35;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.roadmap-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.roadmap-phase {
    background: #ff6b35;
    color: white;
    font-size: 10px;
    padding: 8px 15px;
    display: inline-block;
    margin-bottom: 20px;
    text-shadow: 1px 1px 0px #000;
}

.roadmap-title {
    font-size: 18px;
    color: #ffd700;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 15px;
}

.roadmap-description {
    font-size: 10px;
    color: #cccccc;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: #0f0f0f;
}

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

.benefit-item {
    background: linear-gradient(145deg, #1a1a1a, #2d1b1b);
    border: 3px solid #ffd700;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    margin-bottom: 20px;
    border: 2px solid #ffd700;
}

.benefit-title {
    font-size: 16px;
    color: #ffd700;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 15px;
}

.benefit-description {
    font-size: 10px;
    color: #cccccc;
    line-height: 1.6;
}

/* Community Section */
.community-section {
    padding: 80px 0;
    background: #1a1a1a;
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    padding: 20px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: rgba(255, 107, 53, 0.1);
}

.community-link:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.community-icon {
    width: 60px;
    height: 60px;
    image-rendering: pixelated;
    border: 2px solid #ff6b35;
}

.community-link span {
    font-size: 12px;
    text-shadow: 1px 1px 0px #000;
    text-transform: uppercase;
}

.community-link.twitter:hover {
    border-color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

.community-link.discord:hover {
    border-color: #7289da;
    background: rgba(114, 137, 218, 0.1);
}

.community-link.dao:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

/* Footer */
.footer {
    background: #0f0f0f;
    border-top: 3px solid #ff6b35;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    image-rendering: pixelated;
    border: 2px solid #ff6b35;
}

.footer-logo-text {
    font-size: 14px;
    color: #ff6b35;
    text-shadow: 1px 1px 0px #000;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: #888888;
    text-decoration: none;
    font-size: 10px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    font-size: 10px;
    color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-character {
        width: 200px;
        height: 200px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 10px;
        padding: 8px 12px;
    }
    
    .mint-box {
        padding: 20px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 10px 5px;
    }
    
    .mint-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .community-links {
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .roadmap-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .contract-address {
        margin-top: 30px;
        padding: 15px;
    }
    
    .contract-value {
        font-size: 12px;
        padding: 10px;
    }
    
    .btn-copy {
        font-size: 8px;
        padding: 8px 15px;
    }
} 