* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5e7eb;
    padding: 16px;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
        url("pool-table-design.jpg");
    background-size: cover;
    background-position: center;
}

.main-wrapper {
    width: 100%;
    max-width: 1200px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

h1 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.top-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

button {
    padding: 10px 26px;
    border-radius: 999px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #020617;
    background: #22c55e;
    box-shadow: 0 10px 25px rgba(34, 197, 94, .35);
    transition: transform .2s, box-shadow .2s, background .2s;
}

button:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(22, 163, 74, .4);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(22, 163, 74, .35);
}

h2 {
    margin-top: 18px;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.info {
    font-size: .8rem;
    color: #9ca3af;
    margin-bottom: 4px;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.table-income {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
    font-size: .8rem;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
        url("pool-table-design.jpg");
    background-size: cover;
    background-position: center;
    color: #e5e7eb;
}

.table-income th,
.table-income td {
    border: 1px solid #005061;
    padding: 4px 6px;
    text-align: right;
    white-space: nowrap;
}

.table-income th:first-child,
.table-income td:first-child {
    text-align: center;
}

.table-income thead {
    background: #111827;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-income tfoot {
    background: #111827;
    font-weight: 600;
}

.world-clock {
    margin-top: 5px;
    font-size: 18px;
    color: #333;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.clock {
    font-weight: bold;
    padding: 12px 15px;
    border-radius: 15px;
    color: white;
}

@media(max-width:768px) {
    body {
        padding: 8px;
    }

    h1 {
        font-size: 1.5rem;
    }

    button {
        width: 100%;
        max-width: 220px;
    }

    .table-income {
        font-size: .75rem;
    }
}

@media(max-width:480px) {
    h1 {
        font-size: 1.3rem;
    }

    .table-income {
        font-size: .7rem;
    }
}