html{

    scroll-behavior:smooth;

}

body {

    margin: 0;
    background: #07111f;

    font-family: Arial, sans-serif;

    color: white;

    overflow-x: hidden;

}

a{
    text-decoration: none;
}

#landing {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

}

#hero {

    padding: 50px 20px 20px;

    text-align: center;

}

#hero h1 {

    font-size: 42px;

    margin: 0;

    color: #fff;

    text-shadow:
        0 0 12px #00d9ff;

}

#hero p {

    opacity: .8;

    max-width: 320px;

    margin: auto;

    margin-top: 12px;

    line-height: 1.4;

}

img.hero-img{
    max-width: 350px;
}

#gameSection {

    width: 100%;

    display: flex;

    justify-content: center;

    margin-top: 20px;

}

#gameWrapper {

    width: 420px;

    max-width: 100%;

    position: relative;

}

canvas {

    width: 100%;
    max-height: 65vh;
    height: auto;
    border-radius: 18px;
    border: 3px solid #1de9ff;
    box-shadow:
        0 0 30px rgba(0, 217, 255, .25);

}

#collectionSection {

    width: 100%;

    padding: 40px 20px;

    text-align: center;

}

#wallpaperGrid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    max-width: 420px;

    margin: auto;

    margin-top: 20px;

}

.wallpaperSlot {

    aspect-ratio: 9/16;

    border-radius: 14px;

    background:
        linear-gradient(135deg,
            #10233d,
            #17365d);

    border: 2px solid #1de9ff33;

}

#ctaSection {

    padding: 20px 20px 60px;

}

a.mainCTA{
    text-decoration: none;
}

.mainCTA {

    background: #00d9ff;

    color: #07111f;

    border: none;

    padding: 18px 34px;

    font-size: 20px;

    font-weight: bold;

    border-radius: 999px;
    margin-bottom: 20px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#gameWrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 65vh;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
}

#gameCanvas {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    display: block;
}

#hud {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;

    display: flex;
    justify-content: space-between;

    z-index: 10;

    color: white;
    font-size: 18px;
    text-shadow: 2px 2px 0 #000;
}

.overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .0);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 20;
}

.overlay.active {
    display: flex;
}

.reward-card {
    background: #142544;
    padding: 24px;
    border: 4px solid white;
    text-align: center;
    width: 90%;
    color: white;
}

.reward-card img {
    max-width: 350px;
    margin: 16px 0;

    image-rendering: pixelated;
}

/*modal wallpaper*/

#rewardModal {

    position: fixed;
    inset: 0;
    background: #29AAE3;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;

}

#rewardCard {

    width: 90%;
    max-width: 340px;
    background: #24395e;
    border: 4px solid #fff;
    padding: 24px;
    text-align: center;
    animation: popup .25s ease;
    box-shadow:
        0 0 30px rgba(0, 0, 0, .5);

}

#rewardTitle {

    color: #fff;

    font-size: 28px;

    margin-bottom: 10px;

}

#rewardSubtitle {

    color: #fff;

    margin-bottom: 0px;

    line-height: 1.4;

}

#rewardPreview {

    width: 100%;
    height: 220px;

    background:
        linear-gradient(135deg,
            #4fd9ff,
            #5d6eff);

    border: 4px solid #fff;

    margin-bottom: 20px;

}

#downloadBtn,
#continueBtn {

    width: 100%;

    padding: 16px;

    margin-top: 12px;

    border: none;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

}

#downloadBtn {

    background: #2fd96b;

}

#continueBtn {

    background: #ffd447;

}

@keyframes popup {

    from {
        transform: scale(.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }

}

#rewardImage {

    width: 190px;

    border-radius: 12px;

    image-rendering: pixelated;

    border: 4px solid #35ff69;

    box-shadow:
        0 0 18px #35ff69;

    transition: .3s;

}

img.preview-wallpaper {
    max-height: 350px;
}

#rewardCard button {

    border: none;

    border-radius: 10px;

    font-family: 'Oxanium';

    font-weight: 700;

    letter-spacing: 1px;

    box-shadow:
        inset 0 -4px rgba(0, 0, 0, .25);

    transition: .15s;

}

#rewardCard button:hover {
    transform: translateY(-2px);
}

.legendary-modal{

    animation:
        legendaryPulse 1.2s infinite;

    box-shadow:
        0 0 40px #ffd700,
        0 0 90px rgba(255,215,0,.7);

    border:
        4px solid #ffd700;

}

.legendary-title{

    color:#ffd700 !important;

    text-shadow:
        0 0 10px #ffd700,
        0 0 20px #ffef9a;

    animation:
        legendaryText 1s infinite alternate;

}

.legendary-image{

    animation:
        legendaryImage 1.2s infinite alternate;

    filter:
        brightness(1.15)
        saturate(1.2);

}

@keyframes legendaryPulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.025);

    }

    100%{

        transform:scale(1);

    }

}

@keyframes legendaryText{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.06);

    }

}

@keyframes legendaryImage{

    from{

        transform:scale(1);

        box-shadow:
            0 0 20px #ffd700;

    }

    to{

        transform:scale(1.03);

        box-shadow:
            0 0 50px #ffd700,
            0 0 100px rgba(255,215,0,.7);

    }

}

#muteButton{

    position:absolute;

    top:12px;

    left:12px;

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:

        rgba(0,0,0,.45);

    color:white;

    font-size:22px;

    cursor:pointer;

    z-index:999;

    transition:.2s;

    backdrop-filter:blur(4px);

}

#muteButton:hover{

    transform:scale(1.08);

    background:

        rgba(0,0,0,.7);

}

#rewardScore{
    margin-bottom: 10px;
}

#rewardRarity{

    font-size:18px;

    font-weight:bold;

    margin-bottom:10px;

    text-transform:uppercase;

    letter-spacing:2px;

}

#wallpaperGrid{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:18px;

    margin-top:30px;

}

.wallpaperSlot{

    position:relative;

    border-radius:18px;

    overflow:hidden;

    border:3px solid #35ff69;

    box-shadow:
        0 0 18px rgba(53,255,105,.5);

    transition:.25s;

    background:#09152b;

}

.wallpaperSlot:hover{

    transform:translateY(-6px);

}

.wallpaperSlot img{

    width:100%;

    display:block;

}

/* RARO */

.wallpaperSlot.rare{

    border-color:#37b6ff;

    box-shadow:
        0 0 18px rgba(55,182,255,.6);

}

/* ÉPICO */

.wallpaperSlot.epic{

    border-color:#b05cff;

    box-shadow:
        0 0 18px rgba(176,92,255,.6);

}

.downloadWallpaperBtn{

    position:absolute;

    bottom:12px;

    left:50%;

    transform:translateX(-50%);

    border:none;

    padding:10px 16px;

    border-radius:999px;

    background:#ffffff;

    color:#09152b;

    font-weight:bold;

    cursor:pointer;

    transition:.2s;

    font-size:13px;

}

.downloadWallpaperBtn:hover{

    transform:
        translateX(-50%)
        scale(1.05);

}

.downloadMessage{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:
        rgba(0,0,0,.72);

    color:#35ff69;

    font-weight:bold;

    font-size:16px;

    opacity:0;

    pointer-events:none;

    transition:.3s;

    text-align:center;

    padding:10px;

}

.downloadMessage.active{

    opacity:1;

}

/* ========================= */
/* LANITAPAS SECTION */
/* ========================= */

#lanitapasSection{

    width:100%;

    padding:80px 20px;

    background:
    linear-gradient(
        180deg,
        #04142d 0%,
        #02101f 100%
    );

    border-top:
    4px solid #00d9ff;

}

.lanitapasContent{

    max-width:1200px;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:50px;

    flex-wrap:wrap;

}

.lanitapasText{

    flex:1;

    min-width:280px;

}

.pixelLabel{

    display:inline-block;

    margin-bottom:18px;

    padding:8px 14px;

    background:#0d2446;

    border:
    2px solid #00d9ff;

    color:#00d9ff;

    font-size:14px;

    font-family:'Press Start 2P', cursive;

    line-height: 30px;

}

.lanitapasText h2{

    font-size:42px;

    line-height:1.15;

    margin-bottom:20px;

    color:white;

}

.lanitapasText p{

    font-size:18px;

    line-height:1.7;

    color:#cfe9ff;

    margin-bottom:35px;

}

.lanitapasButton{

    display:inline-block;

    padding:18px 34px;

    background:#39e06f;

    color:#02101f;

    text-decoration:none;

    font-weight:900;

    border-radius:12px;

    transition:.2s;

    box-shadow:
    0 8px 0 #1d8b45;

}

.lanitapasButton:hover{

    transform:
    translateY(-4px);

}

.lanitapasVisual{

    flex:1;

    display:flex;

    justify-content:center;

    min-width:280px;

}

.lanitapasVisual img{

    width:100%;

    border-radius:24px;

    border:
    4px solid #00d9ff;

    box-shadow:
    0 0 35px rgba(0,217,255,.35);

}


/* ========================= */
/* FOOTER */
/* ========================= */

#mainFooter{

    width:100%;

    background:
    linear-gradient(
        180deg,
        #020814 0%,
        #01040a 100%
    );

    border-top:
    4px solid #00d9ff;

    padding:
    60px 20px 30px;

}

.footerContent{

    max-width:1300px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    flex-wrap:wrap;

}

.footerColumn{

    flex:1;

    min-width:240px;

}

.footerBrand{

    display:flex;

    justify-content:flex-start;

    align-items:center;

}

.footerLogoImage{

    width:180px;

    max-width:100%;

}

.footerContact h3,
.footerSocial h3{

    color:white;

    font-size:22px;

    margin-bottom:16px;
    text-align: center;

}

.footerPhone{

    font-size:28px;

    font-weight:900;

    color:#39e06f;

    margin-bottom:12px;

}

.footerPhone a{
    color: #38c4e7 ; 
    text-decoration: none;
}

.footerCoverage{

    color:#cfe9ff;

    line-height:1.7;

    font-size:16px;

}

.footerSocial{

    text-align:right;

}

.socialButtons{

    display:flex;

    justify-content:flex-end;

    gap:16px;

}

.socialButton{

    width:64px;

    height:64px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

    background:#0d2446;

    border:
    2px solid #00d9ff;

    transition:.2s;

    box-shadow:
    0 0 18px rgba(0,217,255,.25);

}

.socialButton i{

    font-size:28px;

    color:white;

}

.socialButton:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 0 24px rgba(0,217,255,.5);

}

.socialButton img{

    width:32px;

    height:32px;

}

.footerBottom{

    margin-top:40px;

    padding-top:25px;

    border-top:
    1px solid rgba(255,255,255,.08);

    text-align:center;

    color:#7e97b2;

    font-size:14px;

}


/* RESPONSIVE */

@media(max-width:768px){

    .footerContent{

        flex-direction:column;

        text-align:center;

    }

    .footerBrand{

        justify-content:center;

    }

    .footerSocial{

        text-align:center;

    }

    .socialButtons{

        justify-content:center;

    }

}


/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:768px){

    .lanitapasText h2{

        font-size:30px;

    }

    .lanitapasText p{

        font-size:16px;

    }

}