body {
    background-color: #000;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    color: #39ff14; /* Radioactive green color */
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.header-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 15px;
}

.header-buttons, .footer-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
}

.footer-buttons {
    margin-top: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 400px;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 21px;
}

li.pinned {
    order: -1;
}

.asset-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.asset-link:hover {
    text-decoration: underline;
}

.asset-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.asset-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.asset-code {
    color: #00ffcc;
    font-size: 24px;
    flex-grow: 1;
}

.asset-price {
    color: #ffffff;
    font-size: 20px;
}

button {
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
}

.green-btn {
    background-color: #39ff14;
    color: #000000;
}

.green-btn:hover {
    background-color: #32cd32;
}

#about {
    border: none;
    font-size: 14px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-header {
    background-color: #b22222;
    color: #ffffff;
    text-align: right;
    padding: 5px 10px;
}

.price-header:hover {
    background-color: #8b0000;
}

.disclaimer-btn {
    background-color: #8B0000;
    color: #ffffff;
}

.disclaimer-btn:hover {
    background-color: #A00000;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #222;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
}

.modal-content h2 {
    color: #39ff14;
    margin-top: 0;
}

.modal-content h3 {
    color: #39ff14;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-content hr {
    border: 0;
    height: 1px;
    background-color: #39ff14;
    margin: 20px 0;
}

.about-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.about-links a {
    color: #39ff14;
    text-decoration: none;
}

.about-links a:hover {
    text-decoration: underline;
}

/* Asset Detail Page Styles */
.asset-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-size: 16px; /* Base font size */
    position: relative; /* For absolute positioning of the back button */
}

.asset-detail-logo {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 20px !important;
}

/* Ensure the image container doesn't exceed max-width */
.asset-detail > :nth-child(2) {
    max-width: 400px !important;
    margin: 0 auto !important;
}

.asset-info {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    width: 100%; /* Full width for better alignment */
    max-width: 600px;
}

.asset-info li {
    margin-bottom: 5px; /* Reduced space between items */
    display: flex;
    align-items: flex-start;
}

.asset-info li strong {
    min-width: 150px; /* Fixed width for labels */
    margin-right: 10px;
    flex-shrink: 0; /* Prevent the label from shrinking */
}

.asset-info li span, 
.asset-info li a {
    flex: 1;
    word-break: break-word;
    white-space: normal; /* Allow wrapping */
    text-align: left !important; /* Force left alignment */
}

/* Specific styles for Name and Total Supply */
.asset-info li:first-child span,
.asset-info li:nth-child(5) span {
    text-align: left !important;
    justify-content: flex-start !important;
    display: flex !important;
}

.back-button {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 20px;
    background-color: #006400; /* Dark green color */
    color: #ffffff !important; /* White text */
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #008000; /* Slightly lighter green on hover */
    text-decoration: none;
}

#assetName {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    padding-top: 40px; /* Add space at the top for the button */
}

#assetDescription {
    text-align: left;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Force consistent font size */
.asset-detail, .asset-info, #assetDescription, .asset-info li {
    font-size: 16px !important;
}

/* Mobile Responsive Styles */
@media (max-width: 600px) {
    .asset-detail {
        padding: 10px;
    }

    .asset-info li {
        flex-direction: column;
    }

    .asset-info li strong {
        min-width: auto;
        margin-bottom: 2px;
    }

    .back-button {
        position: static;
        display: block;
        margin-bottom: 20px;
        text-align: center;
    }

    #assetName {
        padding-top: 20px;
    }


.asset-info li span {
    text-align: left !important;
    justify-content: flex-start !important;
    display: inline-block !important;

/* Asset Detail Page Styles */
.asset-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* QR Code Styles */
.asset-qr-code {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-top: 30px;
    border: 2px solid #39ff14; /* Radioactive green border */
    border-radius: 10px;
}