body {
    background-color: #2e2e2e;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Header & Footer shared style */
header, footer {
    width: 100%;
    background-color: #141414;
    box-sizing: border-box;
}

header {
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, transparent, #81242d, transparent) 1;
    position: fixed;
    top: 0;
}

.game-title {
    color: #81242d;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

nav ul li { margin: 0; padding: 0; }

nav ul li h1 {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
}

nav ul li h1 a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #aaaaaa;
    border: 2px solid #81242d;
    border-radius: 8px;
    background: linear-gradient(to bottom, #141414, #1a1a1a);
    box-shadow: 0 4px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

nav ul li h1 a:hover {
    background: linear-gradient(to bottom, #81242d, #750d0d);
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}

nav ul li h1 a:active {
    background: linear-gradient(to bottom, #750d0d, #81242d);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5), inset 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(1px);
}

.page-content {
    flex: 1;
    display: flex;
    align-items: stretch;
    padding: 30px;
    box-sizing: border-box;
    padding-top: 90px;
}

.register {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    width: 100%;
}


.form-title {
    color: #81242d;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    border-bottom: 3px solid #81242d;
    padding-bottom: 12px;
}

.form-container {
    background-color: #141414;
    border: 1px solid #444;
    border-top: 3px solid #81242d;
    border-radius: 10px;
    padding: 48px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}


.form-label, .form-row p {
    position: relative;
    color: #aaaaaa;
    font-size: 1.4rem;
    line-height: 1.7;
    margin-left: 0.5rem;
    border-bottom: 1px solid #aaaaaa;
}

.form-row p input {
    margin: 10px;
    width: 24px;
    height: 24px;
}

.form-row input{
    padding: 10px;
    border-radius: 1em;
    margin: 5px;
    font-size: 1.5rem;
    padding-left: 20px;
}

button {
    border-radius: 1em;
    margin: 25px 5px 5px;
    font-size: 1.5rem;
    padding: 15px;
    width: 100%;
    color: #aaaaaa;
    border: 2px solid #81242d;
    background: linear-gradient(to bottom, #141414, #1a1a1a);


}


button:hover {
    background: linear-gradient(to bottom, #81242d, #750d0d);
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    font-weight: bold;
}

button:active {
    background: linear-gradient(to bottom, #750d0d, #81242d);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5), inset 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(1px);
}

/*.form-container {*/
/*    margin: 2rem 0;*/
/*    display: flex;*/
/*    justify-content: flex-start;*/
/*}*/
.form-row {
    display: flex;
    flex-direction : column;
}

p.input-error {
    margin: 0 1.4rem 0;
    color: #cf1326;
    display: none;
    font-weight: bold;
    border: none;
}

div.form-row.password-toggle p{
    border: none;
}