/* css/index.css */
* { box-sizing: border-box; }
html, body { background: #2a2a2a; }
.topbar { background: #1a1a1a; }
.buttons button.active {
    background: linear-gradient(90deg, #1a1a1a, #111);
}

html, body { margin: 0; padding: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background: #2a2a2a; color: #e6eef3; }

/* Top menu bar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}

.topbar .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
}

.topbar .brand img {
    width: 40px;
    height: auto;
    display: block;
}

/* Logo styling */
.logo {
    display: block;
}

.logo-main {
    display: block;
}

.topbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
    align-items: center;
}

.topbar nav a {
    color: #ddd;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.topbar nav a:hover,
.topbar nav a:focus {
    background: rgba(255,255,255,0.06);
    color: #fff;
    outline: none;
}

/* make room for fixed topbar */
.page-content {
    padding-top: 90px;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;

    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering if content is short */
    align-items: center;     /* horizontal centering */
    min-height: calc(100vh - 90px); /* take full screen minus topbar */
    text-align: center;      /* center text inside */
}

/* Responsive: stack links on small screens */
@media (max-width: 560px) {
    .topbar { padding: 0 12px; }
    .topbar nav ul { gap: 10px; }
    .topbar .brand span { display: none; }
}

/* Buttons block styling */
.buttons {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.buttons button {
    background: transparent;
    color: #ddd;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.buttons button:hover {
    background: rgba(255,255,255,0.03);
}

/* Active/selected button stays visually different */
.buttons button.active {
    background: linear-gradient(90deg, #1a1a1a, #111);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    transform: translateY(-1px);
}
