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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #45D06B;
    color: #000;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Patrick Hand', cursive;
    font-weight: 400;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #000;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: #FFFDF8;
    border-bottom: 2px solid #000;
    z-index: 100;
    box-shadow: 0 4px 0 #000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header-logo {
    height: 60px;
    width: auto;
    border: 2px solid #000;
    border-radius: 8px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: #D33A32;
    color: #FFFDF8;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 2px 4px 0 #000;
}

.nav-link:focus {
    outline: 2px solid #2F59FF;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-image {
    width: 100%;
    height: auto;
    border: 2px solid #000;
    border-radius: 8px;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-card {
    background-color: #FFFDF8;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 4px 4px 0 #000;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #000;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.token-address {
    margin-bottom: 2rem;
    text-align: center;
}

.token-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.token-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.token-code {
    background-color: #45D06B;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
    word-break: break-all;
    max-width: 400px;
    display: inline-block;
    box-shadow: 2px 2px 0 #000;
}

.copy-btn {
    background-color: #2F59FF;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0 #000;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 #000;
    background-color: #D33A32;
}

.copy-btn:focus {
    outline: 2px solid #FFFDF8;
    outline-offset: 2px;
}

.copy-btn:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0 #000;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.btn:focus {
    outline: 2px solid #2F59FF;
    outline-offset: 2px;
}

.btn-primary {
    background-color: #D33A32;
    color: #FFFDF8;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 2px 4px 0 #000;
}

.btn-secondary {
    background-color: #2F59FF;
    color: #FFFDF8;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 2px 4px 0 #000;
}

/* Sections */
section {
    padding: 4rem 0;
}

.about {
    background-color: #FFFDF8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.image-card {
    background-color: #45D06B;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 4px 4px 0 #000;
}

.about-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 2px solid #000;
    border-radius: 8px;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.archive-link {
    color: #2F59FF;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #2F59FF;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.2s ease;
    background-color: #FFFDF8;
}

.archive-link:hover {
    background-color: #2F59FF;
    color: #FFFDF8;
    transform: translateY(-2px);
    box-shadow: 2px 4px 0 #000;
}

.archive-link:focus {
    outline: 2px solid #D33A32;
    outline-offset: 2px;
}

/* Gallery */
.gallery {
    background-color: #45D06B;
}

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

.gallery-item {
    background-color: #FFFDF8;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0 #000;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #000;
}

.gallery-item:focus {
    outline: 2px solid #2F59FF;
    outline-offset: 2px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border: 2px solid #000;
    border-radius: 4px;
    display: block;
}

/* Downloads */
.downloads {
    background-color: #FFFDF8;
}

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

.download-card {
    background-color: #45D06B;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 4px 4px 0 #000;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.download-card p {
    margin-bottom: 2rem;
    color: #000;
}

/* FAQ */
.faq {
    background-color: #45D06B;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background-color: #FFFDF8;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0 #000;
}

.faq-question:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #000;
}

.faq-question:focus {
    outline: 2px solid #2F59FF;
    outline-offset: 2px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.faq-answer {
    background-color: #FFFDF8;
    border: 2px solid #000;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background-color: #000;
    color: #FFFDF8;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #FFFDF8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-link:focus {
    outline: 2px solid #2F59FF;
    outline-offset: 2px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    cursor: pointer;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #FFFDF8;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #D33A32;
}

.lightbox-close:focus {
    outline: 2px solid #2F59FF;
    outline-offset: 2px;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border: 2px solid #000;
    border-radius: 8px;
}

.lightbox-caption {
    background-color: #FFFDF8;
    color: #000;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    border: 2px solid #000;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .token-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .token-code {
        max-width: 280px;
        font-size: 0.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}