* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.main-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    margin: 50px auto;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.brand {
    text-align: center;
    margin-bottom: 30px;
}

.brand .logo {
    max-width: 120px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.title {
    text-align: center;
    margin-bottom: 40px;
}

.title h1 {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.title h2 {
    color: #555;
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

.search-bar {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
    width: 100%;
    border-radius: 50px;
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    margin-left: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.search-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.video-card {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-card img {
    width: 100%;
    height: auto;
    display: none;
}

.sidebar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar .item {
    padding: 5px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.sidebar .item:hover {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
}

.sidebar .item:last-child {
    border-bottom: none;
}

#sidebar-tabs .nav-link {
    color: #667eea;
    border: none;
    border-radius: 20px;
    padding: 12px 25px;
    margin: 0 5px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

#sidebar-tabs .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

#sidebar-tabs .nav-item {
    width: 50%;
    text-align: center;
}

#sidebar-tab-content {
    max-height: 350px;
    overflow: auto;
    border-radius: 15px;
    padding: 10px;
}

.video-info {
    display: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.loading {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.download-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}

.content {
    padding: 40px 0;
    margin-top: 40px;
    border-top: 2px solid rgba(102, 126, 234, 0.3);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.content h2 {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 20px;
    /*            font-size: 2rem;*/
}

.content h3 {
    color: #764ba2;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    /*            font-size: 1.3rem;*/
}

.content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content ul {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content ul li {
    margin-bottom: 8px;
}

.content table {
    width: 100%;
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.content table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.content table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.content table tr:nth-child(even) {
    background: rgba(102, 126, 234, 0.05);
}

.content blockquote {
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    font-style: italic;
    color: #555;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content img {
    max-width: 100%;
}

.content .table-wrapper {
    max-width: 100%;
    overflow: auto;
}

.feature-highlight {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-highlight h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.spinner-border {
    color: #667eea !important;
}

#loading-spinner {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .title h1 {
        font-size: 2.5rem;
    }

    .main-container {
        padding: 25px;
        margin: 20px auto;
    }

    .content {
        padding: 25px;
    }
}

/* Floating elements for visual appeal */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.mirror {
    display: flex;
}

.mirror a {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    padding: 5px 15px;
    margin-left: 8px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

.social-group {
    text-align: center;
}

.social-group a.telegram-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    margin-left: 8px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

.social-group {
    text-align: center;
}


.mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }
}

/*CSS for ADS banner*/

.banner_wrapper {
    z-index: 9;
    position: fixed;
}

.banner_wrapper>span {
    position: absolute;
    /*        display: none;*/
    right: 0;
    top: 0;
    background-color: #a7a7a742;
    padding: 5px;
    cursor: pointer;
}

.banner_left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.banner_right {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.banner_top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.banner_bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.banner_center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 1024px) {

    .banner_left,
    .banner_right {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .banner_wrapper {
        width: 100%;
    }

    .banner_wrapper iframe {
        width: 100%;
    }
}