/*
Theme Name: Gamzia
Description: A modern WordPress theme for gaming website with dark gradient design
Version: 1.0
Author: Gamzia
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 35, 0.9) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(139, 69, 255, 0.3);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    height: 60px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 1.2rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ffffff;
    background: linear-gradient(45deg, rgba(139, 69, 255, 0.2), rgba(122, 61, 230, 0.2));
    transform: translateY(-2px);
}

.search-btn {
    background: rgba(139, 69, 255, 0.1);
    border: 1px solid rgba(139, 69, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.search-btn:hover {
    background: rgba(139, 69, 255, 0.2);
    border-color: rgba(139, 69, 255, 0.5);
    color: #8b45ff;
    transform: scale(1.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    z-index: 10000;
    position: relative;
}

.mobile-menu-btn {
    display: none;
    background: rgba(139, 69, 255, 0.1);
    border: 1px solid rgba(139, 69, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    position: relative;
    z-index: 10000;
}

.mobile-menu-btn:hover {
    background: rgba(139, 69, 255, 0.2);
    border-color: rgba(139, 69, 255, 0.5);
    color: #8b45ff;
    transform: scale(1.05);
}

.mobile-menu-btn.active {
    background: linear-gradient(45deg, #8b45ff, #7a3de6) !important;
    border-color: #8b45ff !important;
    color: white !important;
    position: relative !important;
    z-index: 10003 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 1.2rem !important;
    box-shadow: 0 8px 25px rgba(139, 69, 255, 0.6) !important;
    border-radius: 10px !important;
}

.mobile-menu-btn.active::before {
    content: '✕' !important;
    font-size: 1.4rem !important;
    font-weight: bold !important;
    color: #ffffff !important;
    display: block !important;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5) !important;
}

.mobile-menu-btn.active i {
    display: none !important;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 15, 35, 0.95) 100%);
    backdrop-filter: blur(25px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(-100%);
    border: 1px solid rgba(139, 69, 255, 0.2);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-content {
    text-align: center;
    max-width: 350px;
    width: 85%;
    padding: 80px 30px 50px 30px;
    background: rgba(26, 26, 46, 0.9);
    border-radius: 25px;
    border: 2px solid rgba(139, 69, 255, 0.4);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 69, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile-menu-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b45ff, #7a3de6, #8b45ff);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 0 0 20px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(5) { animation-delay: 0.5s; }

.mobile-nav-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 18px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 5px 0;
    border: 1px solid rgba(139, 69, 255, 0.1);
    background: rgba(139, 69, 255, 0.05);
}

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    transition: left 0.3s ease;
    z-index: -1;
}

.mobile-nav-menu a:hover::before,
.mobile-nav-menu a.current-menu-item::before {
    left: 0;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.current-menu-item {
    color: white;
    transform: translateX(10px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* Page Styles */
.page-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-container {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(139, 69, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.page-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.page-header {
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid rgba(139, 69, 255, 0.3);
    padding-bottom: 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #8b45ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 2px 10px rgba(139, 69, 255, 0.3);
}

.page-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    color: #8b45ff;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.page-body h1 { font-size: 2rem; }
.page-body h2 { font-size: 1.7rem; }
.page-body h3 { font-size: 1.4rem; }
.page-body h4 { font-size: 1.2rem; }

.page-body p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.page-body ul,
.page-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-body li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.page-body strong {
    color: #8b45ff;
    font-weight: 600;
}

.page-body a {
    color: #8b45ff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.page-body a:hover {
    color: #ffffff;
    border-bottom-color: #8b45ff;
}

.page-not-found {
    text-align: center;
    padding: 60px 20px;
}

.page-not-found h1 {
    font-size: 3rem;
    color: #8b45ff;
    margin-bottom: 20px;
}

.page-not-found p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(45deg, #7a3de6, #6c35d1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 255, 0.4);
    color: white;
}

.page-comments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 69, 255, 0.3);
}

/* Game Section */
.game-section,
.games-section,
.apks-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(45deg, #8b45ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #8b45ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: #8b45ff;
}

/* Game Grid */
.game-grid,
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.apks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card,
.apk-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(139, 69, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card-image {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.card-image:hover .card-overlay {
    opacity: 1;
}

.play-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #8b45ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: white;
}

.card-content {
    text-align: left;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(139, 69, 255, 0.2);
}

.download-btn {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(139, 69, 255, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 69, 255, 0.5);
    box-shadow: 0 20px 40px rgba(139, 69, 255, 0.2);
}

.game-image-container {
    position: relative;
    margin-bottom: 20px;
}

.game-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.game-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.game-meta span {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.game-download {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.game-download:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(139, 69, 255, 0.3);
}

.game-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.download-btn-large,
.play-btn-large {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.play-btn-large {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.download-btn-large:hover,
.play-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 69, 255, 0.4);
}

.play-btn-large:hover {
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* Game Modal Styles */
.game-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.game-modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 35, 0.9) 100%);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(139, 69, 255, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    backdrop-filter: blur(15px);
    color: white;
    text-align: center;
}

.game-modal-close {
    color: rgba(255, 255, 255, 0.7);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.game-modal-close:hover {
    color: #8b45ff;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #8b45ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-message {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-btn {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 255, 0.4);
}

.modal-btn.secondary {
    background: rgba(139, 69, 255, 0.2);
    border: 1px solid rgba(139, 69, 255, 0.3);
}

.modal-btn.secondary:hover {
    background: rgba(139, 69, 255, 0.3);
}

/* Footer */
.site-footer {
    background: rgba(15, 15, 35, 0.95);
    border-top: 1px solid rgba(139, 69, 255, 0.3);
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #8b45ff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #8b45ff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 69, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(139, 69, 255, 0.3);
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(139, 69, 255, 0.2);
}

.search-modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #8b45ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    color: #8b45ff;
    background: rgba(139, 69, 255, 0.1);
}

.search-input-container {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 1px solid rgba(139, 69, 255, 0.3);
    border-radius: 25px;
    background: rgba(26, 26, 46, 0.8);
    color: white;
    font-size: 1rem;
    flex: 1;
}

.search-input:focus {
    outline: none;
    border-color: #8b45ff;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-submit:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(139, 69, 255, 0.4);
}

.search-submit i {
    font-size: 0.9rem;
}

/* Responsive Design */
/* New Game Slider Styles - Clean and Mobile-First */
.game-slider-section {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 46, 0.9) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.game-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139,69,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.game-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.slide-content {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(139, 69, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 30px;
}

.slide-image {
    flex-shrink: 0;
    position: relative;
}

.slide-icon {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
}

.slide-icon.placeholder {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.slide-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.slide-info {
    flex: 1;
    color: white;
}

.slide-title {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #8b45ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.slide-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.5;
}

.slide-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.slide-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
}

.slide-size {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.slide-actions {
    display: flex;
    gap: 12px;
}

.slide-btn-primary {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.slide-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 255, 0.4);
}

.slide-btn-secondary {
    background: rgba(139, 69, 255, 0.2);
    color: #8b45ff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 255, 0.3);
    font-size: 0.9rem;
}

.slide-btn-secondary:hover {
    background: rgba(139, 69, 255, 0.3);
    color: white;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(139, 69, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.slider-dot.active {
    background: #8b45ff;
    transform: scale(1.2);
}

.slider-arrow {
    background: rgba(139, 69, 255, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.slider-arrow:hover {
    background: #8b45ff;
    transform: scale(1.1);
}

.slider-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.empty-state i {
    font-size: 4rem;
    color: #8b45ff;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
}

.btn-primary {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 255, 0.3);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    background: rgba(26, 26, 46, 0.8);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 255, 0.2);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
    border-color: #8b45ff;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .game-slider-section {
        padding: 40px 0;
    }
    
    .slider-container {
        padding: 0 15px;
    }
    
    .slide-content {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .slide-image {
        order: -1;
    }
    
    .slide-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .slide-icon.placeholder {
        font-size: 2rem;
    }
    
    .slide-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .slide-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .slide-meta {
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
        font-size: 0.85rem;
    }
    
    .slide-actions {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .slide-btn-primary,
    .slide-btn-secondary {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .slider-nav {
        margin-top: 20px;
        gap: 15px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 20px 15px;
    }
    
    .slide-title {
        font-size: 1.3rem;
    }
    
    .slide-description {
        font-size: 0.85rem;
    }
    
    .slide-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .slide-btn-primary,
    .slide-btn-secondary {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.related-game-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(139, 69, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.related-game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 69, 255, 0.4);
    box-shadow: 0 10px 30px rgba(139, 69, 255, 0.2);
}

.related-game-image {
    margin-bottom: 15px;
}

.related-game-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid rgba(139, 69, 255, 0.3);
}

.related-game-icon.placeholder {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.related-game-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.related-game-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.related-game-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-game-title a:hover {
    color: #8b45ff;
}

.related-game-rating {
    color: #ffd700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.related-game-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.related-play-btn,
.related-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 80px;
    justify-content: center;
}

.related-play-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}

.related-play-btn:hover {
    background: linear-gradient(45deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.related-download-btn {
    background: linear-gradient(45deg, #8b45ff, #7a3de6);
    color: white;
}

.related-download-btn:hover {
    background: linear-gradient(45deg, #7a3de6, #6c35d1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 255, 0.3);
}

.related-download-btn i,
.related-play-btn i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .related-games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .related-game-card {
        padding: 15px;
    }
    
    .related-game-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .related-play-btn,
    .related-download-btn {
        width: 100%;
        padding: 10px 16px;
    }
    
    .page-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-body {
        font-size: 1rem;
    }
    
    .page-body h1 { font-size: 1.7rem; }
    .page-body h2 { font-size: 1.5rem; }
    .page-body h3 { font-size: 1.3rem; }
    .page-body h4 { font-size: 1.1rem; }
    .game-action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn-large,
    .play-btn-large {
        width: 100%;
        max-width: 280px;
    }
    
    .game-modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: static;
        transform: none;
        left: auto;
        display: block;
    }
    
    .main-nav .nav-menu {
        display: none;
    }
    
    .main-nav .nav-menu.active {
        display: flex !important;
    }

    .site-header {
        padding: 12px 0;
    }

    .header-container {
        padding: 0 15px;
        height: 50px;
    }

    .site-logo {
        font-size: 1.6rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .search-btn,
    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .header-right {
        gap: 12px;
        flex-shrink: 0;
        z-index: 2;
    }

    .game-grid,
    .games-grid,
    .apks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }
    
    /* Additional mobile fixes */
    .game-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .hero-game-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .game-hero-title {
        font-size: 2rem;
    }
    
    .search-modal-content {
        width: 95%;
        padding: 25px 20px;
        margin: 15% auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}