* {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden
}

body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    width: 100%;
    overflow-x: hidden;
    padding-top: var(--nav-height)
}

.nav-menu {
    background: linear-gradient(to right, #2c3e50, #3498db);
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2)
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.nav-menu li {
    margin: 10px 20px
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 5px;
    transition: background-color .3s;
    display: block
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, .2)
}

.content-section {
    margin-top: 20px;
    padding: 30px;
    width: 88%;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%
}

.small-title {
    text-align: center;
    font-size: 3.8vw;
    color: #fff;
    font-weight: 700;
    letter-spacing: .2vw;
    display: none
}

#home {
    width: 100%;
    margin: 0;
    padding: 60px 0;
    background: linear-gradient(-45deg, #39abfb, #ffe4a7, #6eb4ff, #87ff81);
    background-size: 400% 400%;
    animation: 15s infinite gradient;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center
}

#home h2 {
    font-size: 36px;
    margin-bottom: 40px;
    background: linear-gradient(to right, #2d2626, #009b9b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, .1);
    padding: 0 20px;
    word-break: break-word
}

#home p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto;
    padding: 0 40px;
    word-wrap: break-word
}

.notice {
    width: 88%;
    margin: 20px auto;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #01bb07;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    letter-spacing: .1em
}

@keyframes gradient {

    0%,
    100% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 20px
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
    transition: .4s
}

#rental {
    background: #fff;
    display: flex;
    flex-direction: row;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    max-width: 100%
}

.rental-left {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-right: 1px solid #ccc
}

.telegram-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 70px 0;
    cursor: pointer;
    text-decoration: none;
    color: inherit
}

.telegram-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 10px
}

.rental-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    border-right: none
}

.rental-right-top {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 10px
}

.rental-right-top-left,
.rental-right-top-right {
    flex: 1;
    padding: 0 20px 10px 0
}

.rental-right-top-left {
    border-right: 1px solid #ccc
}

.rental-right-bottom {
    padding: 10px
}

.rental-left h3,
.rental-right h3 {
    margin: 10px 0 0;
    color: #2c3e50;
    text-align: center;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px
}

.rental-left h3::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url('../image/process.png') center/contain no-repeat;
    margin-right: 10px
}

.rental-right-top-left h3::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url('../image/loudianjiance_icon.png') center/contain no-repeat;
    margin-right: 10px
}

.rental-right-top-right h3::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url('../image/Numberoftransactions.png') center/contain no-repeat;
    margin-right: 10px
}

.rental-right-bottom h3::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url('../image/trx.png') center/contain no-repeat;
    margin-right: 10px
}

.rental-info {
    margin: 10px 0;
    color: #666;
    font-size: 18px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    word-wrap: break-word
}

.rental-price {
    margin: 14px 0 0;
    color: #666;
    font-size: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center
}

.rental-info::before {
    content: "•";
    color: #00e200;
    position: static
}

.low-opacity::before {
    content: none;
    color: #00e200;
    position: static
}

.energy-input,
.pen-input {
    width: 100%;
    padding: 16px 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    font-size: 16px;
    font-weight: 700
}

.energy-input::-webkit-inner-spin-button,
.energy-input::-webkit-outer-spin-button,
.pen-input::-webkit-inner-spin-button,
.pen-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.energy-input:focus,
.pen-input:focus {
    outline: 0;
    border-color: #3498db
}

.clear-input {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    padding: 10px;
    z-index: 1
}

.energy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px 0
}

.energy-button {
    padding: 8px 15px;
    background: #fff;
    color: #3498db;
    border: 1px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    font-size: 16px;
    white-space: nowrap
}

.energy-button:hover {
    background: rgba(52, 152, 219, .1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .15)
}

.rental-info-div {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.show-qrcode-div {
    display: flex;
    align-items: center;
    cursor: pointer
}

.show-qrcode-div img {
    width: 30px;
    height: 30px;
    margin-left: 6px
}

.show-qrcode-div span {
    font-size: 14px;
    color: #a0a0a0
}

.address-display,
.address-display-2 {
    width: 100%;
    padding: 16px 40px 16px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.address-display-2:hover,
.address-display:hover {
    border-color: #3498db;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15)
}

.address-display-2 {
    font-size: 16px
}

.price-display {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    text-align: center;
    cursor: pointer;
    transition: .3s;
    word-break: break-all;
    position: relative;
    font-size: 52px;
    font-weight: 700
}

.address-display-2::after,
.address-display::after {
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    background: url('../image/copy.png') center/contain no-repeat;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%)
}

.address-display-2:hover,
.address-display:hover,
.price-display:hover {
    background: rgba(52, 152, 219, .1)
}

.low-opacity {
    font-weight: 600;
    color: #00df0b;
    animation: 1.6s ease-in-out infinite fadeInOut2
}

@keyframes fadeInOut2 {
    0% {
        opacity: 1;
        color: #009ee7
    }

    50% {
        opacity: .4;
        color: #002ae7
    }

    100% {
        opacity: 1;
        color: #b900e7
    }
}

.tx-info {
    font-size: 16px
}

#exchange {
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    margin-top: 60px
}

.exchange-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px
}

.exchange-title img {
    width: 50px;
    height: 50px;
    margin-right: 10px
}

.exchange-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px
}

.input-group,
.two-input-group {
    flex: 1;
    text-align: center
}

.last-input-group {
    flex: 1;
    text-align: center;
    width: 100%
}

.address-display-2 {
    margin: 12px 0
}

.input-label {
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 24px
}

.exchange-input {
    width: 96%;
    padding: 16px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    font-size: 18px;
    font-weight: 700;
    margin: 12px;
    transition: .3s
}

.exchange-input::-webkit-inner-spin-button,
.exchange-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.exchange-input:focus {
    border-color: #3498db;
    outline: 0;
    box-shadow: 0 0 5px rgba(52, 152, 219, .5)
}

.convert-icon {
    width: 50px;
    height: 50px;
    align-self: center;
    margin: 12px 0
}

.agent-section {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    padding: 30px 20px;
    width: 88%;
    margin: 60px auto
}

.agent-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px
}

.agent-title img {
    width: 50px;
    height: 45px
}

.agent-title h2 {
    margin-left: 15px;
    font-size: 28px;
    color: #2c3e50
}

.agent-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 20px 0
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    transition: .3s;
    background-color: #f9f9f9;
    min-height: 70px
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    background-color: #f0f8ff
}

.feature-item img {
    width: 28px;
    height: 28px;
    margin-right: 15px
}

.feature-item span {
    color: #333;
    font-weight: 500;
    font-size: 18px
}

#about {
    width: 100%;
    background-color: #fff;
    padding: 30px 0
}

.about-feature-item {
    display: flex;
    align-items: center;
    flex: 1 1 30%;
    min-width: 250px
}

.about-feature-item img {
    margin-right: 10px
}

.about-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center
}

.about-header img {
    width: 40px;
    height: 40px;
    margin-right: 15px
}

#about p {
    width: 88%;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    line-height: 3
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    width: 90%;
    margin: 20px auto 30px
}

.about-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(33.33% - 15px);
    margin-bottom: 10px;
    box-sizing: border-box
}

@media (max-width:768px) {
    .about-feature-item {
        width: calc(50% - 10px)
    }
}

@media (max-width:480px) {
    .about-feature-item {
        width: 100%
    }
}

footer {
    width: 100%;
    background-color: #2c3e50;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px
}

footer img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px
}

footer p {
    color: #ecf0f1;
    font-size: 14px;
    margin: 0;
    line-height: 1.6
}

.exchange-rate {
    text-align: center;
    font-size: 18px;
    margin: 10px 0;
    color: #2c3e50
}

.exchange-info {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #747474;
    font-size: 16px;
    line-height: 1.6
}

.exchange-info span {
    margin: 20px 60px 20px 0
}

@keyframes blueGlow {

    0%,
    100% {
        box-shadow: 0 0 2px #3498db, 0 0 2px #3498db inset;
        border-color: #3498db
    }

    50% {
        box-shadow: 0 0 8px #3498db, 0 0 6px #3498db inset;
        border-color: #3498db
    }
}

@keyframes purpleGlow {

    0%,
    100% {
        box-shadow: 0 0 2px #9b59b6, 0 0 2px #9b59b6 inset;
        border-color: #9b59b6
    }

    50% {
        box-shadow: 0 0 8px #9b59b6, 0 0 6px #9b59b6 inset;
        border-color: #9b59b6
    }
}

.glow-blue {
    animation: 2s ease-in-out infinite blueGlow;
    position: relative;
    z-index: 1
}

.glow-purple {
    animation: 2s ease-in-out infinite purpleGlow;
    position: relative;
    z-index: 1
}

.dot {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 5px
}

.rental-left p,
.rental-left span {
    color: #666;
    font-size: 18px
}

.rental-right-top-right-pr {
    padding: 0 10px 10px
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.2)
    }
}

.notice-icon {
    width: 26px;
    height: 24px;
    animation: 1.2s infinite pulse;
    vertical-align: top
}

.exchange-address-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative
}

.rental-info-div-h4 {
    font-size: 18px;
    color: #666
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #fafafa, #f4f4f4);
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px
}

.about-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
    border: 2px solid transparent;
    transition: .25s
}

.about-feature-item:hover {
    background-color: #f8fff8;
    border-color: #00c853;
    box-shadow: 0 5px 15px rgba(0, 184, 0, .2)
}

.about-feature-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .1))
}

.about-feature-item:hover img {
    filter: drop-shadow(0 3px 6px rgba(0, 200, 0, .4))
}

.about-feature-item span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 8px
}

.about-feature-item:hover span {
    color: #00a844;
    font-weight: 700
}

.query-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .3s
}

.query-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    color: #333;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2)
}

.query-modal-content h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #333;
    position: relative;
    padding-bottom: 15px
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px
}

.steps-list {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-align: left
}

.step-number {
    width: 24px;
    height: 24px;
    background-color: #00c853;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0
}

.step-text {
    color: #333;
    font-size: 15px
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px
}

.telegram-btn {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background: #00c853;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color .3s
}

.close-btn {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .3s
}

.telegram-button-container {
    text-align: center;
    margin: 20px 0
}

.telegram-logo {
    vertical-align: middle;
    margin-right: 10px;
    width: 20px;
    height: 20px
}

.command {
    background-color: #f5f5f5;
    padding: 10px 15px;
    border-radius: 8px;
    font-family: monospace;
    margin: 10px 0;
    color: #d63384;
    display: inline-block;
    font-size: 16px;
    border-left: 4px solid #00a005
}

.note {
    background-color: #fff8e6;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 15px 0 5px;
    border-radius: 0 8px 8px 0
}

.note strong {
    color: #e67e22
}
