* { box-sizing: border-box; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; 
    margin: 0; 
    padding: 0; 
    line-height: 1.6; 
    background: #f8fafc;
    min-height: 100vh;
    color: #1e293b;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.no-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.no-scrollbar::-webkit-scrollbar {
    display: none; /* WebKit */
}

.changelog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

h1 { 
    color: #0f172a; 
    font-size: 2.5rem; 
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2 { 
    color: #1e293b; 
    font-size: 1.75rem; 
    margin-top: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.version-badge {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

code { 
    background: #f1f5f9; 
    padding: 4px 8px; 
    border-radius: 6px; 
    font-family: ui-monospace, SFMono-Regular, 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    color: #475569;
}

pre { 
    background: #0f172a; 
    color: #cbd5e1;
    padding: 24px; 
    border-radius: 12px; 
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, 'Cascadia Code', 'Roboto Mono', monospace;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #1e293b;
}

pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: #cbd5e1;
}

.endpoint { 
    margin: 20px 0; 
    padding: 24px; 
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    transition: all 0.15s ease;
}

.endpoint:hover {
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.method { 
    display: inline-block; 
    padding: 6px 12px; 
    border-radius: 6px; 
    color: white; 
    font-weight: 700; 
    margin-right: 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.get { background: #3b82f6; }
.post { background: #10b981; }

.step { 
    margin: 16px 0; 
    padding: 20px 24px; 
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #6366f1;
    transition: all 0.15s ease;
}

.step:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.storage-info { 
    margin: 20px 0; 
    padding: 24px; 
    background: #f0fdf4;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #dcfce7;
    border-left: 4px solid #22c55e;
}

.progress-bar { 
    width: 100%; 
    height: 10px; 
    background: #e2e8f0; 
    border-radius: 6px; 
    overflow: hidden; 
    margin: 16px 0;
    box-shadow: none;
}

.progress-fill { 
    height: 100%; 
    background: linear-gradient(90deg, #22c55e 0%, #f59e0b 70%, #ef4444 90%); 
    transition: width 0.5s ease; 
    border-radius: 6px;
    box-shadow: none;
}

.storage-stats { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 16px; 
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.changelog-section { 
    padding: 24px; 
    background: #ffffff;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #8b5cf6;
}

/* Remove redundant changelog wrapper styles */
.changelog-wrapper {
    max-width: none;
    margin: 0;
}

.changelog-entry { 
    margin: 16px 0; 
    padding: 20px; 
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}

.changelog-entry:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.version { 
    font-weight: 600; 
    color: #8b5cf6;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.version::before {
    content: "🏷️";
    font-size: 14px;
}

.date { 
    color: #64748b; 
    font-size: 13px;
    margin-top: 5px;
    font-weight: 400;
}

.changelog-entry ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.changelog-entry li {
    margin: 5px 0;
    color: #475569;
}

.copy-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.15s ease;
    float: right;
    margin-top: -10px;
}

.copy-btn:hover {
    background: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* About section styling */
.about-content {
    line-height: 1.7;
}

.about-content h3 {
    color: #1e293b;
    font-size: 1.25rem;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

.about-content ul {
    list-style-type: none;
    padding-left: 0;
}

.about-content li {
    background: #f8fafc;
    margin: 8px 0;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    transition: all 0.15s ease;
}

.about-content li:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.contact-info {
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #3b82f6;
    margin: 16px 0;
}

.contact-info p {
    margin: 6px 0;
    font-family: ui-monospace, SFMono-Regular, 'Cascadia Code', 'Roboto Mono', monospace;
    color: #475569;
}

.donate-info {
    background: #f0fdf4;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #22c55e;
    margin: 16px 0;
}

.donate-info p {
    margin: 12px 0;
    font-family: ui-monospace, SFMono-Regular, 'Cascadia Code', 'Roboto Mono', monospace;
    color: #475569;
}

.crypto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.crypto-row {
    margin-top: 8px;
}

.crypto-address {
    display: block;
    width: 100%;
    padding: 12px;
    font-family: ui-monospace, SFMono-Regular, 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #16a34a;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    resize: none;
    outline: none;
    transition: all 0.15s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    word-break: break-all;
    min-height: 45px;
}

.crypto-address:hover {
    border-color: #22c55e;
    background: #ffffff;
}

.crypto-address:focus {
    border-color: #22c55e;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.copy-crypto-btn {
    background: #22c55e;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
}

.copy-crypto-btn:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

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

.copy-crypto-btn.copied {
    background: #3b82f6;
    transform: scale(0.95);
}

/* Responsive design */
@media (max-width: 1280px) {
    .three-column-layout {
        grid-template-columns: 1fr 0.6fr 0.6fr;
        gap: 16px;
        padding: 16px;
    }
    
    .content-container {
        padding: 24px;
    }
}

@media (max-width: 1024px) {
    .three-column-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 16px;
        padding: 16px;
        height: auto;
        min-height: 100vh;
    }
    
    /* Main content in first row */
    .content-container:first-child {
        grid-column: 1;
        grid-row: 1;
    }
    
    /* Changelog in second row */
    .content-container:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    
    /* About in third row */
    .content-container:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .content-container { 
        padding: 28px;
        max-height: none;
        min-height: 450px;
        width: 100%;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.625rem; }
}

@media (max-width: 768px) {
    .three-column-layout {
        display: block;
        padding: 16px;
        width: 100%;
    }
    
    .content-container { 
        display: block;
        width: 100%;
        margin: 0 0 20px 0;
        padding: 24px;
        max-height: none;
        min-height: auto;
        box-sizing: border-box;
    }
    
    .content-container:last-child {
        margin-bottom: 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; margin-bottom: 1rem; }
    
    .endpoint, 
    .storage-info, 
    .changelog-section { 
        padding: 20px; 
        margin: 16px 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .step { 
        padding: 16px 20px; 
        margin: 12px 0;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 640px) {
    .three-column-layout {
        display: block;
        padding: 12px;
        width: 100%;
    }
    
    .content-container { 
        display: block;
        width: 100%;
        margin: 0 0 16px 0;
        padding: 20px;
        border-radius: 12px;
        min-height: auto;
        box-sizing: border-box;
    }
    
    .content-container:last-child {
        margin-bottom: 0;
    }
    
    h1 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    
    h2 {
        font-size: 1.375rem;
        margin-top: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .about-content h3 {
        font-size: 1.125rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .endpoint, 
    .storage-info, 
    .changelog-section { 
        padding: 16px; 
        margin: 12px 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .step { 
        padding: 12px 16px;
        margin: 10px 0; 
        width: 100%;
        box-sizing: border-box;
    }
    
    .method {
        padding: 4px 8px;
        font-size: 11px;
        margin-right: 8px;
    }
    
    .changelog-entry {
        padding: 14px;
        margin: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .about-content li {
        padding: 10px 12px;
        margin: 6px 0;
    }
    
    .contact-info {
        padding: 14px;
        margin: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .about-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .about-content ul {
        padding-left: 16px;
    }
}

/* CSS Grid three-column layout */
.three-column-layout {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr;
    gap: 20px;
    padding: 20px;
    height: 100vh;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .three-column-layout {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
    }
}

/* Content containers with equal height and scrolling */
.content-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    padding: 32px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    border: 1px solid #e2e8f0;
}

/* Webkit scrollbar styling */
.content-container::-webkit-scrollbar {
    width: 6px;
}

.content-container::-webkit-scrollbar-track {
    background: transparent;
}

.content-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.content-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.progress-fill-initial {
    width: 0%;
}

