/*
 * GameHub Custom Styles
 */

/* General Styles */
:root {
    --primary-color: #3273dc;
    --secondary-color: #22d160;
    --dark-color: #363636;
    --light-color: #f5f5f5;
    --accent-color: #ff3860;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

a {
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    padding: 0 1rem;
}

/* Header Styles */
.site-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
}

/* Site Logo */
.site-logo {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.site-logo img, 
.custom-logo {
    max-height: 40px;
    width: auto;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.header-left {
    display: flex;
    align-items: center;
}

.navbar-item.site-title {
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus {
    top: 0;
}

.navbar {
    min-height: 4rem;
}

/* Footer Styles */
.site-footer {
    padding: 3rem 0;
    color: #fff;
    margin-top: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
}

.footer-menu-list li {
    padding: 0.5rem 0;
}

.footer-menu-list a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-menu-list a:hover {
    opacity: 1;
}

.social-links .button {
    margin-right: 0.5rem;
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Game Styles */
.game-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-card .content {
    flex-grow: 1;
}

.game-card .buttons {
    margin-top: auto;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-info-item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.game-info-item:last-child {
    border-bottom: none;
}

.game-categories {
    margin-bottom: 2rem;
}

.game-instructions {
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 4px;
    margin-bottom: 2rem;
}

/* Blog Styles */
.entry-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-meta > span {
    margin-right: 1rem;
}

.entry-meta a {
    color: var(--primary-color);
}

.cat-links, .tag-links {
    display: block;
    margin-top: 0.5rem;
}

.read-more {
    margin-top: 1.5rem;
}

.wp-post-image {
    border-radius: 4px;
}

/* Comments */
.comments-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-meta {
    margin-bottom: 0.5rem;
}

.comment-metadata {
    font-size: 0.8rem;
    color: #777;
}

.comment-reply-link {
    font-size: 0.9rem;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.top-games-list {
    list-style: none;
    padding: 0;
}

.top-games-list li {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
}

.top-game-thumbnail {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.top-game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.top-game-info {
    flex-grow: 1;
}

.view-count {
    display: block;
    font-size: 0.8rem;
    color: #777;
}

/* Pagination */
.pagination {
    padding: 1rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .entry-title {
        font-size: 1.5rem !important;
    }
    
    .hero-body {
        padding: 2rem 1rem;
    }
    
    .buttons .button {
        margin-bottom: 0.5rem;
    }
}

/* Animation Styles */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Customizer Styles */
.customize-partial-edit-shortcut button {
    background: var(--primary-color) !important;
} 

/* Adjust margin for game sections */
.game-section {
    margin-bottom: 30px;
}

/* Make sure the entire page has the correct background */
html, body, #page {
    background-color: var(--main-bg-color);
}

/* Force the footer to maintain the same background */
#page > div:last-child {
    background-color: var(--main-bg-color);
} 