/* ===========================
   RESET
=========================== */

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

/* ===========================
   CORES
=========================== */

:root {
    --bg: #090611;
    --bg2: #130c22;
    --purple: #7c3aed;
    --purple-light: #a855f7;
    --yellow: #ffd54a;
    --yellow-hover: #ffc107;
    --white: #ffffff;
    --text: #d9d9d9;
    --card: rgba(255,255,255,.06);
    --border: rgba(255,255,255,.08);
}

/* ===========================
   BODY
=========================== */

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, var(--bg), var(--bg2));
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===========================
   PERSONAGEM (LATERAL ESQUERDA COMPLETA)
=========================== */

.personagem-esquerda {
    position: fixed;
    top: 0;
    left: 0;
    height: 95vh; /* Ocupa 100% da altura da tela */
    width: auto;   /* Mantém a proporção da imagem */
    max-width: 50vw; /* Ocupa até 35% da largura da tela */
    object-fit: contain;
    object-position: bottom left; /* Alinha na base da esquerda */
    transform: translateX(-20%);
    z-index: 10;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 0 25px rgba(124, 58, 237, 0.35)); /* Brilho roxo suave */
    transition: all 0.3s ease;
}

/* ===========================
   FUNDO
=========================== */

.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at top, #7c3aed55 0%, transparent 35%),
        radial-gradient(circle at bottom, #5b21b655 0%, transparent 35%),
        radial-gradient(circle at center, #ffd54a15 0%, transparent 40%);
}

/* ===========================
   CONTAINER
=========================== */

.container {
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding: 30px 20px 60px;
}

/* ===========================
   HERO
=========================== */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 35px;
}

/* LOGO AJUSTADA */
.hero-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    pointer-events: none;
    user-select: none;
}

.banner {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    border: 2px solid rgba(255, 213, 74, .2);
    box-shadow:
        0 0 40px rgba(124, 58, 237, .35),
        0 0 15px rgba(255, 213, 74, .18);
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 2.3rem;
    color: var(--yellow);
    text-shadow: 0 0 12px rgba(255, 213, 74, .45);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ÍCONES DO TÍTULO */
.hero h1 i {
    font-size: 0.85em;
    color: var(--yellow);
    filter: drop-shadow(0 0 8px rgba(255, 213, 74, 0.4));
}

.hero p {
    color: var(--text);
    line-height: 1.6;
}

/* ===========================
   CARDS
=========================== */

.card {
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 18px;
    transition: .3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 213, 74, .45);
    box-shadow:
        0 0 25px rgba(255, 213, 74, .15),
        0 0 30px rgba(124, 58, 237, .25);
}

.card h2 {
    color: var(--yellow);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* ===========================
   NICK
=========================== */

.nick-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.nick-box span {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    word-break: break-word;
}

/* ===========================
   BOTÃO COPIAR
=========================== */

.nick-box button {
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    padding: 11px 18px;
    border-radius: 14px;
    font-weight: 600;
    transition: .25s;
    box-shadow: 0 0 20px rgba(124, 58, 237, .35);
}

.nick-box button:hover {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-hover));
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 213, 74, .45);
}

/* ===========================
   LINKS
=========================== */

footer {
    margin-top: 40px;
}

footer h2 {
    color: var(--yellow);
    margin-bottom: 18px;
}

#links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-button {
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    transition: .25s;
}

.link-button:hover {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-color: var(--yellow);
    box-shadow: 0 0 20px rgba(255, 213, 74, .25);
    transform: translateY(-2px);
}

/* ===========================
   TOAST
=========================== */

#toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    background: #22c55e;
    color: white;
    padding: 13px 22px;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
    z-index: 1000;
}

#toast.show {
    opacity: 1;
}

/* ===========================
   RESPONSIVO
=========================== */

@media(max-width: 1100px) {
    /* Diminui a largura máxima do personagem em monitores menores para não tocar nos cards */
    .personagem-esquerda {
        max-width: 25vw;
    }
}

@media(max-width: 768px) {
    /* Em tablets e celulares, reduz o tamanho e deixa suave no fundo */
    .personagem-esquerda {
        height: 45vh;
        max-width: 30vw;
        opacity: 0.25;
    }
}

@media(max-width: 600px) {

    .hero h1 {
        font-size: 1.7rem;
        gap: 8px;
    }

    .hero-img {
        max-width: 240px;
    }

    .nick-box {
        flex-direction: column;
        align-items: stretch;
    }

    .nick-box button {
        width: 100%;
    }

    .container {
        padding: 20px 15px 40px;
    }

}