@charset "utf-8";
/* game_detail/styles.css - Styles for game detail page - UTF-8 encoding */

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #000000;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.game-header {
    text-align: center;
    margin-bottom: 30px;
    color: #FFFF00;
}

.game-header h1 {
    font-size: 2em;
    margin-bottom: 5px;
}

.game-header .publisher {
    color: #2154a6;
    font-weight: bold;
    font-size: 1.2em;
}

.game-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
}

.game-image {
    flex: 0 0 300px;
    text-align: center;
}

.game-image img {
    max-width: 100%;
    border: 3px solid #2154a6;
    border-radius: 5px;
}

.game-details {
    flex: 1;
    min-width: 300px;
}

.game-info-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.info-column {
    flex: 1;
    min-width: 250px;
}

.detail-section {
    background-color: #2a2a2a;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
}

.detail-section h3 {
    color: #FFFF00;
    margin-top: 0;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 10px;
}

.detail-row {
    margin-bottom: 10px;
}

.detail-label {
    font-weight: bold;
    color: #2154a6;
    display: inline-block;
    width: 120px;
}

.detail-value {
    color: #ffffff;
}

.rating-stars {
    color: #f8ce0b;
}

.description {
    line-height: 1.6;
    margin-top: 20px;
}

.media-collection {
    margin-top: 30px;
}

.media-gallery {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.media-item {
    text-align: center;
}

.media-item h4 {
    color: #2154a6;
    margin-bottom: 10px;
}

.media-item img {
    border: 2px solid #2154a6;
    border-radius: 5px;
    transition: transform 0.2s;
}

.media-item img:hover {
    transform: scale(1.05);
}

.back-link {
    margin-top: 30px;
    text-align: center;
}

.back-link a {
    color: #2154a6;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.back-link a:hover {
    text-decoration: underline;
}

.controller-badge {
    display: inline-block;
    padding: 3px 8px;
    margin-right: 6px;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.badge-standard { background-color: #2980b9; color: white; }
.badge-super_action { background-color: #d35400; color: white; }
.badge-roller { background-color: #27ae60; color: white; }
.badge-driving { background-color: #8e44ad; color: white; }
.badge-expansion { background-color: #c0392b; color: white; }
.badge-steering { background-color: #f39c12; color: white; }
.badge-adamlink { background-color: #16a085; color: white; }

.cart-number {
    font-family: 'Courier New', monospace;
    background-color: #333;
    padding: 2px 6px;
    border-radius: 3px;
    color: #FFFF00;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-number:hover {
    background-color: #2154a6;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: all .15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #2154a6;
    border-color: #1a4589;
}

.btn-primary:hover {
    background-color: #1a4589;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
}

/* Debug styles */
.debug-section {
    background-color: #222;
    color: #fff;
    padding: 20px;
    margin-top: 30px;
    border: 2px solid #ff0;
    font-family: monospace;
}

.debug-section h3 {
    color: #ff0;
}

/* Admin section styles */
.admin-section {
    margin-top: 30px;
    background-color: #222;
    padding: 15px;
    border-radius: 5px;
}

.admin-section h3 {
    color: #FFFF00;
}

.admin-section .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* ============================================
   PUBLISHER ASSETS SECTION STYLING 
   ============================================ */

/* Publisher Assets Main Styling */
.asset-count {
    color: #ccc !important;
    font-size: 16px !important;
    font-weight: normal !important;
    margin-left: 10px !important;
}

.publisher-description {
    color: #ccc !important;
    margin-bottom: 25px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.category-header {
    width: 100% !important;
    margin-bottom: 20px !important;
}

.category-title {
    color: #2154a6 !important;
    margin-bottom: 15px !important;
    font-size: 18px !important;
    width: 100% !important;
    text-align: center !important;
}

.category-count {
    color: #666 !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

/* Admin and Debug Sections */
.admin-section-publisher {
    margin-top: 20px !important;
    text-align: center !important;
    padding: 15px !important;
    background: rgba(33, 84, 166, 0.1) !important;
    border-radius: 5px !important;
}

.admin-link {
    color: #2154a6 !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.admin-link:hover {
    text-decoration: underline !important;
}

.debug-section-publisher {
    margin-top: 20px !important;
    padding: 15px !important;
    background: rgba(255, 255, 0, 0.1) !important;
    border-radius: 5px !important;
}

.debug-text {
    color: #FFFF00 !important;
    font-size: 12px !important;
    margin: 0 !important;
}

/* Publisher Asset Images */
.publisher-asset {
    border: 2px solid #2154a6 !important;
    transition: all 0.3s ease !important;
}

.publisher-asset:hover {
    border-color: #FFFF00 !important;
    box-shadow: 0 0 10px rgba(33, 84, 166, 0.5) !important;
    transform: scale(1.05) !important;
}

.media-item .publisher-asset {
    transition: all 0.3s ease !important;
}

/* Publisher-specific visual indicators */
.media-item a[href*="publisher"] {
    position: relative;
}

.media-item a[href*="publisher"]::before {
    content: "ðŸ“š";
    position: absolute;
    top: -5px;
    left: -5px;
    background: rgba(33, 84, 166, 0.8);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 10;
}

/* Support files styling */
.support-files {
    margin-top: 10px !important;
    background-color: #222 !important;
    padding: 8px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.support-files h5 {
    margin: 0 0 5px 0 !important;
    color: #2154a6 !important;
    font-size: 14px !important;
}

.support-files ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.support-files li {
    margin-bottom: 3px !important;
}

.support-files a {
    color: #FFFF00 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}

.support-files a:hover {
    text-decoration: underline !important;
}

.support-files a::before {
    content: "â¬‡" !important;
    margin-right: 5px !important;
}

.support-files a[target="_blank"]::before {
    content: "ðŸ”—" !important;
    margin-right: 5px !important;
}

/* Multi-file indicators */
.media-item a.multi-file::after {
    content: "â¬‡+";
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFFF00;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item a:hover::after {
    opacity: 1;
}

.media-item a[target="_blank"]::after {
    content: "ðŸ”—";
}

.support-files-info {
    text-align: center;
    margin-top: 5px;
}

.support-files-info small {
    color: #ccc;
}

/* Enhanced hover effects for publisher assets */
.media-item img.publisher-asset {
    cursor: pointer;
}

.media-item img.publisher-asset:hover {
    border-color: #FFFF00;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.3);
}

/* PDF and URL icon styling */
.media-item a[href$=".pdf"] img {
    border: 2px solid #dc3545;
}

.media-item a[href$=".pdf"]:hover img {
    border-color: #FFFF00;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.media-item a[href$=".pdf"]::after {
    content: "ðŸ“„";
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #dc3545;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* URL link styling */
.media-item a[target="_blank"] img {
    border: 2px solid #28a745;
}

.media-item a[target="_blank"]:hover img {
    border-color: #FFFF00;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .category-header {
        margin-bottom: 15px;
    }
    
    .category-title {
        font-size: 16px;
    }
    
    .asset-count {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 14px;
    }
    
    .publisher-description {
        font-size: 13px;
    }
    
    .admin-section-publisher {
        padding: 10px;
    }
    
    .media-item a[href*="publisher"]::before {
        font-size: 10px;
        top: -3px;
        left: -3px;
    }
}

/* Animation for publisher asset loading */
@keyframes publisherAssetFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-item .publisher-asset {
    animation: publisherAssetFadeIn 0.3s ease-out;
}

/* Focus states for accessibility */
.publisher-asset:focus {
    outline: 2px solid #FFFF00;
    outline-offset: 2px;
}

.admin-link:focus {
    outline: 2px solid #2154a6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .publisher-asset {
        border-width: 3px !important;
    }
    
    .category-title {
        font-weight: bold;
    }
    
    .admin-link {
        text-decoration: underline;
    }
}

/* MINIMAL COLOR FIX - Just override the teal colors with your page colors */
/* Add this to the END of your existing styles.css file */

/* Fix main publisher section header - change from teal to yellow */
.detail-section h3 {
    color: #FFFF00 !important;
}

/* Fix category titles - change from teal to blue */
.category-title {
    color: #2154a6 !important;
}

/* Fix admin links - change from teal to blue */
.admin-link {
    color: #2154a6 !important;
}

/* Fix support file headers - change from teal to blue */
.support-files h5 {
    color: #2154a6 !important;
}

/* Fix publisher asset borders - change from teal to blue */
.publisher-asset {
    border: 2px solid #2154a6 !important;
}

.publisher-asset:hover {
    border-color: #FFFF00 !important;
    box-shadow: 0 0 10px rgba(33, 84, 166, 0.5) !important;
}

/* Fix admin section background - change from teal to blue */
.admin-section-publisher {
    background: rgba(33, 84, 166, 0.1) !important;
}

/* Fix publisher icon background - change from teal to blue */
.media-item a[href*="publisher"]::before {
    background: rgba(33, 84, 166, 0.8) !important;
}
/* PUBLISHER ASSETS COLOR FIXES - Add to the END of your styles.css */

/* Force publisher section header to match other sections */
.media-collection .detail-section h3 {
    color: #FFFF00 !important;
    border-bottom: 1px solid #3a3a3a !important;
}

/* Force category titles to use page blue */
.category-title {
    color: #2154a6 !important;
}

/* Fix admin links */
.admin-link {
    color: #2154a6 !important;
}

/* Fix support file headers */
.support-files h5 {
    color: #2154a6 !important;
}

/* Publisher asset image borders */
.publisher-asset {
    border: 2px solid #2154a6 !important;
    transition: all 0.3s ease !important;
}

.publisher-asset:hover {
    border-color: #FFFF00 !important;
    box-shadow: 0 0 10px rgba(33, 84, 166, 0.5) !important;
    transform: scale(1.05) !important;
}

/* Admin section background */
.admin-section-publisher {
    background: rgba(33, 84, 166, 0.1) !important;
}

/* Publisher icon backgrounds */
.media-item a[href*="publisher"]::before {
    background: rgba(33, 84, 166, 0.8) !important;
}

/* PDF-specific styling that matches manual section */
.media-item a[href$=".pdf"] img,
.media-item a[href$=".pdf"] .publisher-asset {
    border: 2px solid #dc3545 !important;
}

.media-item a[href$=".pdf"]:hover img,
.media-item a[href$=".pdf"]:hover .publisher-asset {
    border-color: #FFFF00 !important;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5) !important;
}

/* Support files styling that exactly matches game detail */
.support-files {
    margin-top: 10px !important;
    background-color: #222 !important;
    padding: 8px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.support-files h5 {
    margin: 0 0 5px 0 !important;
    color: #2154a6 !important;
    font-size: 14px !important;
}

.support-files ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.support-files li {
    margin-bottom: 3px !important;
}

.support-files a {
    color: #FFFF00 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}

.support-files a:hover {
    text-decoration: underline !important;
}

.support-files a::before {
    content: "⬇" !important;
    margin-right: 5px !important;
}

.support-files a[target="_blank"]::before {
    content: "🔗" !important;
    margin-right: 5px !important;
}

/* Multi-file indicators */
.media-item a.multi-file::after {
    content: "⬇+";
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFFF00;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item a:hover::after {
    opacity: 1;
}

.support-files-info {
    text-align: center;
    margin-top: 5px;
}

.support-files-info small {
    color: #ccc;
}

/* Override any teal colors that might still exist */
.detail-section h3[style*="17a2b8"],
.detail-section h3[style*="teal"] {
    color: #FFFF00 !important;
}

.category-title[style*="17a2b8"],
.category-title[style*="teal"] {
    color: #2154a6 !important;
}

/* Asset count styling */
.asset-count {
    color: #ccc !important;
    font-size: 16px !important;
    font-weight: normal !important;
    margin-left: 10px !important;
}

.category-count {
    color: #666 !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

/* Publisher description */
.publisher-description {
    color: #ccc !important;
    margin-bottom: 25px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
/* NEW CENTERED BADGE STYLING - Overrides media-item styling */
.publisher-badge-centered {
    display: block !important;
    position: static !important;
    width: calc(100% - 24px) !important;
    text-align: center !important;
    padding: 8px 12px !important;
    margin: 0 auto 15px auto !important;
    border-radius: 15px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    z-index: 1 !important;
}

/* Prevent the media-item publisher styling from interfering */
.media-item .publisher-badge-centered {
    position: static !important;
}

.media-item .publisher-badge-centered::before {
    content: none !important;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .publisher-badge-centered {
        font-size: 10px !important;
        padding: 6px 8px !important;
        margin-bottom: 10px !important;
    }
}