body {
    background: #18121e;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.main-content,
.container,
section,
header,
footer {
    position: relative;
    z-index: 1;
}

#star-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: block;
}

.brand-gradient {
    background: linear-gradient(90deg, #a18aff 0%, #c3b6ff 40%, #6c4cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-img-box {
    background: rgba(26, 22, 37, 0.85);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    min-height: 420px;
}

.apple-outline {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    z-index: 1;
    pointer-events: none;
}

.hero-img {
    position: relative;
    z-index: 2;
    max-height: 350px;
    width: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(108, 76, 255, 0.18);
}

.btn-custom {
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    transition: background 0.2s;
    background: #a18aff;
    color: #18121e;
    border: none;
}

.btn-custom:last-child {
    margin-right: 0;
}

.btn-custom:hover,
.btn-custom:focus {
    background: #6c4cff;
    color: #fff;
}

.btn-outline-light.btn-custom,
.btn-outline-light.btn-custom:focus {
    background: transparent;
    color: #a18aff;
    border: 2px solid #a18aff;
}

.btn-outline-light.btn-custom:hover {
    background: #a18aff;
    color: #18121e;
}

.address-box {
    background: #232032;
    border-radius: 2rem;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(108, 76, 255, 0.10);
}

.copy-btn {
    background: none;
    border: none;
    color: #fff;
    margin-left: 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #a18aff;
}

/* Token Info Section */
#token-info h2,
#token-info .brand-gradient {
    color: #a18aff !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

#token-info .p-4 {
    background: rgba(26, 22, 37, 0.92) !important;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px 0 rgba(108, 76, 255, 0.10);
}

#token-info .text-info,
#token-info .fw-bold.text-info {
    color: #a18aff !important;
}

#token-info .fw-bold[style*="color:#4caf50"] {
    color: #a18aff !important;
}

#token-info a {
    color: #a18aff !important;
}

#token-info .mb-4 {
    background: #232032 !important;
    color: #c3b6ff !important;
}

#token-info .p-3 {
    background: #232032 !important;
}

#token-info .mb-4.tokenca {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
    width: fit-content;
    max-width: 100%;
    font-size: 1rem;
    letter-spacing: 1px;
    display: block;
}

#token-info .token-info {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Community Section */
#community h2 {
    color: #a18aff !important;
}

#community .btn-primary {
    background: #a18aff !important;
    color: #18121e !important;
    border: none !important;
}

#community .btn-primary:hover {
    background: #6c4cff !important;
    color: #fff !important;
}

#community .btn-dark {
    background: #232032 !important;
    color: #a18aff !important;
    border: 2px solid #a18aff !important;
}

#community .btn-dark:hover {
    background: #a18aff !important;
    color: #18121e !important;
}

footer {
    background: linear-gradient(180deg, #18121e 60%, #111 100%) !important;
    border-top: 1px solid #232032 !important;
}

footer .mb-2 {
    color: #c3b6ff !important;
}

.about i.fa-top {
    font-size: 50px !important;
}

.about-desc {
    background: rgba(35, 32, 50, 0.85);
    padding: 30px 20px;
    border-radius: 1.2rem;
    display: inline-block;
    transition: background 0.3s;
}

@media (max-width: 991px) {
    .hero-img-box {
        min-height: 320px;
        padding: 1rem;
    }

    .hero-img {
        max-height: 300px;
    }
}

@media (max-width: 767px) {
    .hero-img-box {
        margin-top: 2rem;
    }

    .address-box {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }

    .btn-custom {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }

    .order-mobile-1 {
        order: 1 !important;
    }

    .order-mobile-2 {
        order: 2 !important;
    }

    .row.align-items-center {
        display: flex;
        flex-direction: column;
    }

    .hero-address-mobile {
        font-size: 0.95rem !important;
        margin-bottom: 1.1rem !important;
        width: 100% !important;
        justify-content: center;
    }

    .hero-btn-row-mobile {
        flex-direction: row !important;
        gap: 0.7rem !important;
        width: 100% !important;
        margin-bottom: 1.1rem !important;
    }

    .hero-btn-row-mobile .btn-custom,
    .hero-btn-row-mobile .btn-outline-light {
        width: 50% !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 1.1rem !important;
        padding: 0.7rem 0 !important;
        text-align: center;
    }

    .hero-buy-mobile {
        width: 100% !important;
        margin: 0 auto 1.2rem auto !important;
        font-size: 1.15rem !important;
        padding: 1rem 0 !important;
        display: block !important;
        border-radius: 2rem !important;
    }
}

@media (min-width: 992px) {
    .hero-btn-row-desktop {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem !important;
    }

    .hero-btn-row-desktop .btn-custom,
    .hero-btn-row-desktop .btn-outline-light {
        min-width: 200px;
        font-size: 1.35rem;
        border-radius: 2.5rem;
        padding: 1rem 0;
        font-weight: 700;
        box-shadow: none;
        margin: 0 !important;
        text-align: center;
        transition: background 0.2s, color 0.2s;
    }

    .hero-btn-row-desktop .btn-custom {
        background: #a18aff;
        color: #18121e;
        border: none;
    }

    .hero-btn-row-desktop .btn-custom:hover {
        background: #6c4cff;
        color: #fff;
    }

    .hero-btn-row-desktop .btn-outline-light {
        background: transparent;
        color: #a18aff;
        border: 2px solid #a18aff;
    }

    .hero-btn-row-desktop .btn-outline-light:hover {
        background: #a18aff;
        color: #18121e;
    }

    .address-box.hero-address-mobile {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        font-size: 1.1rem !important;
        justify-content: flex-start;
    }
}

#token-address {
    font-size: 20px;
}

.h1-hero,
h2.brand-gradient {
    background: linear-gradient(90deg, #a18aff 0%, #6c4cff 50%, #c3b6ff 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradient-move 2s linear infinite alternate;
    -webkit-animation: gradient-move 2s linear infinite alternate;
    will-change: background-position;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

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

@-webkit-keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

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


@media (max-width: 767px) {
    #token-address {
        font-size: 10px;
    }

    .h1-hero {
        font-size: 55px;
        font-weight: bold;
    }
}