        :root {
            --bg-main: #1A1A1A; 
            --nav-bg: rgba(19, 19, 19, 0.5); 
            --card-bg: rgba(255, 255, 255, 0.08); 
            --border-color: rgba(255, 255, 255, 0.15); 
            --shadow-cards: rgba(255, 255, 255, 0.2);
            --accent-color: #8A2BE2;
            --text-main: #ffffff;
            --text-sec: #cccccc; 
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        

        body {
            font-family: "Playpen Sans", cursive;
            font-optical-sizing: auto;
            font-weight: 500;
            font-style: normal;
            background: url('/static/photos/bckgrnd.png');
            color: var(--text-main);
            padding-top: 60px; 
        }

        p {
            margin: 5px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px; 
        }
        
        .nav-bar {
            position: fixed; top: 0; left: 0; right: 0; height: 60px;
            background-color: var(--nav-bg);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid var(--border-color); z-index: 100;
        }
        .nav-content { display: flex; justify-content: space-between; align-items: center; height: 100%; }
        .nav-logo {
            font-size: 20px; font-weight: 700; color: var(--accent-color);
            text-decoration: none;
        }
        .nav-links a {
            color: var(--text-sec); text-decoration: none; margin-left: 25px;
            font-size: 14px; transition: color 0.3s;
        }
        .nav-links a:hover { color: var(--accent-color); }

        .main-content-area {
            padding: 40px 0 80px;
        }

        .content-section-title {
            font-size: 36px;
            margin-bottom: 25px;
            text-align: left;
            margin-top: 30px;
            padding: 0 5px; 
        }


        .tile-grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
            gap: 25px;
            margin-bottom: 50px; 
            justify-content: center; 
        }

        .bio-full-block {
            background-color: var(--card-bg);
            backdrop-filter: blur(8px);
            box-shadow: -5px -5px 20px var(--shadow-cards), 15px 15px 20px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 40px 60px;
            display: flex;
            align-items: center;
            margin-bottom: 40px; 
        }

        .bio-avatar-wrap {
            width: 180px; min-width: 180px; height: 180px;
            border-radius: 50%;
            border: 4px solid var(--accent-color);
            box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
            background-image: url('../photos/avatar.jpg'); 
            background-size: cover; background-position: center;
            margin-right: 40px;
        }
        .bio-text-content h2 { font-size: 32px; margin-bottom: 10px; }
        .bio-text-content p { color: var(--text-sec); font-size: 16px; line-height: 1.6; }

        
        .tile-card-with-photo {
            background-color: var(--card-bg);
            backdrop-filter: blur(8px);
            box-shadow: -5px -5px 20px var(--shadow-cards), 15px 15px 20px rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            text-align: left;
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            color: var(--text-main);
            
            position: relative; 
            padding-top: 60px; 
            text-align: center; 
            z-index: 1;
          
        }
        .tile-card-with-photo:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(138, 43, 226, 0.2);
            border-color: var(--accent-color);
        }

   
        .tile-card-nophoto {
            background-color: var(--card-bg);
            backdrop-filter: blur(8px);
            border: 1px solid var(--border-color);
            box-shadow: -5px -5px 20px var(--shadow-cards), 15px 15px 20px rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            color: var(--text-main);
            
            padding: 25px; 
          
        }
        .tile-card-nophoto:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(138, 43, 226, 0.2);
            border-color: var(--accent-color);
        }
        
        .tile-img { 
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            background-color: #333;
            
            position: absolute; 
            top: -25px;
            left: 50%; 
            transform: translateX(-50%); 
            
            border: 4px solid var(--accent-color); 
            box-shadow: 0 0 10px rgba(138, 43, 226, 0.4); 
            z-index: 5; 
        }

        .tile-info { 
            padding: 15px 0; 
            text-align: center; 
        }
        .tile-info h3 { font-size: 18px; margin-bottom: 5px; }
        .tile-info p { 
            font-size: 13px; 
            color: var(--text-sec); 
            line-height: 1.4;
        }

    
        @media (max-width: 768px) {
            
            .container {
                padding: 0 30px; 
            }

            .bio-full-block {
                margin-top: 30px;
                flex-direction: column;
                padding: 30px 20px;
                text-align: center;
            }

            .bio-avatar-wrap {
                margin: 0 auto 20px;
            }
            
            .content-section-title {
                text-align: center; 
            }
            
            .tile-card-with-photo {
                padding-top: 60px; 
                text-align: center;
            }

            .tile-grid-container {
            gap: 35px;
        }
        }