@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

*, *::before, *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #f9f9f9;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 14px;
    line-height: 1.42857143;
    color: #666;
    padding: 0;
    margin: 0;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

input, button, select {
    outline: none;
    border: none;
}

a {
    color: #333;
    text-decoration: none;
    -webkit-transition: color .3s;
    -moz-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s;
}

a:hover {
    color: #ff7f00;
    text-decoration: none;
}

p {
    margin: 6px;
}

::-moz-selection {
    background: #ff7f00;
    color: #fff;
}

::selection {
    background: #ff7f00;
    color: #fff;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background: #222;
}

::-webkit-scrollbar-track {
    background: #222;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.container {
    position: relative;
    width: 85%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.header + .container {
    margin-top: 60px;
}

@media (max-width: 1300px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 991px) {
    .container {
        width: 98%;
    }
}

@media (max-width: 767px) {
    .container {
        width: 100%;
    }

    .header + .container {
        margin-top: 50px;
    }
}

.header {
    position: fixed;
    display: flex;
    width: 100%;
    height: 70px;
    top: 0;
    left: 0;
    font-size: 0;
    background: transparent;
    z-index: 999;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

@media (max-width: 767px) {
    .header {
        height: 55px;
    }
}

.header.fixed {
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 8px #ddd;
}

@media (min-width: 767px) {
    .header.fixed {
        height: 55px;
    }

    .header.fixed a {
        color: #666;
    }

    .nav-bar {
        display: none;
    }
}

.nav-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    z-index: 1000;
    cursor: pointer;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: transform .3s;
    -moz-transition: transform .3s;
    -o-transition: transform .3s;
    transition: transform .3s;
}

.nav-bar.active {
    -webkit-transform: rotateZ(90deg) scale(0.8);
    -moz-transform: rotateZ(90deg) scale(0.8);
    -o-transform: rotateZ(90deg) scale(0.8);
    transform: rotateZ(90deg) scale(0.8);
}

.nav-bar span {
    position: absolute;
    left: 0;
    right: 0;
    margin: 24px auto;
    width: 25px;
    height: 2px;
    background: #aaa;
    border-radius: 25px;
}

.nav-bar span::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 0;
    width: 16px;
    height: 2px;
    background: #aaa;
    border-radius: 25px;
}

.nav-bar span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 16px;
    height: 2px;
    background: #aaa;
    border-radius: 25px;
}

.logo {
    display: inline-flex;
    justify-content: center;
    height: 60px;
    width: 168px;
    padding: 8px 0;

    color: #ff7f02;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 0 1px black;
}

.logo .logo-main {
    display: none;
}

.header.fixed .logo .logo-main {
    display: inline-flex;
}

.header.fixed .logo .logo-fixed {
    display: none;
}

@media (max-width: 767px) {
    .logo {
        display: flex;
        margin-left: 1px;
        height: 48px;
        padding: 4px 0;
    }
}

.logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    margin-left: 20px;
    font-size: 14px;
    float: right;
}

@media (max-width: 767px) {
    .nav {
        flex-direction: column;
        position: fixed;
        top: 52px;
        right: 0;
        float: none;
        margin-left: 0;
        opacity: 0;
        visibility: hidden;
        text-align: right;
        z-index: 999;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .nav.show {
        opacity: 1;
        visibility: visible;
    }
}

.nav li {
    position: relative;
}

.nav.show li {
    -webkit-transform: translateX(-105%);
    -moz-transform: translateX(-105%);
    -o-transform: translateX(-105%);
    transform: translateX(-105%);
}

.nav.show li:nth-child(even) {
    transition-duration: .4s;
}

.nav li::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    left: 50%;
    bottom: 0;
    background: #ff7f00;
    border-radius: 4px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.nav li.active::after, .nav li:hover::after {
    width: 100%;
    margin-left: -50%;
}

@media (max-width: 767px) {
    .nav li {
        right: -105%;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .nav li::after {
        display: none;
    }
}

.nav li a {
    display: inline-block;
    color: #eee;
    padding: 0 12px;
    height: 55px;
    line-height: 55px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

@media (max-width: 767px) {
    .nav li a {
        padding: 8px 8px 8px 15px;
        font-size: 14px;
        color: #666;
        height: auto;
        line-height: normal;
        margin: 3px 0;
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 0 8px #ccc;
        border-radius: 25px 0 0 25px;
    }

    .nav li a:hover, .nav li a.active {
        color: #fff;
        background: #ff7f00;
        box-shadow: 0 0 8px #ff7f00;
    }
}

@media (min-width: 767px) {
    .transparent-mark {
        display: none;
    }
}

.transparent-mark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* .banner - Handled in brand.css */

/* .search-* - Handled in brand.css */

.category {
    position: fixed;
    top: 50%;
    left: 0;
    width: 32px;
    margin: 0;
    border-radius: 8px;
    z-index: 998;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.category li {
    position: relative;
    margin: 4px 0;
}

.category li a {
    position: relative;
    display: inline-block;
    height: 32px;
    text-align: right;
    background: rgba(255, 255, 255, .85);
    padding: 6px 8px 6px 6px;
    box-shadow: 0 0 8px #ccc;
    border-radius: 0 25px 25px 0;
    white-space: nowrap;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateX(-100%) translateX(30px);
    -moz-transform: translateX(-100%) translateX(30px);
    -o-transform: translateX(-100%) translateX(30px);
    transform: translateX(-100%) translateX(30px);
}

.category li a:hover, .category li a.active {
    color: #fff;
    background: #ff7f00;
}

.category li a:hover {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.main {
    float: left;
    width: calc(100% - 300px);
}

@media (max-width: 991px) {
    .main {
        width: 100%;
    }
}

.side {
    float: left;
    width: 300px;
    padding-top: 8px;
    padding-right: 8px;
}

@media (max-width: 991px) {
    .side {
        width: 100%;
        padding: 0;
    }
}

.side .card {
    margin: 0 0 8px;
}

@media (max-width: 991px) {
    .side .card {
        margin: 5px;
    }
}

.card {
    position: relative;
    background: #fff;
    box-shadow: 0 0 8px #eee;
    border-radius: 8px;
    margin: 8px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .card {
        margin: 5px;
    }
}

.card .card-head {
    font-size: 15px;
    font-weight: 700;
    padding: 12px 15px;
    border-bottom: 1px solid #f2f2f2;
}

@media (max-width: 767px) {
    .card .card-head {
        font-size: 14px;
        padding: 10px 12px;
    }
}

.card .card-head i {
    margin-right: 6px;
}

.card .card-head .more {
    position: absolute;
    right: 8px;
    color: #666;
}

.card .card-body {
    padding: 8px;
    font-size: 0;
}

.card .card-body .item {
    display: inline-block;
    width: 14.2857143%;
    color: #666;
    font-size: 14px;
    padding: 10px 8px;
    border-radius: 6px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-transition: font-weight, background, transform .3s;
    -moz-transition: font-weight, background, transform .3s;
    -o-transition: font-weight, background, transform .3s;
    transition: font-weight, background, transform .3s;
}

@media (max-width: 1300px) {
    .card .card-body .item {
        width: 16.6666667%;
    }
}

@media (max-width: 767px) {
    .card .card-body .item {
        width: 25%;
    }
}

@media (max-width: 480px) {
    .card .card-body .item {
        width: 33.3333333%;
        font-size: 13px;
    }
}

.card .card-body .item:hover {
    font-weight: 600;
    background: #eee;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.card .card-body .item .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.card .card-body .item:hover .icon {
    -webkit-transform: rotateZ(360deg);
    -moz-transform: rotateZ(360deg);
    -o-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
}

.card .card-body .item .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}

@media (max-width: 480px) {
    .card .card-body .item .name {
        line-height: 20px;
    }
}

.card .card-body .content {
    font-size: 14px;
}

.card .card-body .content .text-center {
    text-align: center;
}

@media (max-width: 767px) {
    .card .card-body .content {
        font-size: 13px;
    }
}

.card .card-body .content .info {
    display: flex;
    justify-content: space-around;
    color: #888;
    font-size: 13px;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.card .card-body .content img {
    max-width: 100%;
    border-radius: 4px;
}

.card .card-body .post {
    display: inline-flex;
    width: 50%;
    color: #555;
    font-size: 14px;
    padding: 8px;
    border-radius: 8px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

@media (max-width: 767px) {
    .card .card-body .post {
        width: 100%;
    }
}

.card .card-body .post:hover {
    color: #555;
    background: #eee;
}

.card .card-body .post .pic {
    flex: none;
    width: 120px;
    height: 85px;
}

@media (max-width: 767px) {
    .card .card-body .post .pic {
        width: 95px;
        height: 70px;
    }
}

.card .card-body .post .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.card .card-body .post .text {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 10px;
    padding: 4px 0;
}

.card .card-body .post .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 15px;
    height: 2.85714286em;
}

.card .card-body .post .info {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 12px;
}

.board {
    display: flex;
    height: 44px;
    padding: 12px 8px;
    margin-bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.board .icon {
    margin: 0 8px 0 4px;
}

.board span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.top-grid {
    font-size: 0;
    padding: 8px;
}

.top-grid .item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 16.6057143%;
    color: #666;
    font-size: 14px;
    padding: 10px 8px;
    border-radius: 6px;
    -webkit-transition: font-weight, background, transform .3s;
    -moz-transition: font-weight, background, transform .3s;
    -o-transition: font-weight, background, transform .3s;
    transition: font-weight, background, transform .3s;
}

@media (max-width: 767px) {
    .top-grid .item {
        width: 20%;
    }
}

@media (max-width: 480px) {
    .top-grid .item {
        width: 25%;
        padding: 10px 5px;
        font-size: 13px;
    }
}

.top-grid .item:hover {
    background: #eee;
    font-weight: 600;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.top-grid .item .icon {
    width: 30px;
    height: 30px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

@media (max-width: 480px) {
    .top-grid .item .icon {
        width: 25px;
        height: 25px;
    }
}

.top-grid .item:hover .icon {
    -webkit-transform: rotateZ(360deg);
    -moz-transform: rotateZ(360deg);
    -o-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
}

.top-grid .item .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-grid .item .name {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.view-list a {
    display: flex;
    padding: 6px;
    line-height: 25px;
    font-size: 14px;
    color: #666;
    border-radius: 25px;
    -webkit-transition: background .3s;
    -moz-transition: background .3s;
    -o-transition: background .3s;
    transition: background .3s;
}

.view-list a:hover {
    background: #eee;
}

.view-list a .rank {
    flex: none;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    text-align: center;
    border-radius: 50%;
    background: rgba(124, 124, 124, 0.3);
}

.view-list a:nth-child(1) .rank {
    font-size: 0;
    background: url("../images/rank_1.png") no-repeat 50% 50%/85%;
/*  
    background: #f1404b;
    color: #FFF;
    border-radius: 50%;
*/ 
}

.view-list a:nth-child(2) .rank {
    font-size: 0;
    background: url("../images/rank_2.png") no-repeat 50% 50%/85%;
/*  
    background: #c56831;
    color: #FFF;
    border-radius: 50%;
*/ 
}

.view-list a:nth-child(3) .rank {
    font-size: 0;
    background: url("../images/rank_3.png") no-repeat 50% 50%/85%;
/*  
    background: #b89e2c;
    color: #FFF;
    border-radius: 50%;
*/ 
}
.progressbar {
    background: url(../images/progressbar.gif);
    height:4px;
    top:0px;
    position: fixed;
    width:100%;
    Z-index:9999;
}
.view-list a .icon {
    flex: none;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 4px;
}

.view-list a .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-list a .name {
    flex: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.view-list a .view {
    flex: none;
    color: #ff7f00;
    font-size: 15px;
    font-style: italic;
    border-radius: 4px;
    margin-right: 6px;
}

.side-common {
    font-size: 14px;
}

.side-common p {
    margin: 12px 8px;
}

.side-latest.oz-timeline .oz-timeline-main {
    padding: 3px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.side-latest.oz-timeline .oz-timeline-main .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.side-latest.oz-timeline .oz-timeline-main .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-latest.oz-timeline .oz-timeline-main .name {
    line-height: 35px;
    vertical-align: middle;
}

.view-box {
    overflow: hidden;
}

.view-box div {
    padding: 0;
}

.view-box div:nth-child(2) .card {
    margin: 8px 0;
}

@media (max-width: 991px) {
    .view-box div:nth-child(2) .card {
        margin: 8px 8px 8px 0;
    }

    .view-box div:nth-child(3) .card {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .view-box div:nth-child(2) .card {
        margin: 5px !important;
    }
}

.part-side {
    float: left;
    width: 280px;
    padding: 20px;
    text-align: center;
}

@media (max-width: 767px) {
    .part-side {
        width: 100%;
        padding: 0;
        float: none;
    }
}

.part-side .site-img {
    width: 100%;
    height: 180px;
    margin-bottom: 5px;
    border-radius: 4px;
    box-shadow: 0 0 10px #ddd;
}

@media (max-width: 767px) {
    .part-side .site-img {
        position: absolute;
        top: 20px;
        left: 51%;
        width: 210px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .part-side .site-img {
        left: auto;
        right: 15px;
        width: 40%;
        height: 35%;
    }
}

.part-side .site-img img {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.part-side .oz-btn {
    margin: 5px 0;
}

@media (max-width: 767px) {
    .part-side .oz-btn {
        width: 48%;
        margin: 1%;
        font-size: 14px;
    }
}

.part-main {
    display: inline-block;
    width: calc(100% - 280px);
    padding: 5px;
    font-size: 14px;
    vertical-align: top;
}

@media (max-width: 767px) {
    .part-main {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .part-main {
        font-size: 13px;
    }
}

.part-main .site-name {
    display: block;
    font-weight: 600;
    font-size: 22px;
    line-height: normal;
    text-align: center;
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .part-main .site-name {
        width: 50%;
        padding-top: 0;
        font-size: 18px;
        line-height: 32px;
    }
}

.part-main span {
    line-height: 42px;
    padding: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
}

@media (max-width: 1300px) {
    .part-main span {
        line-height: 32px;
        padding: 6px;
    }
}

@media (max-width: 767px) {
    .part-main span {
        line-height: 26px;
        padding: 4px;
    }
}

.part-main img {
    vertical-align: middle;
    margin-top: -4px;
}

.links {
    clear: both;
}

.links .card-head::before {
    content: '';
    position: absolute;
    left: 5px;
    width: 4px;
    height: 22px;
    background: #ff7f00;
    border-radius: 2px;
}

.links a {
    display: inline-block;
    font-size: 13px;
    padding: 5px 12px;
    margin: 2px;
    color: #666;
    background: #eee;
    border-radius: 25px;
    -webkit-transition: color, background .3s;
    -moz-transition: color, background .3s;
    -o-transition: color, background .3s;
    transition: color, background .3s;
}

.links a:hover {
    color: #fff;
    background: #ff7f00;
}

.suspend {
    position: fixed;
    right: 2%;
    bottom: 5%;
}

.suspend li {
    position: relative;
    width: 32px;
    height: 32px;
    margin: 3px;
    line-height: 32px;
    font-size: 13px;
    text-align: center;
    color: #eee;
    background: rgba(0, 0, 0, .8);
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.suspend li a {
    color: #eee;
}

.suspend li a:hover {
    color: #fff;
}

.suspend li:hover {
    color: #fff;
    background: #ff7f00;
}

.suspend li:hover .more {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.suspend .more {
    position: absolute;
    display: block;
    visibility: hidden;
    opacity: 0;
    top: 0;
    right: 40px;
    height: 32px;
    padding: 0 10px;
    line-height: 32px;
    white-space: nowrap;
    background: rgba(0, 0, 0, .8);
    border-radius: 2px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.suspend .more::after {
    content: '';
    position: absolute;
    display: block;
    top: calc(50% - 5px);
    right: -4px;
    border-top: 5px solid transparent;
    border-left: 5px solid rgba(0, 0, 0, .8);
    border-bottom: 5px solid transparent;
}

.suspend .more.contact-qr {
    width: 100px;
    height: 100px;
    top: calc(50% - 50px);
    padding: 5px;
}

.suspend .more img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-top {
    visibility: hidden;
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.back-top.show {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.footer {
    text-align: center;
    margin-top: 8px;
    padding: 30px 20px 20px;
    font-size: 13px;
    background: var(--forest-dark, #002623);
    color: #aaa;
}

.footer a {
    color: var(--forest-accent, #25d9a6);
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

/* Footer Links Grid */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section {
    min-width: 150px;
    text-align: center;
}

.footer-section h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: #aaa;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: var(--forest-accent, #25d9a6);
    transform: translateX(3px);
}

.footer-section ul li a i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 10px;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 12px;
    color: #888;
}

@media (max-width: 768px) {
    .footer-links {
        gap: 25px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section {
        width: 100%;
        text-align: center;
    }
    
    .footer-section ul li a:hover {
        transform: none;
    }
}

#checkCodeImage {
    height: 36px;
    cursor: pointer;
}

.pagination {
    padding: 8px;
    text-align: center;
}

.pagination li {
    display: inline-block;
}

.pagination li a {
    display: inline-block;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    padding: 4px 10px;
    margin: 0 2px;
    border-radius: 25px;
}

.pagination li a:hover {
    background: #eee;
}

.pagination .active a {
    color: #fff;
    background: #ff7f00;
    border: 1px solid #ff7f00;
}

.pagination .disabled {
    pointer-events: none;
    cursor: not-allowed;
}

.ad {
    display: block;
}

.ad img {
    width: 100%;
}

.side .card .post {
    width: 100%;
}

.side .card .post .pic {
    width: 80px;
    height: 60px;
}

.side .card .post .text {
    padding: 0;
}

.side .card .post .title {
    font-size: 14px;
}

.side .card .post .info {
    font-size: 11px;
}

.side .card .post-view .post {
    position: relative;
    padding-left: 30px;
}

.side .post-view .post .rank {
    position: absolute;
    top: 50%;
    left: 2px;
    width: 25px;
    height: 25px;
    text-align: center;
    z-index: 1;
    transform: translateY(-50%);
}

.side .post-view .post:nth-child(1) .rank {
    font-size: 0;
    background: url("../images/rank_1.png") no-repeat 50% 50%/85%;
}

.side .post-view .post:nth-child(2) .rank {
    font-size: 0;
    background: url("../images/rank_2.png") no-repeat 50% 50%/85%;
}

.side .post-view .post:nth-child(3) .rank {
    font-size: 0;
    background: url("../images/rank_3.png") no-repeat 50% 50%/85%;
}

.side .side-category {
}

.side .side-category > a {
    display: inline-block;
    width: 50%;
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 10px 12px;
    border-radius: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.side .side-category > a:hover, .side .side-category > a.active {
    background: #eee;
}

.side .rand-site {

}

.side .rand-site a {
    display: inline-block;
    width: 50%;
    color: #666;
    font-size: 14px;
    padding: 10px 8px;
    border-radius: 6px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.side .rand-site a:hover {
    font-weight: 600;
    background: #eee;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.side .rand-site a .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.side .rand-site a .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}
.site-ranking {
  display: flex;
  align-items: center;
  padding: 6px;
  line-height: 25px;
  font-size: 14px;
  color: #666;
  border-radius: 25px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.site-ranking:hover {
  color: #666;
  background: #eee;
}

.site-ranking .rank {
  flex: none;
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  text-align: center;
  border-radius: 50%;
  background: rgba(124, 124, 124, 0.3);
}

.site-ranking:nth-child(1) .rank,
.site-ranking:nth-child(2) .rank,
.site-ranking:nth-child(3) .rank {
    font-size: 0;
    color: transparent;
    /* color: #FFF; */
    border-radius: 50%;
}

.site-ranking:nth-child(1) .rank {
  background: url('../images/rank_1.png') no-repeat 50% 50%/85%;
  /* background: #f1404b; */
}

.site-ranking:nth-child(2) .rank {
  background: url('../images/rank_2.png') no-repeat 50% 50%/85%;
  /* background: #c56831; */
}

.site-ranking:nth-child(3) .rank {
  background: url('../images/rank_3.png') no-repeat 50% 50%/85%;
}

.site-ranking .icon {
  flex: none;
  width: 20px;
  height: 20px;
  line-height: 20px;
  margin-right: 4px;
}

.site-ranking .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
}

.site-ranking .name {
  flex: auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-ranking .view {
  flex: none;
  color: #ff7f00;
  font-size: 15px;
  font-style: italic;
  border-radius: 4px;
  margin-right: 6px;
}

.wzgg{width: 100%;overflow: hidden;display: block;box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);}
.wzgg a{width: 24.4%;float: left;border-radius: 2px;line-height: 35.35px;height: 35.35px;text-align: center;font-size: 14px;color: #fff;display: inline-block;background-color: rgb(255, 153, 159);margin: 2.5px;transition-duration: .3s;}
.wzgg a:nth-child(1) {background-color: #dc3545;}
.wzgg a:nth-child(2) {background-color: #007bff;}
.wzgg a:nth-child(3) {background-color: #28a745;}
.wzgg a:nth-child(4) {background-color: #ffc107;}
.wzgg a:nth-child(5) {background-color: #28a745;}
.wzgg a:nth-child(6) {background-color: #ffc107;}
.wzgg a:nth-child(7) {background-color: #dc3545;}
.wzgg a:nth-child(8) {background-color: #007bff;}
.wzgg a:hover{background:#FF2805;color:#FFF}
@media screen and (max-width: 1000px) {
    .wzgg a{width: 47.96%;float: left;border-radius: 2px;line-height: 35.35px;height: 35.35px;text-align: center;font-size: 14px;color: #fff;display: inline-block;background-color: rgb(255, 153, 159);margin: 2.5px;transition-duration: .3s;}
}
.zxt > use{animation: move-forever 12s linear infinite;}
.zxt > use:nth-child(1){animation-delay: -2s;}
.zxt > use:nth-child(2){animation-delay: -2s; animation-duration: 5s;}
.zxt > use:nth-child(3){animation-delay: -4s; animation-duration: 3s;}
@keyframes move-forever{0%{transform: translate(-90px, 0%);} 100%{transform: translate(85px, 0%);}}
.blx{width: 100%;height: 40px;position: relative;overflow: hidden;z-index: 1;background: var(--footer-bg);}
.wbc{display: block; width: 100%; height: 40px; margin: 0;}

/* ========================================
   Bot/Channel Page Styles (Telegramic Style)
   ======================================== */

.bot-page {
    padding-top: 20px;
    padding-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #0088cc;
}

.bot-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

/* Sidebar */
.bot-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.bot-avatar-card {
    position: relative;
    margin-bottom: 16px;
}

.bot-avatar-img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background: #f5f5f5;
}

.verified-ribbon {
    position: absolute;
    top: 12px;
    left: -8px;
    background: linear-gradient(135deg, #1da1f2, #0088cc);
    color: white;
    padding: 4px 12px 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 8px rgba(0,136,204,0.3);
}

.verified-ribbon::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    border: 3px solid #0066aa;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

.bot-action-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.btn-bot {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-bot.btn-open {
    background: linear-gradient(135deg, #0088cc, #00a0dc);
    color: white;
}

.btn-bot.btn-open:hover {
    background: linear-gradient(135deg, #0077b5, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,136,204,0.3);
}

.btn-bot.btn-like {
    background: #f8f8f8;
    color: #e91e63;
    border: 1px solid #eee;
}

.btn-bot.btn-like:hover {
    background: #e91e63;
    color: white;
    border-color: #e91e63;
}

.btn-bot.btn-share-full {
    width: 100%;
    background: #f8f8f8;
    color: #666;
    border: 1px solid #eee;
}

.btn-bot.btn-share-full:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Main Content */
.bot-main {
    flex: 1;
    min-width: 0;
}

.bot-header-section {
    margin-bottom: 20px;
}

.bot-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-title .verified-icon {
    color: #1da1f2;
    font-size: 22px;
}

/* Details Table */
.bot-details-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.details-header,
.about-header,
.similar-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.details-table tr:last-child {
    border-bottom: none;
}

.detail-label {
    padding: 14px 20px;
    font-weight: 600;
    color: #888;
    width: 140px;
    background: #fafafa;
}

.detail-value {
    padding: 14px 20px;
    color: #333;
}

.username-link {
    color: #0088cc;
    font-weight: 500;
}

.username-link:hover {
    text-decoration: underline;
}

.type-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.type-tag.type-bot {
    background: #e3f2fd;
    color: #1976d2;
}

.type-tag.type-channel {
    background: #e8f5e9;
    color: #388e3c;
}

.type-tag.type-group {
    background: #fff3e0;
    color: #f57c00;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-stars .fa {
    font-size: 14px;
}

.rating-value {
    margin-left: 8px;
    font-weight: 600;
    color: #333;
}

.featured-notice {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    padding: 12px 20px;
    color: #ff8f00;
    font-weight: 500;
    font-size: 13px;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-box {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.stat-box i {
    font-size: 20px;
    color: #0088cc;
    margin-bottom: 8px;
    display: block;
}

.stat-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.stat-txt {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Card */
.bot-about-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.about-content {
    padding: 20px;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}

.tags-section {
    padding: 0 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #f0f0f0;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #0088cc;
    color: #fff;
}

/* Similar Section */
.similar-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.similar-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.similar-grid {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
}

.similar-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.similar-card:hover {
    background: #e8f4fc;
    transform: translateX(5px);
}

.similar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    background: #ddd;
}

.similar-info {
    flex: 1;
    min-width: 0;
}

.similar-name {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.similar-cat {
    font-size: 12px;
    color: #888;
}

.similar-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.similar-card:hover .similar-action {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .bot-layout {
        flex-direction: column;
    }
    
    .bot-sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: flex-start;
    }
    
    .bot-avatar-card {
        margin-bottom: 0;
    }
    
    .bot-avatar-img {
        width: 120px;
        height: 120px;
    }
    
    .bot-action-buttons {
        flex: 1;
        flex-direction: column;
    }
    
    .btn-bot.btn-share-full {
        flex: 1;
    }
    
    .bot-title {
        font-size: 22px;
    }
    
    .stats-bar {
        flex-wrap: wrap;
    }
    
    .stat-box {
        flex: 1 1 calc(50% - 10px);
    }
    
    .similar-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-label {
        width: 100px;
        font-size: 13px;
    }
}

/* Apply Form Preview Card */
.fetch-preview {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #fff;
    margin-top: 15px;
}

.preview-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    object-fit: cover;
    background: #fff;
}

.preview-info {
    flex: 1;
}

.preview-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.preview-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.5;
}

.preview-stats {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.preview-stat {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .fetch-preview {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .preview-stats {
        justify-content: center;
    }
}

/* ========================================
   Main Directories Navigation
   ======================================== */

.main-directories {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px 0;
}

.directory-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.directory-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.directory-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    color: #fff;
}

.directory-icon {
    font-size: 40px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}

.bots-card .directory-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.channels-card .directory-icon {
    background: linear-gradient(135deg, #0088cc, #00a0dc);
}

.whatsapp-card .directory-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.directory-info h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 700;
}

.directory-info p {
    margin: 0 0 8px 0;
    opacity: 0.7;
    font-size: 13px;
}

.directory-count {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.directory-card > .fa-chevron-right {
    margin-left: auto;
    opacity: 0.5;
}

/* Mini Grid for Home Sections */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mini-card:hover {
    background: #e8f4fc;
    transform: translateX(4px);
}

.mini-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.mini-info {
    flex: 1;
    min-width: 0;
}

.mini-name {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-meta {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.mini-type {
    font-size: 16px;
}

.verified-sm {
    color: #1da1f2;
    font-size: 12px;
}

.section-icon {
    margin-right: 6px;
}

.whatsapp-icon {
    color: #25D366;
}

.whatsapp-mini:hover {
    background: #e8f5e9;
}

.empty-mini {
    text-align: center;
    padding: 30px;
    color: #888;
}

.empty-mini a {
    color: #0088cc;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #e8f4fc;
    color: #0088cc;
    transform: translateY(-2px);
}

.category-item i {
    font-size: 24px;
    color: #667eea;
}

.category-item span {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* ========================================
   Directory Pages (Bots, Channels, WhatsApp)
   ======================================== */

.section-hero {
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.bots-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.channels-hero {
    background: linear-gradient(135deg, #0088cc 0%, #00a0dc 100%);
}

.whatsapp-hero {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 60px;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 24px 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.hero-stat .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.type-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.type-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.type-btn:hover, .type-btn.active {
    background: #fff;
    color: #333;
}

/* Filter Bar */
.filter-bar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 60px;
    z-index: 100;
}

.filter-scroll {
    display: flex;
    gap: 10px;
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-scroll::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    background: #e0e0e0;
    color: #333;
}

.filter-chip.active {
    background: #0088cc;
    color: #fff;
}

/* Directory Page Layout */
.directory-page {
    padding: 30px 0;
}

.section-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.count-badge {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
}

.featured-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.featured-card:hover {
    border-color: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.featured-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
}

.featured-info {
    flex: 1;
    min-width: 0;
}

.featured-name {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-name .verified {
    color: #1da1f2;
    font-size: 14px;
}

.featured-username {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.featured-cat {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 10px;
    font-size: 11px;
    color: #666;
}

.featured-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.members-count {
    font-size: 12px;
    color: #666;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.featured-badge.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    padding: 20px;
}

.item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.item-card:hover {
    background: #e8f4fc;
    transform: translateX(4px);
}

.item-avatar {
    position: relative;
    flex-shrink: 0;
}

.item-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
}

.item-avatar .verified-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #1da1f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    border: 2px solid #fff;
}

.item-avatar .type-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    font-size: 14px;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-name {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-username {
    margin: 0 0 6px 0;
    font-size: 13px;
    color: #888;
}

.item-type {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-tag {
    font-size: 11px;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-tag.members {
    color: #0088cc;
    font-weight: 500;
}

.meta-tag.featured {
    color: #ffd700;
}

.item-action {
    width: 40px;
    height: 40px;
    background: #0088cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-card:hover .item-action {
    opacity: 1;
}

.whatsapp-action {
    background: #25D366;
}

.whatsapp-item:hover {
    background: #e8f5e9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 10px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #e0e0e0;
}

.page-btn.active {
    background: #0088cc;
    color: #fff;
}

/* Features Info */
.features-info {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.features-info h3 {
    margin: 0 0 24px 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.feature-item i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 12px;
}

.feature-item h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 600;
}

.feature-item p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 8px 0;
    color: #666;
}

.empty-state p {
    color: #888;
    margin: 0 0 20px 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0088cc;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0077b5;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .directory-cards {
        grid-template-columns: 1fr;
    }
    
    .mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mini-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-stat .stat-number {
        font-size: 24px;
    }
    
    .type-filter {
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Category Page Styles - Enhanced Design
   ========================================================================== */

/* Category Hero */
.category-hero {
    background: linear-gradient(135deg, #1a5a4a 0%, #0d3a2f 100%);
    color: #fff;
    padding: 40px 0 30px;
    margin-bottom: 0;
}

.category-hero-content {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.category-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.category-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.category-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Platform Filter Tabs */
.platform-filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.filter-tab.active {
    background: #fff;
    color: #1a5a4a;
}

/* Category Navigation Pills */
.category-nav-wrapper {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    overflow-x: auto;
}

.category-nav-pills {
    display: flex;
    gap: 10px;
    padding: 0 15px;
    white-space: nowrap;
}

.nav-pill {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.nav-pill:hover {
    background: #e8e8e8;
    color: #333;
}

.nav-pill.active {
    background: #1a5a4a;
    color: #fff;
}

/* Category Items Grid */
.category-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-item-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid #eee;
}

.category-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #1a5a4a;
}

.item-card-header {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.platform-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.platform-badge.telegram {
    background: linear-gradient(135deg, #0088cc, #0077b5);
}

.platform-badge.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.verified-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #1da1f2;
    font-size: 18px;
}

.item-card-body {
    padding: 16px;
    flex: 1;
    text-align: center;
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-username {
    font-size: 13px;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.item-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
}

.service-type {
    padding: 4px 10px;
    border-radius: 12px;
    background: #f0f0f0;
    color: #666;
}

.service-type.bot {
    background: #e3f2fd;
    color: #1976d2;
}

.service-type.channel {
    background: #fff3e0;
    color: #f57c00;
}

.service-type.group {
    background: #e8f5e9;
    color: #388e3c;
}

.members-count {
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-card-footer {
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.item-views {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-arrow {
    color: #ccc;
    transition: transform 0.3s ease;
}

.category-item-card:hover .item-arrow {
    transform: translateX(4px);
    color: #1a5a4a;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    margin: 20px 0;
}

.empty-icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px;
}

.empty-state p {
    color: #888;
    margin-bottom: 20px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-link {
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-link:hover {
    background: #f5f5f5;
    border-color: #1a5a4a;
    color: #1a5a4a;
}

.page-link.active {
    background: #1a5a4a;
    border-color: #1a5a4a;
    color: #fff;
}

.page-dots {
    color: #888;
    padding: 0 8px;
}

/* Rank Styling */
.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffb800) !important;
    color: #fff !important;
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0) !important;
    color: #fff !important;
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #b06c2a) !important;
    color: #fff !important;
}

/* Category Chips */
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-chip {
    padding: 8px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-chip:hover {
    background: #1a5a4a;
    color: #fff;
}

/* Category Page Responsive */
@media (max-width: 768px) {
    .category-hero {
        padding: 30px 0 20px;
    }
    
    .category-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon-large {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .category-info h1 {
        font-size: 24px;
    }
    
    .category-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .platform-filter-tabs {
        justify-content: center;
    }
    
    .filter-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .category-items-grid {
        grid-template-columns: 1fr;
    }
    
    .page-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}
