* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body, html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    overflow-x: hidden;
    font-family: "Comic Neue", cursive;
}

.page {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #5394d6;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.bottom-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.page-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 2;
}

.header-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem 2rem 2rem;
}

.heading {
    font-family: "Caveat Brush", cursive;
    font-size: clamp(6rem, 12vw, 16rem);
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: 0.8rem;
    color: #FFFFFF;
    -webkit-text-stroke: 4px #000000;
    text-stroke: 4px #000000;
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.5));
    animation: gentleBreath 3s ease-in-out infinite;
    text-align: center;
}

@keyframes gentleBreath {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.02); 
    }
}

.main-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem;
    min-height: 0;
}

.left-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-character-container {
    position: relative;
    max-width: 50rem;
    width: 100%;
}

.side-img {
    position: relative;
    width: 100%;
    height: auto;
}

.img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.top-small-img {
    position: absolute;
    width: 18%;
    height: auto;
    animation: floatSmall 4s ease-in-out infinite;
}

.top-small-img1 {
    top: 5%;
    left: 0;
    animation-delay: 0.5s;
}

.top-small-img2 {
    bottom: 5%;
    right: 12%;
    animation-delay: 1.5s;
}

@keyframes floatSmall {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-left: 8rem;
    padding-top: 1rem;
    margin-top: -10rem;
}

.hero-description {
    max-width: 60rem;
    margin-bottom: 2rem;
}

.hero-description p {
    font-family: "Caveat Brush", cursive;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.4;
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.copy-btn-box {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 5rem;
    padding: 2rem 4rem;
    box-shadow: 0 1rem 3rem rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid #FFD700;
    gap: 2rem;
    justify-content: space-between;
    width: fit-content;
}

.copy-btn-box:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 2rem 5rem rgba(255, 215, 0, 0.5);
    border-color: #FFD700;
}

.copy-text {
    flex: 1;
    min-width: 0;
}

.copy-text p {
    font-family: "Caveat Brush", cursive;
    font-size: 2.4rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    white-space: nowrap;
}

.copy-img {
    width: 3rem;
    height: 3rem;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.btns-container {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

.link-btn {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: white;
    border: 4px solid #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 1rem 2rem rgba(255, 215, 0, 0.3);
    animation: socialBounce 3s ease-in-out infinite;
}

.link-btn:nth-child(1) { animation-delay: 0s; }
.link-btn:nth-child(2) { animation-delay: 0.5s; }
.link-btn:nth-child(3) { animation-delay: 1s; }
.link-btn:nth-child(4) { animation-delay: 1.5s; }

@keyframes socialBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.link-btn:hover {
    transform: translateY(-15px) scale(1.2) rotate(15deg);
    box-shadow: 0 2rem 4rem rgba(255, 215, 0, 0.5);
    border-color: #FFD700;
}

.link-btn img {
    width: 3.5rem;
    height: 3.5rem;
}

.bottom-side {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2rem;
    z-index: 1;
    padding: 0 2%;
}

#side-img-2 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: fit-content;
}

#img2, #img3, #img4 {
    animation: float 4s ease-in-out infinite;
}

#img2 {
    width: 60%;
    max-width: 35rem;
    margin-bottom: 15%;
    animation-delay: 0.5s;
}

#img3 {
    width: 40%;
    max-width: 25rem;
    margin-bottom: 8%;
    margin-left: -8%;
    margin-right: -8%;
    animation-delay: 1s;
}

#img4 {
    width: 25%;
    max-width: 18rem;
    margin-left: -5%;
    margin-right: -5%;
    animation-delay: 1.5s;
}

.tokenomics-page {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #aa87d9;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tokenomics-title {
    font-family: "Caveat Brush", cursive;
    font-size: clamp(5rem, 10vw, 8rem);
    color: #FFD700; 
    -webkit-text-stroke: 0.2px #ffffff;
    text-stroke: 0.2px #ffffff;
    margin-bottom: 3rem;
    text-align: right;
    animation: titleFloat 2s ease-in-out infinite;
    max-width: 60rem;
    width: 100%;
    margin-left: auto;
    margin-right: 15rem;
}

.tokenomics-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 67rem;
    width: 100%;
    margin-left: auto;
    margin-right: 15rem;
}

.tokenomics-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2rem 3rem;
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: cardFloat 3s ease-in-out infinite;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tokenomics-card:nth-child(1) { animation-delay: 0s; }
.tokenomics-card:nth-child(2) { animation-delay: 0.3s; }
.tokenomics-card:nth-child(3) { animation-delay: 0.6s; }
.tokenomics-card:nth-child(4) { animation-delay: 0.9s; }
.tokenomics-card:nth-child(5) { animation-delay: 1.2s; }
.tokenomics-card:nth-child(6) { animation-delay: 1.5s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.tokenomics-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FFD700;
    box-shadow: 0 2rem 4rem rgba(255, 215, 0, 0.4);
}

.card-title {
    font-family: "Caveat Brush", cursive;
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    flex: 1;
}

.card-value {
    font-family: "Caveat Brush", cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: right;
    flex: 1;
}

.community-page {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #5394d6;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.community-title {
    font-family: "Caveat Brush", cursive;
    font-size: clamp(5rem, 10vw, 8rem);
    color: #FFD700; 
    -webkit-text-stroke: 0.2px #ffffff;
    text-stroke: 0.2px #ffffff;
    margin-bottom: 3rem;
    text-align: right;
    animation: titleFloat 2s ease-in-out infinite;
    max-width: 60rem;
    width: 100%;
    margin-left: auto;
    margin-right: 15rem;
}

.community-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 60rem;
    width: 100%;
    margin-left: auto;
    margin-right: 15rem;
}

.community-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2rem 3rem;
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: cardFloat 3s ease-in-out infinite;
    text-align: center;
}

.community-card:nth-child(1) { animation-delay: 0s; }
.community-card:nth-child(2) { animation-delay: 0.5s; }
.community-card:nth-child(3) { animation-delay: 1s; }

.community-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FFD700;
    box-shadow: 0 2rem 4rem rgba(255, 215, 0, 0.4);
}

.community-text {
    font-family: "Caveat Brush", cursive;
    font-size: 2.6rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    margin: 0;
}

.community-social {
    margin-top: 4rem;
    max-width: 60rem;
    width: 100%;
    margin-left: auto;
    margin-right: 15rem;
    display: flex;
    justify-content: center;
}

.footer {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

.footer p {
    font-family: "Comic Neue", cursive;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-content {
    position: relative;
    z-index: 2;
}

.ufo-container {
    margin-bottom: 1rem;
}

.ufo-img {
    width: 35rem;
    height: auto;
    animation: ufoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 1rem 2rem rgba(0, 0, 0, 0.3));
    cursor: pointer;
    transition: transform 0.8s ease-in-out;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.ufo-wrapper {
    transition: transform 0.8s ease-in-out;
}

.ufo-wrapper:hover {
    transform: translateX(40px) translateY(-10px);
}

.ufo-wrapper:active {
    transform: translateX(40px) translateY(-10px);
}

@keyframes ufoFloat {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.bg-video-mobile {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    z-index: 0;
}

@media (max-width: 1200px) {
    .main-section {
        flex-direction: column;
        gap: 4rem;
    }

    .right-section {
        padding-left: 0;
        padding-top: 0;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .bg-video-mobile {
        display: block;
    }

    .page {
        background-image: none !important;
        background-color: #000000;
        min-height: 100vh;
    }
    .ufo-container {
        display: none;
    }
    .hero-description {
        margin-top: 5rem;
    }
    .tokenomics-page {
        background-image: url(assets/bg2m.png) !important;
    }
    .community-page {
        background-image: url(assets/bg3m.png) !important;
    }

    .heading {
        -webkit-text-stroke: 2px #000000;
        text-stroke: 2px #000000;
    }

    .header-section {
        padding: 2rem 1rem 1rem 1rem;
    }

    .main-section {
        padding: 1rem 2rem;
        flex: 1;
        justify-content: center;
    }

    .copy-btn-box {
        width: 90%;
        max-width: 45rem;
        padding: 1.5rem 2rem;
        box-sizing: border-box;
        min-width: auto;
        gap: 1rem;
    }

    .copy-text p {
        font-size: 1.8rem;
        min-width: auto;
        max-width: none;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .btns-container {
        gap: 2rem;
    }

    .link-btn {
        width: 6rem;
        height: 6rem;
    }

    .tokenomics-page {
        padding: 6rem 2rem;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding-top: 6rem;
    }

    .tokenomics-title {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 1rem;
        font-size: clamp(4rem, 10vw, 6rem);
        text-align: center;
    }

    .tokenomics-container {
        margin-right: auto;
        margin-left: auto;
        max-width: 50rem;
        margin-bottom: 0;
        gap: 1rem;
    }
    
    .tokenomics-card {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
        padding: 1rem 1.5rem;
    }

    .card-title, .card-value {
        flex: none;
        text-align: center;
    }

    .card-title {
        font-size: 1.8rem;
    }

    .card-value {
        font-size: 1.5rem;
    }

    .community-page {
        padding: 6rem 2rem;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding-top: 6rem;
    }

    .community-title {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 1rem;
        font-size: clamp(4rem, 10vw, 6rem);
        text-align: center;
    }

    .community-content {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 0;
        gap: 1rem;
    }

    .community-card {
        padding: 1.5rem 2rem;
    }

    .community-text {
        font-size: 2rem;
    }

    .community-social {
        margin-right: auto;
        margin-left: auto;
        margin-top: 1.5rem;
        margin-bottom: 6rem;
    }

    .right-section {
        padding-top: 0;
    }
    .ufo-wrapper:hover {
        transform: none;
    }
      
    .ufo-wrapper:active {
        transform: translateX(30px) translateY(-8px);
    }
        
    .ufo-wrapper {
        transition: transform 0.6s ease-in-out;
    }
}

@media (max-width: 480px) {
    .hero-description {
        margin-top: 5rem;
    }

    .hero-description p {
        font-size: 1.4rem;
    }

    .btns-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .bottom-side {
        display: none;
    }

    .tokenomics-page {
        padding: 0 1rem 1.5rem 1rem;
        padding-top: 50vh;
        min-height: 100vh;
    }

    .tokenomics-title {
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(3.5rem, 9vw, 5rem);
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .tokenomics-container {
        margin-right: auto;
        margin-left: auto;
        gap: 0.8rem;
    }

    .tokenomics-card {
        padding: 0.8rem 1.2rem;
    }

    .card-title {
        font-size: 1.6rem;
    }

    .card-value {
        font-size: 1.3rem;
    }

    .community-page {
        padding: 0 1rem 1.5rem 1rem;
        padding-top: 50vh;
        min-height: 100vh;
    }

    .community-title {
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(3.5rem, 9vw, 5rem);
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .community-content {
        margin-right: auto;
        margin-left: auto;
        gap: 0.8rem;
    }

    .community-card {
        padding: 1.2rem 1.5rem;
    }

    .community-text {
        font-size: 1.6rem;
    }

    .community-social {
        margin-right: auto;
        margin-left: auto;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .copy-btn-box {
        width: 90%;
        max-width: 45rem;
        padding: 1rem 1.5rem;
        min-width: auto;
    }

    .copy-text p {
        font-size: 1.6rem;
        white-space: nowrap;
    }
}