   /* --- Root Variables & Fonts --- */
        @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;600&display=swap');

        :root {
            --primary-color: #3b82f6; /* Modern Blue */
            --secondary-color: #8b5cf6; /* Modern Purple */
            --accent-gradient: linear-googleapis(135deg, #3b82f6, #8b5cf6);
            --transition-speed: 0.3s;
        }

        body {
            font-family: 'Inter', sans-serif;
            transition: background-color 0.3s ease, color 0.3s ease;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6, .navbar-brand {
            font-family: 'Space Grotesk', sans-serif;
            letter-spacing: -0.02em;
        }

        /* --- Navbar Styles --- */
        .navbar {
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            background-color: rgba(var(--bs-body-bg-rgb), 0.85);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-link {
            font-weight: 500;
            position: relative;
            margin: 0 10px;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--primary-color);
            transition: width 0.3s;
        }

        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }

        /* --- Hero Section --- */
        #home {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding-top: 80px;
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 1.5rem;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--bs-secondary-color);
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .btn-custom {
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-primary-custom {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            color: white;
        }

        .btn-primary-custom:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
            color: white;
        }

        /* --- Sections General --- */
        section {
            padding: 100px 0;
        }

        .section-title {
            margin-bottom: 3rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--primary-color);
            margin-top: 10px;
            border-radius: 2px;
        }

        /* --- Apps Section (NEW) --- */
        .app-card {
            background: var(--bs-body-bg);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            height: 100%;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .app-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary-color);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
        }

        .app-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
            opacity: 0;
            z-index: -1;
            transition: opacity 0.3s;
        }

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

        .app-icon-box {
            width: 70px;
            height: 70px;
            margin: 0 auto 1.5rem;
            background: rgba(var(--bs-tertiary-bg-rgb), 0.5);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--primary-color);
            transition: all 0.3s;
            overflow: hidden; /* Ensure image stays inside rounded corners */
            padding: 10px;    /* Padding for the image inside the box */
        }

        .app-icon-box img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Keeps aspect ratio */
            transition: transform 0.3s;
        }

        .app-card:hover .app-icon-box {
            background: var(--primary-color);
            color: white;
            transform: scale(1.1);
        }
        
        .app-card:hover .app-icon-box img {
            transform: scale(1.1);
        }

        /* --- About Section --- */
        .skill-tag {
            display: inline-block;
            padding: 8px 16px;
            margin: 0 8px 8px 0;
            background-color: rgba(var(--bs-primary-rgb), 0.1);
            color: var(--primary-color);
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
        }

        /* --- Roles Carousel --- */
        #rolesCarousel .carousel-item {
            padding: 1rem;
        }
        
        .role-slide-card {
            background: var(--bs-tertiary-bg);
            border: 1px solid rgba(255,255,255,0.05);
            padding: 3rem 2rem;
            border-radius: 24px;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }

        .role-logo {
            width: 80px;
            height: 80px;
            background: rgba(var(--bs-primary-rgb), 0.1);
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 1.5rem auto;
        }

        .role-badge {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: inline-block;
        }

        /* --- Portfolio Section --- */
        .search-container {
            max-width: 500px;
            margin: 0 auto 2rem auto;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 12px 20px;
            padding-left: 45px;
            border-radius: 50px;
            border: 1px solid rgba(255,255,255,0.1);
            background: var(--bs-tertiary-bg);
            color: var(--bs-body-color);
            transition: all 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--bs-secondary-color);
            opacity: 0.7;
        }

        .filter-button-group {
            margin-bottom: 1.5rem;
        }

        .filter-btn {
            border: none;
            background: transparent;
            margin: 0 10px;
            font-weight: 600;
            color: var(--bs-body-color);
            opacity: 0.6;
            transition: all 0.3s;
            position: relative;
        }

        .filter-btn.active, .filter-btn:hover {
            opacity: 1;
            color: var(--primary-color);
        }

        .portfolio-item {
            margin-bottom: 30px;
            transition: opacity 0.4s ease, transform 0.4s ease;
        }
        
        /* Utility class for JS filtering */
        .d-none-custom {
            display: none !important;
        }

        .card {
            border: none;
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            background-color: var(--bs-tertiary-bg);
            height: 100%;
            cursor: pointer;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .card-img-top {
            height: 200px;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .card:hover .card-img-top {
            transform: scale(1.05);
        }

        .card-body {
            padding: 1.5rem;
        }

        /* --- Community/Contact Section --- */
        .community-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 1rem;
            border-radius: 12px;
            background: var(--bs-body-bg);
            border: 1px solid rgba(255,255,255,0.05);
            color: var(--bs-body-color);
            text-decoration: none;
            transition: all 0.3s;
            margin-bottom: 0.8rem;
            font-weight: 600;
            font-size: 1rem;
        }

        .community-btn i {
            font-size: 1.5rem;
            margin-right: 15px;
            transition: transform 0.3s;
        }

        .community-btn:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
            border-color: transparent;
        }

        /* Brand Colors */
        .community-btn.discord:hover { background-color: #5865F2; }
        .community-btn.telegram:hover { background-color: #0088cc; }
        .community-btn.facebook:hover { background-color: #1877F2; }
        .community-btn.tiktok:hover { background-color: #000000; border: 1px solid #333; }

        /* --- Animations --- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
            will-change: transform, opacity;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- Theme Toggler Custom --- */
        .theme-icon-active {
            font-size: 1.2rem;
        }

        /* --- Footer --- */
        footer {
            background-color: var(--bs-tertiary-bg);
            padding: 50px 0;
            text-align: center;
        }
        
        .social-link {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            background-color: var(--bs-body-bg);
            border-radius: 50%;
            margin: 0 10px;
            color: var(--bs-body-color);
            transition: all 0.3s;
            font-size: 1.2rem;
            text-decoration: none;
        }
        
        .social-link:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }

        /* Modal Styles */
        .modal-content {
            background-color: var(--bs-body-bg);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }
        .modal-header {
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .modal-footer {
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        /* Carousel Indicators */
        .carousel-indicators [data-bs-target] {
            background-color: var(--primary-color);
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin: 0 5px;
        }
