* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 80, 255, 0.22), transparent 35%),
        radial-gradient(circle at top right, rgba(255, 0, 0, 0.22), transparent 35%),
        #050505;
    color: white;
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 32px;
    background: rgba(5, 5, 5, 0.82);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(12px);
    z-index: 10;
}

.brand {
    color: #d4af37;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 22px;
}

nav {
    display: flex;
    gap: 18px;
    flex: 1;
    justify-content: center;
    color: #ddd;
    font-size: 14px;
}

nav a:hover,
.login:hover {
    color: #d4af37;
}

.login {
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 999px;
    padding: 10px 18px;
    color: #d4af37;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 40px 40px;
    text-align: center;
}

.badge {
    color: #d4af37;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(48px, 8vw, 112px);
    margin: 0;
    text-transform: uppercase;
    color: #f5f5f5;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.tagline {
    font-size: 24px;
    color: #d4af37;
    margin: 16px 0 42px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    gap: 18px;
    width: min(1100px, 100%);
}

.tile {
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(10, 10, 10, 0.78);
    border-radius: 16px;
    padding: 24px 16px;
    font-weight: bold;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tile:hover {
    transform: translateY(-4px);
    border-color: #d4af37;
    box-shadow: 0 0 36px rgba(212, 175, 55, 0.22);
}

.tile.prediction:hover { box-shadow: 0 0 36px rgba(212, 175, 55, 0.32); }
.tile.wsx:hover { box-shadow: 0 0 36px rgba(0, 255, 128, 0.22); }
.tile.eternal:hover { box-shadow: 0 0 36px rgba(160, 80, 255, 0.25); }
.tile.avatus:hover { box-shadow: 0 0 36px rgba(180, 80, 255, 0.3); }
.tile.news:hover { box-shadow: 0 0 36px rgba(255, 60, 60, 0.22); }

.page {
    min-height: 100vh;
    padding: 140px 48px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.page h1 {
    font-size: clamp(42px, 7vw, 86px);
    margin-bottom: 20px;
}

.page p {
    color: #ccc;
    font-size: 22px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .topbar {
        position: static;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    nav {
        flex-wrap: wrap;
    }

    .tiles {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 60px;
    }
}

.hero-with-logo {
    gap: 18px;
}

.hero-logo {
    width: min(520px, 88vw);
    height: auto;
    filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.35));
}

.home-shell {
    min-height: 100vh;
}

.hero-home {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 44px;
    text-align: left;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow {
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: bold;
}

.hero-home h2 {
    font-size: clamp(36px, 5vw, 72px);
    margin: 18px 0 10px;
    text-transform: uppercase;
}

.hero-text {
    color: #ddd;
    font-size: 22px;
    line-height: 1.5;
    max-width: 760px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.btn {
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn.primary {
    background: #d4af37;
    color: #050505;
}

.btn.secondary {
    border: 1px solid rgba(212, 175, 55, 0.65);
    color: #d4af37;
}

.avatus-card {
    align-self: center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: linear-gradient(180deg, rgba(25, 10, 35, 0.88), rgba(5, 5, 5, 0.88));
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 0 55px rgba(120, 60, 255, 0.22);
}

.avatus-card img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(160, 80, 255, 0.35));
}

.avatus-card h3 {
    color: #d4af37;
    font-size: 28px;
    margin: 10px 0 4px;
}

.avatus-card p {
    color: #ddd;
    margin: 0;
}

.feature-grid {
    width: min(1200px, 100%);
    margin: -40px auto 80px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(10, 10, 10, 0.84);
    border-radius: 22px;
    padding: 26px;
    min-height: 220px;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #d4af37;
}

.feature-card span {
    font-size: 38px;
}

.feature-card h3 {
    font-size: 26px;
    margin: 16px 0 10px;
}

.feature-card p {
    color: #ccc;
    line-height: 1.45;
    margin: 0;
}

.feature-card.prediction:hover { box-shadow: 0 0 36px rgba(212, 175, 55, 0.32); }
.feature-card.wsx:hover { box-shadow: 0 0 36px rgba(0, 255, 128, 0.22); }
.feature-card.eternal:hover { box-shadow: 0 0 36px rgba(160, 80, 255, 0.25); }
.feature-card.shows:hover { box-shadow: 0 0 36px rgba(255, 60, 60, 0.22); }

@media (max-width: 950px) {
    .hero-home {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy {
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
}

.hero-copy,
.avatus-card,
.feature-card {
    animation: riseIn 700ms ease both;
}

.avatus-card {
    animation-delay: 180ms;
}

.feature-card:nth-child(1) { animation-delay: 120ms; }
.feature-card:nth-child(2) { animation-delay: 200ms; }
.feature-card:nth-child(3) { animation-delay: 280ms; }
.feature-card:nth-child(4) { animation-delay: 360ms; }

.hero-logo {
    animation: logoGlow 4s ease-in-out infinite;
}

.feature-card,
.avatus-card,
.topbar {
    backdrop-filter: blur(14px);
}

.feature-card {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.06), transparent 35%),
        rgba(10, 10, 10, 0.84);
}

.btn {
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.primary:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.35);
}

.btn.secondary:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.18);
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.28));
    }
    50% {
        filter: drop-shadow(0 0 46px rgba(212, 175, 55, 0.5));
    }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 18px;
    margin: 34px 0;
}

.stat-card,
.panel {
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(10, 10, 10, 0.82);
    border-radius: 22px;
    padding: 24px;
    backdrop-filter: blur(14px);
}

.stat-card span {
    font-size: 34px;
}

.stat-card h3 {
    color: #d4af37;
    margin: 12px 0 8px;
}

.stat-card p {
    font-size: 34px;
    font-weight: 900;
    margin: 0;
}

.panel h2 {
    color: #d4af37;
    font-size: 34px;
    margin-top: 0;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.achievement-list strong {
    color: white;
    font-size: 20px;
}

.achievement-list span {
    color: #ccc;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dev-login-form {
    margin-top: 32px;
    display: grid;
    gap: 16px;
    max-width: 520px;
}

.dev-login-form label {
    color: #d4af37;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dev-login-form input {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(10, 10, 10, 0.88);
    color: white;
    border-radius: 14px;
    padding: 16px;
    font-size: 18px;
}

.dev-login-form input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
}

.caretaker-panel{
    margin-top:32px;
}

.caretaker-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:20px;
}

.caretaker-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    border:3px solid #d4af37;
    object-fit:cover;
    box-shadow:0 0 24px rgba(212,175,55,.25);
}

.caretaker-title{
    color:#caa85f;
    margin-top:4px;
    font-size:.95rem;
    letter-spacing:1px;
}

.caretaker-message{
    font-size:1.15rem;
    line-height:1.8;
    color:#dddddd;
    border-left:4px solid #d4af37;
    padding-left:20px;
    font-style:italic;
}

.caretaker-panel img.caretaker-avatar {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    flex: 0 0 76px;
}

.universe-status {
    width: min(1200px, 100%);
    margin: 0 auto 90px;
    padding: 0 40px;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 52px);
    margin: 6px 0 0;
    text-transform: uppercase;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 16px;
}

.status-card {
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(10, 10, 10, 0.82);
    border-radius: 20px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.status-card h3 {
    margin: 18px 0 8px;
    font-size: 20px;
}

.status-card p {
    color: #d4af37;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.status-dot {
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.55);
}

.status-online .status-dot {
    background: #4dff88;
    box-shadow: 0 0 18px rgba(77, 255, 136, 0.6);
}

.status-ready .status-dot {
    background: #d4af37;
}

.status-development .status-dot {
    background: #9b6cff;
    box-shadow: 0 0 18px rgba(155, 108, 255, 0.6);
}

@media (max-width: 950px) {
    .status-grid {
        grid-template-columns: 1fr;
    }
}

.live-wire{
    width:100%;
    overflow:hidden;
    background:#111;
    border-top:1px solid rgba(212,175,55,.25);
    border-bottom:1px solid rgba(212,175,55,.25);
    white-space:nowrap;
}

.live-wire-track{
    display:inline-block;
    padding:10px 0;
    animation:livewire 55s linear infinite;
}

.live-wire-track span{
    color:#ddd;
    margin-right:60px;
    font-size:.95rem;
    letter-spacing:.5px;
}

.live-wire-track span:first-child{
    color:#ffcf57;
    font-weight:700;
}

@keyframes livewire{

    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(-50%);
    }

}

.live-wire {
    display: block !important;
    position: sticky !important;
    top: 64px !important;
    z-index: 9998 !important;
    min-height: 42px !important;
    line-height: 22px !important;
    background: #1a0000 !important;
}

.live-wire-track {
    display: inline-flex !important;
    align-items: center !important;
    min-width: max-content !important;
}

.live-wire-track span {
    display: inline-block !important;
}

.wire-stack {
    position: sticky;
    top: 64px;
    z-index: 9998;
}

.wire-stack .live-wire {
    position: relative !important;
    top: auto !important;
    min-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    background: #100 !important;
}

.news-wire {
    border-top: 1px solid rgba(212,175,55,.35);
    border-bottom: 1px solid rgba(212,175,55,.18);
}

.wrestlestop-wire {
    background: #060606 !important;
    border-bottom: 1px solid rgba(212,175,55,.35);
}

.wire-label {
    flex: 0 0 auto;
    height: 100%;
    padding: 10px 14px;
    background: #d4af37;
    color: #050505;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: .78rem;
    z-index: 2;
}

.wrestlestop-wire .wire-label {
    background: #7c3cff;
    color: white;
}

.wire-stack .live-wire-track {
    padding: 8px 0 !important;
}

.live-wire-track.reverse {
    animation-direction: reverse;
}

.xp-panel {
    margin: 28px 0;
}

.xp-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #d4af37;
    font-weight: 900;
    margin-bottom: 12px;
}

.xp-bar {
    width: 100%;
    height: 18px;
    background: rgba(255,255,255,0.10);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.35);
}

.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3cff, #d4af37);
    border-radius: 999px;
}

.portal-wide {
    max-width: 1500px;
    width: min(1500px, calc(100vw - 48px));
    margin: 0 auto;
}

.portal-wide .dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.portal-wide .dashboard-layout > div:first-child {
    min-width: 0;
}

.portal-wide .sidebar-card {
    position: sticky;
    top: 90px;
    align-self: start;
}

@media (max-width: 1000px) {
    .portal-wide {
        width: min(100%, calc(100vw - 28px));
    }

    .portal-wide .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .portal-wide .sidebar-card {
        position: static;
    }
}

.xp-widget {
    margin: 14px 0;
}

.xp-widget-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #f2c84b;
    margin-bottom: 8px;
}

.xp-bar {
    height: 12px;
    border: 1px solid rgba(242, 200, 75, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.65);
}

.xp-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #9b6b16, #f2c84b, #fff0a8);
    box-shadow: 0 0 12px rgba(242, 200, 75, 0.45);
}

.xp-next {
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.82;
}
.identity-card{
    text-align:center;
    margin-bottom:18px;
}

.identity-avatar{
    width:96px;
    height:96px;
    margin:0 auto 14px;
    border-radius:50%;
    overflow:hidden;
    border:3px solid #d4af37;
    box-shadow:0 0 18px rgba(212,175,55,.35);
}

.identity-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.identity-title{
    color:#d4af37;
    font-weight:700;
    margin-top:6px;
}

.chronicle-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.chronicle-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
}

.chronicle-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(242, 200, 75, .12);
    border: 1px solid rgba(242, 200, 75, .25);
    font-size: 1.25rem;
}

.chronicle-body {
    display: grid;
    gap: 4px;
}

.chronicle-body span {
    opacity: .86;
}

.chronicle-body small {
    opacity: .62;
    font-size: .78rem;
}

.stat-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:16px;
    margin:18px 0;
}

.stat-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:18px;
    text-align:center;
    transition:.2s;
}

.stat-card:hover{
    transform:translateY(-3px);
    border-color:#d4af37;
    box-shadow:0 8px 20px rgba(212,175,55,.15);
}

.stat-value{
    font-size:2rem;
    font-weight:800;
    color:#f2c84b;
}

.stat-title{
    margin-top:8px;
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    opacity:.72;
}

.stat-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:16px;
    margin:18px 0;
}

.stat-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:18px;
    text-align:center;
    transition:.2s;
}

.stat-card:hover{
    transform:translateY(-3px);
    border-color:#d4af37;
    box-shadow:0 8px 20px rgba(212,175,55,.15);
}

.stat-value,
.stat-number{
    font-size:2rem;
    font-weight:800;
    color:#f2c84b;
}

.stat-title,
.stat-label{
    margin-top:8px;
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    opacity:.72;
}

.panel{
    background:linear-gradient(
        180deg,
        rgba(42,42,46,.95),
        rgba(26,26,30,.96)
    );

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:24px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.45),
        inset 0 1px rgba(255,255,255,.05);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.panel:hover{

    transform:translateY(-2px);

    border-color:rgba(242,200,75,.25);

    box-shadow:
        0 18px 40px rgba(0,0,0,.55),
        0 0 18px rgba(242,200,75,.08);
}

.panel h2{

    margin-top:0;

    color:#f2c84b;

    letter-spacing:.04em;
}


a{

    transition:.15s;
}

.button,
button{

    background:#d4af37;

    color:#111;

    border:none;

    border-radius:12px;

    padding:10px 18px;

    font-weight:700;

    cursor:pointer;

    transition:.15s;
}

.button:hover,
button:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(212,175,55,.35);
}


.module-header {
    position: relative;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(242,200,75,.16), rgba(255,255,255,.04)),
        linear-gradient(180deg, rgba(42,42,46,.95), rgba(18,18,22,.98));
    border: 1px solid rgba(242,200,75,.22);
    box-shadow:
        0 18px 44px rgba(0,0,0,.5),
        inset 0 1px rgba(255,255,255,.06);
    overflow: hidden;
}

.module-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(242,200,75,.18), transparent 38%);
    pointer-events: none;
}

.module-header h1 {
    position: relative;
    margin: 6px 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: .02em;
}

.module-header p {
    position: relative;
    max-width: 760px;
}

.module-header .eyebrow {
    color: #f2c84b;
}

.prediction-module {
    border-color: rgba(242,200,75,.28);
}
