body {
    background: linear-gradient(180deg, #001f3f 0%, #0077be 50%, #00bfff 100%);
    background-size: 400% 400%;
    animation: gradientMove 30s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 0%; }
}
/* -------------------- LOGO -------------------- */
.logo {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo img {
    width: 220px;
    height: auto;
    border-radius: 0; /* Remove o card arredondado */
    animation: rotatePulse 3s ease-in-out infinite;
    box-shadow: none; /* Remove o card/halo de luz */
    transition: transform 0.5s ease, opacity 0.5s ease; /* Mantém a animação suave */
}

.logo img:hover {
    transform: rotate(10deg) scale(1.05);
}


/* -------------------- TEXTOS -------------------- */
.sunny-text {
    color: #ffffff;
    font-size: 26px;
    z-index: 1;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin-top: 20px;
}

.sunny-text h1,
.sunny-text p {
    margin: 0;
}

.gradient-text {
    background: linear-gradient(90deg, #1cc7d0, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-top: 0px;
    font-weight: bold;
}

.gradient-text.experience {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.gradient-text.free {
    font-size: 20px;
    text-align: center;
    margin-top: 10px;
}

/* -------------------- BOTÕES -------------------- */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    z-index: 2;
}

.button, .connect-wallet-btn, .wallet-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Botão principal */
.connect-wallet-btn {
    background: linear-gradient(135deg, #1cc7d0, #007bff);
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
}

.connect-wallet-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.6);
}

/* Botões dentro do modal */
.wallet-button {
    background: #222;
    color: #fff;
    gap: 12px;
    font-size: 15px;
    padding: 12px 20px;
    transition: 0.3s ease;
}

.wallet-button img {
    width: 25px;
    height: 25px;
}

.wallet-button:hover {
    background: linear-gradient(135deg, #1cc7d0, #007bff);
    transform: scale(1.05);
}

/* Animação ripple descentralização nos botões */
.button:hover::before,
.connect-wallet-btn:hover::before,
.wallet-button:hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: decentralize 1s forwards;
}

@keyframes decentralize {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* -------------------- MODAL -------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    background-color: rgba(0,0,0,0.7);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

.modal-content {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0,123,255,0.5);
    animation: modalPop 0.5s ease-out;
}

@keyframes modalPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    transition: 0.3s ease;
}

.close:hover {
    color: #ff4b2b;
}

/* -------------------- ANIMAÇÕES GERAIS -------------------- */
@keyframes rotatePulse {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

@keyframes rotate-color {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes morph {
    0%, 100% { border-radius: 50%; width: 80px; height: 80px; }
    50% { border-radius: 15%; width: 100px; height: 100px; }
}

/* Loader animado */
.loader {
    display: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 8px solid transparent;
    border-top: 8px solid #1cc7d0;
    border-right: 8px solid #007bff;
    border-bottom: 8px solid #1cc7d0;
    border-left: 8px solid #007bff;
    animation: rotate-color 2s linear infinite, morph 2s ease-in-out infinite;
}


/* -------------------- Gotas de chuva -------------------- */
#rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Para não interferir em cliques */
    overflow: hidden;
    z-index: -1;
}

.drop {
    position: absolute;
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-20px);
        opacity: 0.7;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}
/* -------------------- Oceano -------------------- */
#ocean {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to top, #0077be, #00bfff);
    border-top-left-radius: 50% 20px;
    border-top-right-radius: 50% 20px;
    z-index: -1;
    animation: wave 4s ease-in-out infinite alternate;
    transition: transform 0.2s ease;
}

@keyframes wave {
    0% { transform: translateY(0px); }
    50% { transform: translateY(5px); }
    100% { transform: translateY(0px); }
}

/* Efeito adicional ao passar o mouse */
#ocean.wave-hover {
    animation: none; /* Pausa a animação base */
    transform: translateY(0px);
}




/* Botão lateral direito */
#infoButton {
    position: fixed;
    right: 20px;
    top: 40%;
    transform: translateY(-50%);
    padding: 12px 18px;
    background: linear-gradient(135deg, #1cc7d0, #007bff);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    z-index: 1100;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
    transition: 0.3s;
}
#infoButton:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.6);
}
/* Mini-box de vídeo */
#infoBox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza no meio da tela */
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    padding: 20px;
    width: 400px;
    max-width: 90%;
    display: none;
    z-index: 1200;
}

#infoBox video {
    width: 100%;
    border-radius: 12px;
}


#closeInfo {
    float: right;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
#closeInfo:hover {
    color: red;
}






















/* ==================== RESPONSIVIDADE UNIFICADA ==================== */
@media (max-width: 768px) { 
    /* Textos */
    .gradient-text.experience {
        font-size: 24px;
    }

    .gradient-text.free {
        font-size: 15px;
    }

    /* Logo */
    .logo img {
        width: 140px;
    }

    /* Botão Connect Wallet */
    .connect-wallet-btn {
        font-size: 14px;
        padding: 10px 24px;
    }

    /* Botão What it’s Fraliis abaixo do Connect Wallet */
    /* Botão What it’s Fraliis abaixo do Connect Wallet */
    #infoButton {
        position: static;        /* remove posição absoluta */
        margin-top: 12px;        /* espaço abaixo do Connect Wallet */
        width: auto;             /* largura ajusta ao conteúdo */
        padding: 6px 14px;       /* bordas menores */
        font-size: 14px;         /* tamanho proporcional */
        text-align: center;
        border-radius: 20px;     /* bordas mais arredondadas */
        background-color: #1cc7d0;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #infoButton:hover {
        background-color: #00a3d0;
        transform: scale(1.05);
    }



    /* Ajustes para telas menores que 480px */
    @media (max-width: 480px) {
        .gradient-text.experience {
            font-size: 20px;
        }

        .gradient-text.free {
            font-size: 14px;
        }

        .logo img {
            width: 120px;
        }

        #infoButton {
            margin-top: 10px;
            font-size: 13px;
        }
    }
}
