/* style.css */
body { margin: 0; font-family: 'Segoe UI', sans-serif; background: #f4f6f9; }
a { text-decoration: none; color: inherit; }
.navbar {
    background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 20px; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 15px;
}
.logo { font-size: 20px; font-weight: bold; color: #007bff; display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-weight: 500; color: #333; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #007bff; }
.search-box {
    background: #f0f2f5; border-radius: 20px;
    padding: 4px; max-width: 400px; width: 100%;
}
.search-select {
    border: none; background: transparent; padding: 0 10px;
    outline: none; font-size: 14px; color: #555; cursor: pointer;
    border-right: 1px solid #ddd;
    max-width: 110px;
    width: 30%;
}
.search-input {
    flex: 1; border: none; background: transparent;
    padding: 8px 10px; outline: none; font-size: 14px;
}
.search-btn {
    background: #007bff; color: white; border: none; border-radius: 16px;
    padding: 0 2px 0 20px; cursor: pointer; font-size: 14px; transition: background 0.2s;
    float: right;
}
.search-btn:hover { background: #0056b3; }
@media (max-width: 768px) {
    .navbar { flex-direction: column; align-items: stretch; }
    .nav-links { justify-content: center; margin: 10px 0; }
    .search-box { max-width: 100%; }
}
/* 顶部搜索栏样式 */
.header { 
    /*max-width: 1200px; */margin: 0 40px 20px 40px; padding:0 5px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.header h2 { margin: 0; color: #333; font-size: 24px; }
.search-box input {
    padding: 10px 15px; /*border: 1px solid #ccc;*/ border-radius: 20px 0 0 20px; 
    outline: none; font-size: 14px; max-width: 125px; transition: border 0.3s;width: 40%;
}
.search-box input:focus { border-color: #007bff; }
.search-box .search-btn {
    width: 20%;
    padding: 10px 20px; background: #007bff; color: #fff; border: none; 
    border-radius: 0 20px 20px 0; cursor: pointer; font-size: 14px; transition: background 0.3s;
        float: right;
}
.search-box .search-btn:hover { background: #0056b3; }

/* 统计信息 */
.stats { /*max-width: 1200px;*/ margin: 0 40px 15px 40px; color: #666; font-size: 14px; padding:0 5px;}


footer {text-align: center; padding: 20px; margin-top: 40px; background: #fff; border-top: 1px solid #eee; }
footer p{color: #FF0000; font-size: 14px;}
footer div{color: #000000; font-size: 14px;}


.card-list{
     background: #fff;
    border-radius: 16px;
    padding: 40px 0;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    max-width: 350px;
    min-width: 220px;
}
.card-list div{
    font-size: 4rem; margin-bottom: 15px;
}
.card-list h3{
    margin: 0 0 10px 0; color: #333; font-size: 1.4rem;
}
.card-list p{
    margin: 0; color: #888; font-size: 0.9rem;
}
.card-list p font{
    color:red;
}

.container{
    max-width: 100%; margin: 20px auto; padding: 0 20px;
}
.index_title{
    text-align: center; margin-bottom: 40px;
}
.index_title h1{
    font-size: 1.2rem; margin-bottom: 10px;
}
.index_title h1 font{
    color:red;font-size: 2.0rem; 
}
.index_title p{
    color: #666;
}

.index_title p font{
   color:red; font-weight:bold;
}


/* 图片网格布局 */
.image-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px; /*max-width: 1200px;*/ margin: 0 40px; padding: 0 5px;
}
.image-container a {
    display: block; text-decoration: none; border: 1px solid #ddd;
    border-radius: 8px; overflow: hidden; background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 5px;
    max-width: 350px;
    position:relative;
}
.image-container a:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); border-color: #007bff; padding: 5px;}
.image-container img { width: 100%; height: 200px; display: block; object-fit: cover;}
.image-container .vip {width: 90px; height: 90px; position: absolute; float:right; right:0; top:-5px;}
.game-title {
    padding: 10px; font-size: 14px; color: #333; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list_info{
     text-overflow: ellipsis;
}


.newsview{
    line-height: 34px; font-size: 18px;padding: 10px 20px;
}

.newsview a{
    max-width: 100%;
}

/* 分页样式 */
.pagination { margin-top: 10px; /*display: flex;*/ justify-content: center; gap: 8px; flex-wrap: wrap; /*max-width: 1200px;*/ margin-left: 40px; margin-right: 40px; padding:0 5px;}
.pagination a, .pagination span { display: inline-block; padding: 8px 15px; text-decoration: none; border: 1px solid #ccc; border-radius: 4px; color: #333; background: #fff;margin-bottom: 5px;}
.pagination a:hover { background-color: #007bff; color: #fff; border-color: #007bff; }
.pagination .active { background-color: #007bff; color: #fff; border-color: #007bff; }
.pagination .disabled { color: #aaa; cursor: not-allowed; pointer-events: none; }


/*分页*/
#pages {
    text-align: center;
        padding-inline-start: 0px;
}

#pages li {
    margin: 6px 6px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    background: #e6e6e6;
    color: #333;
    display: inline-block;
}
#pages li a{
    font-size: 22px;
    display: block;
    padding: 0 12px;
}
#pages li span{
    font-size: 22px;
    display: block;
    padding: 0 12px;
}
#pages li.active {
    text-align: center;
    background: #f90712;
    color: #fff;
    display: inline-block;
}

#pages li:hover {
    background: #f90712;
}

#pages li:hover a {
    color: #fff;
}

/* 浏览器版本警告组件样式 */
    .browser-warning {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 99999;
      background: #e53e3e;
      color: #ffffff;
      padding: 14px 20px;
      font-size: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      gap:16px;
    }
    .browser-warning__text{
      flex:1;
      text-align:center;
    }
    .browser-warning__close{
      background:rgba(255,255,255,0.25);
      border:none;
      color:#fff;
      width:26px;
      height:26px;
      border-radius:50%;
      cursor:pointer;
      font-size:18px;
      line-height:1;
    }
    .browser-warning__close:hover{
      background:rgba(255,255,255,0.4);
    }