* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: #0f0f0f;
    --text: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --border: rgba(255, 255, 255, 0.08);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --discord: #5865F2;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #222 #0a0a0a;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease infinite;
}

.preloader-text {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.nav-logo img {
    height: 32px;
}

.nav-logo span {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 280px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-search:hover,
.nav-search:focus-within {
    border-color: var(--accent);
}

.nav-search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.8rem;
    outline: none;
}

.nav-search input::placeholder {
    color: var(--text-muted);
}

.nav-search kbd {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
}

.nav-search svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.nav-btn svg {
    width: 14px;
    height: 14px;
}

.nav-btn.discord {
    background: var(--discord);
    color: #fff;
}

.nav-btn.discord:hover {
    background: #4752c4;
}

.nav-btn.primary {
    background: var(--text);
    color: var(--bg);
}

.nav-btn.primary:hover {
    background: var(--accent);
}

.nav-btn.secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.nav-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 2rem;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--accent);
}

.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.03) 0%, transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, var(--text) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
}

.stats-bar-inner {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.25rem;
    background: linear-gradient(180deg, var(--text) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number.online {
    background: linear-gradient(180deg, var(--success) 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section {
    padding: 3rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-label {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.quick-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.quick-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 100px;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.quick-btn:hover {
    background: rgba(249, 115, 22, 0.15);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
}

.quick-btn svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.category {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.category:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.08);
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.category-icon {
    width: 34px;
    height: 34px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.category-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.category-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
    cursor: pointer;
}

.category-link:hover {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.2);
}

.category-link svg {
    width: 15px;
    height: 15px;
    color: var(--text-muted);
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.category-link:hover svg {
    color: var(--accent);
}

.category-link-content {
    flex: 1;
    min-width: 0;
}

.category-link-title {
    font-size: 0.85rem;
    font-weight: 500;
}

.category-link-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.floating-sidebar {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 999;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

.sidebar-btn {
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.sidebar-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
    transform: scale(1.1);
}

.sidebar-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

.sidebar-btn svg {
    width: 18px;
    height: 18px;
}

.sidebar-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    margin-right: 0.5rem;
}

.sidebar-btn:hover::before {
    opacity: 1;
}

.widget {
    position: fixed;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideIn 0.2s ease;
}

.widget.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-header {
    padding: 0.85rem 1.1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.widget-header h4 {
    font-size: 0.85rem;
    font-weight: 600;
}

.widget-controls {
    display: flex;
    gap: 0.25rem;
}

.widget-btn {
    width: 26px;
    height: 26px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.widget-btn:hover {
    background: var(--border);
    color: var(--text);
}

.widget-btn svg {
    width: 13px;
    height: 13px;
}

.chat-widget {
    bottom: 2rem;
    right: 5rem;
    width: 340px;
    max-height: 450px;
}

.chat-messages {
    flex: 1;
    padding: 0.85rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 280px;
}

.chat-message {
    max-width: 85%;
    padding: 0.65rem 0.9rem;
    border-radius: 11px;
    font-size: 0.8rem;
    line-height: 1.5;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--accent);
    color: var(--bg);
}

.chat-message.bot {
    align-self: flex-start;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.chat-message.typing {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dot {
    width: 5px;
    height: 5px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-4px);
    }
}

.chat-input-area {
    padding: 0.85rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.4rem;
}

.chat-input {
    flex: 1;
    padding: 0.65rem 0.9rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    font-size: 0.8rem;
    outline: none;
}

.chat-input:focus {
    border-color: var(--accent);
}

.chat-send {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: var(--bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-send:hover {
    transform: scale(1.05);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-send svg {
    width: 16px;
    height: 16px;
}

.footer {
    background: var(--bg);
    padding: 2rem;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo img {
    height: 22px;
    opacity: 0.6;
}

.footer-logo span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.status-badge {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 999;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.status-badge:hover {
    border-color: var(--accent);
}

.status-badge.online {
    border-color: rgba(34, 197, 94, 0.3);
}

.status-badge.online .status-dot {
    background: var(--success);
}

.status-badge.offline {
    border-color: rgba(239, 68, 68, 0.3);
}

.status-badge.offline .status-dot {
    background: var(--danger);
    animation: none;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#iframe-content-container {
    width: 100%;
    height: calc(100vh - 60px);
    margin: 0;
    padding: 0;
}

#content-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--bg);
}

.back-to-main-btn {
    position: fixed;
    top: 75px;
    left: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-to-main-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent);
    color: var(--accent);
}

.back-to-main-btn svg {
    width: 14px;
    height: 14px;
}

.page-content {
    padding: 2.5rem 2rem;
    max-width: 850px;
    margin: 0 auto;
    animation: fadeInUp 0.4s ease;
}

.page-header-simple {
    margin-bottom: 1.75rem;
}

.page-header-simple h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, var(--accent), var(--text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header-simple p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 1.35rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.2s ease;
}

.content-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.content-card h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text);
}

.content-card h2 svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.content-card ul {
    list-style: none;
    padding: 0;
}

.content-card li {
    padding: 0.45rem 0;
    padding-left: 1.15rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

.content-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.65;
}

code {
    background: var(--bg-secondary);
    padding: 0.12rem 0.35rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.82em;
    color: var(--accent);
    border: 1px solid var(--border);
}

.content-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    gap: 2.5rem;
    animation: fadeInUp 0.4s ease;
}

.sidebar {
    width: 220px;
    flex-shrink: 0;
}

.sticky-nav {
    position: sticky;
    top: 85px;
}

.sticky-nav h3 {
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sticky-nav a {
    display: block;
    padding: 0.45rem 0.85rem;
    text-decoration: none;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    border-radius: 6px;
    border-left: 3px solid transparent;
}

.sticky-nav a:hover {
    background: var(--bg-card);
    color: var(--text);
}

.sticky-nav a.active {
    color: var(--accent);
    background: rgba(249, 115, 22, 0.1);
    border-left: 3px solid var(--accent);
    font-weight: 600;
}

.main-content {
    flex-grow: 1;
    min-width: 0;
}

.announcement-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.1rem;
    margin-bottom: 0.85rem;
    transition: border-color 0.2s ease;
}

.announcement-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.announcement-header h4 {
    margin: 0;
    font-weight: 600;
    color: var(--text);
    font-size: 0.85rem;
}

.copy-btn {
    padding: 0.35rem 0.7rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.copy-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.copy-btn.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: var(--success);
    color: var(--success);
}

.announcement-text {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.85rem;
    border-radius: 8px;
    color: var(--text-secondary);
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
}

blockquote {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning);
    padding: 0.85rem 1.25rem;
    margin: 0 0 1.5rem 0;
    color: #fcd34d;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
}

blockquote strong {
    color: #fbbf24;
}

.footer-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
}

#page-search-bar {
    width: 100%;
    padding: 0.65rem 0.9rem;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s ease;
}

#page-search-bar:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.search-results-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    display: none;
}

.search-results-info.show {
    display: block;
}

@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav {
        padding: 0.65rem 1rem;
    }

    .nav-logo span {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .floating-sidebar {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
    }

    .section {
        padding: 2rem 1.25rem;
    }

    .hero {
        padding: 5.5rem 1.25rem 2.5rem;
        min-height: auto;
    }

    .chat-widget {
        right: 0.85rem;
        left: 0.85rem;
        width: auto;
        bottom: 4.5rem;
        max-height: 380px;
    }

    .status-badge {
        bottom: 0.85rem;
        left: 0.85rem;
    }

    .quick-actions {
        gap: 0.4rem;
    }

    .quick-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.7rem;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .sidebar {
        display: none;
    }

    .page-content {
        padding: 1.25rem;
    }

    .page-header-simple h1 {
        font-size: 1.35rem;
    }

    .content-card {
        padding: 1.1rem;
    }
}