       :root {
            --glass: rgba(255, 255, 255, 0.1);
            --glass-dark: rgba(30, 30, 30, 0.8);
            --border: 1px solid rgba(255, 255, 255, 0.2);
            --border-dark: 1px solid rgba(255, 255, 255, 0.1);
            --shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
            --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.5);
            --front: white;
            --primary: #6a0dad;
            --secondary: #9c27b0;
            --accent: #e1bee7;
            --text: #333;
            --light: #f8f9fa;
            --usm: #3A3A3A;
            --back: #2C2C2C;
            --main: #1A1A1A;
            --abt: #E0E0E0;
       }

       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }
        
        body {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: var(--front);
            padding: 20px;
            text-align: center;
        }

      body.dark-mode {
            background: #121212;
       }
        
        .logo-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 30px;
            color: var(--accent); 
        }
        
        .logo {
            width: 150px;
            height: 150px;
            background-color: var(--text);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            font-size: 16px;
            color: green;
            border: 5px solid var(--primary);
        }

       body.dark-mode .logo {
            background-color: #121212;
       }
        
        .school-name {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary);
            margin-bottom: 10px;
        }

        body.dark-mode .school-name {
            color: #f1f1f1;
       }
        
        .description {
            font-size: 1.2rem;
            color: var(--back);
            margin-bottom: 30px;
            max-width: 500px;
        }

       body.dark-mode .description {
            color: #b3b3b3;
       }  
        
        .buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }
        
        .btn {
            padding: 12px 25px;
            font-size: 1rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
        }
        
        .btn-login {
            background-color: var(--primary);
            color: white;
        }
        
        .btn-register {
            background-color: var(--light);
            color: var(--primary);
            border: 2px solid var(--primary);;  
        }
        
        .btn-learn {
            background-color: var(--secondary);
            color: white;
        }
        
        .btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }

/* Dark Mode Toggle Button - Protected from other button styles */
        .mode-toggle {
            position: fixed;
            top: 1.0rem;
            right: 1.25rem;
            width: 1.80rem;
            height: 1.80rem;
            z-index: 100;
            border-radius: 50%;
            background-color: #333;
            color: #fff;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0.13rem 0.31rem rgba(0, 0, 0, 0.2);
            transition: background-color 0.3s, transform 0.3s;
        }

        .mode-toggle.light {
            background-color: #f4f4f9;
            color: #333;
        }

        .mode-toggle:hover {
            transform: scale(1.1);
        }

/* Toast-sync */
#sync-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #8A1878;
  color: white;
  padding: 12px;
  border-radius: 4px;
  display: none;
  z-index: 1000;
}



        @media (max-width: 768px) {
            .school-name {
                font-size: 2rem;
            }
            
            .description {
                font-size: 1rem;
            }
            
            .logo {
                width: 120px;
                height: 120px;
            }
            
            .btn {
                padding: 10px 20px;
            }
        }
        
        @media (max-width: 480px) {
            .school-name {
                font-size: 1.8rem;
            }
            
            .buttons {
                flex-direction: column;
                width: 100%;
            }
            
            .btn {
                width: 100%;
            }
        }

