@import url('/static/css/components/typography.css');
@import url('/static/css/components/buttons.css');
@import url('/static/css/components/ui.css');

/* === FONTS === */
@font-face {
    font-family: 'IBM VGA';
    src: url('/static/fonts/ibm_vga_8x16.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', 'Arial Black', Helvetica, sans-serif;
    line-height: 1.4;
    background-color: #1a0a2e;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(128, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%23ffffff' stroke-width='0.5' opacity='0.03'/%3E%3C/svg%3E");
    color: #ffffff;
    min-width: 1024px;
}

:root {
    --theme-accent: #00ffff;
    --theme-accent-light: #7ff7ff;
    --theme-accent-dark: #006666;
    --action-bar-bg-top: #2a2a3e;
    --action-bar-bg-bottom: #1a1a2e;
    --action-bar-border: #444;
    --action-btn-bg-top: #6b6b8a;
    --action-btn-bg-bottom: #3d3d56;
    --action-btn-border: #8f90b4;
    --action-btn-text: #f5e4a5;
}

body.theme-home {
    --theme-accent: #7f5bff;
    --theme-accent-light: #c1a8ff;
    --theme-accent-dark: #3a1c6b;
    --action-bar-bg-top: #2c1844;
    --action-bar-bg-bottom: #160b2a;
    --action-bar-border: #7a5aa6;
    --action-btn-bg-top: #6b56b3;
    --action-btn-bg-bottom: #3a1c6b;
    --action-btn-border: #a38be6;
    --action-btn-text: #f4ecff;
}

body.theme-channel6 {
    --theme-accent: #ff4d4d;
    --theme-accent-light: #ff9b9b;
    --theme-accent-dark: #7a0014;
    --action-bar-bg-top: #7a0014;
    --action-bar-bg-bottom: #3b000a;
    --action-bar-border: #ff4d4d;
    --action-btn-bg-top: #ff7a7a;
    --action-btn-bg-bottom: #c62828;
    --action-btn-border: #ffb1b1;
    --action-btn-text: #2b0d0d;
}

body.theme-blargh {
    --theme-accent: #ffb066;
    --theme-accent-light: #ffd3a3;
    --theme-accent-dark: #c45a00;
    --action-bar-bg-top: #c45a00;
    --action-bar-bg-bottom: #7a2f00;
    --action-bar-border: #ffb066;
    --action-btn-bg-top: #ffbd5b;
    --action-btn-bg-bottom: #ff8f5f;
    --action-btn-border: #ffcc6f;
    --action-btn-text: #361b1c;
}

body.theme-feedback {
    --theme-accent: #ffe27a;
    --theme-accent-light: #fff0b0;
    --theme-accent-dark: #d9b300;
    --action-bar-bg-top: #d9b300;
    --action-bar-bg-bottom: #806600;
    --action-bar-border: #ffe27a;
    --action-btn-bg-top: #ffe27a;
    --action-btn-bg-bottom: #c49a00;
    --action-btn-border: #fff1b7;
    --action-btn-text: #2b1d00;
}

body.theme-photomat {
    --theme-accent: #7ed7b1;
    --theme-accent-light: #b5f0d7;
    --theme-accent-dark: #2f6f5b;
    --action-bar-bg-top: #2f6f5b;
    --action-bar-bg-bottom: #1f4d3d;
    --action-bar-border: #7ed7b1;
    --action-btn-bg-top: #79d1a8;
    --action-btn-bg-bottom: #2f6f5b;
    --action-btn-border: #b0f0cc;
    --action-btn-text: #0b2018;
}

body.theme-doogie {
    --theme-accent: #66ccff;
    --theme-accent-light: #b7e8ff;
    --theme-accent-dark: #001f66;
    --action-bar-bg-top: #001f66;
    --action-bar-bg-bottom: #000c33;
    --action-bar-border: #66ccff;
    --action-btn-bg-top: #69b4ff;
    --action-btn-bg-bottom: #274c9c;
    --action-btn-border: #a9d8ff;
    --action-btn-text: #0b132a;
}

body.theme-guide {
    --theme-accent: #7a5aa6;
    --theme-accent-light: #c9b3f2;
    --theme-accent-dark: #2c1844;
    --action-bar-bg-top: #2c1844;
    --action-bar-bg-bottom: #160b2a;
    --action-bar-border: #7a5aa6;
    --action-btn-bg-top: #7b5fae;
    --action-btn-bg-bottom: #3d235e;
    --action-btn-border: #b59de6;
    --action-btn-text: #efe7ff;
}

body.theme-yoohoo {
    --theme-accent: #b98cff;
    --theme-accent-light: #e0c7ff;
    --theme-accent-dark: #5a2ca8;
    --action-bar-bg-top: #5a2ca8;
    --action-bar-bg-bottom: #3a1c6b;
    --action-bar-border: #b98cff;
    --action-btn-bg-top: #b98cff;
    --action-btn-bg-bottom: #6d3ac2;
    --action-btn-border: #ddc3ff;
    --action-btn-text: #2a0c4a;
}

body.theme-lister {
    --theme-accent: #1a8f8f;
    --theme-accent-light: #7fe0e0;
    --theme-accent-dark: #0a4f4f;
    --action-bar-bg-top: #0a4f4f;
    --action-bar-bg-bottom: #062e2e;
    --action-bar-border: #1a8f8f;
    --action-btn-bg-top: #4fb3b3;
    --action-btn-bg-bottom: #1a8f8f;
    --action-btn-border: #7fe0e0;
    --action-btn-text: #0a1b1b;
}

a {
    color: #00ffff;
    text-decoration: none;
}

a:hover {
    color: #ff00ff;
    text-decoration: underline;
}

.main-nav .btn-nav:hover,
.main-nav .btn-nav:focus-visible {
    filter: brightness(1.3);
    text-decoration: none;
}

.main-nav .btn-nav.active {
    filter: brightness(1.15);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* === LAYOUT CONTAINER === */
.page-wrapper {
    width: 960px;
    margin: 0 auto;
    background: linear-gradient(180deg, #0d0221 0%, #1a0a2e 100%);
    border-left: 4px solid #ff6600;
    border-right: 4px solid #ff6600;
    box-shadow: 0 0 40px rgba(255, 102, 0, 0.3);
}

/* === HEADER === */
.header {
    background: linear-gradient(180deg, #000000 0%, #1a0a2e 100%);
    padding: 16px;
    border-bottom: 4px solid #ffcc00;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: inline-block;
}

.logo-image {
    height: 84px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.5));
}

.logo-text {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: #ffcc00;
    text-shadow:
        3px 3px 0px #ff6600,
        6px 6px 0px #cc0000,
        0 0 20px rgba(255, 204, 0, 0.5);
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
}

.header-auth {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    align-self: stretch;
}

.auth-widget {
    display: grid;
    align-items: center;
    gap: 2px 6px;
    color: #e8e8e8;
}

.auth-login {
    grid-template-columns: 1fr;
    background: none;
    border: none;
    padding: 6px 8px;
    height: 72px;
    width: 180px;
    row-gap: 4px;
}

.auth-label {
    font-family: 'Arial Black', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    color: #ffcc00;
}

.auth-login input {
    background: #000;
    border: 2px inset #333;
    color: #00ff00;
    padding: 0 6px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    height: 16px;
}

.auth-login-btn {
    width: 100%;
    height: 18px;
    padding: 0;
    min-width: 0;
    border: 2px outset #2a2a3e;
    border-radius: 2px;
    background: linear-gradient(180deg, #2b2b3f 0%, #1a1a2e 100%);
    color: #ffcc00;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.auth-login-btn:hover,
.auth-login-btn:focus-visible {
    border-style: inset;
    color: var(--theme-accent-light);
    filter: none;
}

.auth-logged-in {
    grid-template-columns: auto auto;
    background: none;
    border: none;
    padding: 0;
    gap: 6px 10px;
    height: 72px;
}

.auth-avatar-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2px 4px;
}

.auth-avatar {
    width: 64px;
    height: 64px;
    border: 2px solid #00ffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

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

.auth-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-name {
    color: #00ffff;
    font-family: 'Arial Black', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    padding: 2px 6px 2px 0;
}

.auth-link {
    color: #ffcc00;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 2px outset #2a2a3e;
    background: linear-gradient(180deg, #2b2b3f 0%, #1a1a2e 100%);
    color: #ffcc00;
}

.auth-btn:hover {
    border-style: inset;
    color: var(--theme-accent-light);
}

.auth-link:hover {
    color: var(--theme-accent-light);
    text-decoration: underline;
}

.tagline {
    color: #00ffff;
    font-style: italic;
    margin-top: 5px;
}

/* === NAVIGATION === */
.main-nav {
    background: linear-gradient(180deg, #330066 0%, #220044 100%);
    padding: 6px 12px;
    border-bottom: 3px solid #00ffff;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

/* === MAIN CONTENT AREA === */
.main-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 600px;
}

/* === SIDEBAR === */
.sidebar {
    background: linear-gradient(180deg, #1a0033 0%, #0d001a 100%);
    border-right: 3px solid #ff6600;
    padding: 15px;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-header {
    background: linear-gradient(90deg, #ff6600 0%, #cc3300 100%);
    color: #ffffff;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    padding: 6px 10px;
    margin-bottom: 10px;
    border: 2px outset #ff9933;
    text-shadow: 1px 1px 1px #000000;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 8px;
}

.sidebar-links a {
    color: #ffcc00;
    display: block;
    padding: 4px 8px;
    border-left: 3px solid transparent;
}

.sidebar-links a:hover {
    border-left-color: var(--theme-accent);
    background: rgba(255, 255, 255, 0.05);
    color: var(--theme-accent-light);
    text-decoration: none;
}

.sidebar-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 10px;
    border: 2px solid #333;
    background: rgba(0, 0, 0, 0.25);
}

/* === FOCUS MODE === */
body.focus-mode .header,
body.focus-mode .main-nav,
body.focus-mode .sidebar,
body.focus-mode .footer {
    display: none;
}

body.focus-mode .main-content {
    display: block;
}

body.focus-mode .content-area {
    padding: 20px;
    width: 100%;
}

body.focus-mode .content-actions-bar {
    display: none;
}

.focus-exit {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 2000;
}

body.focus-mode .focus-exit {
    display: inline-flex !important;
}

.mascot-container {
    margin-top: 20px;
    text-align: left;
    padding: 0;
    background: none;
    border: none;
}

.mascot-image {
    max-width: 100%;
    height: auto;
    filter: contrast(1.1) saturate(1.2);
    display: block;
    margin: 0 auto;
}

.mascot-title {
    font-family: 'Arial Black', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 1px 1px 1px #000000;
    background: linear-gradient(90deg, #ff6600 0%, #cc3300 100%);
    padding: 6px 10px;
    border: 2px outset #ff9933;
}

.mascot-quote {
    color: #aaa;
    font-style: italic;
    margin-top: 8px;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 30px;
    text-align: center;
}

.mascot-caption {
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* === CONTENT ACTIONS BAR === */
.content-actions,
.content-actions-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
    background: linear-gradient(180deg, var(--action-bar-bg-top) 0%, var(--action-bar-bg-bottom) 100%);
    border: 2px solid var(--action-bar-border);
    border-top: none;
    margin-bottom: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.content-actions-compact {
    padding: 8px 12px;
    margin-bottom: 14px;
}

.content-actions-compact .btn {
    min-width: 0;
    padding: 6px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.content-actions-compact .content-actions-select {
    font-size: 0.8rem;
    padding: 3px 6px;
}

.content-actions-left,
.content-actions-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.content-actions .btn,
.content-actions-bar .btn {
    min-width: 80px;
}

.content-actions-bar .btn:not(.btn-danger):not(.btn-secondary):not([class*="btn-tone-"]) {
    --btn-border-color: var(--action-btn-border);
    --btn-bg-top: var(--action-btn-bg-top);
    --btn-bg-bottom: var(--action-btn-bg-bottom);
    --btn-text-color: var(--action-btn-text);
}

.content-actions-right {
    margin-left: 0;
}

.content-actions-right:first-of-type {
    margin-left: auto;
}

.content-actions-label {
    color: #ccc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.content-actions-select {
    background: #1a1a2e;
    color: #e8e8e8;
    border: 2px solid #555;
    padding: 4px 8px;
    font-size: 0.85rem;
}

.content-actions-filter {
    gap: 8px;
}

.content-actions-focus {
    margin-left: 10px;
}

.content-actions-separator {
    width: 1px;
    height: 24px;
    background: #444;
    margin: 0 5px;
}

/* === ALERTS === */
.alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid;
}

.alert-info {
    background: #001a33;
    border-color: #0066cc;
    color: #66ccff;
}

.alert-success {
    background: #003300;
    border-color: #00cc00;
    color: #66ff66;
}

.alert-warning {
    background: #332b00;
    border-color: #ffcc00;
    color: #ffee88;
}

.alert-error {
    background: #330000;
    border-color: #cc0000;
    color: #ff6666;
}

/* === CONTENT AREA === */
.content-area {
    padding: 20px;
}

/* === SECTION PANELS === */
.content-panel {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    border: 3px outset #444;
    margin-bottom: 20px;
}

.panel-header {
    background: linear-gradient(180deg, #003366 0%, #001a33 100%);
    border-bottom: 2px solid #00ffff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.panel-header h2 {
    font-family: 'Arial Black', sans-serif;
    color: #00ffff;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000066;
    margin: 0;
}

.panel-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.panel-actions .btn {
    font-size: 11px;
    min-width: 64px;
    height: 24px;
    padding: 0 10px;
    letter-spacing: 0.4px;
}

.panel-action-btn {
    --btn-border-color: #b0b0b0;
    --btn-bg-top: #5a5a5a;
    --btn-bg-bottom: #3c3c3c;
    --btn-text-color: #f1e1a6;
}

.panel-header .icon {
}

.panel-content {
    padding: 15px;
}

/* === CHANNEL 6 NEWS POSTS === */
.news-post {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
}

.news-post:last-child {
    margin-bottom: 0;
}

.news-post-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 100%;
    background: #000;
    border: 2px solid #ff6600;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.news-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-post-thumbnail--empty {
    background: linear-gradient(45deg, #003366 0%, #001a33 100%);
    color: #888;
    text-align: center;
    padding: 5px;
}

.news-post-content {
    flex: 1;
}

.news-post-title {
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 5px;
}

.news-post-title a {
    color: #ffcc00;
}

.news-post-title a:hover {
    color: #ffffff;
}

.news-post-meta {
    color: #888;
    margin-bottom: 8px;
}

.news-post-meta .author {
    color: #00ffff;
}

.news-post-excerpt {
    color: #cccccc;
    line-height: 1.5;
}

/* === BLARGH === */
.blargh-post {
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid #8B0000;
    border-left: 3px solid #8B0000;
    padding: 12px 15px;
    margin-bottom: 12px;
}

.blargh-post:last-child {
    margin-bottom: 0;
}

.blargh-post-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.blargh-post-title a {
    color: #ff9966;
    text-decoration: none;
}

.blargh-post-title a:hover {
    color: #ffcc99;
    text-decoration: underline;
}

.blargh-post-meta {
    color: #888;
    margin-bottom: 8px;
}

.blargh-post-meta a {
    color: #00ffff;
    text-decoration: none;
}

.blargh-post-meta a:hover {
    text-decoration: underline;
}

.blargh-post-excerpt {
    color: #cccccc;
    line-height: 1.5;
}

/* === DOOGIE ENTRIES === */
.doogie-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.doogie-entry {
    background: #0000aa;
    border: 3px inset #0000cc;
    padding: 15px;
    font-family: 'IBM VGA', 'Courier New', monospace;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
}

.doogie-author {
    color: #00ffff;
    margin-top: 10px;
    font-family: 'IBM VGA', 'Courier New', monospace;
}

.doogie-author a {
    color: #00ffff;
    text-decoration: none;
}

/* === YOOHOO LINKS === */
.yoohoo-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.yoohoo-link {
    background: linear-gradient(180deg, #4a3728 0%, #2e2218 100%);
    border: 2px outset #8b7355;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.yoohoo-icon {
}

.yoohoo-info {
    flex: 1;
}

.yoohoo-title {
    font-weight: bold;
    color: #ffcc00;
}

.yoohoo-title a {
    color: #ffcc00;
}

.yoohoo-desc {
    color: #ccaa77;
}

.yoohoo-added {
    color: #888;
}

/* === CAVALIERS ROSTER === */
.cavalier-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cavalier-card {
    background: linear-gradient(180deg, #2a1a3a 0%, #1a0a2a 100%);
    border: 2px outset #6633aa;
    padding: 10px;
    text-align: center;
    width: 100px;
}

.cavalier-avatar {
    width: 64px;
    height: 64px;
    border: 2px solid #ffcc00;
    background: #333;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cavalier-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cavalier-name {
    font-weight: bold;
    color: #00ffff;
}

.cavalier-status {
    color: #00ff00;
    margin-top: 3px;
}

/* === GUESTBOOK PREVIEW === */
.guestbook-entry {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #ff6600;
    padding: 10px;
    margin-bottom: 10px;
}

.guestbook-entry:last-child {
    margin-bottom: 0;
}

.guestbook-message {
    color: #cccccc;
    font-style: italic;
}

.guestbook-author {
    color: #ffcc00;
    margin-top: 5px;
}

/* === FOOTER === */
.footer {
    background: linear-gradient(180deg, #000000 0%, #1a0a2e 100%);
    border-top: 4px solid #ffcc00;
    padding: 20px;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(180deg, #333 0%, #111 100%);
    border: 2px outset #555;
    padding: 8px 12px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
}

.hit-counter {
    background: #000;
    border: 2px inset #333;
    padding: 5px 15px;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    display: inline-block;
    margin-bottom: 15px;
}

#visitor-offset {
    color: #ffcc00;
    font-size: 0.85em;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #888;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #00ffff;
}

.copyright {
    color: #555;
}

/* === DIVIDERS === */
.divider {
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        #ff6600 20%,
        #ffcc00 50%,
        #ff6600 80%,
        transparent 100%);
    margin: 20px 0;
}

/* === SPECIAL ELEMENTS === */
.new-badge {
    background: #ff0000;
    color: #ffffff;
    font-weight: bold;
    padding: 2px 5px;
    animation: pulse 1s infinite;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hot-badge {
    background: linear-gradient(180deg, #ff6600 0%, #cc0000 100%);
    color: #ffffff;
    font-weight: bold;
    padding: 2px 5px;
    text-transform: uppercase;
}

/* === TWO COLUMN BOTTOM SECTION === */
.bottom-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* === USER WIDGET (LOGGED IN) === */
.user-widget {
    background: linear-gradient(180deg, #003366 0%, #001a33 100%);
    border: 3px outset #0066cc;
    margin-bottom: 20px;
}

.user-widget-header {
    background: linear-gradient(90deg, #0066cc 0%, #003366 100%);
    color: #ffffff;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    padding: 6px 10px;
    border-bottom: 2px solid #00ffff;
    text-shadow: 1px 1px 1px #000000;
}

.user-widget-content {
    padding: 15px;
    text-align: center;
}

.user-avatar-widget {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border: 3px solid #00ffff;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar-widget img {
    max-width: 100%;
    max-height: 100%;
}

.user-name-widget {
    font-family: 'Arial Black', sans-serif;
    color: #00ffff;
    margin-bottom: 5px;
    font-weight: bold;
}

.user-role-widget {
    color: #ffcc00;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.user-links-widget {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-links-widget a {
    display: block;
    padding: 6px 10px;
    background: linear-gradient(180deg, #0066cc 0%, #003366 100%);
    border: 2px outset #0099ff;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.user-links-widget a:hover {
    border-style: inset;
    background: linear-gradient(180deg, #003366 0%, #0066cc 100%);
    color: #00ffff;
}

/* === LOGIN BOX === */
.login-box {
    background: linear-gradient(180deg, #1a3322 0%, #0d1a11 100%);
    border: 2px outset #336633;
    padding: 15px;
    margin-bottom: 20px;
}

.login-box h3 {
    color: #00ff00;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.login-box input {
    background: #000;
    border: 2px inset #333;
    color: #00ff00;
    padding: 5px;
    font-family: 'Courier New', monospace;
    width: 100%;
    margin-bottom: 8px;
}

.login-box button {
    background: linear-gradient(180deg, #336633 0%, #224422 100%);
    border: 2px outset #448844;
    color: #00ff00;
    padding: 5px 15px;
    cursor: pointer;
    font-weight: bold;
}

.login-box button:hover {
    border-style: inset;
}

/* === MOBILE INTERSTITIAL === */
.mobile-interstitial {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mobile-interstitial-card {
    max-width: 500px;
    text-align: center;
    background: linear-gradient(180deg, #220044 0%, #110022 100%);
    border: 4px solid #ff6600;
    padding: 30px;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.mobile-interstitial-card h2 {
    color: #ffcc00;
    font-family: 'Arial Black', sans-serif;
    margin-bottom: 10px;
}

.mobile-interstitial-card p {
    color: #cccccc;
    margin-bottom: 20px;
}

.mobile-interstitial-image {
    max-width: 200px;
    margin-bottom: 20px;
}
