   body {
            background: url('../images/backgrand.jpg') no-repeat center center fixed;
            background-size: cover;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            position: relative;
            scroll-behavior: smooth;
        }
        body::before {
            content: '';
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(78, 42, 82, 0.85); /* بنفش بادمجونی تیره‌تر */
            z-index: -1;
        }

        /* ---------- Navbar ---------- */
        .navbar-custom {
            background: linear-gradient(135deg, #4a235a, #6c3483);
            box-shadow: 0 2px 15px rgba(0,0,0,0.5);
            transition: all 0.3s;
        }
        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            color: #fff !important;
            transition: color 0.3s;
        }
        .navbar-brand:hover { color: #ffd700 !important; }
        .logo-icon {
            width: 40px;
            height: 40px;
            background: #ffd700;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            color: #4a235a;
            transition: transform 0.3s;
        }
        .navbar-brand:hover .logo-icon { transform: rotate(15deg) scale(1.1); }

        /* Golden stripe effect on nav links */
        .navbar-nav .nav-link {
            position: relative;
            color: rgba(255,255,255,0.85) !important;
            font-weight: 500;
            transition: color 0.3s;
            padding: 0.5rem 1rem;
            margin: 0 0.2rem;
        }
        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: #ffd700;
            border-radius: 2px;
            transition: width 0.3s ease;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #ffd700 !important;
        }
        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after {
            width: 60%;
        }

        /* Professional Login/Register buttons */
        .btn-nav {
            border-radius: 50px;
            padding: 0.5rem 1.5rem;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
        }
        .btn-login {
            border: 2px solid #ffd700;
            color: #ffd700;
            background: transparent;
        }
        .btn-login:hover {
            background: #ffd700;
            color: #4a235a;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255,215,0,0.4);
        }
        .btn-register {
            background: linear-gradient(135deg, #f1c40f, #e67e22);
            color: #fff;
            border: none;
            box-shadow: 0 4px 10px rgba(230,126,34,0.4);
        }
        .btn-register:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(230,126,34,0.6);
            background: linear-gradient(135deg, #f39c12, #d35400);
        }

        /* ---------- Hero Carousel ---------- */
        .carousel-item {
            min-height: 400px;
            background-size: cover !important;
            background-position: center center !important;
            background-repeat: no-repeat !important;
            background-clip: border-box;
        }
  .carousel-item.special-first-item {
  height: 80vh; 
}
        .carousel-caption {
            bottom: 15%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            border-radius: 16px;
            padding: 2rem;
            left: 10%;
            right: 10%;
        }
        .carousel-caption h2 {
            font-size: 2.2rem;
            font-weight: 800;
            color: #ffffff;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        .carousel-indicators [data-bs-target] {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #fff;
            opacity: 0.6;
            transition: all 0.3s;
        }
        .carousel-indicators .active {
            opacity: 1;
            background: #ffd700;
        }

        /* ---------- Section Titles ---------- */
        .section-title {
            position: relative;
            font-weight: 800;
            margin-bottom: 2rem;
            color: #fff;
            display: inline-block;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 0;
            width: 80px;
            height: 3px;
            background: #ffd700;
            border-radius: 2px;
        }

        /* ---------- Cards & Hover Effects ---------- */
        .hover-card {
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 18px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            overflow: hidden;
        }
        .hover-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.3);
            background: rgba(255, 255, 255, 0.25);
        }

        .white-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 18px;
            padding: 1.5rem;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .white-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.25);
            background: rgba(255, 255, 255, 0.25);
        }

        /* Category mini carousel card */
        .cat-carousel .card {
            border: none;
            background: rgba(255,255,255,0.9);
            border-radius: 14px;
            transition: all 0.3s;
        }
        .cat-carousel .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        /* ---------- Channel/Bot Cards with round image ---------- */
        .channel-bot-card {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2rem 1.5rem 1.5rem;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transition: all 0.3s;
            position: relative;
            margin-top: 40px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .channel-bot-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.25);
            background: rgba(255, 255, 255, 0.25);
        }
        .channel-bot-img {
            width: 90px;
            height: 90px;
            object-fit: cover;
            border-radius: 50%;
            border: 4px solid #fff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            position: absolute;
            top: -45px;
            left: 50%;
            transform: translateX(-50%);
            background: #fff;
        }
        .channel-bot-card h4 {
            margin-top: 30px;
            margin-bottom: 0.8rem;
            font-weight: 700;
            color: #ffffff;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }
        .channel-bot-card .btn {
            border-radius: 50px;
            padding: 0.5rem 2rem;
            font-weight: 600;
        }

        /* ---------- App Section ---------- */
        .app-section {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 22px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .app-section:hover {
            box-shadow: 0 12px 30px rgba(0,0,0,0.25);
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.25);
        }
        .app-image img {
            border-radius: 20px;
            transition: transform 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .app-image img:hover {
            transform: scale(1.05);
        }

        /* ---------- Footer ---------- */
        .footer-custom {
            background: #2c0e33;
            color: #e5d5e8;
            padding: 3rem 1rem 1rem;
        }
        .footer-custom h5, .footer-custom h6 {
            color: #ffd700;
            margin-bottom: 1rem;
            font-weight: 700;
        }
        .footer-custom a {
            color: #d7bde2;
            text-decoration: none;
            transition: all 0.3s;
        }
        .footer-custom a:hover {
            color: #ffd700;
            padding-right: 5px;
        }
        .footer-links li {
            list-style: none;
            margin-bottom: 0.6rem;
            transition: transform 0.3s;
        }
        .footer-links li:hover {
            transform: translateX(-5px);
        }
        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            color: #ffd700;
            font-size: 1.3rem;
            margin: 0 6px;
            transition: all 0.3s;
        }
        .social-icon:hover {
            background: #ffd700;
            color: #2c0e33;
            transform: scale(1.2) rotate(10deg);
            box-shadow: 0 5px 15px rgba(255,215,0,0.5);
        }
        .back-to-top {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 45px;
            height: 45px;
            background: #ffd700;
            color: #4a235a;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(255,215,0,0.5);
            z-index: 999;
        }
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        .back-to-top:hover {
            transform: translateY(-5px);
            background: #e6b800;
        }

        .carousel-item {
            padding: 10px;
        }

        .media-item {
            height: 320px;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* لایه گرادینت برای خوانایی متن */
        .media-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px;
            background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3), transparent);
            color: #fff;
            text-align: center;
        }

        .media-overlay h6 {
            margin: 0;
            font-weight: bold;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }

        .media-overlay small {
            opacity: 0.9;
            text-shadow: 0 1px 1px rgba(0,0,0,0.3);
        }

        /* ---------- Responsive ---------- */
        @media (max-width: 768px) {
            .carousel-item { height: 50vh; }
            .carousel-caption h2 { font-size: 1.5rem; }
        }
        
        .navbar-dark{
  border-color: #fff;
}

/* سفید کردن خطوط آیکن */
.navbar-toggler-icon{
  filter: invert(1);
}
