@font-face {
    font-family: 'pixel';
    src: url('font/pixel.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    background-image: url('img/bg01.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin-bottom: 200px;
    position: relative;
}

.container {
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
        /* Reduced padding on the sides for mobile */
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    background-color: #180439;
    /* Your specified color */
    padding: 0 15px;
    /* Padding on the sides */
}

.navbar .logo {
    height: 60px;
    /* Adjust the size of your logo as needed */
}

@media (max-width: 768px) {
    .navbar .nav-links a {
        margin-left: 10px;
        /* Reduce spacing for mobile */
        font-size: 14px;
        /* Adjust font size for mobile */
    }
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}

.nav-links a img {
    width: 60px;
    height: 60px;
    margin: 0 25px;
}

.content {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 100px;
    background-color: #180439;
    padding: 20px;
    border: 2px solid #FFD700;
    text-align: center;
    position: relative;
    z-index: 100;
}

.utxo-title {
    text-decoration: none;
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 24px;
    text-shadow: 5px 4px 5px #af9c15;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    background-image: linear-gradient(175deg, #fadf4b, #908f00);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: background-position 0.3s, color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
    filter: brightness(2);
    font-family: 'pixel';
}

.content img {
    height: 120px;
}

.info {
    margin-bottom: 30px;
}

.info h2 {
    color: white;
    font-size: 24px;
}

.info p {
    color: white;
    font-size: 16px;
}

.utxo-table {
    background-color: #180439;
    margin-top: 30px;
    border: 2px solid #FFD700;
}

.table-container {
    border-collapse: separate;
    border-spacing: 10px;
    width: 100%;
}

.table-container td {
    border: 2px solid #FFD700;
    padding: 10px;
    color: #fff;
}

.utxo-desc {
    z-index: -1;
    margin-top: 100px;
    background-color: #180439;
    border: 2px solid #FFD700;
    text-align: center;
    padding-top: 20px;
    position: relative;
}

.utxo-desc-box {
    z-index: 100;
    display: flex;
    justify-content: center;
}

.utxo-desc .info-container {
    display: inline-block;
    /* Aligns the divs side by side */
    position: relative;
    margin: 0 20px;
}

.utxo-desc .info-container .text-overlay {
    position: absolute;
    /* Absolutely position the description over the image */
    top: 0;
    /* Aligns the top of the description with the top of the image */
    left: 0;
    /* Aligns the left of the description with the left of the image */
    width: 100%;
    /* Ensures the description spans the width of the image */
    color: white;
    /* Sets the text color to white */
    padding: 10px;
    /* Adds some padding inside the description box */
    box-sizing: border-box;
    /* Ensures padding is included in width */
    background: rgba(0, 0, 0, 0.5);
    /* Optional: darkens the image for better readability */
}

.utxo-desc .info-container img {
    display: block;
    /* Makes the image a block to allow for text overlay */
    margin: 0 auto;
    /* Centers the image */
}


/* 基础金币样式 */
.coin-container{
    width: 100%;
    overflow: hidden;
}
.coin {
    background-image: url('img/coin.png');
    background-size: cover;
    position: absolute;
    top: -100px;
}


@keyframes fall {
    to {
        top: 100%;
    }
}


@media screen and (max-width: 1023px) {
    body{
        margin-bottom: 0;
        overflow-x: hidden;
    }
    .container{
        padding: 0;
    }
    .utxo-table {
        margin: 0 20px;
    }
    .left-info-img{
        display: none;
    }
    .right-info-img{
        display: none;
    }
}


@media screen and (max-width: 767px) {
    body{
        background-size: 100% 100%;
        overflow-x: hidden;
    }
    td {
        min-width: 100px; 
        word-wrap: break-word; 
        word-break: break-word; 
    }
    .nav-links{
        display: none;
    }
    .utxo-desc .info-container img{
        width: 100%;
        height: auto;
    }
    .utxo-desc .info-container .text-overlay{
        padding: 18px;
    }
    .navbar{
        padding: 0 15px;
    }
    .nav-toggle {
        cursor: pointer;
        position: relative;
    }
    .nav-toggle, .nav-toggle::before, .nav-toggle::after {
        width: 30px;
        height: 3px;
        background-color: #ffffff; 
        transition: all 0.3s; 
    }
    .nav-toggle::before, .nav-toggle::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .nav-toggle::before {
        top: -10px; 
    }

    .nav-toggle::after {
        top: 10px; 
    }
    .nav-toggle.active {
        background-color: transparent; 
    }

    .nav-toggle.active::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active::after {
        transform: rotate(-45deg); 
        top: 0;
    }
    .nav-links{
        width: 0px;
    }
    .nav-links-mobile{
        display: block;
        position: absolute;
        background: #180439;
        right: 0;
        top: 100px;
        z-index: 999;
        height: 100%;
        border-left: 2px solid #fadf4b;
        width: 220px;
        transition: all 0.8s;
    }
    .nav-links-mobile a{
        display: block;
        padding: 25px 50px;
    }
}
