:root {
    --primary-color: #5865F2;
    --secondary-color: #2C2F33;
    --accent-color: #7289DA;
    --text-color: #FFFFFF;
    --background-color: #23272A;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
    --success-color: #43b581;
    --error-color: #f04747;
    --success: #4caf50;
    --success-dark: #3d8b40;
    --success-transparent: rgba(76, 175, 80, 0.1);
    --danger: #f44336;
    --danger-dark: #c62828;
    --danger-transparent: rgba(244, 67, 54, 0.1);
    --warning: #ff9800;
    --warning-dark: #ef6c00;
    --warning-transparent: rgba(255, 152, 0, 0.1);
    --text-highlight: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(44, 47, 51, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    padding: 0.5rem 5%;
    background-color: rgba(44, 47, 51, 0.98);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(88, 101, 242, 0.3),
                    0 0 10px rgba(88, 101, 242, 0.2),
                    0 0 15px rgba(88, 101, 242, 0.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(88, 101, 242, 0.5),
                    0 0 20px rgba(88, 101, 242, 0.3),
                    0 0 30px rgba(88, 101, 242, 0.2);
    }
}

.logo i {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    font-weight: 500;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--background-color));
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(88, 101, 242, 0.05) 0%, transparent 70%);
    animation: pulse 6s infinite;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 6s infinite;
    box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(-45deg);
    animation: shooting 12s infinite;
    opacity: 0;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
}

@keyframes shooting {
    0% {
        transform: translateX(0) translateY(0) rotate(-45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(500px) translateY(-500px) rotate(-45deg);
        opacity: 0;
    }
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.parallax-layer-1 {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    animation: parallax1 30s linear infinite;
}

.parallax-layer-2 {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></svg>');
    background-size: 200px 200px;
    animation: parallax2 40s linear infinite;
}

@keyframes parallax1 {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

@keyframes parallax2 {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.cta-button:active {
    transform: translateY(1px);
}

section {
    padding: 5rem 10%;
    position: relative;
}

.features h2, .modules h2, .commands h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    perspective: 1000px;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card, .module-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
    max-width: 100%;
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.feature-card:hover, .module-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card::before, .module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    transition: all 0.3s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.feature-card:hover::before, .module-card:hover::before {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #7289DA;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
    transform-origin: center;
    will-change: transform;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(0deg);
}

.module-status {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.module-status.active {
    color: var(--success-color);
}

.module-status.inactive {
    color: var(--error-color);
}

.command-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
}

.command-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(88, 101, 242, 0.2);
}

.command-card ul {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.command-card li {
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    position: relative;
    transition: all var(--transition-speed) ease;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.command-card li:before {
    content: "/";
    color: var(--primary-color);
    font-weight: bold;
}

.command-card li:hover {
    background: rgba(88, 101, 242, 0.1);
    color: var(--primary-color);
}

.command-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto;
}

footer {
    background-color: var(--secondary-color);
    padding: 3rem 10% 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all var(--transition-speed) ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 3rem 5%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@keyframes meteor {
    0% {
        transform: rotate(var(--angle)) translateX(-100%);
        opacity: 1;
    }
    100% {
        transform: rotate(var(--angle)) translateX(200%);
        opacity: 0;
    }
}

.meteor {
    pointer-events: none;
    position: absolute;
    size: 0.5rem;
    border-radius: 9999px;
    background: #71717a;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: meteor var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.meteor::before {
    content: '';
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 50px;
    right: 100%;
    background: linear-gradient(to right, #71717a, transparent);
    z-index: -10;
}

.support-section, .privacy-section, .terms-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.support-container, .privacy-container, .terms-container {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.support-card, .privacy-card, .terms-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-card:hover, .privacy-card:hover, .terms-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.discord-button {
    display: inline-block;
    background: #7289DA;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.discord-button:hover {
    background: #5b6eae;
}

.support-card h2, .privacy-card h2, .terms-card h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.support-card p, .privacy-card p, .terms-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.support-card ul, .privacy-card ul, .terms-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.support-card li, .privacy-card li, .terms-card li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.support-card li:before, .privacy-card li:before, .terms-card li:before {
    content: "•";
    color: #7289DA;
    position: absolute;
    left: 0;
}

.privacy-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    transition: all 0.3s ease;
}

.privacy-card:hover::before {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.privacy-card h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.privacy-card li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.privacy-card li:before {
    content: "•";
    color: #7289DA;
    position: absolute;
    left: 0;
}

.dashboard-section {
    max-width: 1200px;
    margin: 40px auto;
    background: var(--bg-dark);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 20px;
    position: relative;
    z-index: 1;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    color: var(--text-color);
}

.user-id {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.server-control {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.server-selector {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-selector select {
    background: var(--bg-darker);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 15px;
    flex-grow: 1;
    min-width: 250px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.server-selector select:hover {
    border-color: var(--primary);
}

.dashboard-btn {
    padding: 10px 15px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.dashboard-btn.primary {
    background: var(--primary);
    color: white;
}

.dashboard-btn.primary:hover {
    background: var(--primary-dark);
}

.dashboard-btn.success {
    background: var(--success);
    color: white;
}

.dashboard-btn.success:hover {
    background: var(--success-dark);
}

.dashboard-btn.danger {
    background: var(--danger);
    color: white;
}

.dashboard-btn.danger:hover {
    background: var(--danger-dark);
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 1px;
}

.dashboard-tab {
    background: var(--bg-darker);
    border: none;
    border-radius: 6px 6px 0 0;
    padding: 12px 18px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.dashboard-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.dashboard-tab.active {
    background: var(--primary);
    color: white;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.dashboard-card {
    background: var(--bg-darker);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.dashboard-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}

.dashboard-card h3 {
    margin: 0 0 15px;
    color: var(--text-color);
    font-size: 1.2rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-value {
    font-weight: 600;
    color: var(--text-highlight);
}

/* Module Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.module-card {
    background: var(--bg-darker);
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    overflow: hidden;
}

.module-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.module-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-panel {
    padding: 20px;
}

.toggle-btn {
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn:hover {
    filter: brightness(1.1);
}

.toggle-btn.active {
    background: var(--success);
}

.toggle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.module-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Settings Panel */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.settings-card {
    background: var(--bg-darker);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.settings-card h3 {
    margin: 0 0 15px;
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.setting-input, .setting-select {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    min-width: 120px;
    transition: all 0.3s;
}

.setting-input:focus, .setting-select:focus {
    border-color: var(--primary);
    outline: none;
}

.setting-textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
    min-height: 80px;
    resize: vertical;
    font-family: 'Poppins', sans-serif;
}

.setting-range {
    width: 100%;
    background: transparent;
}

.setting-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.setting-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-dark);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-secondary);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: white;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.action-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.85rem;
}

.action-btn i {
    font-size: 1.2rem;
    color: var(--primary);
}

.action-btn:hover {
    background: var(--bg-darker);
    border-color: var(--primary);
}

/* Logs Panel */
.logs-container {
    background: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.logs-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.logs-filter-select {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.logs-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 0;
}

.log-entry {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.log-time {
    color: var(--text-secondary);
    width: 120px;
    flex-shrink: 0;
}

.log-type {
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0 15px;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.log-type.moderation {
    background: var(--danger-transparent);
    color: var(--danger);
}

.log-type.member {
    background: var(--success-transparent);
    color: var(--success);
}

.log-type.message {
    background: var(--primary-transparent);
    color: var(--primary);
}

.log-type.voice {
    background: var(--warning-transparent);
    color: var(--warning);
}

.log-content {
    flex-grow: 1;
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-dark);
    color: var(--text-color);
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease forwards;
    border-left: 4px solid var(--primary);
}

.notification.success {
    border-left-color: var(--success);
}

.notification.error {
    border-left-color: var(--danger);
}

.notification.warning {
    border-left-color: var(--warning);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 1.2rem;
    color: var(--primary);
}

.notification.success .notification-content i {
    color: var(--success);
}

.notification.error .notification-content i {
    color: var(--danger);
}

.notification.warning .notification-content i {
    color: var(--warning);
}

.close-notification {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.close-notification:hover {
    color: var(--text-color);
}

.notification.closing {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Anpassungen für das Dashboard */
@media (max-width: 768px) {
    .dashboard-grid,
    .modules-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .server-control {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-tabs {
        padding-bottom: 10px;
    }
    
    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .setting-input, 
    .setting-select {
        width: 100%;
    }
    
    .log-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .log-type {
        margin: 5px 0;
    }
}

/* Weitere zusätzliche Stile und CSS-Variablen */
:root {
    --bg-dark: #2C2F33;
    --bg-darker: #23272A;
    --border-color: rgba(255, 255, 255, 0.1);
    --primary: #5865F2;
    --primary-dark: #4752C4;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-highlight: #fff;
}

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

/* Login Styles */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #23272A, #2C2F33);
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.login-container {
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #5865F2, transparent, #5865F2);
    z-index: -1;
    border-radius: 16px;
    filter: blur(4px);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.login-container:hover::before {
    opacity: 0.4;
}

.login-container {
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.login-header {
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
    border-radius: 50%;
}

.login-header h1 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 24px;
}

.login-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 0;
}

.discord-login-btn {
    position: relative;
    overflow: hidden;
}

.discord-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.discord-login-btn:hover::before {
    left: 100%;
}

.discord-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 30px 0;
}

.discord-login-btn:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.discord-login-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.login-footer {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
}

.login-footer a {
    color: #7289DA;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.login-footer a:hover {
    color: #5865F2;
    text-decoration: underline;
}

.login-footer span {
    margin: 0 3px;
}

.command-item {
    position: relative;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(44, 47, 51, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 3px solid var(--primary-color);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.command-item:hover {
    background-color: rgba(44, 47, 51, 0.8);
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 0.2rem;
}

.command-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 1.5rem;
}

.command-description {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 0.5rem;
    border-left: 2px solid rgba(88, 101, 242, 0.3);
}

.command-content {
    display: none;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
    overflow: hidden;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.command-usage {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 100%;
    overflow-wrap: break-word;
}

.command-usage code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    white-space: normal;
    word-break: break-all;
}

.command-item .fa-chevron-down {
    transition: transform 0.3s ease;
    margin-left: auto;
    margin-right: 0.5rem;
    opacity: 0;
    /* Keep the Opacity 0 */
} 