.pagination-box {
    z-index: 10;
    position: relative;
    margin: 0.3rem 0;
    padding: 1.2rem 0;
    min-height: 70px;
    display: flex;
    justify-content: center;
    text-align: center;
}
.pagination-inner {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    background: transparent;
    border-radius: 6px;
    box-shadow: none;
    padding: 0.12rem 2.5rem;
    z-index: 11;
    position: relative;
    opacity: 1 !important;
    border: none;
}
.pagination-link {
    cursor: pointer;
    user-select: none;
    opacity: 1 !important;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1.5px solid #222;
    background: #111;
    color: #fff;
    transition: background 0.2s, color 0.2s, transform 0.18s;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    outline: none;
    position: relative;
    top: 0;
}
.pagination-link.active, .pagination-link:hover {
    background: #222;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    transform: translateY(-4px);
}
.pagination-link:not(:hover) {
    transform: translateY(0);
}
/* Pagination görünürlüğü ve tıklanabilirlik için */
.pagination-box {
    z-index: 10;
    position: relative;
}
.pagination-inner {
    z-index: 11;
    position: relative;
    opacity: 1 !important;
}
.pagination-link {
    cursor: pointer;
    user-select: none;
    opacity: 1 !important;
}
/* News Page Styles - Using the same theme as games.php */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

.news-page {
    font-family: 'Bebas Neue', cursive;
    background-color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    font-family: 'Bebas Neue', cursive;
    background-color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.main-content {
    padding: 0;
}

/* News Hero Section */
.news-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../images/ds3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    animation: slideInFromBottom 1s ease-out;
}

.hero-content p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: slideInFromBottom 1s ease-out 0.3s both;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Section */
.news-section {
    padding: 6rem 2rem 4rem 2rem;
    background: 
        linear-gradient(135deg, #121212 0%, #1e1e1e 25%, #161616 75%, #0f0f0f 100%),
        radial-gradient(circle at 70% 30%, rgba(40, 40, 40, 0.3) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.01) 35px,
            rgba(255, 255, 255, 0.01) 36px
        ),
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 100%);
    z-index: 1;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* All News Cards - Using unified large style like games */
.news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: linear-gradient(145deg, rgba(35, 35, 35, 0.95), rgba(22, 22, 22, 0.98));
    border: 3px solid rgba(80, 80, 80, 0.6);
    border-radius: 25px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    min-height: 316px;
    height: 316px;
    box-shadow: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.news-card.featured .news-image {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* News Image */
.news-image {
    width: 625px;
    height: 300px;
    min-width: 625px;
    min-height: 300px;
    max-width: 625px;
    max-height: 300px;
    border-radius: 15px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}


.news-image img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.8) contrast(1.1);
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
    filter: brightness(0.9) contrast(1.2);
}

/* News Overlay */
.news-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.news-status {
    font-family: 'Bebas Neue', cursive;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.9));
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* News Content */
.news-content {
    padding: 0.2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    min-height: 300px;
    height: 300px;
    box-sizing: border-box;
    overflow: hidden;
}

/* News Meta */
.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-wrap: wrap;
}

.news-category {
    background: rgba(80, 80, 80, 0.4);
    color: #e0e0e0;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(100, 100, 100, 0.4);
    font-weight: 600;
}

.news-author {
    color: #ccc;
    font-weight: 600;
    position: relative;
    padding: 0.4rem 1.2rem;
    background: rgba(60, 60, 60, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(80, 80, 80, 0.4);
}

.news-author::before {
    content: '//';
    color: #777;
    margin-right: 6px;
    font-size: 0.7rem;
}

.news-date {
    color: #999;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    background: rgba(40, 40, 40, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(60, 60, 60, 0.4);
}

/* News Titles */
.news-card h2,
.news-card h3 {
    font-family: 'Bebas Neue', cursive;
    color: #f0f0f0;
    letter-spacing: 1px;
    line-height: 1.1;
    font-weight: 400;
    position: relative;
    font-size: 2.5rem;
}

/* News Text */
.news-card p {
    font-size: 1.2rem;
    color: #c5c5c5;
    letter-spacing: 0.3px;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}

/* News Tags */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.5rem 0;
}

.news-tag {
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    color: #4facfe;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.news-tag:hover {
    background: rgba(79, 172, 254, 0.2);
    border-color: #4facfe;
    color: #fff;
}

/* News Buttons */
.news-buttons {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-top: 8px;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Read More Button Styling - matching games.php */
.read-more-btn {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 1.25px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    opacity: 1;
    transform: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    box-shadow: none;
    min-height: unset;
    width: fit-content;
    text-decoration: none !important;
    display: inline-block;
    z-index: 11;
}

.read-more-btn:hover,
.read-more-btn:focus,
.read-more-btn:active,
.read-more-btn:visited {
    text-decoration: none !important;
}
.read-more-btn:hover {
    color: #333;
    border-color: white;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s ease;
    z-index: -1;
}
 .read-more-btn:hover::before {
    left: 0;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(60, 60, 60, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    grid-column: 1 / -1;
}

.no-posts h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.no-posts p {
    color: #bbb;
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .news-card h2,
    .news-card h3 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
        letter-spacing: 6px;
    }
    
    .hero-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 4rem 1rem;
    }
    
    .news-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .news-card h2,
    .news-card h3 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .news-card p {
        font-size: 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .news-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .news-card h2,
    .news-card h3 {
        font-size: 1.5rem;
    }
}
