@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=Ubuntu:wght@300;400;700&display=swap');

body
{
    background: black;
    color: white;
    font-family: 'Ubuntu', sans-serif;
}

.content
{
    display: block;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 3em;
}

.profile-pic
{
    height: 25%;
    border-radius: 3em;
}

h1
{
    font-size: 3em;
    font-weight: 700;
}

h2
{
    font-size: 2em;
    font-weight: 300;
}

p, ul
{
    font-family: 'DM Mono', monospace;
    font-size: 1.2em;
    line-height: 1.7em;
}

a
{
    color: white;
}

.social-icons img
{
    width: 3em;
    height: 3em;
    margin: 5px;
}

.cv-icon
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3em;
    height: 3em;
    margin: 5px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cv-icon svg
{
    width: 3em;
    height: 3em;
    transition: all 0.3s ease;
}

.cv-icon:hover
{
    transform: translateY(-2px);
}

.cv-icon:hover svg
{
    color: #7AE6FF;
}

.publications-link
{
    font-family: 'DM Mono', monospace;
    font-size: 1.1em;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.publications-link:hover
{
    color: white;
}

.gallery-link
{
    font-family: 'DM Mono', monospace;
    font-size: 1.1em;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-link:hover
{
    color: white;
}

.blog-link
{
    font-family: 'DM Mono', monospace;
    font-size: 1.1em;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-link:hover
{
    color: white;
}

.copyright
{
    margin-top: 3em;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 1.5em;
}

.copyright p
{
    font-family: 'DM Mono', monospace;
    font-size: 0.8em;
    color: #666;
    margin: 0;
}

/* Research Playground Styles */
.playground-section {
    margin-top: 4em;
    padding: 2em;
    background: linear-gradient(135deg, rgba(15, 20, 26, 0.8), rgba(10, 14, 20, 0.9));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.playground-section h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #7AE6FF, #A990FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5em;
    text-align: center;
}

.playground-description {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.1em;
    color: #E8F1F8;
    text-align: center;
    margin-bottom: 2em;
    line-height: 1.6;
    opacity: 0.9;
}

.playground-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1em;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Enhanced Playground Styles */
.rp-root {
    font-family: 'Ubuntu', sans-serif !important;
}

.rp-wrap {
    background: linear-gradient(180deg, rgba(15, 20, 26, 0.95), rgba(10, 14, 20, 0.98)) !important;
    border: 1px solid rgba(122, 230, 255, 0.2) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(122, 230, 255, 0.1) !important;
}

.rp-title {
    background: linear-gradient(135deg, #7AE6FF, #A990FF) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
}

.rp-equation {
    background: linear-gradient(135deg, rgba(122, 230, 255, 0.05), rgba(169, 144, 255, 0.05)) !important;
    border: 1px solid rgba(122, 230, 255, 0.2) !important;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.rp-input {
    background: rgba(10, 16, 22, 0.8) !important;
    border: 1px solid rgba(122, 230, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.rp-input:focus {
    border-color: #7AE6FF !important;
    box-shadow: 0 0 0 3px rgba(122, 230, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.rp-btn {
    background: linear-gradient(135deg, #7AE6FF, #5CC7D9) !important;
    border: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(122, 230, 255, 0.3) !important;
}

.rp-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(122, 230, 255, 0.4) !important;
}

.rp-ghost {
    background: rgba(122, 230, 255, 0.1) !important;
    border: 1px solid rgba(122, 230, 255, 0.3) !important;
    color: #E8F1F8 !important;
}

.rp-ghost:hover {
    background: rgba(122, 230, 255, 0.2) !important;
    border-color: #7AE6FF !important;
}

.rp-viz {
    background: linear-gradient(135deg, rgba(15, 20, 26, 0.8), rgba(10, 14, 20, 0.9)) !important;
    border: 1px solid rgba(122, 230, 255, 0.15) !important;
}

.rp-viz-locked {
    background: radial-gradient(circle at 50% 40%, rgba(122, 230, 255, 0.1), rgba(0, 0, 0, 0.3)) !important;
    border: 2px dashed rgba(122, 230, 255, 0.3) !important;
    backdrop-filter: blur(5px) !important;
}

.rp-chip {
    background: rgba(10, 16, 22, 0.8) !important;
    border: 1px solid rgba(122, 230, 255, 0.2) !important;
    backdrop-filter: blur(5px) !important;
}



/* Enhanced slider styles for Research Playground */
.rp-slider-chip { 
    padding: 12px 16px !important; 
    min-width: 200px !important; 
    transition: all 0.3s ease !important;
    border: 1px solid rgba(122,230,255,0.2) !important;
    background: rgba(10, 16, 22, 0.9) !important;
    backdrop-filter: blur(10px) !important;
}

.rp-slider-chip:hover {
    border-color: rgba(122,230,255,0.4) !important;
    box-shadow: 0 4px 20px rgba(122,230,255,0.1) !important;
    transform: translateY(-2px) !important;
}

.rp-slider-chip.rp-slider-focused {
    border-color: #7AE6FF !important;
    box-shadow: 0 0 0 3px rgba(122,230,255,0.2), 0 8px 25px rgba(122,230,255,0.15) !important;
}

.rp-slider-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #E8F1F8 !important;
    opacity: 0.9 !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
    font-family: 'Ubuntu', sans-serif !important;
}



.rp-slider-input {
    width: 100% !important;
    height: 24px !important;
    background: transparent !important;
    outline: none !important;
    cursor: pointer !important;
    margin: 8px 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Style the range input track */
.rp-slider-input::-webkit-slider-runnable-track {
    width: 100% !important;
    height: 4px !important;
    background: rgba(122,230,255,0.15) !important;
    border-radius: 2px !important;
    border: none !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3) !important;
}

.rp-slider-input::-moz-range-track {
    width: 100% !important;
    height: 4px !important;
    background: rgba(122,230,255,0.15) !important;
    border-radius: 2px !important;
    border: none !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3) !important;
}

/* Style the range input thumb */
.rp-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    background: linear-gradient(135deg, #888, #CCC) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: 2px solid rgba(255,255,255,0.9) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 0 2px rgba(136,136,136,0.3) !important;
    transition: all 0.2s ease !important;
    margin-top: -8px !important;
}

.rp-slider-input::-moz-range-thumb {
    width: 20px !important;
    height: 20px !important;
    background: linear-gradient(135deg, #888, #CCC) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: 2px solid rgba(255,255,255,0.9) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 0 2px rgba(136,136,136,0.3) !important;
    transition: all 0.2s ease !important;
}

/* Hover effects for the thumb */
.rp-slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 0 3px rgba(136,136,136,0.5) !important;
}

.rp-slider-input::-moz-range-thumb:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 0 3px rgba(136,136,136,0.5) !important;
}

/* Active/focus effects */
.rp-slider-input:focus::-webkit-slider-thumb {
    box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 0 0 4px rgba(136,136,136,0.6) !important;
}

.rp-slider-input:focus::-moz-range-thumb {
    box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 0 0 4px rgba(136,136,136,0.6) !important;
}

.rp-play {
    background: linear-gradient(135deg, #7AE6FF, #5CC7D9) !important;
    box-shadow: 0 4px 15px rgba(122, 230, 255, 0.3) !important;
}

.rp-play:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(122, 230, 255, 0.4) !important;
}

/* Blog list styles */
.blog-list {
    list-style: none;
    padding: 0;
}

.blog-list li {
    margin-bottom: 2em;
    padding: 1.5em;
    background: linear-gradient(135deg, rgba(15, 20, 26, 0.6), rgba(10, 14, 20, 0.8));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.blog-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(122, 230, 255, 0.3);
}

.blog-date {
    color: #7AE6FF;
    font-size: 0.9em;
    font-weight: 400;
}

.blog-excerpt {
    color: #B8C5D1;
    font-size: 1em;
    margin-top: 0.5em;
    display: block;
}

/* Back link styles */
.back-link {
    display: inline-block;
    margin-top: 2em;
    padding: 0.8em 1.2em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'DM Mono', monospace;
    font-size: 1em;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Blog list mobile optimizations */
.blog-list li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-list li a {
    display: inline;
    word-break: break-word;
}

.blog-excerpt {
    display: block;
    margin-top: 0.8em;
    word-wrap: break-word;
}

/* Back button container styling */
.back-button {
    text-align: center;
    margin-top: 2em;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .content {
        width: 90%;
        margin-top: 2em;
        margin-bottom: 2em;
        padding: 0 1em;
    }
    
    h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.6em;
        line-height: 1.3;
    }
    
    p, ul {
        font-size: 1em;
        line-height: 1.6em;
    }
    
    .profile-pic {
        height: 20%;
        border-radius: 2em;
    }
    
    .social-icons img {
        width: 2.5em;
        height: 2.5em;
        margin: 3px;
    }
    
    .cv-icon {
        width: 2.5em;
        height: 2.5em;
        margin: 3px;
    }
    
    .cv-icon svg {
        width: 2.5em;
        height: 2.5em;
    }
    
    .playground-section {
        margin-top: 2em;
        padding: 1.5em;
        border-radius: 15px;
    }
    
    .playground-section h2 {
        font-size: 2em;
    }
    
    .playground-description {
        font-size: 1em;
    }
    
    .blog-list li {
        padding: 1em;
        margin-bottom: 1.5em;
    }
    
    .blog-list li a {
        font-size: 1.1em;
        line-height: 1.4;
    }
    
    .blog-excerpt {
        font-size: 0.9em;
        margin-top: 0.6em;
    }
    
    .blog-date {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 480px) {
    .content {
        width: 95%;
        margin-top: 1.5em;
        margin-bottom: 1.5em;
        padding: 0 0.5em;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.4em;
    }
    
    p, ul {
        font-size: 0.9em;
        line-height: 1.5em;
    }
    
    .profile-pic {
        height: 18%;
        border-radius: 1.5em;
    }
    
    .social-icons img {
        width: 2em;
        height: 2em;
        margin: 2px;
    }
    
    .cv-icon {
        width: 2em;
        height: 2em;
        margin: 2px;
    }
    
    .cv-icon svg {
        width: 2em;
        height: 2em;
    }
    
    .playground-section {
        margin-top: 1.5em;
        padding: 1em;
        border-radius: 12px;
    }
    
    .playground-section h2 {
        font-size: 1.6em;
    }
    
    .playground-description {
        font-size: 0.9em;
    }
    
    .blog-list li {
        padding: 0.8em;
        margin-bottom: 1em;
    }
    
    .blog-list li a {
        font-size: 1em;
        line-height: 1.3;
    }
    
    .blog-excerpt {
        font-size: 0.8em;
        margin-top: 0.5em;
    }
    
    .blog-date {
        font-size: 0.7em;
    }
    
    .back-link {
        display: block;
        text-align: center;
        margin-top: 2em;
        padding: 0.8em;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-family: 'DM Mono', monospace;
        font-size: 0.9em;
    }
    
    .back-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* Ensure proper spacing and readability on all devices */
.content {
    max-width: 1200px;
    box-sizing: border-box;
}

/* Improve touch targets on mobile */
a, button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Better text contrast and readability */
p {
    text-align: justify;
    hyphens: auto;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}
