., #, td, th, textarea, body, table
{
  font-family: 'Oxanium', Tahoma, sans-serif;
  font-size	: 11px;
}



#content {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    overflow-y: auto;
    overflow-x: visible;
    padding-bottom: 50px;
}


.table_up {

    width: 75%;
    max-width: 700px;
    margin: 0 auto; /* centré par défaut */  
    padding-bottom:30px;
}
.table_up2 {
    width: 75%;
    max-width: 700px;
    margin: 0 auto; /* centré par défaut */
}

@media screen and (max-width: 1000px) {
    .table_up {
        width:80%;
        margin-left: 15%;
    }
    .table_up2 {
        width:80%;
        margin-left: 15%;
    }

      .portal-top-menu {
        left:500px;
    }
}




p table
{
  border               : 0px;
}

p td
{
  text-align           : center;
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
}

table table
{
  border               : 0px;
}

table table td
{
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
}

body {
  color: #E6EBFB;
  margin: 0;
  font-size: 11px;
  font-family: 'Oxanium', Tahoma, sans-serif;
  background-color: #040e1e;
  background-image:
    radial-gradient(circle, rgba(80,150,210,0.09) 1px, transparent 1px),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 47px,
      rgba(50,110,170,0.055) 47px,
      rgba(50,110,170,0.055) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 47px,
      rgba(50,110,170,0.055) 47px,
      rgba(50,110,170,0.055) 48px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 10px,
      rgba(30,60,100,0.025) 10px,
      rgba(30,60,100,0.025) 11px
    ),
    radial-gradient(ellipse at center, transparent 48%, rgba(2,5,12,0.78) 100%),
    url(../upload/images/background.jpg);
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;
  background-repeat:     repeat, repeat, repeat, repeat, no-repeat, no-repeat;
  background-position:   0 0, 0 0, 0 0, 0 0, center center, center center;
  background-size:       48px 48px, auto, auto, auto, cover, cover;
  scrollbar-arrow-color:      #E6EBFB;
  scrollbar-base-color:       #344566;
  scrollbar-track-color:      #344566;
  scrollbar-face-color:       #344566;
  scrollbar-highlight-color:  #344566;
  scrollbar-3dlight-color:    #465673;
  scrollbar-darkshadow-color: #344566;
  scrollbar-shadow-color:     #465673;
}


body.style{
	background-image: none;
}

body.style table {
	margin:0px;
}

body form table th table input
{
  width: 60px;
}

th, td.a, td.b, td.c, td.f, input, select,
td.g, td.h, td.i, td.j, td.k, td.l, td.m,
td.n, td.o, td.q, td.r, td.v, .style td,
textarea, p td, table.s th img
{
  border               : 1px #415680 solid;
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
}

th, td.a, td.b, td.c, td.f, input, select, td.g,
td.h, td.i, td.j, td.k, td.m, td.o, td.q, td.r,
td.v, td.s, .style td, p td
{
  background-color     : #344566;
}


th {
  text-align: center;
  padding-left:10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  min-height: 30px;
  line-height: 14px;
  vertical-align: middle;
  box-sizing: border-box;
  font-weight: normal;
  font-size: 11.7px; /* ⇦ ou 16px si tu veux plus gros */
}

th.a
{
  background-color:#253046;
}

td.a
{
  height               : 39px;
  text-align           : center;
}

td.b
{
  padding              : 3px;
}

td.c
{
  text-align:center;
  color                : #E6EBFB;
  padding-left         : 3px;
  background-color     :#253046;
  padding              : 6px;
  text-transform:uppercase;
  font-size:10px;
    font-weight:bold;
}

td.f,
input,
select,
textarea {
    border: 1px solid #050505ff;
    background: #253046; 
    box-shadow: 0 0 6px #000;
    color: #e5e7eb;
    padding: 6px 8px;
  min-height: 15px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Placeholder en blanc et italique */
input::placeholder,
textarea::placeholder {
  color: #ffffff;
  font-style: italic;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #ffffff;
  font-style: italic;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #ffffff;
  font-style: italic;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #ffffff;
  font-style: italic;
}

input:hover,
select:hover,
textarea:hover {
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}


textarea
{
  width                : 100%;
}

td.k input
{
  text-align           : left;
}

td.g
{
  font-weight          : bold;
  text-align           : right;
  color                : #E6EBFB;
}

td.h
{
  text-align           : center;
  color                : #E6EBFB;
}

td.i
{
  text-align           : center;
  color                : #E6EBFB;
}

td.j
{
  text-align           : center;
  color                : #E6EBFB;
}

td.k, td.k input
{
  text-align           : center;
  color                : #E6EBFB;
}

td.l
{
  background-color     : #344566;
  color                : #E6EBFB;
  vertical-align       : top;
  padding              : 3px;
  background-image     : url(img/bg2.gif);
}

td.m
{
  font-weight          : bold;
  text-align           : right;
  width                : 86px;
  color                : #E6EBFB;
}

td.n
{
  font-weight          : bold;
  text-align           : right;
  width                : 89px;
  text-align           : center;
  color                : #E6EBFB;
}

td.o
{
  text-align           : center;
  color                : #E6EBFB;
}

td.q
{
  font-weight          : bold;
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
  text-align           : center;
  vertical-align       : middle;
  color                : #E6EBFB;
}

td.r
{
  text-align           : right;
  color                : #E6EBFB;
}

td.v
{
  font-weight          : bold;
  text-align           : right;
  color                : #f7f7f7;
}

td.s
{
  color                : #E6EBFB;
}

table.s th
{
  border               : 0px;
}

table.s th img
{
  width                : 89px;
  height               : 89px;
}

div.z
{
  font-weight          : bold;
  color                : #E6EBFB;
}

a
{
  color                : #E6EBFB;
  text-decoration      : none;
  font-weight          : bold;
}

a.s
{
  color                : #E6EBFB;
}

a.t
{
  color                : #E6EBFB;
}

a:hover
{
  color                : #CDD7F8;
  text-decoration      : underline;
}

.style td
{
  color                : #E6EBFB;
  border-top           : 0px; 
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
}

.style div a
{
  height               : 100%;
  width                : 100%;
  color                : #f2f2f2;
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
}

.style div a:link
{
  height               : 100%;
  width                : 100%;
  color                : #f2f2f2;
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
}

.style div a:visited
{
  height               : 100%;
  width                : 100%;
  color                : #f2f2f2;
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
}

.style div a:hover
{
  background-color     : #415680;
  height               : 100%;
  width                : 100%;
  text-decoration      : none;
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
  color                : #E6EBFB;
}

.style
{
  margin-top           : 15px;
}

h1
{
  font-size            : 11px;
  font-family          : Tahoma,sans-serif;
  border-bottom        : 0px #344566 solid;
  width                : 98%;
  text-align           : center;
}

input[type="submit"],
button[type="submit"] {
  background: #111827;
  color: #ffffff;
  border: 1px solid rgb(0, 0, 0);
  padding: 5px 14px;
  border-radius: 3px;
  cursor: pointer;
  font-size:10px;
  text-transform:uppercase;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background: #2e3a50;
}



input[type="submit"].submit2 {
  min-width     : 50px;
  border        : 1px solid #7d8e99;
  padding       : 4px 8px;
  background    : #3b4c6d;
  color         : white;
  font-family   : Tahoma, sans-serif;
  cursor        : pointer;
  font-size:10px;
  text-transform:uppercase;
}

input[type="submit"].submit2:hover {
  background: #2e3a50;
}

        body {
            margin: 0;
            font-family: Arial, sans-serif;
            /* le background (image) reste géré par formate.css, on ne l’écrase pas */
            background-size: cover;
            color: #e5e7eb;
        }

        #content {
            max-width: 1200px;
            margin: 0 auto;
            /* padding-top pour ne pas passer sous le topnav fixe */
            padding: 80px 10px 40px;
        }

/* HERO (logo + texte + badges + CTA) */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 2fr; /* logo ~1/3, texte ~2/3 */
    gap: 5px;
    align-items: center;
    margin-bottom: 20px;
    margin-top: -90px;
}

/* Colonne texte */
.hero-content {
    text-align: center; /* centre kicker, titre, sous-titre ET badges */
}

/* Badges : centrés sous le texte */
.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.hero-badge {
    display: inline-block;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

        .hero-logo img {
            max-width: 400px;
            width: 100%;
            height: auto;
        }

        .hero-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 24px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: #e5e7eb;
            margin-bottom: 10px;
        }

        .hero-subtitle {
            font-size: 14px;
            color: #9ca3af;
            line-height: 1.6;
            margin-bottom: 15px;
        }

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 10px;
    margin: 18px 0 20px;
    align-items: center;
    justify-content: center; /* bien centré sous le texte */
}

/* Base du badge */
.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: radial-gradient(circle at 0 0, rgba(148, 238, 255, 0.25), transparent 55%),
                linear-gradient(135deg, #1b2a3a, #263b52 45%, #1a2431 100%);
    border: 1px solid rgba(56, 189, 248, 0.7);
    color: #e8f7ff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 1;
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.9),
        0 0 12px rgba(56, 189, 248, 0.45);
    overflow: hidden;
}

/* Légère texture / reflet interne */
.hero-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.16),
        transparent 35%,
        transparent 65%,
        rgba(148, 238, 255, 0.16)
    );
    opacity: 0.35;
    pointer-events: none;
}

/* Petit “glow” dynamique au survol */
.hero-badge::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 180%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.55), transparent 60%);
    top: -40%;
    left: -20%;
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

/* Effet hover */
.hero-badge:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.8),
        0 0 18px rgba(56, 189, 248, 0.7);
}

/* Glow qui se déplace un peu */
.hero-badge:hover::after {
    opacity: 1;
    transform: translate3d(10px, 0, 0);
}

/* Optionnel : légère animation “respiration” globale */
@keyframes heroBadgePulse {
    0%   { box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 0 10px rgba(56, 189, 248, 0.35); }
    50%  { box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.9), 0 0 16px rgba(56, 189, 248, 0.65); }
    100% { box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 0 10px rgba(56, 189, 248, 0.35); }
}

.hero-badge:nth-child(2n) {
    animation: heroBadgePulse 3.2s ease-in-out infinite;
}


        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            margin-left: 30%;
            margin-top: 5%;
        }

        @media (max-width: 900px) {
            .hero-cta {
                justify-content: center;
                margin-left: 0;
            }
        }

        .hero-btn-primary,
        .hero-btn-secondary {
            display: inline-block;
            border-radius: 4px;
            padding: 6px 14px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            cursor: pointer;
            text-decoration: none;
            border: 1px solid lime;
            background: #13223a;
            color: #E6EBFB;
        }

        .hero-btn-secondary {
            background: #0b1624;
        }

        .hero-btn-primary:hover,
        .hero-btn-secondary:hover {
            background: #1e2f4a;
        }

        .hero-meta {
            margin-top: 10px;
            font-size: 11px;
            color: #9ca3af;
        }

        .hero-meta span {
            color: #4ade80;
        }

        /* Messages flash */
        .flash-messages {
            margin: 10px auto 20px;
            max-width: 700px;
        }

        .flash-error,
        .flash-success {
            padding: 10px 20px;
            border-radius: 5px;
            margin-bottom: 10px;
            font-family: monospace;
            border: 1px solid;
        }

        .flash-error {
            background: #1a1a1a;
            color: #ff5050;
            border-color: #ff0000;
        }

        .flash-success {
            background: #1a1a1a;
            color: #4ade80;
            border-color: #22c55e;
        }

        /* Bloc login/register */
        .auth-section-wrapper {
            background-image: url('../upload/images/con_img.png');
            background-size: cover;
            background-position: top;
            overflow: hidden;
            box-shadow: 0 0 25px rgba(0,0,0,0.8);
        }

        .auth-card-inner table {
            box-shadow: 0 0 15px rgba(0, 0, 0, 1);
            background: rgba(3, 7, 18, 0.92);
        }

        input[type="email"],
        input[type="password"],
        input[type="text"] {
            border: 1px solid #050505ff;
            background: #253046;
            box-shadow: 0 0 6px #000;
            color: #e5e7eb;
            padding: 6px 8px;
            min-height: 15px;
            transition: box-shadow 0.2s ease, transform 0.2s ease;
        }

        input[type="email"]::placeholder,
        input[type="password"]::placeholder,
        input[type="text"]::placeholder {
            color: #9ca3af;
            font-style: italic;
        }

        .forgot-link {
            color: #99dfff;
            text-decoration: underline;
            font-size: 11px;
        }

        .register-banner {
            width: 100%;
            box-sizing: border-box;
            background:#001f33;
            color:#99dfff;
            padding:7px 15px;
            border-top:2px solid #33ccff;
            margin-bottom:18px;
            margin-top: -10px;
            font-size: 12px;
        }

        .register-banner span {
            color: #ffffff;
            font-size: 11px;
        }

        /* Bloc serveurs / état des univers */
        .servers-section-wrapper {
            margin-top: 10px;
            margin-bottom: 25px;
        }

        .servers-card {
            background: rgba(15, 23, 42, 0.95);
            padding: 14px 16px;
            border: 1px solid rgba(55, 65, 81, 0.9);
            font-size: 12px;
        }

        .servers-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 10px;
        }

        

        .servers-section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: #e5e7eb;
        }

        .servers-section-subtitle {
            font-size: 11px;
            color: #9ca3af;
            text-align: right;
        }

        @media (max-width: 900px) {
            .servers-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
            }
            .servers-section-subtitle {
                text-align: left;
            }

                /* On cache la ligne de titres globale sur mobile */
    .auth-title-row {
        display: none;
    }

    /* On affiche les titres juste au-dessus de chaque bloc */
    .auth-title-mobile {
        display: block;
        margin-bottom: 6px;
    }
        }

        .servers-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 10px;
            margin-top: 4px;
        }

        .server-pill {
            flex: 1 1 220px;
            padding: 8px 10px;
            background: #253046;
            border: 1px solid #000000ff;
            box-shadow: 0 0 6px #000;
        }

        .server-pill2 {
            flex: 1 1 220px;
            padding: 8px 10px;
            background: #354566;
            border: 1px solid #000000ff;
            box-shadow: 0 0 6px #000;
        }

        .server-pill-beta {
            border-color: #16a34a;
        }

        .server-pill-u1 {
            border-color: #fbbf24;
        }

        .server-pill-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;
        }

        .server-pill-title {
            font-size: 12px;
            margin-bottom: 3px;
            color: #e5e7eb;
        }

.server-pill-meta {
    font-size: 11px;
    color: #9ca3af;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

        .server-status {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .status-soon {
            color: #facc15;
        }

        .status-open {
            color: #4ade80;
        }

        .server-version-badge {

            border: 1px solid #22c55e;
            padding: 2px 8px;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #bbf7d0;
            white-space: nowrap;
        }

        .server-version-badge-soon {
            border-color: #97b126;
            color: #fef3c7;
        }

        .server-cta {
            margin-top: 8px;
        }

        .server-cta-link {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 4px;
            border: 1px solid #4ade80;
            font-size: 11px;
            text-decoration: none;
            color: #bbf7d0;
            background: rgba(22, 163, 74, 0.2);
        }

        .server-cta-link:hover {
            background: rgba(22, 163, 74, 0.35);
        }

        .server-cta-link-secondary {
            border-color: #38bdf8;
            color: #bfdbfe;
            background: rgba(37, 99, 235, 0.15);
        }

        .server-cta-link-secondary:hover {
            background: rgba(37, 99, 235, 0.3);
        }

        .servers-footer-note {
            margin-top: 10px;
            font-size: 11px;
            color: #9ca3af;
        }

        /* TABLE SERVEURS (nouvelle structure) */
        .servers-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin-top: 10px;
            font-size: 12px;
        }

        .servers-table .c {
            padding: 8px 10px;
            text-align: left;
        }

        .servers-table-row {
            /* par défaut : comportement normal de ligne de tableau */
        }

        .servers-table-cell {
            padding: 6px 6px 10px 0;
            vertical-align: top;
        }

        /* Responsive : serveurs + login/register en colonne sur mobile */
        @media (max-width: 900px) {
            /* Serveurs : les 2 blocs l'un sous l'autre */
            .servers-table-row {
                display: block;
            }

            .servers-table-row .servers-table-cell {
                display: block;
                width: 100%;
                padding-right: 0;
            }

            /* Login / Register : colonnes l'une sous l'autre */
            .auth-section-wrapper > table {
                border-spacing: 0;
            }

            .auth-section-wrapper > table > tbody > tr,
            .auth-section-wrapper > table > tbody > tr > td,
            .auth-section-wrapper > table > tbody > tr > th {
                display: block;
                width: 100% !important;
            }

            .auth-title-row {
                display: block;
            }

            .auth-title-row td {
                text-align: center;
                padding-top: 6px;
                padding-bottom: 6px;
            }
        }

        .hero-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #38bdf8;
    margin-bottom: 6px;
}


/* =========================================================
   PORTAL - Force Oxanium everywhere (override final)
   A coller TOUT EN BAS du CSS
========================================================= */
:root{
  --ogx-font: 'Oxanium', Tahoma, sans-serif;
}

html, body,
table, td, th,
p, a, div, span,
textarea, input, select, button,
label, small, strong, em, b, i,
h1, h2, h3, h4, h5, h6{
  font-family: var(--ogx-font) !important;
}




/* =========================================================
   OGX PORTAL V6 – final grid requested
   Remplace l'ancien bloc portal par celui-ci
========================================================= */

html {
  scroll-behavior: smooth;
}

body.portal-body {
  position: relative;
  overflow-x: hidden;
}

.portal-space {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.portal-space-grid,
.portal-space-glow {
  position: absolute;
  inset: 0;
}

.portal-space-grid {
  background:
    linear-gradient(rgba(88, 132, 189, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 132, 189, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.15) 45%, transparent 95%);
  animation: ogxPortalGridMove 20s linear infinite;
}

.portal-space-glow-a {
  background: radial-gradient(circle at center, rgba(40, 133, 255, 0.10), transparent 60%);
  width: 520px;
  height: 520px;
  top: 40px;
  right: 8%;
  filter: blur(32px);
  animation: ogxPortalFloat 10s ease-in-out infinite;
}

.portal-space-glow-b {
  background: radial-gradient(circle at center, rgba(0, 189, 255, 0.08), transparent 65%);
  width: 380px;
  height: 380px;
  bottom: -60px;
  left: 4%;
  filter: blur(36px);
  animation: ogxPortalFloat 14s ease-in-out infinite reverse;
}

@keyframes ogxPortalGridMove {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 72px, 0); }
}

@keyframes ogxPortalFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-14px) translateX(10px); }
}

.portal-topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 18px 0;
}

.portal-topbar {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border: 1px solid #415680;
  background: rgba(37, 48, 70, 0.88);
  box-shadow: 0 8px 18px rgba(0,0,0,.20);
  backdrop-filter: blur(4px);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.portal-brand img {
  width: 54px;
  height: auto;
  display: block;
}

.portal-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.portal-brand strong {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e6ebfb;
}

.portal-brand small {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8d8e8;
}

.portal-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.portal-nav a,
.portal-topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #415680;
  background: #344566;
  color: #E6EBFB;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 10px;
  text-decoration: none;
}

.portal-nav a:hover,
.portal-topbar-cta:hover {
  text-decoration: none;
  background: #415680;
  color: #fff;
}

.portal-topbar-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.portal-lang-form select {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 10px;
  text-transform: uppercase;
}

#content.portal-content {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  transform: none;
  width: min(1240px, calc(100% - 36px));
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 8px 0 70px;
  overflow: visible;
}

.portal-row {
  margin-bottom: 14px;
}

.portal-table {
}

.portal-table th {
  padding: 12px;
  vertical-align: top;
}

.portal-table-gap {
  margin-top: 14px;
}

.portal-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .85fr);
  gap: 14px;
  align-items: start;
}

.portal-row-triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.portal-col-left,
.portal-col-right {
  min-width: 0;
}

.portal-hero-message {
  text-align: center;
  padding: 6px 12px;
}

.portal-title {
  margin: 0 0 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #eef4ff;
}

.portal-subtitle {
  margin: 0 auto 15px;
  max-width: 960px;
  font-size: 14px;
  line-height: 1.7;
  color: #d5deef;
}

.portal-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
  border: 1px solid #415680;
  background: #344566;
  color: #e6ebfb;
}

.portal-btn:hover {
  text-decoration: none;
  color: #fff;
  background: #415680;
}

.portal-server-grid-left {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portal-server-card {
  padding: 10px;
  border: 1px solid #415680;
  background: rgba(37, 48, 70, 0.30);
  text-align: center;
}

.portal-server-card-name {
  font-size: 12px;
  font-weight: bold;
  color: #E6EBFB;
  margin-bottom: 4px;
}

.portal-server-card-desc {
  font-size: 10px;
  color: #c8d8e8;
  margin-bottom: 8px;
}

.portal-server-card-state {
  display: inline-block;
  min-width: 84px;
  padding: 4px 8px;
  border: 1px solid #415680;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
  background: #253046;
}

.portal-server-card-state.is-online {
  color: #9bffb3;
  border-color: #2e7d32;
}

.portal-server-card-state.is-live {
  color: #8fffbc;
  border-color: #16a34a;
}

.portal-server-card-state.is-research {
  color: #ffd66e;
  border-color: #b38b1d;
}

.portal-video-layout {
  display: grid;
  grid-template-columns: minmax(220px, .78fr) minmax(340px, 1.22fr);
  gap: 12px;
  text-align: left;
}

.portal-video-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #78cdff;
  margin-bottom: 8px;
}

.portal-video-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #eef4ff;
  margin-bottom: 10px;
}

.portal-video-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #d5deef;
}

.portal-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid #415680;
  background: #000;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,.16);
}

.portal-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.portal-auth-box {
  min-height: 515px;
  display: flex;
  flex-direction: column;
}

.portal-live-banner {
  border: 1px solid #415680;
  background: rgba(37, 48, 70, 0.30);
  padding: 12px;
  margin-bottom: 12px;
  text-align: center;
}

.portal-live-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #c8d8e8;
  margin-bottom: 6px;
}

.portal-live-countdown {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: .08em;
  color: #f2f6ff;
}

.portal-live-sub {
  margin-top: 6px;
  font-size: 11px;
  color: #8fffbc;
}

.portal-live-banner.is-live {
  border-color: #16a34a;
  box-shadow: inset 0 0 18px rgba(22,163,74,.12);
}

.portal-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.portal-auth-tab {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #415680;
  background: #344566;
  color: #dfe8f9;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 10px;
  cursor: pointer;
  font-family: 'Oxanium', Tahoma, sans-serif;
}

.portal-auth-tab.is-active {
  background: #415680;
  color: #fff;
}

.portal-auth-panels {
  position: relative;
  min-height: 360px;
}

.portal-auth-form-panel {
  display: none;
}

.portal-auth-form-panel.is-active {
  display: block;
}

.portal-field {
  margin-bottom: 11px;
  text-align: left;
}

.portal-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #c8d8e8;
}

.portal-field input[type="text"],
.portal-field input[type="email"],
.portal-field input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  padding: 9px 11px;
  font-size: 12px;
}

.portal-check-row {
  margin: 6px 0 12px;
  color: #E6EBFB;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
}

.portal-check-row label {
  color: #E6EBFB;
  font-size: 11px;
  line-height: 1.45;
}

.portal-check-row input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-right: 6px;
  vertical-align: middle;
}

.portal-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-form-actions-stack {
  flex-direction: column;
  align-items: stretch;
}

.portal-form-actions-stack input[type="submit"] {
  width: 100%;
}

.portal-text-link {
  color: #99dfff;
  text-decoration: underline;
  font-size: 11px;
  text-align: center;
}

.portal-text-link-accent {
  color: #8fffbc;
}

.portal-announcement-list,
.portal-briefing-list,
.portal-feature-list {
  text-align: left;
}

.portal-announcement-item + .portal-announcement-item,
.portal-briefing-item + .portal-briefing-item,
.portal-feature-item + .portal-feature-item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(160, 190, 230, .18);
}

.portal-announcement-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.portal-announcement-badge,
.portal-announcement-date {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.portal-announcement-badge {
  color: #8ed2ff;
}

.portal-announcement-date {
  color: #c8d8e8;
}

.portal-announcement-item h3 {
  margin: 0 0 7px;
  font-size: 14px;
  color: #eef4ff;
}

.portal-announcement-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #d5deef;
}

.portal-briefing-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.portal-briefing-item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid #415680;
  background: #253046;
  color: #eef4ff;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
}

.portal-briefing-item span {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: #d5deef;
}

.portal-feature-item span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #7fcfff;
  margin-bottom: 6px;
}

.portal-feature-item strong {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: #eef4ff;
  font-weight: normal;
}

/* CAROUSEL SCREENSHOTS */
.portal-carousel {
  --slides-per-view: 5;
  --carousel-gap: 10px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.portal-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.portal-carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.35s ease;
  will-change: transform;
}

.portal-carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #415680;
  background: #344566;
  color: #E6EBFB;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  font-family: inherit;
}

.portal-carousel-btn:hover:not(:disabled) {
  background: #415680;
}

.portal-carousel-btn:disabled {
  opacity: .45;
  cursor: default;
}

.portal-shot-card {
  flex: 0 0 calc((100% - (var(--carousel-gap) * 4)) / 5);
  min-width: 0;
  border: 1px solid #415680;
  background: rgba(37, 48, 70, 0.22);
  overflow: hidden;
}

.portal-shot-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1c2740;
  overflow: hidden;
}

.portal-shot-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.portal-shot-card:hover .portal-shot-media img {
  transform: scale(1.03);
}

.portal-shot-overlay {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #eef4ff;
  border: 1px solid #415680;
  background: rgba(37, 48, 70, 0.9);
}

.portal-shot-media.is-placeholder .portal-shot-overlay {
  top: 50%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
}

.portal-shot-copy {
  padding: 10px;
  text-align: left;
}

.portal-shot-copy strong {
  display: block;
  font-size: 12px;
  color: #eef4ff;
  margin-bottom: 6px;
}

.portal-shot-copy p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #d5deef;
}

.flash-messages {
  max-width: 100%;
  margin: 0 0 14px;
}

.flash-error,
.flash-success {
  box-shadow: 0 0 10px rgba(0,0,0,.16);
  border-radius: 0;
}

@media (max-width: 1180px) {
  .portal-row-main {
    grid-template-columns: 1fr;
  }

  .portal-row-triple {
    grid-template-columns: 1fr;
  }

  .portal-video-layout {
    grid-template-columns: 1fr;
  }

  .portal-carousel {
    --slides-per-view: 3;
  }

  .portal-shot-card {
    flex-basis: calc((100% - (var(--carousel-gap) * 2)) / 3);
  }

  .portal-auth-panels {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .portal-topbar-wrap {
    padding: 10px 10px 0;
  }

  .portal-topbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 10px;
  }

  .portal-brand {
    justify-content: center;
  }

  .portal-nav,
  .portal-topbar-tools {
    justify-content: center;
  }

  #content.portal-content {
    width: calc(100% - 20px);
    margin-top: 12px;
  }

  .portal-server-grid-left {
    grid-template-columns: 1fr;
  }

  .portal-carousel {
    --slides-per-view: 2;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .portal-shot-card {
    flex-basis: calc((100% - var(--carousel-gap)) / 2);
  }

  .portal-title {
    font-size: 24px;
  }

  .portal-subtitle {
    font-size: 13px;
  }

  .portal-live-countdown {
    font-size: 18px;
    letter-spacing: .06em;
  }
}

@media (max-width: 560px) {
  .portal-nav a,
  .portal-topbar-cta {
    width: 100%;
  }

  .portal-topbar-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-lang-form select {
    width: 100%;
  }

  .portal-btn {
    width: 100%;
  }

  .portal-carousel {
    --slides-per-view: 1;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .portal-shot-card {
    flex-basis: 100%;
  }
}


th.tech-futurist {
  background:
    linear-gradient(180deg, rgba(18,28,45,0.96) 0%, rgba(10,16,28,0.98) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(90,180,255,0.08) 0px,
      rgba(90,180,255,0.08) 1px,
      transparent 1px,
      transparent 14px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(90,180,255,0.04) 0px,
      rgba(90,180,255,0.04) 1px,
      transparent 1px,
      transparent 10px
    ),
    linear-gradient(
      135deg,
      rgba(0,255,255,0.08) 0%,
      transparent 35%,
      transparent 65%,
      rgba(0,140,255,0.10) 100%
    );
  color: #d9f6ff;
  border: 1px solid rgba(120,200,255,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 18px rgba(0,180,255,0.08),
    0 0 10px rgba(0,120,255,0.12);
  text-shadow: 0 0 6px rgba(120,220,255,0.35);
}

th.hero-title {
  position: relative;
  overflow: hidden;
  background:
    /* fines lignes décoratives haut gauche */
    linear-gradient(90deg, rgba(255,255,255,0.10) 0 90px, transparent 90px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 0 70px, transparent 70px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 0 50px, transparent 50px),

    /* angle technique bas gauche */
    linear-gradient(90deg, rgba(255,255,255,0.08) 0 34px, transparent 34px),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0 34px, transparent 34px),

    /* grille verticale */
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.035) 0px,
      rgba(255,255,255,0.035) 1px,
      transparent 1px,
      transparent 24px
    ),

    /* grille horizontale */
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.028) 0px,
      rgba(255,255,255,0.028) 1px,
      transparent 1px,
      transparent 24px
    ),

    /* micro texture */
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.010) 0px,
      rgba(255,255,255,0.010) 1px,
      transparent 1px,
      transparent 8px
    ),

    /* quelques lignes horizontales techniques */
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 22%,
      rgba(255,255,255,0.030) 22.2%,
      transparent 22.4%,
      transparent 67%,
      rgba(255,255,255,0.025) 67.2%,
      transparent 67.4%,
      transparent 100%
    ),

    /* lumière douce centrale */
    radial-gradient(
      circle at 50% 8%,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.03) 22%,
      transparent 40%
    ),

    /* voile sombre pour lisibilité */
    linear-gradient(
      180deg,
      rgba(9,16,28,0.42) 0%,
      rgba(9,16,28,0.55) 100%
    ),

    /* image de fond */
    url('https://juno.ogame.fun/images/media/walpaper/ogamewalp9.jpg');

  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat,
                     repeat, repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat;

  background-size:
    90px 1px,
    70px 1px,
    50px 1px,
    34px 1px,
    1px 34px,
    auto,
    auto,
    auto,
    100% 100%,
    100% 100%,
    cover;

  background-position:
    14px 16px,
    14px 24px,
    14px 32px,
    0 calc(100% - 42px),
    8px calc(100% - 42px),
    center center,
    center center,
    center center,
    center center,
    center center,
    center center;

  border: 1px solid rgba(160, 180, 210, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 0 24px rgba(255,255,255,0.03),
    0 0 14px rgba(0,0,0,0.16);

  color: #eef4fb;
  text-shadow: 0 1px 0 rgba(0,0,0,0.55);
}

.portal-server-card {
  position: relative;
  overflow: visible;
  padding-left: 34px;
}

.server-state-badge {
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 10px rgba(0,0,0,0.18);
  z-index: 5;
  pointer-events: none;
}

.server-state-icon {
  width: 18px;
  height: 18px;
}

.server-state-icon path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-server-card.is-online .server-state-badge {
  background: linear-gradient(180deg, rgba(140,255,190,0.16) 0%, rgba(28,190,98,0.90) 100%);
  border-color: rgba(120,255,180,0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 10px rgba(60,255,150,0.14);
}

.portal-server-card.is-online .server-state-icon path {
  stroke: #ecfff2;
}

.portal-server-card.is-unavailable .server-state-badge {
  background: linear-gradient(180deg, rgba(255,210,120,0.16) 0%, rgba(215,120,20,0.90) 100%);
  border-color: rgba(255,190,90,0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 10px rgba(255,165,70,0.14);
}

.portal-server-card.is-unavailable .server-state-icon path {
  stroke: #fff8ec;
}



/* ── Star Warp Canvas ─────────────────────────────────────── */
#ogxStarCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
