:root {
    --primary: #5865F2;
    --primary-dark: #4752C4;
    --success: #3BA55C;
    --danger: #ED4245;
    --warning: #FEE75C;
    --bg-primary: #0a0e27;
    --bg-secondary: #151932;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: #B9BBBE;
    --text-muted: #72767D;
    --shadow: rgba(0, 0, 0, 0.3);
    --toggle-width: 45px;
    --toggle-padding: 4px;
    --toggle-height: calc(var(--toggle-width) / 2 + var(--toggle-padding));
    --toggle-bg: rgba(21, 39, 59, 0.8);
    --toggle-bg-checked: rgba(82, 207, 113, 0.2);
    --toggle-nub-color: #ccc;
    --toggle-nub-checked: #52cf71;
    --toggle-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1329 100%);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(237, 66, 69, 0.08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

/* Glassmorphism Components */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--shadow);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px var(--shadow);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-brand i {
    color: var(--primary);
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.5));
}

.nav-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.3));
}

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

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.btn-login, .btn-logout {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-login:hover, .btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.5);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.2;
}


.hero-title i {
    color: var(--primary);
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.6));
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7289DA 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.6);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #2D8049 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 165, 92, 0.4);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(59, 165, 92, 0.6);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.3);
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.5));
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Page Header */
.page-header {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.page-header h1 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

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

/* Servers Grid */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.server-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.1), transparent);
    transition: left 0.5s ease;
}

.server-card:hover::before {
    left: 100%;
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.server-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.server-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #7289DA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.server-info {
    flex: 1;
}

.server-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.server-status {
    margin: 0.75rem 0;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.status-online {
    background: rgba(59, 165, 92, 0.2);
    color: var(--success);
    border: 1px solid rgba(59, 165, 92, 0.3);
}

.status-offline {
    background: rgba(237, 66, 69, 0.2);
    color: var(--danger);
    border: 1px solid rgba(237, 66, 69, 0.3);
}

/* Dashboard */
.dashboard-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.btn-back {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-back:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Sidebar */
.sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    height: fit-content;
    border: 1px solid var(--glass-border);
    position: sticky;
    top: 100px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-item > i:first-child {
    flex-shrink: 0;
}

/* Text-Content des nav-items */
.nav-item > span,
.nav-item > :not(i):not(.premium-star) {
    flex: 0 1 auto; /* Kann schrumpfen, aber wächst nicht */
}

.premium-star {
    color: #FFD700;
    font-size: 0.85rem;
    margin-left: auto; /* Schiebt den Stern ganz nach rechts */
    flex-shrink: 0; /* Stern schrumpft nie */
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
}

/* Premium Nav Item Hover Effect */
.premium-nav-item:hover .premium-star {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 1));
    animation: starSpin 0.6s ease-in-out;
}

@keyframes starSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Optional: Leichter Gradient für Premium Items */
.premium-nav-item {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.03) 100%
    );
}

.premium-nav-item:hover {
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.05) 0%,
        rgba(255, 215, 0, 0.1) 100%
    );
}

.premium-nav-item.active {
    background: linear-gradient(
        135deg, 
        rgba(88, 101, 242, 0.2) 0%, 
        rgba(255, 215, 0, 0.08) 100%
    );
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-item:hover::before {
    transform: scaleY(1);
}

.nav-item:hover {
    background: rgba(88, 101, 242, 0.1);
    color: var(--text-primary);
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(88, 101, 242, 0.1) 100%);
    color: var(--primary);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item i {
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
}

.settings-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.settings-section.active {
    display: block;
}

.settings-section h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.settings-section h2 .premium-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.settings-section h2 .premium-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.toggle-wrapper {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: background 0.3s ease;
    margin-bottom: 1rem;
}

.toggle-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-label-text {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary, #ffffff);
    user-select: none;
}

/* ========== SWITCH WRAP - Der Toggle Container ========== */
.switch-wrap {
    cursor: pointer;
    background: var(--toggle-bg);
    padding: var(--toggle-padding);
    width: var(--toggle-width);
    height: var(--toggle-height);
    border-radius: calc(var(--toggle-height) / 2);
    border: 1px solid var(--toggle-border);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.switch-wrap:hover {
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3), 
                0 0 15px rgba(88, 101, 242, 0.2);
}

/* Verstecke das native Checkbox Input */
.switch-wrap input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ========== SWITCH - Das Grid System ========== */
.switch {
    height: 100%;
    display: grid;
    grid-template-columns: 0fr 1fr 1fr;
    transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Der "Nub" (Knopf) als ::after Pseudo-Element */
.switch::after {
    content: '';
    border-radius: 50%;
    background: var(--toggle-nub-color);
    grid-column: 2;
    transition: background 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ========== CHECKED STATE ========== */
.switch-wrap input:checked + .switch {
    grid-template-columns: 1fr 1fr 0fr;
}

.switch-wrap input:checked + .switch::after {
    background: var(--toggle-nub-checked);
    box-shadow: 0 2px 12px rgba(82, 207, 113, 0.5);
}

/* Checked State für Container */
.switch-wrap:has(input:checked) {
    background: var(--toggle-bg-checked);
    border-color: rgba(82, 207, 113, 0.4);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2), 
                0 0 20px rgba(82, 207, 113, 0.2);
}

/* ========== DISABLED STATE ========== */
.switch-wrap:has(input:disabled) {
    opacity: 0.4;
    cursor: not-allowed;
}

.switch-wrap:has(input:disabled) .switch::after {
    background: #999;
}

/* ========== TOGGLE CARD STYLE (für Automation Page) ========== */
.toggle-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.toggle-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(88, 101, 242, 0.3);
}

.toggle-card-header {
    flex: 1;
}

.toggle-card-header h4 {
    color: var(--text-primary, #ffffff);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.toggle-card-header p {
    color: var(--text-secondary, #B9BBBE);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* ========== VOICE ITEM STYLE (für Voice Settings) ========== */
.voice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.voice-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(88, 101, 242, 0.3);
}

.voice-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.voice-name {
    font-weight: 600;
    color: var(--primary, #5865F2);
    font-size: 16px;
}

.voice-id {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
}

.voice-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ========== FOCUS STATE (Accessibility) ========== */
.switch-wrap:focus-within {
    outline: 2px solid rgba(88, 101, 242, 0.5);
    outline-offset: 2px;
}

/* ========== LOADING STATE (Optional) ========== */
.switch-wrap.loading .switch::after {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    :root {
        --toggle-width: 56px;
        --toggle-padding: 3px;
    }
    
    .toggle-wrapper {
        gap: 0.75rem;
        padding: 0.85rem;
    }
    
    .toggle-label-text {
        font-size: 0.95rem;
    }
    
    .toggle-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .toggle-card .switch-wrap {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    :root {
        --toggle-width: 50px;
        --toggle-padding: 3px;
    }
}

/* ========== ANIMATION ENHANCEMENTS ========== */
.switch::after {
    animation: none;
}

.switch-wrap input:checked + .switch::after {
    animation: checkBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* ========== GLOW EFFECT ========== */
.switch-wrap input:checked + .switch::after {
    box-shadow: 
        0 2px 12px rgba(82, 207, 113, 0.5),
        0 0 20px rgba(82, 207, 113, 0.3),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}





/* Checkbox */
.checkbox {
    display: block;
    margin-bottom: 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.checkbox:hover {
    background: rgba(255, 255, 255, 0.03);
}

.checkbox input {
    margin-right: 0.75rem;
    cursor: pointer;
}

/* Alerts */
#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.alert {
    background: var(--glass-strong);
    backdrop-filter: blur(30px);
    border-left: 4px solid;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.4s ease;
    min-width: 300px;
}

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

.alert-success {
    border-color: var(--success);
    background: rgba(59, 165, 92, 0.1);
}

.alert-error {
    border-color: var(--danger);
    background: rgba(237, 66, 69, 0.1);
}

.alert-warning {
    border-color: var(--warning);
    background: rgba(254, 231, 92, 0.1);
}

.alert i {
    margin-right: 0.75rem;
}

/* Custom Roasts Styles */
.roast-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roast-category {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.roast-category:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.roast-category h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
}

.roast-category small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.roast-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.roast-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.roast-item .roast-input {
    flex: 1;
}

.game-roast-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.game-roast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.game-roast-header h4 {
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.text-muted {
    color: var(--text-muted);
    font-style: italic;
}

/* Role Selector */
.role-selector {
    position: relative;
}

.role-dropdown {
    position: relative;
    width: 100%;
}

.role-dropdown-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.role-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.role-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #232843;
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-top: 5px;
    max-height: 400px;
    overflow: hidden;
    display: none;
    z-index: 1000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.role-dropdown-menu.active {
    display: block;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.role-search {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.role-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.role-search input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.role-list {
    max-height: 300px;
    overflow-y: auto;
}

.role-list::-webkit-scrollbar {
    width: 8px;
}

.role-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.role-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.role-item {
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.role-item:hover {
    background: rgba(88, 101, 242, 0.1);
}

.role-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.role-checkbox.checked {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

.role-checkbox i {
    display: none;
    color: white;
    font-size: 12px;
}

.role-checkbox.checked i {
    display: block;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    flex-grow: 1;
}

.role-badge::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.75rem;
    box-shadow: 0 0 10px currentColor;
}

.selected-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.selected-role-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.selected-role-tag::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}

.selected-role-tag .remove-role {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
}

.selected-role-tag .remove-role:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
}

.loading-roles {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        order: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group .btn {
        width: 100%;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 1rem;
    }
}

a {
    color: #d0d0d0;
    text-decoration: none;
}

a:hover {
    color: #a8a8a8;
    text-decoration: none;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-trigger {
    background: transparent;
    border: none;
    color: var(--text-primary, #fff);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.user-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.premium-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-secondary, #151932);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary, #fff);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: rgba(88, 101, 242, 0.2);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary, #5865F2);
}

.premium-link {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    font-weight: 600;
}

.premium-link i {
    color: #FFD700;
}

.dropdown-divider {
    height: 1px;
    background: var(--glass-border, rgba(255, 255, 255, 0.1));
    margin: 0.5rem 0;
}

/* User Info Layout anpassen */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary, #5865F2);
}

.premium-locked {
    position: relative;
    pointer-events: none;
}

.premium-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
    pointer-events: all;
}

.premium-lock-content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.premium-icon {
    font-size: 4rem;
    color: #FFD700;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.premium-lock-content h3 {
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.premium-lock-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.premium-badge-inline {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.75rem;
    display: inline-block;
}

/* Premium Modal Styles */
.premium-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.premium-modal.active {
    opacity: 1;
    visibility: visible;
}

.premium-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.premium-modal-content {
    position: relative;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.premium-modal-icon {
    font-size: 5rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.premium-modal-content h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-modal-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.premium-modal-subtitle i {
    color: var(--primary);
}

.premium-modal-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.premium-features-list {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.premium-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-primary);
}

.premium-feature-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.premium-feature-item i {
    color: #3BA55C;
    font-size: 1.2rem;
    min-width: 20px;
}

.premium-pricing {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 12px;
}

.premium-price {
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
}

.premium-period {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.premium-modal-content .btn-large {
    width: 100%;
    margin-bottom: 1rem;
}

.premium-modal-footer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .premium-modal-icon {
        font-size: 3.5rem;
    }
    
    .premium-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .premium-price {
        font-size: 2.5rem;
    }
}

/* Loading State für Alerts */
.alert-info {
    background: rgba(88, 101, 242, 0.2);
    border-left: 4px solid var(--primary);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    align-items: center;
    gap: 0.75rem;
    display: flex;
}

.alert-success {
    background: rgba(59, 165, 92, 0.2);
    border-left: 4px solid #3BA55C;
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    background: rgba(237, 66, 69, 0.2);
    border-left: 4px solid #ED4245;
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Premium Status Alerts */
.premium-status-alert {
    display: flex;
    flex-direction: row; /* ← ÄNDERE zurück zu row */
    align-items: center;
    justify-content: center; /* ← FÜGE HINZU für horizontale Zentrierung */
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid;
    animation: slideInDown 0.5s ease;
}

.premium-status-alert > i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.premium-status-alert > div {
    flex: 0 1 auto; /* ← ÄNDERE von flex: 1 */
    text-align: center; /* ← Text im div zentrieren */
}

.premium-status-alert strong {
    font-size: 1.1rem;
    display: block;
}

.premium-status-alert p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.premium-status-alert a {
    display: inline-block;
    margin-top: 0.5rem;
    transition: opacity 0.2s ease;
}

.premium-status-alert a:hover {
    opacity: 0.8;
}

/* Alert Success (Grün) */
.alert-success.premium-status-alert {
    background: rgba(59, 165, 92, 0.15);
    border-color: rgba(59, 165, 92, 0.4);
    color: #3BA55C;
}

.alert-success.premium-status-alert > i {
    color: #3BA55C;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Alert Warning (Gelb) */
.alert-warning.premium-status-alert {
    background: rgba(254, 231, 92, 0.15);
    border-color: rgba(254, 231, 92, 0.4);
    color: #FEE75C;
}

.alert-warning.premium-status-alert > i {
    color: #FEE75C;
}

.alert-warning.premium-status-alert strong {
    color: #FFFFFF;
}

.alert-warning.premium-status-alert p {
    color: #E5E5E5;
}

/* Alert Error (Rot) */
.alert-error.premium-status-alert {
    background: rgba(237, 66, 69, 0.15);
    border-color: rgba(237, 66, 69, 0.4);
    color: #ED4245;
}

.alert-error.premium-status-alert > i {
    color: #ED4245;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.alert-error.premium-status-alert strong {
    color: #FFFFFF;
}

.alert-error.premium-status-alert p {
    color: #E5E5E5;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-status-alert {
        flex-direction: column;
        text-align: center;
    }
    
    .premium-status-alert > i {
        margin: 0 auto 0.5rem;
    }
}

/* ============================================
   CUSTOM PAYMENT POPUP
   ============================================ */

   .payment-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.payment-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.payment-popup {
    background: linear-gradient(135deg, rgba(21, 25, 50, 0.95) 0%, rgba(15, 19, 41, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.payment-popup-overlay.active .payment-popup {
    transform: scale(1) translateY(0);
}

.payment-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.payment-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.payment-popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    animation: popupIconPulse 2s ease-in-out infinite;
}

.payment-popup-icon.success {
    background: linear-gradient(135deg, rgba(59, 165, 92, 0.2) 0%, rgba(59, 165, 92, 0.05) 100%);
    border: 2px solid rgba(59, 165, 92, 0.5);
    color: #3BA55C;
}

.payment-popup-icon.success::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(59, 165, 92, 0.3);
    animation: ripple 1.5s ease-out infinite;
}

.payment-popup-icon.cancel {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(88, 101, 242, 0.05) 100%);
    border: 2px solid rgba(88, 101, 242, 0.5);
    color: #5865F2;
}

.payment-popup-icon.cancel::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(88, 101, 242, 0.3);
    animation: ripple 1.5s ease-out infinite;
}

@keyframes popupIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.payment-popup-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-popup-message {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.payment-popup-features {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.payment-popup-features h4 {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-popup-features ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.payment-popup-features li {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.payment-popup-features li i {
    color: #3BA55C;
    font-size: 1rem;
}

.payment-popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.payment-popup-btn {
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.payment-popup-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.payment-popup-btn:hover::before {
    width: 300px;
    height: 300px;
}

.payment-popup-btn.primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7289DA 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.payment-popup-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.6);
}

.payment-popup-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-popup-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .payment-popup {
        padding: 2rem 1.5rem;
    }

    .payment-popup-title {
        font-size: 1.5rem;
    }

    .payment-popup-actions {
        flex-direction: column;
    }

    .payment-popup-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Toggle Card Style */
.toggle-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.toggle-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(88, 101, 242, 0.3);
}

.toggle-card-header {
    text-align: center;
    width: 100%;
}

.toggle-card-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.toggle-card-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Modern Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 40px;
    cursor: pointer;
}

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

.toggle-switch-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--glass-border);
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.toggle-switch-slider::before {
    content: '';
    position: absolute;
    height: 32px;
    width: 32px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.toggle-switch input:checked + .toggle-switch-slider {
    background: linear-gradient(135deg, var(--success) 0%, #2D8049 100%);
    border-color: var(--success);
    box-shadow: 0 0 20px rgba(59, 165, 92, 0.4);
}

.toggle-switch input:checked + .toggle-switch-slider::before {
    transform: translateX(40px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.toggle-switch:hover .toggle-switch-slider {
    border-color: var(--primary);
}

.toggle-switch input:checked:hover + .toggle-switch-slider {
    border-color: var(--success);
    box-shadow: 0 0 25px rgba(59, 165, 92, 0.6);
}

/* Animation beim Hover */
.toggle-switch-slider::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-switch:hover .toggle-switch-slider::after {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .toggle-switch {
        width: 70px;
        height: 36px;
    }
    
    .toggle-switch-slider::before {
        height: 28px;
        width: 28px;
    }
    
    .toggle-switch input:checked + .toggle-switch-slider::before {
        transform: translateX(34px);
    }
}

.premium-badge-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: shimmer 2s infinite;
    white-space: nowrap;
}

@keyframes shimmer {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.premium-badge-header i {
    font-size: 1rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

/* Premium Upgrade Button im Header */
.btn-premium-upgrade {
    background: linear-gradient(135deg, var(--primary) 0%, #7289DA 100%);
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-premium-upgrade::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium-upgrade:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.6);
}

.btn-premium-upgrade i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.btn-premium-upgrade span {
    position: relative;
    z-index: 1;
}

/* Premium Section - Disabled State (statt Overlay) */
.premium-locked {
    position: relative;
}

/* Nur der Content ist disabled, nicht der Header */
.premium-locked > *:not(h2):not(.premium-info-banner) {
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
}

/* Header bleibt voll funktionsfähig */
.premium-locked h2,
.premium-locked h2 *,
.premium-locked .premium-info-banner {
    opacity: 1 !important;
    pointer-events: auto !important;
    user-select: auto !important;
}

.premium-locked::after {
    content: '';
    position: absolute;
    top: 80px; /* Startet unterhalb des Headers */
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 215, 0, 0.03) 10px,
        rgba(255, 215, 0, 0.03) 20px
    );
    pointer-events: none;
    border-radius: 12px;
}

/* Entferne das alte Overlay komplett */
.premium-lock-overlay {
    display: none !important;
}

/* Premium Info Banner (optional - für zusätzliche Info) */
.premium-info-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.premium-info-banner i {
    font-size: 1.5rem;
    color: #FFD700;
}

.premium-info-banner p {
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

.premium-info-banner .btn-sm {
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .settings-section h2 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .settings-section h2 .premium-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .premium-badge-header,
    .btn-premium-upgrade {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .premium-info-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .premium-info-banner .btn-sm {
        width: 100%;
    }
}

/* Server Header Info */
.server-info-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.server-header-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
    object-fit: cover;
    flex-shrink: 0;
}

.server-header-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #7289DA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
    flex-shrink: 0;
}

.server-header-text {
    flex: 1;
    min-width: 0; /* Für text-overflow ellipsis */
}

.server-header-text h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.server-name {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.server-name::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .server-info-header {
        flex-direction: column;
        text-align: center;
    }
    
    .server-header-text h1 {
        font-size: 1.5rem;
    }
    
    .server-name {
        justify-content: center;
    }
}

/* Füge dies in public/css/dashboard.css hinzu */

/* Logs Section */
#roast-logs {
    /* Nutzt die bestehenden .settings-section Styles */
}

/* Logs Header wird vom Dashboard h2 Style übernommen */

/* Logs Table */
.logs-table-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logs-table {
    width: 100%;
    border-collapse: collapse;
}

.logs-table thead {
    background: rgba(114, 137, 218, 0.1);
}

.logs-table thead th {
    color: #7289da;
    font-weight: 600;
    padding: 15px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logs-table thead th i {
    margin-right: 8px;
}

.logs-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.logs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.logs-table tbody tr:last-child {
    border-bottom: none;
}

.logs-table tbody td {
    padding: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* User Badges */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 13px;
}

.user-badge i {
    font-size: 12px;
}

.trigger-badge {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(67, 160, 71, 0.3);
}

.target-badge {
    background: linear-gradient(135deg, #e53935 0%, #ef5350 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

/* Roast Type Badge */
.roast-type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Roast Level Badge */
.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.level-light {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.level-medium {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.level-hard {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

/* Channel Badge */
.channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.channel-badge i {
    color: #7289da;
}

/* Time Display */
.log-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Pagination */
.logs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.pagination-btn {
    background: rgba(114, 137, 218, 0.1);
    border: 1px solid rgba(114, 137, 218, 0.3);
    color: #7289da;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(114, 137, 218, 0.2);
    border-color: #7289da;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 0 15px;
}

.pagination-pages {
    display: flex;
    gap: 5px;
}

.page-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    font-weight: 500;
}

.page-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.page-btn.active {
    background: #7289da;
    color: #fff;
    border-color: #7289da;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state i {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.empty-state h3 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

/* Loading State */
.logs-loading {
    color: rgba(255, 255, 255, 0.6);
}

.logs-loading i {
    color: #7289da;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logs-table {
        font-size: 12px;
    }
    
    .logs-table thead th,
    .logs-table tbody td {
        padding: 10px 8px;
    }
    
    .user-badge {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .pagination-pages {
        display: none;
    }
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.custom-select-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.1), transparent);
    transition: left 0.5s ease;
}

.custom-select-trigger:hover::before {
    left: 100%;
}

.custom-select-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.2);
}

.custom-select-trigger.active {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.selected-value {
    color: var(--text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.dropdown-arrow {
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.custom-select-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Dropdown Menu */
.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(21, 25, 50, 0.98) 0%, rgba(15, 19, 41, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(88, 101, 242, 0.1);
    
    /* Animation Properties */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Glassmorphism Effect */
.custom-select-dropdown::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Options */
.custom-select-option {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, #7289DA 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select-option:hover::before {
    transform: scaleY(1);
}

.custom-select-option:hover {
    background: rgba(88, 101, 242, 0.15);
    padding-left: 1.5rem;
}

.custom-select-option.selected {
    background: rgba(88, 101, 242, 0.2);
    border-left: 4px solid var(--primary);
    padding-left: calc(1.25rem - 4px);
}

.custom-select-option.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1.25rem;
    color: var(--primary);
    font-size: 1rem;
    animation: checkmark 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.option-icon {
    font-size: 1.5rem;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.custom-select-option:hover .option-icon {
    transform: scale(1.2) rotate(10deg);
}

.option-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.option-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Staggered Animation für Options */
.custom-select-dropdown.active .custom-select-option {
    animation: slideInOption 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.custom-select-dropdown.active .custom-select-option:nth-child(1) {
    animation-delay: 0.05s;
}

.custom-select-dropdown.active .custom-select-option:nth-child(2) {
    animation-delay: 0.1s;
}

.custom-select-dropdown.active .custom-select-option:nth-child(3) {
    animation-delay: 0.15s;
}

@keyframes slideInOption {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .custom-select-option {
        padding: 0.85rem 1rem;
    }
    
    .option-icon {
        font-size: 1.3rem;
        min-width: 35px;
    }
    
    .option-text {
        font-size: 0.95rem;
    }
    
    .option-description {
        font-size: 0.8rem;
    }
}

.voice-list {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    min-height: 100px;
}

.voice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.voice-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.voice-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.voice-name {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 16px;
}

.voice-id {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

.voice-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

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

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

.btn-delete {
    background: rgba(220, 38, 38, 0.2);
    color: #ef4444;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete:hover {
    background: rgba(220, 38, 38, 0.3);
}

.add-voice-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.voice-empty-state {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.5);
}

.voice-empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}

/* ============================================
   HERO SLIDER STYLES - IMAGE BASED
   ============================================ */

/* Hero Slider Wrapper */
.hero-slider-wrapper {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 14, 39, 0) 0%,
        rgba(10, 14, 39, 0.3) 100%
    );
    pointer-events: none;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.8),
                0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
    background: rgba(88, 101, 242, 0.9);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
}

.slider-arrow-left {
    left: 1rem;
}

.slider-arrow-right {
    right: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-slider {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        padding: 0 1rem;
        margin: 1.5rem auto 0;
    }
    
    .hero-slider {
        height: 150px;
        border-radius: 16px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-arrow-left {
        left: 0.75rem;
    }
    
    .slider-arrow-right {
        right: 0.75rem;
    }
    
    .slider-nav {
        bottom: 0.75rem;
        gap: 0.6rem;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 120px;
        border-radius: 12px;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .slider-arrow-left {
        left: 0.5rem;
    }
    
    .slider-arrow-right {
        right: 0.5rem;
    }
    
    .slider-nav {
        bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .slider-dot {
        width: 7px;
        height: 7px;
    }
    
    .slider-dot.active {
        width: 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .slider-track {
        transition: none;
    }
}

/* ============================================
   HALLOWEEN CTA BUTTON - CLEAN VERSION
   ============================================ */

.slide-cta {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.halloween-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid #FF6B00;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(255, 107, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

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

.halloween-btn:hover {
    transform: translateY(-2px);
    border-color: #FFD700;
    box-shadow: 
        0 12px 40px rgba(255, 107, 0, 0.6),
        0 0 30px rgba(255, 107, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.halloween-btn .btn-text {
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.halloween-btn .btn-arrow {
    font-size: 1.3rem;
    color: #FF6B00;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.halloween-btn:hover .btn-arrow {
    transform: translateX(5px);
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-cta {
        bottom: 1.5rem;
    }
    
    .halloween-btn {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }
    
    .halloween-btn .btn-arrow {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .slide-cta {
        bottom: 1rem;
        width: calc(100% - 2rem);
    }
    
    .halloween-btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}