:root {
    --bg: #010a13;
    --panel: #020617;
    --gold: #c8aa6e;
    --text-muted: #a09b8c;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* remove scroll da página */
}


body {
    margin: 0;
    background: radial-gradient(circle at top, #111827, #020617);
    font-family: Segoe UI, sans-serif;
    color: white;
}

/* HEADER */
.header {
    background: var(--bg);
    border-bottom: 1px solid #1e2328;
}

/* MENU TOP */
.menu-top {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}

.menu-left {
    display: flex;
    align-items: center;   /* alinhamento vertical */
    gap: 12px;             /* espaçamento horizontal uniforme */
}

.menu-left span {
    font-size: 13px;
    cursor: pointer;
}

/* CONTENT */
.content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* SLIDER */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SLIDE */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Overlay escuro */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,.25), #020617 80%);
}

/* Slide ativo */
.slide.active {
    opacity: 1;
    z-index: 1;
}

/* TEXTO */
.slide-text {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 2;
}

.slide-text h1 {
    font-size: 42px;
    margin: 0;
    letter-spacing: 1px;
}

.slide-text p {
    margin-top: 8px;
    font-size: 16px;
    color: var(--gold);
}


.ouro{
	color: var(--silver);
    font-weight: bold;
    cursor: pointer;
}

.btn-play {
    padding: 6px 24px;
    background: linear-gradient(#1e2328, #010a13);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: bold;
    cursor: pointer;
}

.btn-play2 {
    padding: 10px 12px;
    background: linear-gradient(#1e2328, #010a13);
    border: 1px solid var(--silver);
	border-radius: 100px;
    color: var(--silver);
    font-weight: bold;
    cursor: pointer;
}

.menu-right {
    display: flex;
    align-items: center;   /* alinhamento vertical */
    gap: 12px;             /* espaçamento horizontal uniforme */
	padding-right: 110px;
}

.menu-right2 {
    display: flex;
    align-items: center;   /* alinhamento vertical */
    gap: 12px;             /* espaçamento horizontal uniforme */
}

.icon {
    width: 22px;
    height: 22px;
    background: #1e2328;
    border-radius: 4px;
}

/* HR */
hr {
    border: none;
    height: 1px;
    background: #1e2328;
}

/* MENU BOTTOM */
.menu-bottom {
    display: flex;
    gap: 25px;
    padding: 10px 20px;
    font-size: 13px;
}

.menu-bottom span {
    color: var(--text-muted);
    cursor: pointer;
}

.menu-bottom .active {
    color: white;
    border-bottom: 2px solid var(--gold);
}

/* MAIN */
.main {
    height: calc(100vh - 120px); /* mesma altura do header */
    display: flex;
    overflow: hidden;
}

/* CHAT */
.chat {
    width: 280px;
    background: rgba(1,10,19,.95);
    border-left: 1px solid #1e2328;
    padding: 15px;
}

.chat h3 {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 10px;
}

/* FRIEND ITEM */
.friend {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    align-items: center;
}

.friend:hover {
    background: rgba(255,255,255,.05);
}

/* AVATAR ELIPSE */
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-img: url(player.png);
    flex-shrink: 0;
}

/* INFO */
.info {
    display: flex;
    flex-direction: column;
}

.name {
    font-size: 13px;
}

.status {
    font-size: 11px;
    color: var(--text-muted);
}

/* STATUS COLORS */
.online .avatar {
    box-shadow: 0 0 0 2px #22c55e;
}

.mobile .avatar {
    box-shadow: 0 0 0 2px #0ea5e9;
}

.offline .avatar {
    filter: grayscale(1);
    opacity: .6;
}

.btn-img {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.btn-img::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 8px;
    background: linear-gradient(
        120deg,
        transparent,
        #e5e7eb,
        #94a3b8,
        #e5e7eb,
        transparent
    );
    opacity: 0;
    filter: blur(80px);
    transition: opacity .4s ease;
}

.btn-img:hover::before {
    opacity: 1;
}

.btn-img img {
    position: relative;
    z-index: 1;
    transition: transform .3s ease;
}

.btn-img:hover img {
    transform: scale(1.04);
}


.alert-wrapper {
    position: relative;
    display: inline-block;
}

/* JANELA */
.alert-box {
    position: absolute;
    top: 45px;
    right: -220;
    width: 260px;
    background: linear-gradient(#020617, #010a13);
    border: 1px solid #64748b;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.8);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all .25s ease;
    z-index: 100;
}

/* VISÍVEL */
.alert-box.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.alert-box h4 {
    margin: 0 0 6px;
    font-size: 13px;
    color: #e5e7eb;
}

.alert-box p {
    font-size: 12px;
    color: #a1a1aa;
    line-height: 1.4;
}

/* FECHAR */
.close-alert {
    position: absolute;
    top: 6px;
    right: 8px;
    cursor: pointer;
    font-size: 12px;
    color: #94a3b8;
}

.close-alert:hover {
    color: white;
}

.chat {
    width: 280px;
    display: flex;
    flex-direction: column;
    height: 100%;          /* 🔑 ESSENCIAL */
    overflow: hidden;      /* impede o vazamento */
}


/* FOOTER */
.chat-footer {
    margin-top: auto;
    padding: 10px 0;
    border-top: 1px solid #1e2328;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-shrink: 0;        /* não encolhe */
}


.chat-footer i {
    font-size: 16px;
    color: #94a3b8;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.chat-footer i:hover {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(200,170,110,.6);
}
