* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navbar-height: 90px;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2332 50%, #0f1923 100%);
    color: #fff;
    min-height: 100vh;
    transition: all 0.3s ease;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

    .form-input:focus {
        outline: none;
        border-color: #00ff9d;
        box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
        background: rgba(255, 255, 255, 0.08);
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: #666;
    }

select.form-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ff9d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

    select.form-input option {
        background: #1a2332;
        color: #fff;
        padding: 0.8rem;
    }

        select.form-input option:hover,
        select.form-input option:checked,
        select.form-input option:focus {
            background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(0, 212, 255, 0.2));
            color: #00ff9d;
        }
span.as-validation {
    color: #ffc400;
}

span.text-danger,
.field-validation-error,
.validation-summary-errors {
    color: #ffc400 !important;
}

.dntCaptcha {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
}

.dntCaptcha img,
.dntCaptcha .captcha-display {
    height: 45px;
    width: auto;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 157, 0.25);
}

.dntCaptcha #dntCaptchaRefreshButton,
.dntCaptcha .captcha-refresh,
.dntCaptcha button[type="button"],
.dntCaptcha button,
.dntCaptcha .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 157, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #00ff9d;
    text-decoration: none;
    cursor: pointer;
    flex: 0 0 auto;
    padding: 0;
}

.dntCaptcha #dntCaptchaRefreshButton:hover,
.dntCaptcha .captcha-refresh:hover,
.dntCaptcha button[type="button"]:hover,
.dntCaptcha button:hover,
.dntCaptcha .btn:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: #00ff9d;
}

.dntCaptcha input[type="text"],
.dntCaptcha input[type="tel"],
.dntCaptcha input[type="number"],
.dntCaptcha input.form-input,
.dntCaptcha input.form-control {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
}

.dntCaptcha .captcha-input-wrapper {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
}

.dntCaptcha .field-validation-error,
.dntCaptcha span.text-danger,
.dntCaptcha .invalid-feedback {
    flex: 1 0 100%;
    width: 100%;
    margin-top: 0.35rem;
}
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn {
    font-family: "Cairo", sans-serif;
}
input::placeholder,
textarea::placeholder {
    font-family: "Cairo", sans-serif;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 157, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #00ff9d;
    cursor: pointer;
}

.nav-toggle:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: #00ff9d;
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .search-bar {
        order: 3;
        width: 100%;
    }

    .header-actions {
        order: 4;
        width: 100%;
        display: none !important;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
        background: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(0, 255, 157, 0.15);
        border-radius: 12px;
    }

    .header-actions.open {
        display: flex !important;
    }

    .header-actions > * {
        width: 100%;
    }
}
.modal-dialog {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.98), rgba(15, 25, 35, 0.98));
    border-radius: 20px;
/*    border: 2px solid rgba(0, 255, 157, 0.3);
*/    margin-top: 1.5rem;
    max-width: 500px;
    width: 80%;
/*    max-height: 80vh;*/
 /*   overflow-y: auto;*/
}
[dir="rtl"] .sport-category .icon {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="ltr"] .sport-category .icon {
    margin-right: 0.5rem;
    margin-left: 0;
}

header {
    background: linear-gradient(to right, rgba(10, 22, 40, 0.95), rgba(15, 25, 35, 0.95));
    backdrop-filter: blur(10px);
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 255, 157, 0.1);
    border-bottom: 2px solid rgba(0, 255, 157, 0.2);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00ff9d, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
}

.search-bar {
    flex: 0 0 400px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 4rem 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 25px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #00ff9d;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.search-bar button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #00ff9d, #00d4ff);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #0a1628;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-actions button {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.3);
    color: #00ff9d;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.header-actions button:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: #00ff9d;
    transform: translateY(-2px);
}

.language-toggle {
    padding: 0.6rem 1.2rem !important;
    background: linear-gradient(135deg, #00ff9d, #00d4ff) !important;
    color: #0a1628 !important;
    border: none !important;
    font-weight: bold;
    position: relative;
    min-width: 120px;
}

.language-toggle:hover {
    transform: translateY(-2px) scale(1.05);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95), rgba(15, 25, 35, 0.95));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 157, 0.3);
    border-radius: 12px;
    overflow: hidden;
    display: none;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.language-toggle {
    z-index: 99999;
}

header {
    position: relative;
    z-index: 1000;
}

.bn-breaking-news {
    position: relative;
    z-index: 1;
}

.language-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-option {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(0, 255, 157, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(0, 255, 157, 0.1);
}

.language-option.active {
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
    font-weight: bold;
}

.language-flag {
    font-size: 1.3rem;
}

.bn-breaking-news {
    background: linear-gradient(to right, rgba(255, 196, 0, 0.1), rgba(255, 157, 0, 0.1)) !important;
    border-top: 1px solid rgba(255, 196, 0, 0.3) !important;
    border-bottom: 1px solid rgba(255, 196, 0, 0.3) !important;
    border-left: none !important;
    border-right: none !important;
    padding: 0.8rem 2rem !important;
    overflow: hidden;
}

.bn-breaking-news .bn-label {
    display: none;
}

.bn-breaking-news .bn-news ul li,
.bn-breaking-news .bn-news ul li a,
.bn-breaking-news .bn-loader-text {
    color: #ffc400 !important;
    font-weight: 500;
}

.bn-breaking-news .bn-news ul li a:hover {
    color: #ffdd66 !important;
}

.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    box-sizing: border-box;
    display: flex;
    gap: 2rem;
    min-width: 0;
}

.sidebar {
    flex: 0 0 250px;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.7), rgba(15, 25, 35, 0.7));
    border-radius: 20px;
    padding: 1.5rem;
    height: fit-content;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.sidebar h3 {
    color: #00ff9d;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
    border-bottom: 2px solid rgba(0, 255, 157, 0.3);
    padding-bottom: 0.8rem;
}

.sport-category {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.sport-category:hover,
.sport-category.active {
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.4);
    transform: translateX(-5px);
}

.sport-category .icon {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 1.2rem;
}
 .submenu {
    display: none;
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(0, 255, 157, 0.3);
}

.sport-category:hover .submenu {
    display: block;
}

.submenu-item {
    padding: 0.5rem;
    margin: 0.3rem 0;
    color: #aaa;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-radius: 8px;
    cursor: pointer;
}

.submenu-item:hover {
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.05);
    padding-left: 0.8rem;
}
.players-grid {
    flex: 1;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00ff9d, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.player-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(15, 25, 35, 0.9));
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(0, 255, 157, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.player-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 157, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.player-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00ff9d;
    box-shadow: 0 15px 40px rgba(0, 255, 157, 0.3), 0 0 50px rgba(0, 255, 157, 0.2);
}

.player-card:hover::before {
    left: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.player-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    background: linear-gradient(135deg, #ffc400, #ff9d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.position-badge {
    background: linear-gradient(135deg, #00ff9d, #00d4ff);
    color: #0a1628;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
}

.player-image-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 1rem auto;
}

.player-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: fill;
    border: 4px solid rgba(0, 255, 157, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.player-image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.2), transparent);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.player-name {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
    color: #00ff9d;
}

.player-position {
    text-align: center;
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 157, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff9d;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.sport-badge {
    position: absolute;
    top: 1rem;
    backdrop-filter: blur(10px);
}

[dir="ltr"] .sport-badge {
    left: 1rem;
}

[dir="rtl"] .sport-badge {
    right: 1rem;
}

.sport-badge {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.7), rgba(15, 25, 35, 0.7));
    border: 2px solid rgba(0, 255, 157, 0.3);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.pagination-btn:hover:not(.active):not(.dots) {
    background: rgba(0, 255, 157, 0.1);
    border-color: #00ff9d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #00ff9d, #00d4ff);
    border-color: #00ff9d;
    color: #0a1628;
    box-shadow: 0 5px 20px rgba(0, 255, 157, 0.4);
}

.pagination-btn.arrow {
    background: rgba(255, 255, 255, 0.05);
}

.pagination-btn.arrow:hover {
    background: rgba(0, 255, 157, 0.15);
}

.pagination-btn.dots {
    cursor: default;
    border-color: transparent;
    background: transparent;
}


.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
}

.pagination-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 255, 157, 0.2);
}

.pagination-btn.dots:hover {
    transform: none;
    box-shadow: none;
}

.pagination-btn.check {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(0, 212, 255, 0.2));
    border-color: rgba(0, 255, 157, 0.5);
}

.pagination-btn.check:hover {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.3), rgba(0, 212, 255, 0.3));
}

.inline-ads-section {
    margin-top: 2rem;
}

.inline-ad-banner {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 157, 0.2);
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85), rgba(15, 25, 35, 0.9));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.inline-ad-placeholder {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(0, 255, 157, 0.25);
    border-radius: 18px;
    margin: 1rem;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.08), rgba(0, 212, 255, 0.06));
    color: #00ff9d;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.most-viewed-section {
    max-width: 1400px;
    margin: 3rem auto 2rem;
    padding: 0 2rem;
}

.sport-group {
    margin-bottom: 3rem;
}

.sport-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 196, 0, 0.3);
}

.sport-group-title {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ffc400, #ff9d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.view-all-link {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 196, 0, 0.1);
    border: 2px solid rgba(255, 196, 0, 0.4);
    color: #ffc400;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-all-link:hover {
    background: rgba(255, 196, 0, 0.2);
    transform: translateY(-2px);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffc400, #ff9d00);
    color: #0a1628;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 196, 0, 0.5);
}

.carousel-nav.prev {
    left: -15px;
}

.carousel-nav.next {
    right: -15px;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.small-player-card {
    flex: 0 0 220px;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(15, 25, 35, 0.9));
    border-radius: 15px;
    padding: 1rem;
    border: 2px solid rgba(255, 196, 0, 0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.small-player-card:hover {
    transform: translateY(-5px);
    border-color: #ffc400;
    box-shadow: 0 10px 30px rgba(255, 196, 0, 0.3);
}

.small-card-views {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #ffc400, #ff9d00);
    color: #0a1628;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
}

.small-card-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    border: 3px solid rgba(255, 196, 0, 0.5);
    overflow: hidden;
}

.small-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-card-name {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffc400;
    margin-bottom: 0.3rem;
}

.small-card-position {
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.8rem;
}

.small-card-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 196, 0, 0.2);
}
footer {
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.95), rgba(5, 15, 25, 0.98));
    padding: 1.5rem 2rem 0.5rem;
    margin-top: 3rem;
    border-top: 2px solid rgba(0, 255, 157, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0 0.8rem;
    border-top: 1px solid rgba(0, 255, 157, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #00ff9d;
    text-decoration: none;
}

.ads-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.ads-banner {
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 157, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.ads-banner:hover {
    border-color: #00ff9d;
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.2);
    transform: translateY(-3px);
}

.ads-banner img {
    width: 100%;
    height: auto;
    display: block;
}
.ad-placeholder {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 1435 / 300;
    min-height: 100px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(0, 255, 157, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: clamp(1.2rem, 5vw, 5rem);
    text-align: center;
    overflow: hidden;
}
@media (max-width: 768px) {
    .main-container {
        width: 100%;
        margin: 1rem 0;
        padding: 0 10px;
        gap: 1rem;
    }

    .ad-placeholder {
        width: 100%;
        border-radius: 8px;
        font-size: clamp(1rem, 7vw, 2.5rem);
    }
}
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        flex: 1;
        width: 100%;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .pagination-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .search-bar {
        flex: 1;
        width: 100%;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .pagination-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

.player-logo {
    position: absolute;
    bottom: 5rem;
    right: 8px;
    width: 150px;
    height: auto;
    z-index: 9999;
    pointer-events: none;
}

.ltr-text {
    direction: ltr;
    unicode-bidi: embed; 
}

.ltr-input {
    direction: ltr;
    unicode-bidi: embed;
    text-align: left;
}

[dir="rtl"] .ltr-input,
.lang-ar .ltr-input {
    text-align: right;
}

@media (max-width: 480px) {
    .dntCaptcha {
        flex-direction: column;
        align-items: stretch;
    }

        .dntCaptcha img,
        .dntCaptcha .captcha-display {
            width: 100%;
            height: auto;
            max-height: 60px;
            object-fit: contain;
        }

        .dntCaptcha #dntCaptchaRefreshButton,
        .dntCaptcha .captcha-refresh,
        .dntCaptcha button[type="button"],
        .dntCaptcha button,
        .dntCaptcha .btn {
            width: 100%;
            flex: 0 0 auto;
        }

        .dntCaptcha .captcha-input-wrapper {
            width: 100%;
            order: 3;
        }
}