  :root {
        --primary2: #00f3ff;       
        --primary-dim: rgba(0, 243, 255, 0.1);
        --accent: #7000ff;        
        --bg-dark: #0b0c10;       
        --panel-bg: rgba(20, 20, 28, 0.6); 
        --border: rgba(255, 255, 255, 0.08);
        --text-main: #ffffff;
        --text-muted: #8892b0;
    }

    body {
        background-color: var(--bg-dark);
        background-image: 
            radial-gradient(circle at 10% 20%, rgba(112, 0, 255, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 40%);
        color: var(--text-main);
        font-family: 'Heebo', sans-serif;
        margin: 0;
        overflow-x: hidden;
    }

    .dashboard-wrapper {
        position: relative;
        min-height: 80vh;
        padding: 40px 20px;
        display: flex;
        justify-content: center;
    }

    .main-container {
        width: 100%;
        max-width: 800px;
    }

    /* --- כותרות --- */
    .page-header {
        text-align: center;
        margin-bottom: 40px;
    }
    .page-title {
        font-family: 'Teko', sans-serif;
        font-size: 3.5rem;
        margin: 0;
        line-height: 0.9;
        text-transform: uppercase;
    }
    .page-subtitle {
        color: var(--text-muted);
        margin-top: 5px;
        font-size: 1.1rem;
    }

    /* --- כרטיסים וזכוכית --- */
    .glass-panel {
        background: var(--panel-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.3);
        padding: 30px;
        margin-bottom: 30px;
        animation: slideUp 0.5s ease-out;
    }

    @keyframes slideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .section-title {
        font-size: 1.2rem;
        color: var(--primary2);
        font-weight: bold;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid var(--border);
        padding-bottom: 15px;
    }

    /* --- מתגים (Switches) מעוצבים --- */
    .setting-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        background: rgba(255,255,255,0.03);
        border-radius: 12px;
        margin-bottom: 15px;
        border: 1px solid transparent;
        transition: 0.3s;
    }
    .setting-row:hover {
        border-color: rgba(255,255,255,0.1);
        background: rgba(255,255,255,0.05);
    }

    .switch {
        position: relative;
        display: inline-block;
        width: 50px;
        height: 26px;
    }
    .switch input { opacity: 0; width: 0; height: 0; }
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0; left: 0; right: 0; bottom: 0;
        background-color: #333;
        transition: .4s;
        border-radius: 34px;
    }
    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }
    input:checked + .slider { background-color: var(--primary2); box-shadow: 0 0 15px var(--primary-dim); }
    input:checked + .slider:before { transform: translateX(24px); }

    /* --- כפתורים --- */
    .btn-save {
        background: var(--accent);
        width: 100%;
        border: none;
        color: #fff;
        padding: 15px;
        border-radius: 12px;
        cursor: pointer;
        transition: 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-weight: bold;
        font-size: 1.1rem;
        box-shadow: 0 5px 15px rgba(112, 0, 255, 0.3);
        margin-top: 20px;
    }
    .btn-save:hover {
        background: #8a2be2;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(112, 0, 255, 0.5);
    }

    /* כפתור אדום לאיפוס */
    .btn-danger {
        background: #ff1744;
        box-shadow: 0 5px 15px rgba(255, 23, 68, 0.3);
        margin-top: 10px; 
    }
    .btn-danger:hover {
        background: #d50000;
        box-shadow: 0 8px 20px rgba(255, 23, 68, 0.5);
    }

    /* --- אינפוטים --- */
    .url-container {
        position: relative;
        background: rgba(0,0,0,0.3);
        border: 1px dashed var(--border);
        border-radius: 12px;
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: 0.3s;
    }
    .url-container:hover { border-color: var(--primary2); background: rgba(0, 243, 255, 0.05); }
    .blur-input {
        background: transparent;
        border: none;
        color: var(--primary2);
        font-family: monospace;
        width: 100%;
        font-size: 0.9rem;
        outline: none;
    }
    .btn-copy {
        background: rgba(255,255,255,0.1);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 8px 15px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.2s;
        white-space: nowrap;
    }
    .btn-copy:hover { background: var(--primary2); color: #000; }
    .btn-open {
        background: transparent;
        border: 1px solid var(--primary2);
        color: var(--primary2);
        border-radius: 8px;
        padding: 7px 15px;
        cursor: pointer;
        text-decoration: none;
        font-size: 0.9rem;
        transition: 0.3s;
        display: flex; align-items: center;
    }
    .btn-open:hover { background: var(--primary2); color: #000; }

    /* --- Access Control Overlay --- */
    .blur-content { filter: blur(5px); pointer-events: none; user-select: none; opacity: 0.5; transition: 0.3s; }
    .access-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; justify-content: center; align-items: flex-start; padding-top: 150px; }
    .access-modal { background: rgba(11, 12, 16, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-top: 3px solid var(--primary2); padding: 40px; width: 100%; max-width: 500px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.8); border-radius: 12px; animation: floatIn 0.5s ease-out; }
    .modal-icon { font-size: 3rem; margin-bottom: 20px; color: var(--primary2); }
    .modal-title { font-family: 'Teko', sans-serif; font-size: 2.5rem; margin: 0; line-height: 1; color: #fff; text-transform: uppercase; }
    .modal-desc { font-family: 'Heebo', sans-serif; color: #aaa; margin: 15px 0 30px; font-size: 1.1rem; }
    .btn-connect-twitch { display: inline-flex; align-items: center; gap: 10px; background: #6441a5; color: white; padding: 12px 30px; font-family: 'Heebo', sans-serif; font-weight: bold; font-size: 1.1rem; text-decoration: none; border: none; border-radius: 8px; transition: 0.3s; }
    .btn-connect-twitch:hover { background: #7d5bbe; transform: translateY(-2px); box-shadow: 0 0 20px rgba(100, 65, 165, 0.5); color: #fff; }
    .social-login-row { display: flex; justify-content: center; gap: 15px; }
    .social-btn-big { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); color: #fff; font-size: 1.5rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; transition: 0.3s; text-decoration: none; }
    .social-btn-big:hover { background: var(--primary2); color: #000; border-color: var(--primary2); }
    @keyframes floatIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
