/* ========================================
   COLECOVISIONADAM.COM - UNIFIED STYLESHEET
   Version: 3.0 Production
   Last Updated: 2024
   ======================================== */

/* ========================================
   BASE STYLES & RESETS
   ======================================== */
* {
  box-sizing: border-box;
}
 body {
            background-color: #000000;
            color: #FFFFFF;
            font-family: Arial, Helvetica, sans-serif;
            margin: 0;
            padding: 0;
        }
        
        .content-container {
            width: 95%;
            max-width: 1540px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .page-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .page-title {
            color: #FFFF00;
            font-size: 48px;
            font-weight: bold;
            margin: 10px 0;
            text-transform: uppercase;
        }
        
        .page-subtitle {
            color: #FFFFFF;
            font-size: 18px;
            margin: 20px auto;
            max-width: 800px;
            line-height: 1.6;
        }
        
        /* Company Documents Section Styles */
        .company-documents-section {
            background: linear-gradient(to bottom, #2c4766, #1a1a1a);
            border: 3px solid #8B7D3A;
            border-radius: 12px;
            margin: 30px 0;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }
        
        .company-documents-header {
            background: linear-gradient(to bottom, #8B7D3A, #6B5D2A);
            color: #000000;
            font-weight: bold;
            text-align: center;
            font-size: 18px;
            text-transform: uppercase;
            letter-spacing: 2px;
            padding: 15px;
            margin: 0;
            position: relative;
        }
        
        .company-documents-subtitle {
            background: linear-gradient(to bottom, #6B5D2A, #4B3D1A);
            color: #FFFFFF;
            text-align: center;
            font-size: 12px;
            padding: 8px;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .company-documents-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            padding: 25px;
            background: linear-gradient(to bottom, #000000, #1a1a1a);
        }
        
        .company-document-card {
            background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
            border: 2px solid #555;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
            cursor: pointer;
        }
        
        .company-document-card:hover {
            border-color: #2154a6;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(33, 84, 166, 0.3);
        }
        
        .company-document-card.featured {
            border-color: #FFFF00;
            box-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
        }
        
        .company-document-card.featured::after {
            content: "FEATURED";
            position: absolute;
            top: 8px;
            right: 8px;
            background: linear-gradient(45deg, #FFFF00, #FFD700);
            color: #000;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 8px;
            font-weight: bold;
            text-transform: uppercase;
            z-index: 10;
        }
        
        .document-image-container {
            width: 100%;
            height: 140px;
            overflow: hidden;
            position: relative;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .document-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        
        .company-document-card:hover .document-image {
            transform: scale(1.05);
        }
        
        .document-type-overlay {
            position: absolute;
            bottom: 4px;
            left: 4px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 9px;
            font-weight: bold;
            text-transform: uppercase;
        }
        
        .document-info {
            padding: 12px;
            background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
        }
        
        .document-title {
            color: #FFFFFF;
            font-size: 11px;
            font-weight: bold;
            margin-bottom: 4px;
            text-align: center;
            line-height: 1.2;
        }
        
        .document-description {
            color: #ccc;
            font-size: 9px;
            text-align: center;
            line-height: 1.3;
            max-height: 26px;
            overflow: hidden;
        }
        
        .document-year {
            color: #2154a6;
            font-size: 8px;
            text-align: center;
            margin-top: 4px;
            font-weight: bold;
        }
        
        .documents-view-all {
            grid-column: 1 / -1;
            text-align: center;
            margin-top: 15px;
        }
        
        .documents-view-all-link {
            color: #2154a6;
            text-decoration: none;
            font-weight: bold;
            font-size: 12px;
            padding: 8px 16px;
            border: 1px solid #2154a6;
            border-radius: 4px;
            background-color: rgba(33, 84, 166, 0.1);
            transition: all 0.3s ease;
            display: inline-block;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .documents-view-all-link:hover {
            background-color: #2154a6;
            color: #FFFFFF;
            transform: translateY(-1px);
        }
        
        /* Document type specific styling */
        .document-type-catalog { border-left: 4px solid #27ae60; }
        .document-type-price_sheet { border-left: 4px solid #f39c12; }
        .document-type-dealer_info { border-left: 4px solid #2980b9; }
        .document-type-advertisement { border-left: 4px solid #e74c3c; }
        .document-type-flyer { border-left: 4px solid #9b59b6; }
        .document-type-brochure { border-left: 4px solid #1abc9c; }
        .document-type-manual { border-left: 4px solid #34495e; }
        .document-type-other { border-left: 4px solid #95a5a6; }
        
        .controls-section {
            background: linear-gradient(to bottom, #243b55, #1a1a1a);
            border: 2px solid #cc3300;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .controls-header {
            color: #FFFF00;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .controls-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .company-selector {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .company-selector select {
            padding: 10px;
            border: 1px solid #444;
            border-radius: 4px;
            background-color: #333;
            color: #fff;
            font-size: 16px;
            min-width: 250px;
        }
        
        .sort-controls {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .sort-controls a {
            color: #2154a6;
            text-decoration: none;
            padding: 8px 15px;
            border: 1px solid #444;
            border-radius: 4px;
            background-color: #222;
            transition: all 0.3s ease;
        }
        
        .sort-controls a:hover, .sort-controls a.active {
            background-color: #2154a6;
            color: #fff;
        }
        
        .color-bar {
            width: 100%;
            height: 33px;
            background: linear-gradient(to right, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
            margin: 20px 0;
            border-radius: 4px;
        }
        
        /* Enhanced Software Row Definition with Red Outline Separation */
        .software-entry-container {
            margin: 20px 0;
        }
        
        .software-archive-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background: linear-gradient(to bottom, #000000, #1a1a1a);
            border: 3px solid #cc3300;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(204, 51, 0, 0.3);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .software-archive-table:hover {
            border-color: #ff6633;
            box-shadow: 0 6px 20px rgba(255, 102, 51, 0.4);
            transform: translateY(-2px);
        }
        
        /* Table Header (separate from individual entries) */
        .software-archive-header-container {
            margin-bottom: 10px;
        }
        
        .archive-table-header {
            background: linear-gradient(to bottom, #8B7D3A, #6B5D2A);
            color: #000000;
            font-weight: bold;
            text-align: center;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 3px solid #8B7D3A;
            border-radius: 8px;
        }
        
        .archive-table-header th {
            padding: 15px 8px;
            border-right: 2px solid #6B5D2A;
            vertical-align: middle;
        }
        
        .archive-table-header th:last-child {
            border-right: none;
        }
        
        /* Enhanced Software Row */
        .software-archive-row {
            background: transparent;
        }
        
        /* Column 1: Description & Packaging */
        .description-column {
            width: 35%;
            padding: 20px;
            background-color: rgba(26, 26, 26, 0.8);
            border-right: 2px solid #555;
            vertical-align: top;
            position: relative;
        }
        
        .software-description-card {
            background-color: #000000;
            border: 2px solid #555;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            margin-top: 15px;
            position: relative;
        }
        
        .software-description-title {
            background: linear-gradient(to bottom, #8C8484, #6C6464);
            color: #FFFFFF;
            font-weight: bold;
            padding: 12px;
            text-align: center;
            margin: -15px -15px 15px -15px;
            border-radius: 6px 6px 0 0;
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .package-gallery {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin: 15px 0;
            flex-wrap: wrap;
        }
        
        .package-image-container, .additional-box-image-container {
            position: relative;
            display: inline-block;
        }
        
        .package-image {
            max-width: 175px;
            max-height: 225px;
            border: 2px solid #2154a6;
            border-radius: 6px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .package-image:hover {
            transform: scale(1.05);
            border-color: #FFFF00;
            box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
        }
        
        /* Enhanced Additional Box Images Card */
        .additional-box-images-card {
            background-color: #000000;
            border: 2px solid #555;
            border-radius: 8px;
            padding: 15px;
        }
        
        .additional-box-images-title {
            background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 30%, #9b59b6 70%, #7d3c98 100%);
            color: #FFFFFF;
            font-weight: bold;
            padding: 10px;
            text-align: center;
            margin: -15px -15px 15px -15px;
            border-radius: 6px 6px 0 0;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }

        .additional-box-images-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
            animation: slideGlow 3s ease-in-out infinite;
        }
        
        .additional-box-gallery {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            justify-items: center;
        }
        
        .additional-box-image {
            max-width: 100%;
            max-height: 120px;
            border: 1px solid #2154a6;
            border-radius: 4px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .additional-box-image:hover {
            transform: scale(1.1);
            border-color: #FFFF00;
            box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
        }
        
        .image-category-label {
            position: absolute;
            bottom: 2px;
            left: 2px;
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 1px 4px;
            border-radius: 2px;
            font-size: 8px;
            font-weight: bold;
            text-transform: uppercase;
            pointer-events: none;
        }
        
        .additional-images-summary {
            text-align: center;
            margin-top: 8px;
            padding-top: 5px;
            border-top: 1px solid #333;
        }
        
        .software-info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin: 15px 0;
            font-size: 13px;
        }
        
        .info-item {
            display: flex;
            flex-direction: column;
        }
        
        .info-label {
            color: #2154a6;
            font-weight: bold;
            font-size: 11px;
            text-transform: uppercase;
            margin-bottom: 2px;
        }
        
        .info-value {
            color: #FFFFFF;
        }
        
        .software-description-text {
            font-size: 12px;
            line-height: 1.5;
            color: #FFFFFF;
            margin-top: 15px;
            text-align: justify;
        }
        
        .media-type-indicators {
            display: flex;
            gap: 4px;
            justify-content: flex-start;
            margin-top: 8px;
        }
        
        .media-indicator {
            padding: 3px 6px;
            border-radius: 3px;
            font-size: 9px;
            font-weight: bold;
            text-transform: uppercase;
        }
        
        .indicator-ddp {
            background-color: #d35400;
            color: white;
        }
        
        .indicator-disk {
            background-color: #2980b9;
            color: white;
        }
        
        .indicator-cart {
            background-color: #27ae60;
            color: white;
        }
        
        .indicator-cass {
            background-color: #8e44ad;
            color: white;
        }
        
        /* Column 2: Media Images & Links */
        .media-column {
            width: 25%;
            padding: 20px;
            background-color: rgba(26, 26, 26, 0.8);
            border-right: 2px solid #555;
            vertical-align: top;
            text-align: center;
        }
        
        .media-section {
            margin-bottom: 20px;
        }
        
        .media-section-title {
            color: #FFFF00;
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 10px;
            text-transform: uppercase;
        }
        
        .disk-ddp-section {
            background-color: #2a2a2a;
            border: 1px solid #555;
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 15px;
        }
        
        .disk-ddp-title {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 30%, #e74c3c 70%, #a93226 100%);
            color: #FFFFFF;
            font-weight: bold;
            text-align: center;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px;
            margin: -10px -10px 8px -10px;
            border-radius: 6px 6px 0 0;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .disk-ddp-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
            animation: slideGlow 3s ease-in-out infinite;
        }
        
        .disk-ddp-title img {
            vertical-align: middle;
        }
        
        .download-category {
            margin-bottom: 8px;
        }
        
        .download-category-header {
            color: #2154a6;
            font-size: 11px;
            font-weight: bold;
            margin-bottom: 5px;
            text-transform: uppercase;
        }
        
        .download-links-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .download-link-item {
            margin-bottom: 3px;
        }
        
        .download-link {
            color: #FFFF00 !important;
            text-decoration: none;
            font-size: 11px;
            display: block;
            padding: 4px 8px;
            background-color: rgba(33, 84, 166, 0.2);
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
        .download-link:hover {
            background-color: #2154a6 !important;
            color: #FFFFFF !important;
            transform: translateX(3px);
        }
        
        .download-link:visited {
            color: #FFFF00 !important;
        }
        
        .download-link:active {
            color: #FFFF00 !important;
        }

        /* NEW: Media Assets Section */
        .media-assets-section {
            background-color: #2a2a2a;
            border: 1px solid #555;
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 15px;
        }

        .media-assets-title {
            background: linear-gradient(135deg, #e67e22 0%, #d35400 30%, #e67e22 70%, #bf4f00 100%);
            color: #FFFFFF;
            font-weight: bold;
            text-align: center;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px;
            margin: -10px -10px 8px -10px;
            border-radius: 6px 6px 0 0;
            position: relative;
            overflow: hidden;
        }

        .media-assets-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
            animation: slideGlow 3s ease-in-out infinite;
        }

        .media-assets-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            justify-items: center;
        }

        .media-asset-image {
            max-width: 80px;
            max-height: 60px;
            border: 1px solid #e67e22;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .media-asset-image:hover {
            transform: scale(1.1);
            border-color: #FFFF00;
        }

        /* NEW: Cartridge Assets Section */
        .cartridge-assets-section {
            background-color: #2a2a2a;
            border: 1px solid #555;
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 15px;
        }

        .cartridge-assets-title {
            background: linear-gradient(135deg, #f1c40f 0%, #f39c12 30%, #f1c40f 70%, #e67e22 100%);
            color: #FFFFFF;
            font-weight: bold;
            text-align: center;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px;
            margin: -10px -10px 8px -10px;
            border-radius: 6px 6px 0 0;
            position: relative;
            overflow: hidden;
        }

        .cartridge-assets-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
            animation: slideGlow 3s ease-in-out infinite;
        }

        .cartridge-assets-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            justify-items: center;
        }

        .cartridge-asset-image {
            max-width: 80px;
            max-height: 60px;
            border: 1px solid #27ae60;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cartridge-asset-image:hover {
            transform: scale(1.1);
            border-color: #FFFF00;
        }
        
        /* Enhanced Media Images Section with Manual Integration */
        .media-images-section {
            background-color: #2a2a2a;
            border: 1px solid #555;
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 15px;
        }
        
        .media-images-title {
            background: linear-gradient(135deg, #27ae60 0%, #2ecc71 30%, #27ae60 70%, #219a52 100%);
            color: #FFFFFF;
            font-weight: bold;
            text-align: center;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px;
            margin: -10px -10px 8px -10px;
            border-radius: 6px 6px 0 0;
            position: relative;
            overflow: hidden;
        }

        .media-images-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
            animation: slideGlow 3s ease-in-out infinite;
        }

        /* Screenshots section - blue title for screenshots specifically */
        .screenshot-section-title {
            background: linear-gradient(135deg, #2154a6 0%, #2968c4 30%, #2154a6 70%, #1a4088 100%);
            color: #FFFFFF;
            font-weight: bold;
            text-align: center;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px;
            margin: -10px -10px 8px -10px;
            border-radius: 6px 6px 0 0;
            position: relative;
            overflow: hidden;
        }

        .screenshot-section-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
            animation: slideGlow 3s ease-in-out infinite;
        }

        /* Screenshots section uses same styling as media-images-section for consistency */
        
        .media-images-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            justify-items: center;
        }
        
        /* Enhanced Media Image Container */
        .media-image-container {
            position: relative;
            display: inline-block;
        }
        
        .media-image {
            max-width: 80px;
            max-height: 60px;
            border: 1px solid #555;
            border-radius: 4px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .media-image:hover {
            transform: scale(1.1);
            border-color: #FFFF00;
        }
        
        /* Media Category Overlay for Media vs Manual Distinction */
        .media-category-overlay {
            position: absolute;
            bottom: 2px;
            left: 2px;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 2px 4px;
            border-radius: 2px;
            font-size: 8px;
            font-weight: bold;
            text-transform: uppercase;
            pointer-events: none;
            z-index: 5;
        }
        
        .media-image-container:hover .media-category-overlay {
            background: rgba(33, 84, 166, 0.9);
        }
        
        /* Different border colors for different media types */
        .media-image-container[data-category="manual"] .media-image {
            border-color: #8e44ad;
        }
        
        .media-image-container[data-category="manual"] .media-category-overlay {
            background: rgba(142, 68, 173, 0.9);
        }
        
        .media-image-container[data-category="media"] .media-image {
            border-color: #2980b9;
        }
        
        .media-image-container[data-category="media"] .media-category-overlay {
            background: rgba(41, 128, 185, 0.9);
        }
        
        .download-links-section {
            background-color: #2a2a2a;
            border: 1px solid #555;
            border-radius: 6px;
            padding: 10px;
        }
        
        .download-links-title {
            background: linear-gradient(135deg, #f39c12 0%, #e67e22 30%, #f39c12 70%, #d35400 100%);
            color: #FFFFFF;
            font-weight: bold;
            text-align: center;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px;
            margin: -10px -10px 8px -10px;
            border-radius: 6px 6px 0 0;
            position: relative;
            overflow: hidden;
        }

        .download-links-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
            animation: slideGlow 3s ease-in-out infinite;
        }

        @keyframes slideGlow {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        /* Column 3: Screenshots */
        .screenshot-column {
            width: 40%;
            padding: 20px;
            background-color: rgba(26, 26, 26, 0.8);
            vertical-align: top;
            text-align: center;
        }
        
        .screenshot-title {
            background: linear-gradient(135deg, #2154a6 0%, #2968c4 30%, #2154a6 70%, #1a4088 100%);
            color: #FFFFFF;
            font-weight: bold;
            text-align: center;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 10px;
            margin: -20px -20px 15px -20px;
            border-radius: 0;
            position: relative;
            overflow: hidden;
        }

        .screenshot-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
            animation: slideGlow 3s ease-in-out infinite;
        }
        
        .screenshot-gallery {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        
        .screenshot-image {
            width: 100%;
            height: auto;
            border: 2px solid #2154a6;
            border-radius: 6px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .screenshot-image:hover {
            transform: scale(1.05);
            border-color: #FFFF00;
            box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
        }
        
        .no-content {
            color: #FF0000;
            font-style: italic;
            font-size: 12px;
            padding: 40px 10px;
        }
        
        .stats-bar {
            background-color: #1a1a1a;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
            text-align: center;
            border: 1px solid #333;
        }
        
        .stats-text {
            color: #ccc;
            font-size: 16px;
        }
        
        .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;
        }
        
        .error-message {
            background-color: #330000;
            border: 1px solid #660000;
            color: #cc0000;
            padding: 15px;
            border-radius: 5px;
            margin: 20px 0;
            text-align: center;
        }
        
        .publishers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            padding: 20px;
        }
        
        .publisher-card {
            background: linear-gradient(to bottom, #2c4766, #1a1a1a);
            border: 1px solid #555;
            border-radius: 8px;
            padding: 5px;
            text-align: center;
        }
        
        .publisher-card a {
            color: #2154a6;
            text-decoration: none;
            font-weight: bold;
            font-size: 20px;
            display: block;
            margin-bottom: 5px;
        }
        
        .publisher-card a:hover {
            text-decoration: underline;
        }
        
        .publisher-count {
            color: #ccc;
            font-size: 14px;
        }
        
        /* ============================================
           ENHANCED MODAL SYSTEM FROM GAME_DETAIL.PHP 
           ============================================ */

        /* Enhanced Modal for larger image display */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.95);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            margin: auto;
            display: block;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 90vw;
            max-height: 90vh;
            min-width: 300px;
            min-height: 200px;
            object-fit: contain;
            border: 3px solid #FFFF00;
            border-radius: 10px;
            box-shadow: 0 0 30px rgba(255, 255, 0, 0.3);
            transition: all 0.3s ease-in-out;
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.8);
        }

        .modal.show .modal-content {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        .close {
            position: absolute;
            top: 20px;
            right: 40px;
            color: #FFFF00;
            font-size: 50px;
            font-weight: bold;
            cursor: pointer;
            z-index: 2001;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
            transition: all 0.2s ease;
            background: rgba(0,0,0,0.5);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        .close:hover,
        .close:focus {
            color: #ffffff;
            background: rgba(255, 255, 0, 0.2);
            transform: scale(1.1);
        }

        .modal-caption {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.8);
            color: #FFFF00;
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            max-width: 80%;
            text-align: center;
            z-index: 2001;
        }

        .modal-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #FFFF00;
            font-size: 24px;
            z-index: 2001;
        }

        .zoom-controls {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 2001;
            display: flex;
            gap: 10px;
        }

        .zoom-btn {
            background: rgba(0,0,0,0.7);
            color: #FFFF00;
            border: 2px solid #FFFF00;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .zoom-btn:hover {
            background: rgba(255, 255, 0, 0.2);
            transform: scale(1.1);
        }

        .modal-instructions {
            position: absolute;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.8);
            color: #FFFF00;
            padding: 15px;
            border-radius: 5px;
            font-size: 14px;
            max-width: 200px;
            z-index: 2001;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }

        .modal-instructions:hover {
            opacity: 1;
        }

        .modal-instructions h4 {
            margin: 0 0 10px 0;
            color: #FFFF00;
            font-size: 16px;
        }

        .modal-instructions ul {
            margin: 0;
            padding-left: 15px;
            list-style-type: none;
        }

        .modal-instructions li {
            margin-bottom: 5px;
        }

        .modal-instructions li:before {
            content: "Ã¢â€“Â¸ ";
            color: #FFFF00;
        }

        .modal-content:hover {
            box-shadow: 0 0 40px rgba(255, 255, 0, 0.5);
        }

        body.modal-open {
            overflow: hidden;
        }

        /* Enhanced hover effects */
        .media-item img {
            transition: all 0.3s ease;
        }

        .media-item img:hover {
            transform: scale(1.05);
            border-color: #FFFF00;
            box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
        }
        
    
        
        /* Responsive design */
        @media screen and (max-width: 1200px) {
            .description-column {
                width: 40%;
            }
            
            .media-column {
                width: 25%;
            }
            
            .screenshot-column {
                width: 35%;
            }
            
            .additional-box-gallery {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .screenshot-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .company-documents-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 15px;
                padding: 20px;
            }
            
            .document-image-container {
                height: 120px;
            }
            
            .software-archive-table {
                border-width: 2px;
            }
        }
        
        @media screen and (max-width: 768px) {
            .software-archive-table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
                border-width: 2px;
                border-radius: 6px;
            }
            
            .controls-row {
                flex-direction: column;
            }
            
            .company-selector select {
                min-width: auto;
                width: 100%;
            }
            
            .additional-box-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .company-documents-grid {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
                gap: 10px;
                padding: 15px;
            }
            
            .document-image-container {
                height: 100px;
            }
            
            .company-documents-header {
                font-size: 16px;
                padding: 12px;
            }
            
            .company-documents-subtitle {
                font-size: 10px;
                padding: 6px;
            }
            
            .company-document-card.featured::after {
                position: static;
                display: inline-block;
                margin-left: 10px;
                border-radius: 3px;
            }
            
            .modal-content {
                max-width: 95vw;
                max-height: 85vh;
                min-width: 280px;
            }
            
            .close {
                top: 10px;
                right: 15px;
                font-size: 40px;
                width: 50px;
                height: 50px;
            }
            
            .zoom-controls {
                top: 10px;
                left: 10px;
            }
            
            .zoom-btn {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
            
            .modal-caption {
                bottom: 10px;
                font-size: 14px;
                max-width: 90%;
            }
            
            .modal-instructions {
                display: none; /* Hide on mobile for space */
            }
            
            .software-entry-container {
                margin: 15px 0;
            }
        }
        
        h1 {
            font-size: larger;
        }
/* ========================================
   END OF STYLESHEET
   ======================================== */