@import url("apoiador.css");

:root {
    --font-pixel: 'Press Start 2P', cursive;
    --font-sans: 'Roboto', sans-serif;
    --color-grass-top: #78B049;
    --color-dirt: #8A603A;
    --color-stone: #808080;
    --color-text-light: #FFFFFF;
    --color-text-dark: #333333;
    --color-sky-top: #78A7FF;
    --color-sky-bottom: #B4D5FF;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--color-text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-sky-top), var(--color-sky-bottom));
    background-attachment: fixed;
    overflow: hidden; /* Prevents scrollbars from the overlay */
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2em 3em;
    border-radius: 15px;
    border: 5px solid var(--color-dirt);
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 1em;
}

.server-name {
    font-family: var(--font-pixel);
    font-size: 2.5rem;
    color: var(--color-grass-top);
    text-shadow: 3px 3px 0px #000000;
    margin: 0 0 0.2em 0;
}

.server-status {
    font-size: 1.2rem;
    font-weight: 700;
    background-color: #ffc107;
    color: var(--color-text-dark);
    padding: 0.3em 0.5em;
    border-radius: 5px;
    display: inline-block;
}

.info-card {
    margin-top: 1.5em;
}

.info-card h2 {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    margin-bottom: 1em;
}

.ip-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 1.5em 0;
    border: 4px solid var(--color-stone);
    border-radius: 8px;
    background-color: #333;
}

.ip-address {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.8em 1em;
    background-color: #f0f0f0;
    color: var(--color-text-dark);
    border-radius: 4px 0 0 4px;
    flex-grow: 1;
}

.copy-button {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    background-color: var(--color-grass-top);
    color: var(--color-text-light);
    border: none;
    padding: 0 1.5em;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
}

.copy-button:hover {
    background-color: #90c860;
}

.version-info {
    margin-top: 1.5em;
    font-size: 1rem;
}

.version-info strong {
    color: #aeffae;
}

footer {
    margin-top: 2em;
    font-size: 0.9rem;
    opacity: 0.8;
}
