/* MrFaws Documentation - Pterodactyl-style Theme */
:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --bg-card: #161b22;
    --bg-code: #161b22;
    
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --text-code: #f0f6fc;
    
    --accent-primary: #58a6ff;
    --accent-secondary: #1f6feb;
    --accent-hover: #388bfd;
    --accent-glow: rgba(88, 166, 255, 0.15);
    
    --border-color: #30363d;
    --border-light: #484f58;
    
    --success: #3fb950;
    --warning: #d29922;
    --error: #f85149;
    --info: #58a6ff;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    background-color: #0d1117;
    color: #f0f6fc;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar - Pterodactyl Style */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0d1117;
}

::-webkit-scrollbar-thumb {
    background: #21262d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #30363d;
}

::-webkit-scrollbar-corner {
    background: #0d1117;
}

.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* Sidebar Styles - Pterodactyl Design */
.sidebar {
    width: 260px;
    background-color: #161b22;
    border-right: 1px solid #21262d;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

.sidebar-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    color: var(--accent-primary);
}

.logo i {
    font-size: 18px;
}

.search-container {
    position: relative;
    margin: 8px 16px 16px 16px;
}

.search-input {
    width: 100%;
    padding: 6px 8px 6px 30px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 13px;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgb(0 212 255 / 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.nav-menu {
    flex: 1;
    padding: 0 8px;
    list-style: none;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    position: relative;
}

.nav-link:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-item.active .nav-link {
    background-color: var(--accent-secondary);
    color: var(--text-primary);
    font-weight: 600;
}

.nav-item.active .nav-link i {
    color: var(--text-primary);
}

.expand-icon {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
}

.expand-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active .expand-icon {
    transform: rotate(90deg);
}

.sub-menu {
    list-style: none;
    margin-left: 24px;
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.sub-menu.expanded {
    max-height: 500px;
    margin-top: 4px;
}

.sub-link {
    display: block;
    padding: 4px 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
}

.sub-link:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent-primary);
}

.sub-link.active {
    color: var(--accent-primary);
    font-weight: 500;
}

.sidebar-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.author-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

/* Main Content Styles - Pterodactyl Design */
.main-content {
    flex: 1;
    margin-left: 260px;
    background-color: var(--bg-primary);
    min-height: 100vh;
    padding: 20px 30px;
    max-width: calc(100vw - 260px);
    overflow-x: hidden;
}

.content-header {
    background-color: #0d1117;
    padding: 32px;
    border-bottom: 1px solid #21262d;
    max-width: 1200px;
    margin: 0 auto;
}

.content-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #f0f6fc;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 16px;
    color: #8b949e;
    font-weight: 400;
}

.content-body {
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section {
    padding: 32px;
    margin-bottom: 0;
    position: relative;
}

.content-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f0f6fc;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 2px solid #21262d;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #58a6ff;
}

.content-section h2 i {
    color: #58a6ff;
    font-size: 20px;
}

.content-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0f6fc;
    font-size: 18px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    padding-top: 24px;
    border-top: 1px solid #21262d;
}

.content-section h3:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 24px;
}

.content-section h3 i {
    color: #58a6ff;
    font-size: 16px;
}

.content-section p {
    color: #8b949e;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 14px;
}

.content-section ul:not(.step-list):not(.nav-menu) {
    color: #8b949e;
    line-height: 1.6;
    margin: 16px 0;
    padding-left: 20px;
}

.content-section ul:not(.step-list):not(.nav-menu) li {
    margin-bottom: 8px;
}

.content-section code {
    background: #21262d;
    color: #f0f6fc;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* Introduction Section */
.introduction {
    padding: 2rem 0;
}

.hero-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-glow);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-primary);
    border-radius: 6px;
    margin-bottom: 16px;
}

.feature-icon i {
    font-size: 16px;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feature-link:hover {
    color: var(--accent-hover);
    gap: 0.75rem;
}

/* Info Cards - Pterodactyl Style */
.info-section {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    position: relative;
}

.info-card i {
    color: var(--info);
    margin-right: 8px;
    font-size: 14px;
}

.info-card.warning {
    border-color: var(--warning);
    background-color: rgba(210, 153, 34, 0.1);
}

.info-card.warning i {
    color: var(--warning);
}

.info-card h4 {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Documentation Sections - Clean Pterodactyl Style */
.doc-section {
    margin-bottom: 40px;
}

.doc-section h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.doc-section h2 i {
    color: var(--accent-primary);
    font-size: 16px;
}

.section-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.section-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 8px;
    color: var(--text-primary);
}

.section-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.section-content ul, .section-content ol {
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 24px;
}

.section-content li {
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Code Blocks - Pterodactyl Boxed Style */
pre {
    background-color: #21262d;
    border: 1px solid #30363d;
    border-radius: 8px;
    margin: 16px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 1px rgba(240, 246, 252, 0.1);
}

pre code {
    display: block;
    background-color: #0d1117;
    color: #e6edf3;
    padding: 16px;
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13px;
    line-height: 1.45;
    overflow-x: auto;
    border: none;
}

code {
    background-color: rgba(110, 118, 129, 0.4);
    color: #e06c75;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
}

pre code {
    background: none;
    padding: 0;
    color: #abb2bf;
    font-size: 13px;
}

/* Syntax highlighting colors */
pre .comment {
    color: #5c6370;
    font-style: italic;
}

pre .keyword {
    color: #c678dd;
}

pre .string {
    color: #98c379;
}

pre .number {
    color: #d19a66;
}

pre .operator {
    color: #56b6c2;
}

pre .function {
    color: #61afef;
}

/* Requirements Grid */
.requirement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.req-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.req-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.req-card ul {
    list-style: none;
    padding-left: 0;
}

.req-card li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.req-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Troubleshooting Items */
.troubleshoot-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1rem 0;
}

.troubleshoot-item h4 {
    color: var(--warning);
    margin-bottom: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
    }
    
    .content-header {
        padding: 20px 24px;
    }
    
    .content-body {
        padding: 20px 24px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .content-header {
        padding: 1rem 1.5rem;
    }
    
    .content-header h1 {
        font-size: 2rem;
    }
    
    .content-body {
        padding: 0 1.5rem 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .requirement-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .content-header {
        padding: 1rem;
    }
    
    .content-header h1 {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content-body {
        padding: 0 1rem 2rem;
    }
    
    .doc-section h2 {
        font-size: 1.5rem;
    }
    
    .section-content h3 {
        font-size: 1.25rem;
    }
    
    pre {
        font-size: 0.75rem;
        padding: 1rem;
    }
}

/* No animations for instant loading */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background-color: var(--accent-primary);
    color: #ffffff;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline-offset: 4px;
}

/* Print styles */
@media print {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .content-header,
    .doc-section {
        break-inside: avoid;
    }
}

/* Pterodactyl Installation Components */
/* Code Container - Pterodactyl Style */
.code-container {
    background-color: #21262d;
    border: 1px solid #30363d;
    border-radius: 8px;
    margin: 16px 0;
    overflow: hidden;
}

.code-header {
    background-color: #161b22;
    padding: 12px 16px;
    border-bottom: 1px solid #30363d;
    color: #f0f6fc;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code-body {
    background-color: #0d1117;
    padding: 0;
}

.code-body pre {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.code-body pre code {
    padding: 16px;
}

.install-card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.install-card:hover {
    border-color: #58a6ff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.install-card + .install-card {
    margin-top: 12px;
}

.install-card h3 {
    background-color: #21262d;
    padding: 10px 16px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #30363d;
    color: #f0f6fc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copy-btn {
    opacity: 0.7;
    cursor: pointer;
    font-size: 12px;
}

.copy-btn:hover {
    opacity: 1;
    color: #58a6ff;
}

.install-card pre {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: #0d1117;
}

.install-card pre code {
    background-color: #0d1117;
    padding: 16px;
    display: block;
    color: #e6edf3;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 12px;
    line-height: 1.45;
}

.code-block-header {
    display: flex;
    justify-content: flex-end;
    padding: 8px 16px 0;
}

.copy-icon {
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
}

.copy-icon:hover {
    color: var(--accent-primary);
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    margin: 12px 0;
    transition: all 0.2s ease;
}

.step-card:hover {
    border-color: #58a6ff;
    box-shadow: 0 0 0 1px rgba(88, 166, 255, 0.2);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(88, 166, 255, 0.3);
}

.step-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #f0f6fc;
}

.step-content p {
    margin: 0;
    font-size: 14px;
    color: #8b949e;
    line-height: 1.5;
}

.tab-container {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin: 16px 0 0 0;
}

.tab {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.param-list {
    background-color: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 0;
    margin: 16px 0;
}

.param-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #30363d;
    font-size: 13px;
}

.param-item:last-child {
    border-bottom: none;
}

.param-item code {
    background-color: var(--accent-primary);
    color: white;
    font-weight: 600;
    min-width: 100px;
}

.param-item span {
    color: var(--text-secondary);
}

/* Step Sections */
.step-section {
    margin: 24px 0;
}

.step-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #58a6ff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #30363d;
}

.step-section h3 i {
    color: #58a6ff;
    font-size: 14px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #58a6ff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

#back-to-top:hover {
    background: #388bfd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Success Message Components */
.success-message {
    background: linear-gradient(135deg, #238636 0%, #2ea043 100%);
    border: 1px solid #238636;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 500;
}

.success-message .icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.success-message h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.success-message p {
    margin: 4px 0 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
}

/* Info Box Components */
.info-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-left: 4px solid #58a6ff;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 20px 0;
}

.info-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    color: #58a6ff;
    font-size: 15px;
    font-weight: 600;
}

.info-box h4 i {
    color: #58a6ff;
    font-size: 14px;
}

.info-box p {
    margin: 0;
    color: #8b949e;
    line-height: 1.5;
    font-size: 14px;
}

/* Warning Box */
.warning-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-left: 4px solid #d29922;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 20px 0;
}

.warning-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    color: #d29922;
    font-size: 15px;
    font-weight: 600;
}

.warning-box h4 i {
    color: #d29922;
}

.warning-box p {
    margin: 0;
    color: #8b949e;
    line-height: 1.5;
    font-size: 14px;
}

/* Enhanced Requirement Cards */
.requirement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.req-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.req-card:hover {
    border-color: #58a6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.req-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px 0;
    color: #58a6ff;
    font-size: 16px;
    font-weight: 600;
}

.req-card h4 i {
    color: #58a6ff;
    font-size: 18px;
}

.req-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.req-card li {
    padding: 8px 0;
    color: #8b949e;
    font-size: 14px;
    border-bottom: 1px solid #21262d;
    position: relative;
    padding-left: 20px;
}

.req-card li:last-child {
    border-bottom: none;
}

.req-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3fb950;
    font-weight: bold;
}

/* Enhanced Navigation Lists */
.step-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.step-list li {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.step-list li:hover {
    background: #21262d;
    border-color: #58a6ff;
}

.step-list li:before {
    content: "→";
    color: #58a6ff;
    font-weight: bold;
    font-size: 16px;
}

.step-list li a {
    color: #f0f6fc;
    text-decoration: none;
    font-weight: 500;
}

.step-list li a:hover {
    color: #58a6ff;
}

/* DNS Record Interface Styles */
.dns-interface {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin: 20px 0;
    box-shadow: var(--shadow-lg);
}

.dns-interface h4 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dns-interface .subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.dns-record-form {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 16px;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group.small {
    flex: 0 0 120px;
}

.form-group.medium {
    flex: 0 0 160px;
}

.form-label {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-input {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    padding: 8px 12px;
    transition: border-color 0.2s ease;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.form-select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    padding: 8px 12px;
    cursor: pointer;
}

.dns-warning {
    background: rgba(210, 153, 34, 0.15);
    border: 1px solid var(--warning);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-top: 16px;
    color: var(--warning);
    font-size: 13px;
    line-height: 1.5;
}

.config-generator {
    margin-top: 30px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
}

.config-generator h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.download-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.config-preview {
    background: var(--bg-code);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-top: 16px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-code);
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
}

.srv-fields,
.mx-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.dns-guide {
    margin-top: 20px;
}

.dns-guide .info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
}

.dns-guide .info-card h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dns-guide .info-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.reverse-proxy-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-primary);
}

.checkbox-group label {
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
}

/* Enhanced Homepage Styles */

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    padding: 40px 30px;
    margin-bottom: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(88, 166, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 50%, #388bfd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    color: var(--text-primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(88, 166, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    flex: 1;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    height: 300px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.floating-card i {
    font-size: 1.2rem;
}

.floating-card span {
    font-size: 0.9rem;
    font-weight: 600;
}

.server-card {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.server-card i {
    color: #3fb950;
}

.security-card {
    top: 100px;
    right: 30px;
    animation-delay: -2s;
}

.security-card i {
    color: #d29922;
}

.monitoring-card {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -4s;
}

.monitoring-card i {
    color: var(--accent-primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Documentation Section */
.documentation-section {
    margin-bottom: 40px;
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: var(--accent-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Enhanced Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
    max-width: 100%;
}

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 380px;
    min-height: 380px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-primary);
}

.card-header {
    padding: 25px 25px 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(88, 166, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.feature-card:hover .feature-icon {
    background: rgba(88, 166, 255, 0.2);
    transform: scale(1.1);
}

.card-badge {
    background: var(--accent-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 0 25px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    min-height: 2rem;
    align-items: flex-start;
}

.tag {
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent-primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.card-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    min-height: 70px;
    display: flex;
    align-items: center;
}

.feature-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 20px;
    background: rgba(88, 166, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid transparent;
}

.feature-link:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--accent-primary);
    transform: translateX(5px);
}

.feature-link i {
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* Card Type Specific Colors */
.nginx-card .feature-icon {
    background: rgba(63, 185, 80, 0.1);
}

.nginx-card .feature-icon i {
    color: var(--success);
}

.nginx-card .card-badge {
    background: var(--success);
}

.pterodactyl-card .feature-icon {
    background: rgba(210, 153, 34, 0.1);
}

.pterodactyl-card .feature-icon i {
    color: var(--warning);
}

.pterodactyl-card .card-badge {
    background: var(--warning);
}

.fivem-card .feature-icon {
    background: rgba(248, 81, 73, 0.1);
}

.fivem-card .feature-icon i {
    color: var(--error);
}

.fivem-card .card-badge {
    background: var(--error);
}

/* Quick Start Section */
.quick-start-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    max-width: 100%;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.quick-start-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.quick-start-step:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Enhanced Info Section */
.info-section {
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 100%;
}

.info-card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-header i {
    font-size: 1.5rem;
}

.about-card .info-header i {
    color: var(--info);
}

.warning-card .info-header i {
    color: var(--warning);
}

.info-header h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-features,
.security-tips {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-feature,
.security-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-feature i,
.security-tip i {
    color: var(--success);
    font-size: 1rem;
}

/* Footer Banner */
.footer-banner {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-bottom: 20px;
    max-width: 100%;
}

.banner-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fff;
    color: var(--accent-primary);
    border-color: #fff;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Responsive Design for Homepage */
@media (max-width: 1200px) {
    .main-content {
        padding: 15px 20px;
    }
    
    .hero-banner {
        padding: 30px 20px;
    }
    
    .quick-start-section {
        padding: 25px 20px;
    }
    
    .footer-banner {
        padding: 30px 20px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        max-width: 100vw;
        padding: 10px 15px;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .hero-banner {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .feature-card {
        height: auto;
        min-height: 320px;
    }
    
    .quick-start-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .banner-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .floating-elements {
        display: none;
    }
    
    .quick-start-section,
    .footer-banner {
        padding: 20px 15px;
    }
    
    .info-grid {
        gap: 15px;
    }
}