/* Strony: index (główna), signup (rejestracja), rules, policy, terms.
   Połączone z dawnych styles1 + styles2 + styles3.
   Pełny opis systemu kamery (main + account, PC + telefony): .cursor/rules/camera-viewport-system.mdc */

/* ========== Tryb kamery (strona główna) – ten sam ekran niezależnie od zoomu, jak w account ========== */
.account-viewport {
    width: 100vw;
    height: 100vh;
    overflow: auto;
    margin: 0;
    padding: 0;
    background: #000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.account-stage-wrapper {
    flex-shrink: 0;
    position: relative;
}
.account-stage,
#game-container {
    width: 1920px;
    min-height: 1080px;
    position: relative;
    transform-origin: top left;
    background: #000;
    overflow: visible;
}
/* Tło i treść strony głównej wewnątrz sceny kamery */
.account-viewport .background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Tło strony głównej – oddalone (~60% skali), cały obraz widoczny, bez przycięcia */
.account-viewport .background-image {
    width: 107%;
    height: 107%;
    object-fit: contain;
    object-position: center center;
}
/* ========== STRONA GŁÓWNA: skala i pozycja contentu (login, tabela) – edytuj tutaj ========== */
.account-viewport .content {
    position: absolute;
    /* Pozycja: top (mniej px = wyżej), left (np. 50% = środek; mniej % = w lewo) */
    top: 45px;
    left: 57%;
    /* scale(1)=100%, scale(1.2)=powiększ, scale(0.85)=pomniejsz; translateX(-50%)=środek; dodaj translateY(-20px)=w górę, translateX(-60px)=w lewo */
    transform: scale(1.27) translate(-50%, 0);
    transform-origin: top center;
    z-index: 10;
}

/* ========== STRONA GŁÓWNA: pozycje – edytuj top/left (px). Ujemne top = wyżej, ujemne left = w lewo ========== */
/* Pozycjonowanie na .index-*-wrap (divy wewnątrz komórek) – działa w każdej przeglądarce */

.account-viewport .index-pos-wrap {
    position: relative;
    display: inline-block;
}

/* Flaga + kraj – zmień top/left (np. top: -10px; left: -20px;) */
.account-viewport .index-flag-country-wrap {
    position: relative;
    top: -44px;
    left: 17px;
	width: 150px;

}
.account-viewport .index-flag {
    display: inline-block;
}
.account-viewport .index-country-name {
}

/* Tekst intro – zmień top/left */
.account-viewport .index-intro-text-wrap {
    position: relative;
    top: -10px;
    left: -10px;
}

/* Gold – zmień top/left */
.account-viewport .index-gold-wrap {
    position: relative;
    top: 0;
    left: 0;
}

/* Last activities – zmień top/left */
.account-viewport .index-recent-activities-wrap {
    position: relative;
    top: 17px;
    left: -10px;
	
}

/* ========== STRONA GŁÓWNA: prawa kolumna – stats, login, „Build an amazing”, Last Articles (edytuj top/left) ========== */

/* „0 players online, 0 signups today...” */
.account-viewport .index-stats-wrap {
    position: relative;
    top: -35px;
    left: -120px;
}
.account-viewport .index-stats-text {
}

/* Email + Password + Login */
.account-viewport .index-login-form-wrap {
    position: relative;
    top: -35px;
    left: 5px;
}

/* „Build an amazing town and win REAL CASH” */
.account-viewport .index-build-amazing-wrap {
    position: relative;
    top: 0;
    left: 30px;
	
}

/* „Last Articles” */
.account-viewport .index-last-articles-wrap {
    position: relative;
    top: 10px;
    left: 0;
}

/* Lista artykułów (Views, votes, Refferals is open, ALPHA is open! itd.) – zmień top/left */
.account-viewport .index-articles-wrap {
    position: relative;
    top: 30px;
    left: -25px;
}

body {
    height: 100%;
    margin: 0;
    background-color: black;
    font-size: 12px;
}

.background-container {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    background-color: black;
    align-items: center;
    z-index: -1;
}

.background-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    z-index: -1;
}

.content {
    color: white;
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
}

.content3 {
    position: absolute;
    z-index: 1;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    margin: 0;
    color: #000;
}

.size11 { font-size: 11px; }
.size12 { font-size: 12px; }
.size13 { font-size: 13px; }
.size15 { font-size: 15px; }

.inset_white_14 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: rgb(255, 255, 255);
    font-weight: lighter;
    text-shadow: rgb(0, 0, 0) 0px 1px 1px;
}

.loginbuttons {
    padding-top: 20px;
    text-decoration: none;
}

.flag { padding-bottom: 5px; }

a.maro_14:link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #764800;
}

.opis1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: black;
    text-shadow: 0px 1px 1px #fff4da;
}

.error-message {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
}

.naz2 font, .naz2 p, .naz2 h2, .naz2 span, .naz2 td {
    color: #000;
}

table.naz2 {
    width: 100%;
    border-collapse: collapse;
}

table.naz2 td {
    padding: 8px;
    border: 1px solid #ddd;
}

.cl-right { margin-top: 20px; }

.hst-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.m-tb { background-color: #f9f9f9; }
.htt { background-color: #f1f1f1; }
.clr { clear: both; }

.centered-table {
    margin: 13px auto;
    width: 865px;
    height: 18px;
    border-collapse: collapse;
}

.centered-table2 {
    margin: 13px auto;
    width: 400px;
    height: 18px;
    border-collapse: collapse;
}

.centered-table2 td {
    font-size: 17px;
    color: darkgreen;
    padding: 10px;
}

.centered-table3 {
    margin: 13px auto;
    width: 830px;
    height: 18px;
    border-collapse: collapse;
}

.block1 { margin-left: 140px; }

.block3 {
    position: relative;
    width: 350px;
    text-align: center;
}

.block3 img {
    display: block;
    margin: 0 auto;
    width: 350px;
    height: auto;
}

.block4 {
    display: block;
    margin: 0 auto;
    width: 350px;
    height: auto;
}

.text-overlay {
    height: 100px;
    width: 310px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 18px;
    font-weight: bold;
}

.text-overlay .reflink { font-size: 10px; }
.text-overlay .info { width: 300px; }

.img-opacity {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.img-opacity:hover {
    opacity: 1;
}

.img-effect {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.img-effect:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.custom-link {
    color: #8B4513;
    text-decoration: none;
}

.custom-link:hover {
    color: green;
}
