/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark theme (default) */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-card: #333333;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: #444444;
    --navbar-bg: rgba(26, 26, 26, 0.95);
    --shadow: rgba(0, 0, 0, 0.3);
    --accent-color: #2E7D32;
    --bg-hover: #3a3a3a;
}

body.light-mode {
    /* Light theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e5e7eb;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --shadow: rgba(0, 0, 0, 0.1);
    --accent-color: #2E7D32;
    --bg-hover: #f1f5f9;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: color 0.3s ease, background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    gap: 60px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E7D32;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.logo-image {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px var(--shadow);
}

.nav-links a:hover {
    color: #4ade80;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Theme Toggle */
.theme-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.theme-toggle {
    position: relative;
}

.theme-toggle-input {
    display: none;
}

.theme-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow);
}

.theme-toggle-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
    border-color: #2E7D32;
}

.theme-toggle-label i {
    font-size: 18px;
    color: #2E7D32;
    transition: all 0.3s ease;
}

/* Show moon icon in dark mode (default) */
.theme-toggle-label .fa-moon {
    opacity: 1;
    transform: scale(1);
}

.theme-toggle-label .fa-sun {
    opacity: 0;
    transform: scale(0);
}

/* Show sun icon in light mode */
body.light-mode .theme-toggle-label .fa-moon {
    opacity: 0;
    transform: scale(0);
}

body.light-mode .theme-toggle-label .fa-sun {
    opacity: 1;
    transform: scale(1);
}

/* Active state */
.theme-toggle-label:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--shadow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2E7D32 0%, #1b5e20 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #fff;
    color: #2E7D32;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2E7D32;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bot-avatar {
    width: 300px;
    height: 300px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    border: 5px solid rgba(0, 0, 0, 0.3);
}

.bot-logo {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.bot-logo:hover {
    transform: scale(1.05);
}

/* Server Scanner Section */
.server-scanner {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.server-scanner h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scanner-input {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.scanner-input input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.scanner-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.scanner-input input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(255, 255, 255, 0.15);
}

.btn-accent {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-accent:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.scanner-help {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal-body {
    margin-bottom: 20px;
}

.scan-results {
    max-height: 400px;
    overflow-y: auto;
}

.scan-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.user-id {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.user-reason {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-original-server {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 3px;
    font-style: italic;
}

.scan-stats {
    background: var(--bg-primary);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.scan-stats p {
    margin: 5px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scan-stats p strong {
    color: var(--text-primary);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #333;
    color: white;
}

.status-badge.status-approved {
    background: #4CAF50;
    color: white;
}

.status-badge.status-pending {
    background: #FF9800;
    color: white;
}

.status-badge.status-denied {
    background: #f44336;
    color: white;
}

/* Plain text status for database and admin tables */
.database-table .status-approved,
.admin-table .status-approved {
    color: #2E7D32;
    font-weight: 600;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    text-transform: none;
    display: inline;
}

.database-table .status-pending,
.admin-table .status-pending {
    color: #FF8F00;
    font-weight: 600;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    text-transform: none;
    display: inline;
}

.database-table .status-denied,
.admin-table .status-denied {
    color: #D32F2F;
    font-weight: 600;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    text-transform: none;
    display: inline;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: #4CAF50;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    font-size: 1.2rem;
}

.notification-success {
    border-left: 4px solid #4CAF50;
    color: #4CAF50;
}

.notification-error {
    border-left: 4px solid #f44336;
    color: #f44336;
}

.notification-info {
    border-left: 4px solid #2196F3;
    color: #2196F3;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2E7D32;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2E7D32, #1b5e20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2E7D32;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Commands Section */
.commands {
    padding: 100px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.commands h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2E7D32;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.command-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, background 0.3s ease;
}

.command-card:hover {
    transform: translateY(-3px);
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.command-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2E7D32;
    font-family: 'Courier New', monospace;
}

.permission {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.permission.admin {
    background: #dc2626;
    color: white;
}

.permission.mod {
    background: #ea580c;
    color: white;
}

.permission.user {
    background: #059669;
    color: white;
}

.command-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2E7D32;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: background 0.3s ease;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--border-color);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2E7D32;
}

.faq-question i {
    color: #2E7D32;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.faq-answer code {
    background: #404040;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #4ade80;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2E7D32 0%, #1b5e20 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Database Page Styles */
.database {
    padding: 80px 0;
    min-height: 100vh;
}

.database-header {
    text-align: center;
    margin-bottom: 40px;
}

.database-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.database-header h1 i {
    color: var(--accent-color);
    margin-right: 15px;
}

.database-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.last-updated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.last-updated i {
    font-size: 0.8rem;
}

.database-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.filter-controls {
    display: flex;
    gap: 15px;
}

.filter-controls select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-controls select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.refresh-btn {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.refresh-btn:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.refresh-btn:active {
    transform: scale(0.95);
}

.refresh-btn i {
    transition: transform 0.3s ease;
}

.refresh-btn:hover i {
    transform: rotate(180deg);
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #2E7D32;
}

.notification-success i {
    color: #2E7D32;
}

.notification-info {
    border-left: 4px solid #1976D2;
}

.notification-info i {
    color: #1976D2;
}

.notification-error {
    border-left: 4px solid #D32F2F;
}

.notification-error i {
    color: #D32F2F;
}

.database-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.database-table-container {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.database-table {
    width: 100%;
    border-collapse: collapse;
}

.database-table th {
    background: var(--bg-primary);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.database-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.database-table tr:hover {
    background: var(--bg-hover);
}

.database-table .status-approved {
    color: #2E7D32;
    font-weight: 600;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    text-transform: none;
    display: inline;
}

.database-table .status-pending {
    color: #FF8F00;
    font-weight: 600;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    text-transform: none;
    display: inline;
}

.database-table .status-denied {
    color: #D32F2F;
    font-weight: 600;
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    text-transform: none;
    display: inline;
}

.database-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.pagination-btn {
    padding: 10px 20px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--accent-color);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pageInfo {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.database-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.info-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-card h3 i {
    color: var(--accent-color);
    margin-right: 10px;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Database */
@media (max-width: 768px) {
    .database-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: none;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .database-table {
        font-size: 0.8rem;
    }
    
    .database-table th,
    .database-table td {
        padding: 10px 8px;
    }
    
    .database-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 60px 0 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 10px;
    color: #2E7D32;
}

.footer-logo-image {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.footer-logo-image:hover {
    transform: scale(1.1);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2E7D32;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2E7D32;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: #2E7D32;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-secondary);
    transition: border-color 0.3s ease, color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .bot-avatar {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features h2,
    .commands h2,
    .faq h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .feature-card,
    .command-card {
        padding: 25px 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.command-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Privacy Policy Section */
.privacy-policy {
    background: var(--bg-secondary);
    padding: 80px 0;
    transition: background 0.3s ease;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h3 {
    color: #2E7D32;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.policy-section p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.policy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.policy-section a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
}

.policy-section a:hover {
    text-decoration: underline;
}

/* Terms of Service Section */
.terms-of-service {
    background: var(--bg-secondary);
    padding: 80px 0;
    transition: background 0.3s ease;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h3 {
    color: #2E7D32;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.terms-section p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.terms-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-section li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.terms-section a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
}

.terms-section a:hover {
    text-decoration: underline;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Admin Panel Styles */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 20px;
}

.admin-auth-section {
    margin-bottom: 25px;
}

.admin-auth-section h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-auth-section p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.admin-discord-btn {
    width: 100%;
    background: #5865F2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.admin-discord-btn:hover {
    background: #4752C4;
}

.admin-discord-btn:active {
    transform: translateY(1px);
}

/* Divider styles removed - Discord OAuth only */

.admin-login-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-color);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-login-header h1 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.admin-login-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.admin-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.admin-form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.admin-login-btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.admin-login-btn:hover {
    background: #1b5e20;
}

.admin-login-btn:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

.admin-error {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.admin-success {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.admin-loading {
    display: none;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.admin-loading i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    min-height: 100vh;
    background: var(--bg-primary);
}

.admin-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-title h1 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.5rem;
}

.admin-logout {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.admin-logout:hover {
    background: #b71c1c;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.admin-stat-card h3 {
    color: var(--text-primary);
    margin: 0 0 10px 0;
    font-size: 2rem;
}

.admin-stat-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.admin-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-btn:hover {
    background: #1b5e20;
}

.admin-btn.danger {
    background: #d32f2f;
}

.admin-btn.danger:hover {
    background: #b71c1c;
}

.admin-btn.secondary {
    background: var(--text-secondary);
}

.admin-btn.secondary:hover {
    background: #666;
}

.admin-table-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-table td {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.admin-table tr:hover {
    background: var(--bg-primary);
}

.admin-actions-cell {
    display: flex;
    gap: 8px;
}

.admin-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.admin-action-btn.edit {
    color: #1976d2;
}

.admin-action-btn.edit:hover {
    background: rgba(25, 118, 210, 0.1);
}

.admin-action-btn.delete {
    color: #d32f2f;
}

.admin-action-btn.delete:hover {
    background: rgba(211, 47, 47, 0.1);
}

.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.admin-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-modal-header h2 {
    color: var(--text-primary);
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    box-sizing: border-box;
}

.admin-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.admin-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.admin-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.admin-notification.show {
    transform: translateX(0);
}

.admin-notification.success {
    background: #2e7d32;
}

.admin-notification.error {
    background: #d32f2f;
}

.admin-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.admin-loading i {
    animation: spin 1s linear infinite;
    font-size: 2rem;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Documentation Styles */
.docs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.docs-sidebar h3 {
    color: var(--accent-color);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.docs-nav {
    list-style: none;
}

.docs-nav li {
    margin-bottom: 8px;
}

.docs-nav a {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.docs-nav a:hover,
.docs-nav a.active {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.docs-nav a.active {
    color: var(--accent-color);
    font-weight: 500;
}

.docs-content {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.docs-section {
    margin-bottom: 60px;
}

.docs-section:last-child {
    margin-bottom: 0;
}

.docs-section h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.docs-section h3 {
    color: var(--text-primary);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.docs-section h4 {
    color: var(--text-primary);
    margin: 25px 0 10px;
    font-size: 1.2rem;
}

.docs-section p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.docs-section ul, .docs-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.docs-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.command-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    font-family: 'Courier New', monospace;
    position: relative;
}

.command-block .command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.command-block .command-name {
    color: var(--accent-color);
    font-weight: 600;
}

.command-block .command-permission {
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.command-block .command-syntax {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.command-block .command-description {
    color: var(--text-secondary);
    font-style: italic;
}

.command-block .command-example {
    background: var(--bg-secondary);
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 8px;
    color: var(--text-primary);
}

.info-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-color);
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background: var(--bg-secondary);
    border-left: 4px solid #f57c00;
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.success-box {
    background: var(--bg-secondary);
    border-left: 4px solid #388e3c;
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-block:hover {
    border-color: var(--accent-color);
}

.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
}

.docs-table th,
.docs-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.docs-table th {
    background: var(--bg-secondary);
    color: var(--accent-color);
    font-weight: 600;
}

.docs-table tr:hover {
    background: var(--bg-hover);
}

.step-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 12px;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.permission-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.permission-card h4 {
    color: var(--accent-color);
    margin-bottom: 8px;
}

.permission-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .docs-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .docs-sidebar {
        position: static;
        order: 2;
    }

    .docs-content {
        order: 1;
        padding: 24px;
    }
}
