body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #161b22;
    color: #ffffff;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    background-color: #1e2329;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

h2 {
    color: #ffffff;
}

footer {
    background-color: #161b22;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* HEADER WRAPPER */
.trp-header {
    background: linear-gradient(to bottom, #0b0b17, #0a0a14 90%);
    border-bottom: 3px solid rgba(255, 0, 180, 0.75);
    box-shadow: 0 0 18px rgba(255, 0, 200, 0.3);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0;                /* Remove extra height */
}

/* INNER GRID */
.trp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;    /* Smaller height */
    display: grid;
    grid-template-columns: auto auto auto auto;
    column-gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* LOGO – FLOAT ABOVE HEADER */
.trp-logo {
    width: 115px;
    height: auto;
    object-fit: contain;

    /* Pull logo upward */
    margin-top: 0px;
    margin-left: 10px;
    margin-right: 10px;

    /* Glow */
    filter: drop-shadow(0 0 14px rgba(255, 0, 160, 0.9));
}

/* BRAND WRAPPER */
.trp-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* NAVIGATION (no spacing under header) */
.trp-nav {
    display: flex;
    gap: 0.5rem;
}

.trp-nav-left {
    justify-self: end;
}

.trp-nav-right {
    justify-self: start;
}

.trp-menu-toggle {
    display: none; /* Keep hamburger hidden on desktop */
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* NAV LINKS */
.trp-nav-link {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #151520;
    color: #e5e7eb;
    border: 1px solid transparent;
    transition: 0.15s ease;
}

.trp-nav-link-blue {
    border-color: rgb(60, 130, 255);
}
.trp-nav-link-blue:hover {
    background: #1c244b;
}

.trp-nav-link-green {
    border-color: rgb(40, 255, 175);
}
.trp-nav-link-green:hover {
    background: #163d31;
}

/* AUTH */
.trp-auth {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-self: end;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.trp-auth .discord-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #151520;
    border: 1px solid #5865f2;
    box-shadow: 0 0 12px rgba(88,101,242,0.6);
    color: #e5e7eb;
    cursor: pointer;
    transition: 0.15s ease;
}

.trp-auth .discord-icon:hover {
    background: #1c1f3b;
    box-shadow: 0 0 18px rgba(88,101,242,0.9);
    transform: translateY(-1px);
}

.trp-auth .discord-icon img {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.user-info,
.trp-auth #login-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #151520;
    color: #e5e7eb;
    border: 1px solid rgba(0, 173, 238, 0.5);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    cursor: pointer;
    transition: 0.15s ease;
}

.user-info {
    border-color: rgba(229, 231, 235, 0.3);
}

.user-info:hover,
.trp-auth #login-btn:hover {
    background: #0c2430;
    box-shadow: 0 0 16px rgba(0,173,238,0.8);
    transform: translateY(-1px);
}

.user-info img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    background: #151520;
    border: 1px solid rgba(229, 231, 235, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.55);
    z-index: 1000;
    min-width: 140px;
    overflow: hidden;
}

.dropdown-content a {
    display: block;
    padding: 0.65rem 1rem;
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.dropdown-content a:hover {
    background-color: #1f2430;
}

/* MOBILE */
@media (max-width: 900px) {
    .trp-header-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        text-align: center;
    }
    .trp-menu-toggle {
        display: flex;
        margin-left: auto;
        margin-bottom: 0.5rem;
    }
    .trp-nav {
        justify-content: center;
        flex-wrap: wrap;
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .trp-nav-left,
    .trp-nav-right {
        justify-self: center;
    }
    .trp-logo {
        margin-top: -30px;
        width: 90px;
    }
    .trp-auth {
        justify-self: center;
        display: none;
    }
    .nav-open .trp-nav {
        display: flex;
    }
    .nav-open .trp-auth {
        display: flex;
    }
}
/* HOME PAGE */
:root {
    --bg-dark: #161b22;
    --panel: #141923;
    --border-soft: rgba(255, 255, 255, 0.07);
    --accent: #ff0d8b;
    --accent-alt: #10b2aa;
    --text-soft: #9ca3af;
    --discord: #5865f2;
}

* {
    box-sizing: border-box;
}

.homepage {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero {
    background: radial-gradient(circle at top right, rgba(255, 13, 139, 0.4), transparent 55%), #0f111b;
    border-radius: 32px;
    padding: 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--text-soft);
    margin: 0 0 0.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-lead {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 12px 30px rgba(255, 13, 139, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 13, 139, 0.4);
}

.btn-discord {
    background: var(--discord);
    color: white;
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.3);
}
.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(88, 101, 242, 0.5);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-meters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.meter {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.meter .value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.meter .label {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-card {
    background: var(--panel);
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.status-card[data-state="online"] {
    border-color: rgba(43, 245, 198, 0.6);
    box-shadow: 0 25px 55px rgba(43, 245, 198, 0.25);
}

.status-card[data-state="offline"] {
    border-color: rgba(255, 122, 181, 0.5);
}

.status-main {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.status-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-soft);
    margin: 0;
}

.status-name {
    font-size: 1.3rem;
    margin: 0;
}

.status-state {
    margin: 0;
    font-weight: 600;
}

.status-card[data-state="online"] .status-state {
    color: #2bf5c6;
}

.status-card[data-state="offline"] .status-state {
    color: #ff7ab5;
}

.status-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.status-players {
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.status-players small {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-left: 0.75rem;
}

.status-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-refresh {
    padding: 0.45rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: white;
    cursor: pointer;
}
.status-refresh:hover {
    border-color: white;
}

.status-play {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.4rem;
    border-radius: 999px;
    background: var(--accent-alt);
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 12px 25px rgba(16, 178, 170, 0.35);
}
.status-play:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(16, 178, 170, 0.4);
}

.info-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.info-card {
    background: var(--panel);
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    padding: 1.25rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.info-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-soft);
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.info-card h3 {
    margin: 0 0 0.5rem;
}

.info-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.feature-grid {
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #11131c;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    color: var(--text-soft);
}

.feature-card ul li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.35rem;
}

.feature-card ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.55rem;
}

.story {
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 1.5rem;
}

.story-panel {
    background: #11131c;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.story-panel h2 {
    margin-top: 0;
}

.story-list {
    margin: 1.25rem 0 0;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}

.story-panel.callout {
    background: radial-gradient(circle at top left, rgba(16, 178, 170, 0.35), rgba(16, 17, 27, 0.95));
}

.callout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .hero,
    .story {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 2rem;
    }
    .hero-meters {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 1.75rem;
        border-radius: 24px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-meters {
        grid-template-columns: 1fr;
    }
    .callout-actions {
        flex-direction: column;
    }
}

/* CAD */
.cad-viewport {
    background: #0d1117;
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cad-header {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
}

.cad-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cad-title {
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cad-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.cad-nav {
    display: flex;
    gap: 0.5rem;
}

.cad-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-weight: 600;
}

.cad-nav-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.cad-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.cad-search {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    min-width: 240px;
}

.cad-create {
    background: #19c174;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
}

.cad-board {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cad-carousel {
    background: #10151f;
    border-radius: 20px;
    padding: 1rem 1.25rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cad-carousel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.carousel-controls button {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.cad-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    min-width: 260px;
}

.cad-card .avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.badge,
.badge-critical,
.badge-muted {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-critical {
    border-color: rgba(255, 77, 109, 0.8);
    color: #ff4d6d;
}

.badge-muted {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

.cad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.cad-panel {
    background: #10151f;
    border-radius: 20px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cad-panel header .label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
}

.cad-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cad-list li {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.85rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.cad-list-compact li {
    align-items: flex-start;
}

.cad-viewport.cad-viewport-ingame .cad-header {
    display: none;
}

/* PROFILE PAGE */
.profile-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 1.5rem;
    background: #0f111b;
    border-radius: 32px;
    padding: 2.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

.hero-copy h1 {
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-copy p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.character-select label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-bottom: 0.6rem;
}

.character-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.character-tile {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.character-tile.active {
    border-color: var(--accent);
    background: rgba(255, 13, 139, 0.08);
}

.character-tile .name {
    display: block;
    font-weight: 600;
}

.character-tile .meta {
    display: block;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.profile-card {
    background: #11131c;
    border-radius: 28px;
    border: 1px solid var(--border-soft);
    padding: 2rem;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(255, 13, 139, 0.3), rgba(15, 17, 27, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo .badge {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.profile-status-inline {
    margin-top: 0.5rem;
}

.profile-details .label {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-soft);
}

.profile-details .value {
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.value-tag {
    color: #2bf5c6;
}

.license-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.license-list li {
    padding-left: 1.1rem;
    position: relative;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.license-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.profile-panel {
    background: #11131c;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.profile-panel header .label {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--text-soft);
}

.profile-panel header h2 {
    margin: 0.25rem 0 1rem;
}

.record-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.record-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.record-list h4 {
    margin: 0 0 0.3rem;
}

.record-list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.record-list .tag {
    align-self: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.record-list .tag.green {
    border-color: rgba(43, 245, 198, 0.6);
    color: #2bf5c6;
}

.record-list .tag.red {
    border-color: rgba(255, 119, 119, 0.7);
    color: #ff7777;
}

.record-list .tag.amber {
    border-color: rgba(255, 186, 99, 0.7);
    color: #ffba63;
}

.citation-item {
    align-items: center;
}

.citation-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.record-action {
    padding: 0.35rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.record-action:hover {
    border-color: white;
}

.record-list.empty li {
    justify-content: flex-start;
}

.profile-span-2 {
    grid-column: span 2;
}

@media (max-width: 720px) {
    .profile-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {
    .profile-hero {
        grid-template-columns: 1fr;
    }
    .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .profile-photo {
        margin: 0 auto;
    }
}
.jobs-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.jobs-hero {
    background: #10151f;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.job-card {
    background: #11131c;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.job-card ul {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.75);
}

.job-card ul li {
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.35rem;
}

.job-card ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.55rem;
}

.job-card.public {
    background: rgba(255, 255, 255, 0.02);
}

.laws-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.laws-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
}

.laws-index {
    background: #10151f;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    position: sticky;
    top: 1rem;
    align-self: start;
}

.laws-index .index-title {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.laws-index nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.laws-index a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.35rem 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.laws-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.law-section {
    background: #10151f;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.requirements {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.requirements li {
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.35rem;
}

.requirements li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.55rem;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rules-list li {
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 720px) {
    .laws-layout {
        grid-template-columns: 1fr;
    }
    .laws-index {
        position: static;
    }
}

.trp-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    display: block;
}
