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

body {
    font-family: 'Azeret Mono', monospace;
    background: #FFF4E6;
    color: #1A1A1A;
    line-height: 1.6;
    letter-spacing: -0.1em;
    font-weight: 400;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Header */
header {
    margin-bottom: 80px;
}

.header-line {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #1A1A1A;
    padding-bottom: 20px;
}

.logo {
    width: 36px;
    height: 36px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

h1 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.1em;
}

h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.1em;
    color: #1A1A1A;
}

.spacer {
    flex: 1;
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-right: 24px;
    align-items: center;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: -0.1em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #1A1A1A;
}

.x-link {
    display: inline-flex;
    align-items: center;
    color: #666 !important;
    transition: color 0.2s ease;
    height: 16px;
}

.x-link:hover {
    color: #1A1A1A !important;
}

.x-link svg {
    display: block;
}

.trade-button {
    background: none;
    border: 1px solid #666;
    color: #666;
    padding: 4px 8px;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: -0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    height: 24px;
    display: inline-flex;
    align-items: center;
}

.trade-button:hover {
    background: #1A1A1A;
    color: #FFF4E6;
    border-color: #1A1A1A;
}


/* Removed wallet connection button styles */

/* Main Content */
main {
    margin-bottom: 80px;
}

.intro {
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.intro p {
    font-size: 16px;
    line-height: 1.7;
}

/* Philosophy Section */
.philosophy-section {
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.philosophy-content {
    margin-top: 30px;
}

.philosophy-content p {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #1A1A1A;
}

.philosophy-content p:last-child {
    margin-bottom: 0;
}

/* Golden Koi Section */
.golden-koi-section {
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.koi-image {
    width: 200px;
    height: auto;
    margin: 20px 0;
    display: block;
}

.golden-koi-content {
    margin-top: 30px;
}

.golden-koi-content p {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #1A1A1A;
}

.golden-koi-content p:last-child {
    margin-bottom: 0;
}

.gift-link {
    color: #1A1A1A;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.gift-link:hover {
    opacity: 0.6;
}

.contract-address {
    color: #1A1A1A;
    cursor: pointer;
    text-decoration: underline;
    transition: opacity 0.2s ease;
    font-family: 'Azeret Mono', monospace;
}

.contract-address:hover {
    opacity: 0.6;
}

/* Wisdom Section */
.wisdom-section {
    margin-bottom: 80px;
}

.wisdom-content {
    margin-top: 30px;
}

.wisdom-item {
    margin-bottom: 50px;
    padding: 30px 0;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.wisdom-item:first-child {
    border-top: none;
    padding-top: 0;
}

.wisdom-item:last-child {
    margin-bottom: 0;
}

/* Removed h3 styling since we removed the h3 elements */

.wisdom-item p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* Footer */
footer {
    border-top: 1px solid #1A1A1A;
    padding-top: 20px;
}

.footer-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    color: #1A1A1A;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 0.6;
}

.social-link svg {
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.8);
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background: #FFF4E6;
    padding: 40px;
    border: 1px solid #1A1A1A;
    max-width: 300px;
    width: 90%;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.1em;
}

.about-modal {
    max-width: 500px;
    line-height: 1.7;
}

.about-text {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 13px;
    color: #1A1A1A;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text .modal-divider {
    height: 1px;
    background: rgba(26, 26, 26, 0.2);
    margin: 20px 0;
}

.modal-content button {
    display: block;
    width: 100%;
    background: none;
    border: 1px solid #1A1A1A;
    color: #1A1A1A;
    padding: 12px;
    margin-bottom: 8px;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: -0.1em;
    cursor: pointer;
}

.modal-content button:hover {
    background: #1A1A1A;
    color: #F5F1E8;
}

.modal-content button.close {
    margin-top: 12px;
    border: none;
    color: #666;
    font-size: 12px;
}

.modal-content button.close:hover {
    background: none;
    color: #1A1A1A;
}

.modal-content button:hover {
    background: #1A1A1A;
    color: #FFF4E6;
}

/* Custom Scrollbar */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #FFF4E6 !important;
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background: #1A1A1A;
    border-radius: 0;
    border: none;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

::-webkit-scrollbar-corner {
    background: #FFF4E6 !important;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #1A1A1A #FFF4E6;
}

/* For elements with custom scrollbars */
.scrollable {
    scrollbar-width: thin;
    scrollbar-color: #1A1A1A #FFF4E6;
}

.scrollable::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scrollable::-webkit-scrollbar-track {
    background: #FFF4E6 !important;
    border-radius: 0;
}

.scrollable::-webkit-scrollbar-thumb {
    background: #1A1A1A;
    border-radius: 0;
    border: none;
}

.scrollable::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }
    
    .header-line {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-right: 0;
        margin-top: 8px;
    }
    
    /* Removed info-row responsive styles */
    
    .wisdom-item {
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    .footer-line {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Modal responsive fixes */
    .modal.active {
        padding: 10px;
        align-items: flex-start;
    }
    
    .modal-content {
        padding: 20px;
        max-height: 85vh;
        width: 95%;
    }
    
    .about-modal {
        max-width: none;
    }
    
    .logo {
        display: none;
    }
}