:root {
    --primary-color: #5F6FEE;
    --secondary-color: #9945FF;
    --accent-color: #14F195;
    --text-color: #1A1A1A;
    --light-text: #666666;
    --lighter-text: #999999;
    --background-color: #FFFFFF;
    --background-color-dark: #1A1A1A;
    --light-bg: #F8F9FA;
    --border-color: #E6E6E6;
    /* --header-height: 80px; */
    /* --footer-height: 200px; */
    --kunteynir-width: 990px;
    /* --content-width: 1200px; */
    --spacing-unit: 1rem;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

a {
    color: var(--secondary-color);
}
a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.kunteynir {
    max-width: var(--kunteynir-width);
    margin: 0 auto;
    padding: 0 6px;
}

.pt {
    padding-top: 100px;
}

/* Header */
.site-header {
    /* height: var(--header-height); */
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.header-content {
    /* height: 100%; */
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo svg {
    height: 32px;
    width: auto;
}
.logo a {
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.main-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}
.main-nav .button {
    padding: 8px 16px;
}
@media (max-width: 768px) {
    .main-nav ul {
        /* display: none; */
    }
    .main-nav .button {
        /* display: block; */
    }
}
@media (max-width: 560px) {
    .main-nav ul {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 200px 0 80px;
    background: linear-gradient(180deg, var(--background-color) 0%, var(--light-bg) 100%);
}
.hero-content {
    /* max-width: var(--content-width); */
    /* margin: 0 auto; */
    margin: 0 6px;
    text-align: center;
}
.hero-logo {
    max-width: 256px;
    max-height: auto;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 40px;
}
.hero h2 {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 40px;
}
.token-address {
    word-break: break-all;
    font-family: 'Courier New', Courier, monospace;
    /* hyphens: auto;
    max-width: 100%;
    display: inline-block; */
}
.solana-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--light-text);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 12px;
    background: var(--light-bg);
    width: fit-content;
    margin: 0 auto;
    text-decoration: none;
}
.solana-status:hover {
    color: var(--light-text);
    background: var(--border-color);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.online {
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}
.status-dot.error {
}
.status-dot.offline {
}
.status-text b {
    color: var(--text-color);
}

/* Jupiter Terminal */
#swap {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
}
.jupiter-kunteynir {
    max-width: 569px;
    margin: 0 auto;
}
.jupiter-kunteynir h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 24px;
    padding: 0 6px;
}
.jupiter-terminal {
    /* min-height: 400px; */
}

/* Features Section */
.features {
    padding: 140px 0;
    background: var(--light-bg);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 40px;
    /* max-width: var(--content-width); */
    margin: 0 auto;
}
.feature-item {
    text-align: center;
}
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    color: white;
}

/* Article */
article {
    padding-top: 96px;
    padding-bottom: 80px;
    /* max-width: 800px; */
    /* margin: 0 auto; */
    font-size: 1.1rem;
    line-height: 1.8;
}
article h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
article h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    line-height: 1.3;
    color: var(--text-color);
}
article h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    line-height: 1.4;
    color: var(--text-color);
}
article h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.75rem 0 1rem;
    line-height: 1.4;
    color: var(--text-color);
}
article h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    line-height: 1.4;
    color: var(--text-color);
}
article h6 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem;
    line-height: 1.4;
    color: var(--text-color);
}
article p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

article ul, article ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
article ul li, article ol li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
article p a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}
article p a:hover {
    color: var(--primary-color);
}
article img {
    /* max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--card-shadow); */
}
article blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--light-text);
}
/* article code {
    background-color: var(--light-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}
article pre {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}
article pre code {
    background-color: transparent;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.5;
} */
article table {
    width: 100%;
    border-collapse: collapse;
    /* margin: 2rem 0; */
}
/* article th, article td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}
article th {
    background-color: var(--light-bg);
    font-weight: 600;
} */
article hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 3rem 0;
}
article .tokens-list {
    margin-bottom: 1.5rem;
}
/* Responsive adjustments for article content */
@media (max-width: 768px) {
    article {
        padding-top: 80px;
        padding-bottom: 60px;
        font-size: 1rem;
    }
    
    article h1 {
        font-size: 2rem;
    }
    
    article h2 {
        font-size: 1.75rem;
    }
    
    article h3 {
        font-size: 1.25rem;
    }
    
    article pre {
        padding: 1rem;
    }
}

/* Tokens List */
.tokens-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
    /* margin-bottom: 1.5rem; */
}
.token-item {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 6px 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.token-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
    background: white;
}
.token-item:hover a {
    color: var(--primary-color);
}
.token-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    /* font-size: 0.9rem; */
}
.token-item img {
    margin: 0;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Under Construction Page */
.under-construction {
    text-align: center;
}
.construction-emoji {
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.button-primary {
    background: var(--gradient-primary);
    color: white;
}
.button-primary:hover {
    background: var(--primary-color);
    color: white;
}
.button-secondary {
    background: var(--light-bg);
    color: var(--text-color);
}
.button-secondary:hover {
    background: var(--border-color);
    color: var(--text-color);
}

/* Look at this */
.look-at-this {
    padding: 80px 0;
    background: var(--background-color-dark);
    color: white;
}
.look-at-this a {
    color: var(--secondary-color);
}
.look-at-that {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
}
.look-at-that a {
    color: var(--text-color);
}
.look-at-this hr, .look-at-that hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

/* Footer */
.site-footer {
    width: 100%;
    color: white;
    background-color: var(--background-color-dark);
    padding: 80px 0 40px;
    flex-shrink: 0;
}
  
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
  
.footer-column {
    flex: 1 1 0;
    min-width: 200px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.footer-column:first-child {
    padding-left: 0;
}

.footer-column:last-child {
    padding-right: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column p:first-child {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.language-links {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.language-links a {
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}
.copyright {
    /* width: 100%; */
    text-align: center;
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .site-header {
        position: absolute;
    }
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .main-nav {
        /* display: none; */
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-column {
        flex: 1 1 100%;
        padding-left: 0;
        padding-right: 0;
    }
}