/* Treasury Page Styles */
.treasury-page {
    min-height: 100vh;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Hero Section */
#treasury-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: white;
    color: var(--color-navy);
    padding: 0;
    overflow: hidden;
    padding-bottom: 80px; /* Add space for the scroll-down button */
}

#treasury-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

#treasury-hero .hero__content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

#treasury-hero .hero__title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    font-family: var(--font-secondary);
    text-transform: none;
    letter-spacing: normal;
}

#treasury-hero .hero__title-line {
    display: block;
    font-family: var(--font-secondary);
}

#treasury-hero .script {
    color: var(--color-gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
}

#treasury-hero .hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    max-width: 500px;
}

#treasury-hero .hero__image {
    flex: 0 0 45%;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

#treasury-hero .hero__image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.scroll-down {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(0, 31, 63, 0.7);
    text-decoration: none;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0.7;
    cursor: pointer;
}

.scroll-down:hover {
    opacity: 1;
    color: var(--color-navy);
}

.scroll-down.hidden {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.scroll-down span {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.scroll-down i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-5px) translateX(-50%);
    }
    60% {
        transform: translateY(-3px) translateX(-50%);
    }
}

.wallet-address {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 31, 63, 0.1);
    padding: 0.75rem 1.25rem 0.75rem 1.5rem;
    border-radius: 100px;
    margin: 0 0 2rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--color-navy);
    border: 1px solid rgba(0, 31, 63, 0.2);
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    padding-right: 3rem; /* Make space for copy button */
}

.wallet-address:hover {
    background: rgba(0, 31, 63, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.copy-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 31, 63, 0.1);
    color: var(--color-gold);
    margin-left: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 4px;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.copy-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.copy-btn:active {
    transform: scale(0.95);
}

.treasury-summary {
    margin-top: 2rem;
    text-align: left;
}

.total-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-navy);
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.total-value:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.total-value .label {
    opacity: 0.9;
    margin-right: 0.5rem;
}

.total-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.total-value .label {
    opacity: 0.9;
    margin-right: 0.5rem;
}

.total-value .value {
    color: var(--color-gold);
}

/* Last updated removed as per request */

/* Responsive Styles */
@media (max-width: 1024px) {
    #treasury-hero .hero__title {
        font-size: 3.5rem;
    }
    
    #treasury-hero .hero__subtitle {
        font-size: 1.3rem;
    }
    
    #treasury-hero .hero__image {
        flex: 0 0 40%;
    }
}

@media (max-width: 768px) {
    #treasury-hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    
    #treasury-hero .hero__content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    #treasury-hero .hero__title {
        font-size: 3rem;
    }
    
    #treasury-hero .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    #treasury-hero .wallet-address {
        margin-left: auto;
        margin-right: auto;
    }
    
    #treasury-hero .hero__image {
        margin-top: 2rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    #treasury-hero .hero__title {
        font-size: 2.5rem;
    }
    
    #treasury-hero .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .wallet-address {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .total-value {
        font-size: 1.4rem;
        padding: 1rem 1.5rem;
    }
    
    .scroll-down {
        bottom: 1rem;
    }
    
    .scroll-down span {
        display: none;
    }
}

/* Table Section */
.treasury-table-section {
    padding: 6rem 0;
    font-family: inherit;
    background-color: var(--color-navy);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    scroll-margin-top: 100px; /* For smooth scrolling */
}

/* Instructions Section */
.instructions-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
    position: relative;
}

.instructions-section .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-navy);
    margin-bottom: 2rem;
    font-family: var(--font-secondary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

.instructions-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    line-height: 1.8;
    color: var(--color-text);
}

.instructions-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.treasury-table-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    margin: 0 auto 2rem;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}

.treasury-table {
    width: 100%;
    min-width: 1000px; /* Ensures table doesn't get too narrow */
    table-layout: fixed;
}

.treasury-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
    font-family: inherit;
    font-size: 0.875rem;
    table-layout: fixed;
}

.treasury-table th, 
.treasury-table td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-family: inherit;
    line-height: 1.3;
}

.treasury-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--color-navy);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
    padding: 0.75rem 0.5rem;
}

.treasury-table tbody tr:last-child td {
border-bottom: none;
}

.treasury-table tbody tr:hover {
background-color: #f8f9fa;
}

.treasury-table .token-info {
display: flex;
align-items: center;
gap: 0.75rem;
min-width: 200px;
}

/* Social Links */
.social-links {
display: flex;
gap: 0.4rem;
justify-content: center;
flex-wrap: nowrap;
min-width: 160px;
margin: 0 auto;
}

.social-link {
color: var(--color-navy);
font-size: 0.9rem;
transition: all 0.2s ease;
background: none;
border: 1px solid rgba(0, 0, 0, 0.1);
padding: 0.2rem;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
width: 26px;
height: 26px;
vertical-align: middle;
}

.social-link:hover {
color: white;
background-color: var(--color-navy);
border-color: var(--color-navy);
transform: translateY(-1px);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-navy);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Table cell alignment */
.treasury-table th,
.treasury-table td {
    vertical-align: middle;
    padding: 1rem 0.75rem;
    opacity: 1;
    cursor: default;
}

/* Make token name column wider */
.treasury-table th:first-child,
.treasury-table td:first-child {
    min-width: 220px;
}

/* Cell alignment */
.treasury-table .amount-cell,
.treasury-table .value-cell {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.treasury-table .price-change {
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Ensure consistent column widths */
.treasury-table th:nth-child(1),
.treasury-table td:nth-child(1) {
    width: 25%;
    min-width: 150px;
    padding-left: 0.75rem;
}

.treasury-table th:nth-child(2),
.treasury-table td:nth-child(2) {
    width: 22%;
    text-align: right;
    padding-right: 0.75rem;
}

.treasury-table th:nth-child(3),
.treasury-table td:nth-child(3) {
    width: 15%;
    text-align: center;
    padding: 0 0.5rem;
}

.treasury-table th:nth-child(4),
.treasury-table td:nth-child(4) {
    width: 18%;
    text-align: right;
    padding-right: 0.5rem;
}

.treasury-table th:nth-child(5),
.treasury-table td:nth-child(5) {
    width: 20%;
    min-width: 100px;
    text-align: center;
    padding: 0 0.5rem;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .table-responsive {
        margin-left: 1rem;
        margin-right: 1rem;
        width: calc(100% - 2rem);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-image {
        margin: 0 auto;
    }

    .wallet-address {
        margin: 0 auto 2rem !important;
    }

    .treasury-summary {
        text-align: center !important;
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .treasury-table thead {
        display: none;
    }
    
    .treasury-table tbody,
    .treasury-table tr,
    .treasury-table td {
        display: block;
        width: 100%;
    }
    
    .treasury-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 1rem;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    /* Token info row - full width at the top */
    .treasury-table td:first-child {
        padding: 0 0 1rem 0;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* Regular data rows - label on left, value on right */
    .treasury-table td:not(:first-child) {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f9f9f9;
    }
    
    .treasury-table td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* Label styling */
    .treasury-table td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        font-size: 0.85rem;
        margin-right: 1rem;
    }
    
    /* Token info styles */
    .treasury-table .token-info {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .token-symbol {
        font-weight: 600;
        color: var(--color-navy);
    }
    
    .token-name {
        font-size: 0.85rem;
        color: #666;
    }
    
    /* Social links */
    .treasury-table .social-links {
        justify-content: flex-end;
    }
    
    /* Container adjustments */
    .treasury-table-section .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .table-responsive {
        margin: 0 auto;
        max-width: 600px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: none;
    }
    
    .treasury-table-section {
        padding: 2rem 0 !important;
    }
    
    /* Instructions Section */
    .instructions-section {
        padding: 4rem 0;
        background: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 100%);
        color: white;
    }
    
    .instructions-content {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .intro-text {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 3rem;
        color: #e6e6e6;
        font-style: italic;
    }
    
    .step {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        position: relative;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        background: var(--color-gold);
        color: #0a0e1a;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.2rem;
        flex-shrink: 0;
        margin-top: 0.3rem;
    }
    
    .step-content h3 {
        color: var(--color-gold);
        margin: 0 0 0.5rem 0;
        font-size: 1.4rem;
        font-family: 'Playfair Display', serif;
    }
    
    .step-content p {
        margin: 0.5rem 0 0;
        color: #e6e6e6;
    }
    
    .step-content em {
        color: #aaa;
        font-size: 0.95em;
    }
    
    .wallet-address {
        display: inline-flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.8rem 1.2rem;
        border-radius: 6px;
        margin: 1rem 0;
        font-family: 'Courier New', monospace;
        font-size: 0.9rem;
        word-break: break-all;
    }
    
    .conclusion {
        text-align: center;
        font-size: 1.5rem;
        margin: 3rem 0 1rem !important;
        color: var(--color-gold) !important;
        font-style: italic;
    }
    
    .signature {
        text-align: center;
        font-size: 1.2rem;
        margin-top: 0.5rem !important;
        color: #e6e6e6;
        font-family: 'Playfair Display', serif;
        letter-spacing: 0.5px;
    }
    
    @media (max-width: 768px) {
        .instructions-section {
            padding: 3rem 1rem;
        }
        
        .instructions-content {
            font-size: 1rem;
        }
        
        .intro-text {
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }
        
        .step {
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 2rem;
        }
        
        .step-number {
            width: 35px;
            height: 35px;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }
        
        .step-content h3 {
            font-size: 1.25rem;
        }
        
        .wallet-address {
            font-size: 0.8rem;
            padding: 0.6rem 1rem;
        }
        
        .conclusion {
            font-size: 1.3rem;
            margin: 2.5rem 0 0.5rem !important;
        }
        
        .signature {
            font-size: 1.1rem;
        }
    }
    
    /* Disclaimer styles */
    .disclaimer {
        margin: 1.5rem 0.5rem 0;
        padding: 1rem 0.75rem;
        background-color: rgba(255, 255, 255, 0.08);
        border-left: 4px solid var(--color-gold);
        border-radius: 4px;
        font-size: 0.85rem;
        line-height: 1.6;
        color: white;
        text-align: center;
    }
    
    .disclaimer p {
        margin: 0;
    }
    
    @media (min-width: 769px) {
        .disclaimer {
            max-width: 800px;
            margin: 2rem auto 0;
            padding: 1.25rem;
            background-color: rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
        }
    }
}

/* Instructions Section */
.instructions-section {
    padding: 6rem 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.instructions-section .container {
    position: relative;
    z-index: 2;
}

.instructions-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-navy);
    margin: 0 auto 2.5rem;
    font-family: var(--font-secondary);
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 1rem;
}

/* Removed gradient line under title */

.instructions-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(0, 31, 63, 0.1);
    box-sizing: border-box;
    width: calc(100% - 2rem);
}

.instructions-content .intro-text {
    font-size: 1.2rem;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    font-family: var(--font-primary);
}

.step {
    display: flex;
    margin-bottom: 3rem;
    align-items: flex-start;
    position: relative;
}

.step:last-child {
    margin-bottom: 2rem;
}

.step-number {
    background-color: var(--color-navy);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.15);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--color-navy);
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.step-content p {
    color: var(--color-text);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.instructions-content .wallet-address {
    margin: 1.5rem 0 0;
    background: rgba(0, 31, 63, 0.05);
    border: 1px solid rgba(0, 31, 63, 0.1);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
}

.instructions-content .wallet-address .copy-btn {
    color: var(--color-gold);
}

.instructions-content .conclusion {
    font-size: 1.3rem;
    text-align: center;
    color: var(--color-navy);
    margin: 3rem 0 1.5rem;
    font-weight: 500;
    font-family: var(--font-secondary);
}

.instructions-content .signature {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .instructions-section {
        padding: 2rem 0.5rem;
        background: #fff;
    }
    
    .instructions-content {
        padding: 1.5rem 1rem;
        width: 100%;
        margin: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
    
    .instructions-section .section-title {
        font-size: 1.75rem;
        margin: 0 0 1.5rem 0;
        padding: 0 0 0.5rem 0;
        width: 100%;
        text-align: left;
        font-weight: 600;
    }
    
    .step {
        flex-direction: column;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .step-number {
        margin: 0 0 0.75rem 0;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .step-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .instructions-content .intro-text {
        font-size: 1.1rem;
        margin: 0 0 2rem 0;
        padding: 0 0.5rem;
        text-align: left;
    }
    
    .instructions-content .wallet-address {
        font-size: 0.8rem;
        word-break: break-all;
        padding: 0.75rem 3rem 0.75rem 1rem;
        width: 100%;
        display: block;
        margin: 0.5rem 0 1rem 0;
        border-radius: 8px;
        background: rgba(0, 31, 63, 0.05);
        box-sizing: border-box;
    }
    
    .copy-btn {
        right: 0.5rem;
        padding: 0.35rem;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .instructions-content .conclusion {
        font-size: 1.15rem;
        margin: 2rem 0.5rem 1rem;
        text-align: center;
        font-weight: 500;
    }
    
    .instructions-content .signature {
        font-size: 1.25rem;
        margin: 0 0.5rem 1rem;
        text-align: center;
        line-height: 1.4;
    }
}

/* Price change styling */
.price-change {
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
}

.price-change.positive {
    color: #4caf50;
}

.price-change.negative {
    color: #f44336;
}

/* Responsive adjustments */
@media (min-width: 769px) and (max-width: 992px) {
    .treasury-table-section {
        padding: 1.5rem 1rem;
    }
    
    .treasury-table {
        font-size: 0.85rem;
    }
    
    .treasury-table th, 
    .treasury-table td {
        padding: 0.7rem 0.5rem;
    }
    
    .treasury-table th {
        font-size: 0.7rem;
    }
    
    .social-links {
        min-width: 150px;
        gap: 0.4rem;
    }
    
    .social-link {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .treasury-hero {
        padding: 3rem 0;
    }
    
    .treasury-title {
        font-size: 2rem;
    }
    
    .wallet-address {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .total-value {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
    
    .treasury-table th,
    .treasury-table td {
        padding: 1rem;
    }
}

/* Mobile-specific styles consolidated above */

@media (max-width: 480px) {
    .treasury-title {
        font-size: 1.75rem;
    }
    
    .wallet-address {
        max-width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .total-value {
        width: 90%;
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
    }
}

.token-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f0f0;
}

.token-symbol {
    font-weight: 600;
    color: var(--color-navy);
}

.token-name {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.1rem;
}

.amount-cell,
.price-cell,
.value-cell {
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.value-cell {
    font-weight: 600;
    color: var(--color-navy);
}

/* Loading State */
.loading-row {
    text-align: center;
    padding: 3rem 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    color: var(--color-navy);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.page-btn:hover {
    background: #f0f0f0;
}

.page-btn.active {
    background: var(--color-navy);
    color: white;
    border-color: var(--color-navy);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@media (max-width: 480px) {
    .treasury-title {
        font-size: 1.75rem;
    }
    
    .wallet-address {
        max-width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .total-value {
        width: 90%;
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
    }
}
