/* ============================================
   RAVENDAWN DESIGN SYSTEM
   Full port for Trusty Conquer
   ============================================ */

/* Theme tokens */
:root {
    --background: #131416;
    --foreground: #000000;
    --primary: #77d463;
    --accent: #fbc321;
    --border: #575757;
    --muted: #a6aab2;
    --surface: rgba(255, 255, 255, 0.15);
    --surface-2: rgba(255, 255, 255, 0.25);
    --surface-3: rgba(255, 255, 255, 0.35);
    --surface-4: rgba(255, 255, 255, 0.5);
    --color-001: #ffffff;
    --color-003: rgba(0, 0, 0, 0.7);
    --color-004: rgba(0, 0, 0, 0.2);
    --color-005: #ced2d9;
    --primary-dim: rgba(119, 212, 99, 0.1);
    --shadow-btn-green: var(--clr-2) 0px 0px 0px 2px inset, var(--clr-5) 0px 0px 0px 3px inset, var(--clr-6) 0px 0px 0px 1px;
    --shadow-btn-green-hover: var(--clr-2) 0px 0px 0px 2px inset, var(--clr-5) 0px 0px 0px 4px inset, var(--clr-6) 0px 0px 0px 2px;
    --shadow-btn-surface: var(--clr-2) 0px 0px 0px 2px inset, var(--surface) 0px 0px 0px 3px inset, var(--surface-4) 0px 0px 0px 1px;

    --clr-2: rgba(0, 0, 0, 0.7);
    --clr-3: #232a32;
    --clr-4: #14171c;
    --clr-5: rgba(119, 212, 99, 0.25);
    --clr-6: rgba(119, 212, 99, 0.5);
    --clr-7: rgba(251, 195, 33, 0.25);
    --clr-8: rgba(251, 195, 33, 0.5);
    --clr-13: #77d463;
    --clr-14: #8ce078;
    --clr-15: #fbc321;

    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Caudex', Arial, Helvetica, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid currentColor; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-001);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }

/* Text helpers */
.rv-text-green { color: var(--primary); }
.rv-text-gold { color: var(--accent); }
.rv-text-orange { color: #fb923c; }

/* ============================================
   NAVIGATION BAR
   ============================================ */
.rv-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.rv-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(19, 20, 22, 0.92);
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 80px;
}

.rv-nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rv-nav-logo-img {
    height: 75px;
    width: auto;
}

.rv-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 40px;
}

.rv-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-001);
    transition: color 0.15s;
    white-space: nowrap;
}

.rv-nav-link:hover {
    color: var(--primary);
}

.rv-nav-link.active {
    color: var(--primary);
}

.rv-nav-link svg {
    width: 20px;
    height: 20px;
}

.rv-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.rv-nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.rv-nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-005);
    border-radius: 2px;
    transition: all 0.2s;
}

/* ============================================
   BUTTONS (Ravendawn triple inset shadow)
   ============================================ */
.rv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    text-decoration: none;
    background: linear-gradient(var(--clr-3), var(--clr-4));
}

.rv-btn-green {
    color: var(--primary);
    box-shadow: var(--clr-2) 0px 0px 0px 2px inset, var(--clr-5) 0px 0px 0px 3px inset, var(--clr-6) 0px 0px 0px 1px;
}

.rv-btn-green:hover {
    box-shadow: var(--clr-2) 0px 0px 0px 2px inset, var(--clr-5) 0px 0px 0px 4px inset, var(--clr-6) 0px 0px 0px 2px;
    color: var(--clr-14);
}

.rv-btn-gold {
    color: var(--accent);
    box-shadow: var(--clr-2) 0px 0px 0px 2px inset, var(--clr-7) 0px 0px 0px 4px inset, var(--clr-8) 0px 0px 0px 2px;
}

.rv-btn-gold:hover {
    box-shadow: var(--clr-2) 0px 0px 0px 2px inset, var(--clr-7) 0px 0px 0px 3px inset, rgba(251, 195, 33, 0.7) 0px 0px 0px 1px;
    color: #fcd34d;
}

.rv-btn-surface {
    color: var(--color-001);
    box-shadow: var(--clr-2) 0px 0px 0px 2px inset, var(--surface) 0px 0px 0px 3px inset, var(--surface-4) 0px 0px 0px 1px;
}

.rv-btn-surface:hover {
    box-shadow: var(--clr-2) 0px 0px 0px 2px inset, var(--surface-2) 0px 0px 0px 3px inset, var(--surface-4) 0px 0px 0px 1px;
}

.rv-btn-discord {
    background: linear-gradient(#5865f2, #4752c4, #3a4199);
    color: #fff;
    border: 1px solid #7289da;
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.3), inset 0 1px rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    font-size: 14px;
}

.rv-btn-discord:hover {
    background: linear-gradient(#6873f3, #5865f2, #4752c4);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5), inset 0 1px rgba(255, 255, 255, 0.3);
}

.rv-btn-lg {
    padding: 16px 30px;
    font-size: 16px;
}

.rv-hero-btn {
    padding: 36px 260px;
    border-radius: 3px;
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: var(--clr-2) 0px 2px 3px;
    box-shadow: var(--clr-2) 0px 0px 0px 2px inset, var(--clr-7) 0px 0px 0px 4px inset, var(--clr-8) 0px 0px 0px 2px;
    background-image: linear-gradient(var(--clr-3), var(--clr-4));
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.rv-hero-btn:hover {
    box-shadow: var(--clr-2) 0px 0px 0px 2px inset, var(--clr-7) 0px 0px 0px 3px inset, rgba(251, 195, 33, 0.7) 0px 0px 0px 1px;
    color: #fcd34d;
}

/* ============================================
   HERO SECTION
   ============================================ */
.rv-hero {
    position: relative;
    display: block;
    background-color: var(--background);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url('../images/trusty-hero-desktop-v4.webp?v=20261129');
    overflow: hidden;
    min-height: 100vh;
}

.rv-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.rv-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.rv-hero-overlay-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1055px;
    height: 813px;
    display: block;
    z-index: 2;
    pointer-events: none;
}

.rv-hero-bg-overlay {
    width: 1055px;
    height: 813px;
    display: block;
    position: absolute;
    min-width: 0;
    overflow: clip;
}

.rv-hero-bg video {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: clip;
    object-fit: cover;
}

.rv-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(19,20,22,0.6) 100%);
    z-index: 5;
}

.rv-hero-content {
    position: relative;
    z-index: 20;
    display: flex;
    max-width: 1340px;
    padding-top: 0;
    padding-bottom: 80px;
    padding-left: 24px;
    padding-right: 24px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh;
}

.rv-hero-logo {
    width: 450px;
    max-width: 80vw;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 30px rgba(0,0,0,0.6));
}

.rv-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #e8e8e8;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-top: 10px;
    margin-bottom: 50px;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.9), 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.rv-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.rv-hero-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 29px;
    background: url("../images/ravendawn/hero-border.webp") repeat-x;
    background-size: contain;
    z-index: 20;
}

/* Short hero for inner pages */
.rv-hero-short {
    min-height: 300px;
}

.rv-hero-short .rv-hero-content {
    justify-content: flex-end;
    padding-bottom: 50px;
}

/* ============================================
   ONLINE COUNT BANNER
   ============================================ */
.rv-banner {
    background: linear-gradient(135deg, var(--clr-3), var(--clr-4));
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 20;
}

.rv-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    gap: 30px;
}

.rv-banner-stat {
    text-align: center;
}

.rv-banner-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 2px;
}

.rv-banner-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-001);
}

.rv-banner-divider {
    width: 1px;
    height: 30px;
    background: var(--border);
    opacity: 0.5;
}

/* ============================================
   SECTIONS
   ============================================ */
.rv-section {
    position: relative;
    padding: 80px 0;
}

.rv-section-bg {
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

.rv-section-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 20, 22, 0.85);
    z-index: 1;
}

.rv-section-dark {
    background-color: var(--background);
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.rv-section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 20, 22, 0.85);
    z-index: 1;
}

.rv-section-community {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.rv-section-community::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 20, 22, 0.8);
    z-index: 1;
}

.rv-community-combined { padding: 52px 20px 58px; }
.rv-community-combined > .rv-section-inner { position: relative; z-index: 2; }
.rv-community-combined .rv-discord-widget { padding: 28px 20px; }
.rv-community-combined .rv-discord-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.rv-community-combined .rv-discord-widget,
.rv-community-cta { min-height: 250px; justify-content: center; }
.rv-community-combined .rv-discord-text { margin: 0; }
.rv-community-cta {
    border-left: 1px solid rgba(150, 150, 150, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 34px;
}
.rv-community-cta h3 {
    margin: 0 0 12px;
    color: var(--color-001);
    font: 700 24px var(--font-heading);
    text-transform: uppercase;
}
.rv-community-cta p { max-width: 280px; margin: 0 0 22px; color: var(--muted); }
.rv-community-combined .rv-section-inner > .rv-divider + .rv-discord-widget { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 900px; margin: 0 auto; border: 1px solid rgba(150, 150, 150, 0.22); background: rgba(8, 10, 12, 0.28); }

@media (max-width: 700px) {
    .rv-community-combined .rv-section-inner > .rv-divider + .rv-discord-widget { grid-template-columns: 1fr; }
    .rv-community-cta { border-left: 0; border-top: 1px solid rgba(150, 150, 150, 0.22); }
}

.rv-section-cta {
    background: transparent;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.rv-section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 20, 22, 0.75);
    z-index: 1;
}

.rv-section-bg {
    position: relative;
    overflow: hidden;
}

.rv-section-bg > .rv-section-inner {
    position: relative;
    z-index: 2;
}

.rv-section-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.rv-section-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rv-section-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-001);
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* ============================================
   DIVIDER (Ravendawn ornate line)
   ============================================ */
.rv-divider {
    width: 200px;
    height: 2px;
    margin: 0 auto 40px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    position: relative;
}

.rv-divider::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--border);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   NEWS TICKER
   ============================================ */
.rv-news-ticker {
    margin-bottom: 30px;
}

.rv-ticker-header {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(87, 87, 87, 0.3);
}

.rv-ticker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rv-ticker-item {
    display: flex;
    gap: 16px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border-left: 2px solid var(--primary);
    transition: background 0.15s;
}

.rv-ticker-item:hover {
    background: rgba(119, 212, 99, 0.08);
}

.rv-ticker-date {
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
    font-size: 13px;
}

.rv-ticker-text {
    color: var(--muted);
    font-size: 13px;
}

/* ============================================
   NEWS ITEMS
   ============================================ */
.rv-news-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rv-news-item {
    border: 1px solid rgba(87, 87, 87, 0.4);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: border-color 0.15s;
}

.rv-news-item:hover {
    border-color: rgba(119, 212, 99, 0.5);
}

.rv-news-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(to right, rgba(119, 212, 99, 0.08), rgba(119, 212, 99, 0.03));
    border-bottom: 1px solid rgba(87, 87, 87, 0.2);
}

.rv-news-date {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.rv-news-author {
    font-size: 12px;
    color: var(--primary);
    white-space: nowrap;
}

.rv-news-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-001);
    flex: 1;
}

.rv-news-expand {
    color: var(--muted);
    transition: transform 0.2s;
}

.rv-news-item.open .rv-news-expand {
    transform: rotate(180deg);
}

.rv-news-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.rv-news-item.open .rv-news-body {
    max-height: 1000px;
}

.rv-news-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}

.rv-news-content p {
    margin-bottom: 12px;
}

/* ============================================
   CARDS (Events & Boss)
   ============================================ */
.rv-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.rv-card {
    border: 1px solid rgba(87, 87, 87, 0.4);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.rv-card-header {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--clr-3), var(--clr-4));
    border-bottom: 1px solid rgba(87, 87, 87, 0.3);
}

.rv-card-header h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-001);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.rv-card-body {
    padding: 16px 20px;
    min-height: 120px;
}

.rv-loading {
    color: var(--muted);
    font-style: italic;
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

/* Event items */
.rv-event-active {
    padding: 10px 12px;
    background: rgba(119, 212, 99, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 3px;
    margin-bottom: 10px;
}

.rv-event-name {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.rv-event-status {
    font-size: 10px;
    text-transform: uppercase;
    margin-top: 2px;
}

.rv-event-none {
    color: var(--border);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

.rv-event-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 8px;
    margin-top: 12px;
    font-weight: 600;
}

.rv-event-upcoming {
    padding: 6px 10px;
    border-left: 2px solid var(--border);
    margin-bottom: 4px;
}

.rv-event-up-name {
    color: var(--color-005);
    font-size: 12px;
    font-weight: 600;
}

.rv-event-up-time {
    color: var(--muted);
    font-size: 11px;
}

.rv-boss-card {
    padding: 10px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    border-radius: 3px;
}

.rv-boss-name {
    color: #ef4444;
    font-size: 14px;
    font-weight: 700;
}

.rv-boss-info {
    color: #fca5a5;
    font-size: 11px;
    margin-top: 2px;
}

/* ============================================
   SERVER STATS PANEL
   ============================================ */
.rv-stats-panel {
    border: 1px solid rgba(87, 87, 87, 0.4);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.rv-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.rv-stat-box {
    text-align: center;
    padding: 24px 16px;
    border-bottom: 1px solid rgba(87, 87, 87, 0.2);
    border-right: 1px solid rgba(87, 87, 87, 0.2);
}

.rv-stat-box:nth-child(3n) {
    border-right: none;
}

.rv-stat-box:nth-last-child(-n+3) {
    border-bottom: none;
}

.rv-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 4px;
}

.rv-stat-val {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-001);
}

/* ============================================
   DISCORD WIDGET
   ============================================ */
.rv-discord-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}

.rv-discord-icon {
    width: 80px;
    height: 80px;
    position: relative;
}

.rv-discord-ring {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(88, 101, 242, 0.5);
    border-radius: 50%;
    animation: rv-pulse 2s ease-in-out infinite;
}

.rv-discord-bg {
    position: absolute;
    inset: 6px;
    background: linear-gradient(to bottom right, #5865f2, #4752c4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
}

.rv-discord-online-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(119, 212, 99, 0.8);
}

.rv-discord-text {
    font-size: 16px;
    color: var(--muted);
    max-width: 400px;
}

/* ============================================
   BOTTOM GROUP (single background for community + CTA + footer)
   ============================================ */
.rv-bottom-group {
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: var(--background);
    position: relative;
}

.rv-bottom-group::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 20, 22, 0.7);
    z-index: 0;
}

.rv-bottom-group > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.rv-footer {
    background: #0b0d0f;
    border-top: 1px solid rgba(87, 87, 87, 0.3);
    padding: 30px 20px 18px;
}

.rv-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.rv-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 8px;
}

.rv-footer-links::before {
    content: "Trusty Conquer";
    color: var(--text);
    font-family: Caudex, Georgia, serif;
    font-size: 18px;
    margin-right: 18px;
}

.rv-footer-links a {
    color: var(--muted);
    font-size: 13px;
    transition: color 0.15s;
}

.rv-footer-links a:hover {
    color: var(--accent);
}

.rv-footer-copy {
    color: var(--muted);
    font-size: 12px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes rv-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .rv-nav-links,
    .rv-nav-actions {
        display: none;
    }

    .rv-nav-links.open,
    .rv-nav-actions.open {
        display: flex;
    }

    .rv-nav-hamburger {
        display: flex;
    }

    .rv-nav-inner {
        justify-content: space-between;
    }

    .rv-nav-links {
        position: absolute;
        top: 80px;
        left: 10px;
        right: 10px;
        background: rgba(19, 20, 22, 0.95);
        border-radius: 6px;
        flex-direction: column;
        padding: 12px;
        gap: 4px;
    }

    .rv-nav-actions {
        position: absolute;
        top: 200px;
        left: 10px;
        right: 10px;
        background: rgba(19, 20, 22, 0.95);
        border-radius: 6px;
        padding: 12px;
        justify-content: center;
    }

    .rv-cards-grid {
        grid-template-columns: 1fr;
    }

    .rv-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rv-stat-box:nth-child(2n) {
        border-right: none;
    }

    .rv-banner-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .rv-banner-divider {
        display: none;
    }
}

@media (max-width: 1024px) {
    .rv-hero-bg {
        display: none;
    }

    .rv-hero-content {
        padding-bottom: 60px;
    }
}

@media (max-width: 640px) {
    .rv-hero-content {
        padding-bottom: 40px;
    }

    .rv-hero-logo {
        width: 450px;
        max-width: 90vw;
    }

    .rv-hero-subtitle {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .rv-section {
        padding: 50px 0;
    }

    .rv-section-title {
        font-size: 20px;
    }

    .rv-stats-grid {
        grid-template-columns: 1fr;
    }

    .rv-stat-box {
        border-right: none;
    }

    .rv-btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }

    .rv-hero-btn {
        padding: 14px 40px;
        font-size: 16px;
    }
}
