:root {
    --bg-color: #0b0b0f;
    --accent: #8e0ead;
    --text-color: #fff;
    --header-bg: #111;
    --shadow-color: rgba(0,0,0,0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    height: 100%;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    background: var(--header-bg);
    padding: 20px 0;
    border-radius: 16px;
    box-shadow: 0 8px 20px var(--shadow-color);
    margin-bottom: 40px;
}

header img {
    height: 50px;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.1);
}

header h1 {
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
}

header span {
    color: var(--accent);
    background: linear-gradient(90deg, #8e0ead, #c42fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.box {
    width: min(80vw, 600px);
    aspect-ratio: 4 / 3;
    background: #000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

footer {
    margin-top: 60px;
    font-size: 0.85rem;
    color: #aaa;
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
}

@media (max-width: 768px) {
    body {
        height: 100vh;      /* ocupa toda a altura da tela */
        overflow: hidden;   /* bloqueia scroll */
        padding: 0;         /* remove padding que poderia gerar scroll */
    }

    header h1 {
        font-size: 1.5rem;
    }

    .box {
        width: 90vw;
        aspect-ratio: auto;
    }

    iframe {
        height: 60vw; /* mantém proporção aproximada */
    }
}
