/*
Theme Name: Modded Games CPA Theme
Description: A custom WordPress theme for CPA marketing of modded APKs and iOS games with AdBlueMedia integration
Version: 1.0.0
Author: Manus AI
Text Domain: modded-games
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.site-header {
    background-color: #1a1a1a;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ff88;
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #00ff88;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-icon, .settings-icon {
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover, .settings-icon:hover {
    color: #00ff88;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    padding: 60px 0;
    margin-bottom: 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    color: #000000;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-cta {
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
}

.featured-games-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.featured-game-card {
    min-width: 200px;
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.featured-game-card:hover {
    transform: translateY(-5px);
}

.featured-game-card img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.featured-game-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.featured-download-btn {
    background-color: #00ff88;
    color: #000000;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.featured-download-btn:hover {
    background-color: #00cc6a;
}

/* Games Grid */
.games-section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
}

.category-filter {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

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

.game-card {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.game-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

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

.game-info h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ffffff;
}

.game-category {
    background-color: #333333;
    color: #00ff88;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.file-size {
    color: #cccccc;
    font-size: 14px;
}

.game-badges {
    display: flex;
    gap: 8px;
}

.mod-badge, .updated-badge {
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.mod-badge {
    background-color: #ff6b6b;
    color: #ffffff;
}

.updated-badge {
    background-color: #4ecdc4;
    color: #ffffff;
}

.download-btn {
    width: 100%;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000000;
    padding: 12px 0;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.pagination a, .pagination span {
    padding: 10px 15px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover, .pagination .current {
    background-color: #00ff88;
    color: #000000;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    color: #00ff88;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00ff88;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #00ff88;
    color: #000000;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    text-align: center;
    color: #cccccc;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
}

.search-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 15px;
    background-color: #333333;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
}

.search-input:focus {
    outline: 2px solid #00ff88;
}

.close-search {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
}

/* Content Locker Modal */
.content-locker {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 3000;
}

.content-locker.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.locker-content {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.locker-content h2 {
    color: #00ff88;
    margin-bottom: 20px;
}

.locker-content p {
    margin-bottom: 30px;
    color: #cccccc;
}

.complete-offer-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000000;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 15px;
}

.cancel-btn {
    background-color: #666666;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-navigation ul {
        gap: 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .game-card {
        padding: 15px;
    }
    
    .featured-games-carousel {
        gap: 15px;
    }
    
    .featured-game-card {
        min-width: 150px;
        padding: 15px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #333333;
    border-radius: 50%;
    border-top-color: #00ff88;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.hidden { display: none; }
.visible { display: block; }

