/**
 * Upcoming Releases Styles
 * 
 * Styles for the upcoming game releases feature including
 * widget, page template, and admin components.
 *
 * @package OutputLag
 * @since 1.0.0
 */

/* ==========================================================================
   Widget Styles
   ========================================================================== */

.upcoming-releases-widget {
    margin-bottom: 2rem;
}

.upcoming-releases-widget .widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.upcoming-releases-widget .widget-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

/* Widget Release List */
.widget .releases-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.widget .release-item {
    display: flex;
    gap: 1rem;
    padding: 0.875rem;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.widget .release-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.2s ease;
}

.widget .release-item:hover {
    background: rgba(30, 30, 30, 0.8);
    transform: translateX(4px);
}

.widget .release-item:hover::before {
    background: var(--accent-color);
}

.widget .release-cover {
    flex-shrink: 0;
    width: 50px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #121212;
}

.widget .release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget .release-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.widget .release-date-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    min-width: 45px;
    text-align: center;
}

.widget .release-day {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    color: #E8E8E8;
}

.widget .release-month {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #B3B3B3;
    margin-top: 2px;
}

.widget .release-info {
    flex: 1;
    min-width: 0; /* Enable text truncation */
}

.widget .release-title {
    margin: 0 0 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    color: #E8E8E8;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.widget .release-title a {
    color: inherit;
    text-decoration: none;
}

.widget .release-title a:hover {
    color: var(--accent-color);
}

.widget .release-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.375rem;
}

.widget .platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.widget .platform-badge.platform-pc { 
    background: rgba(33, 150, 243, 0.15);
    color: #64B5F6;
}
.widget .platform-badge.platform-playstation-5,
.widget .platform-badge.platform-playstation-4 { 
    background: rgba(0, 112, 209, 0.15);
    color: #42A5F5;
}
.widget .platform-badge.platform-xbox-series-x,
.widget .platform-badge.platform-xbox-one { 
    background: rgba(16, 124, 16, 0.15);
    color: #66BB6A;
}
.widget .platform-badge.platform-nintendo-switch,
.widget .platform-badge.platform-nintendo-switch-2 { 
    background: rgba(230, 0, 18, 0.15);
    color: #EF5350;
}

.widget .release-countdown {
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #999;
}

.widget .countdown-today {
    color: #FF6B6B;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6875rem;
}

.widget .countdown-tomorrow {
    color: #FFA726;
    font-weight: 600;
}

/* Widget Display Styles */
.releases-list.style-compact .release-item {
    padding: 0.75rem;
    background: none;
}

.releases-list.style-compact .release-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.releases-list.style-compact .release-cover {
    display: none;
}

.releases-list.style-compact .release-date-badge {
    min-width: 40px;
    padding: 0.25rem;
}

.releases-list.style-compact .release-day {
    font-size: 1rem;
}

.releases-list.style-detailed .release-item {
    flex-direction: column;
    padding: 1.5rem;
}

.releases-list.style-detailed .release-content {
    flex-direction: column;
    align-items: flex-start;
}

.releases-list.style-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.releases-list.style-calendar .release-item {
    flex-direction: column;
    padding: 0.5rem;
    text-align: center;
}

/* Widget Footer */
.widget-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.3s ease;
}

.view-all-link:hover {
    gap: 0.5rem;
}

/* No releases message */
.no-releases {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Homepage Upcoming Releases Widget Styles
   ========================================================================== */

.homepage-sidebar .release-calendar {
    margin-top: 2rem;
}

.homepage-sidebar .release-calendar .widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.homepage-sidebar .release-calendar .widget-title svg {
    color: var(--accent-color);
}

.homepage-sidebar .release-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.homepage-sidebar .release-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.homepage-sidebar .release-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.homepage-sidebar .release-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.2s ease;
}

.homepage-sidebar .release-item:hover::before {
    background: var(--accent-color);
}

.homepage-sidebar .release-cover {
    flex-shrink: 0;
    width: 50px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #121212;
}

.homepage-sidebar .release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-sidebar .release-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.homepage-sidebar .release-date-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    min-width: 45px;
    text-align: center;
}

.homepage-sidebar .release-day {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    color: #E8E8E8;
}

.homepage-sidebar .release-month {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #B3B3B3;
    margin-top: 2px;
}

.homepage-sidebar .release-info {
    flex: 1;
    min-width: 0;
}

.homepage-sidebar .release-title {
    margin: 0 0 0.375rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.homepage-sidebar .release-title a {
    color: #E8E8E8;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.homepage-sidebar .release-title a:hover {
    color: var(--accent-color);
}

.homepage-sidebar .release-platforms {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.375rem;
}

.homepage-sidebar .platform-badge {
    width: 20px;
    height: 20px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-sidebar .platform-badge svg {
    width: 14px;
    height: 14px;
}

.homepage-sidebar .platform-badge .platform-text {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.homepage-sidebar .platform-badge.platform-pc {
    background: rgba(33, 150, 243, 0.2);
    color: #64B5F6;
}

.homepage-sidebar .platform-badge.platform-playstation-5,
.homepage-sidebar .platform-badge.platform-playstation-4 {
    background: rgba(0, 55, 145, 0.2);
    color: #42A5F5;
}

.homepage-sidebar .platform-badge.platform-xbox-series-x,
.homepage-sidebar .platform-badge.platform-xbox-one {
    background: rgba(16, 124, 16, 0.2);
    color: #66BB6A;
}

.homepage-sidebar .platform-badge.platform-nintendo-switch,
.homepage-sidebar .platform-badge.platform-nintendo-switch-2 {
    background: rgba(230, 0, 18, 0.2);
    color: #EF5350;
}

.homepage-sidebar .platform-more {
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    color: #999;
    display: flex;
    align-items: center;
}

.homepage-sidebar .release-countdown {
    font-size: 0.75rem;
    color: #999;
}

.homepage-sidebar .countdown-today {
    color: #FF6B6B;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6875rem;
}

.homepage-sidebar .countdown-tomorrow {
    color: #FFA726;
    font-weight: 600;
}

.homepage-sidebar .wishlist-toggle {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
}

.homepage-sidebar .release-item:hover .wishlist-toggle {
    opacity: 1;
}

.homepage-sidebar .wishlist-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.homepage-sidebar .wishlist-toggle svg {
    width: 16px;
    height: 16px;
    color: #E8E8E8;
}

.homepage-sidebar .wishlist-toggle.active svg {
    fill: #FF6B6B;
    color: #FF6B6B;
}

.homepage-sidebar .widget-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.homepage-sidebar .view-all-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.homepage-sidebar .view-all-link:hover {
    gap: 0.5rem;
}

/* ==========================================================================
   Page Template Styles
   ========================================================================== */

.releases-page-wrapper {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Page Header */
.releases-header {
    text-align: center;
    margin-bottom: 3rem;
}

.releases-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.releases-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Filters Bar */
.releases-filters {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filters-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.search-group {
    flex: 2;
}

.search-input,
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.filter-submit {
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* View Switcher */
.view-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.view-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.view-option:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-color);
}

.view-option.active {
    background: var(--accent-color);
    color: var(--dark-bg);
}

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filters-label {
    font-weight: 600;
    color: var(--text-muted);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
}

.remove-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.remove-filter:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.clear-all-filters {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.clear-all-filters:hover {
    text-decoration: underline;
}

/* Results Info */
.results-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.results-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Grid View - Modern Card Design */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.release-card {
    position: relative;
    background: #1E1E1E;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.release-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.release-card-inner {
    position: relative;
    height: 100%;
}

.release-cover {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #121212;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.release-card:hover .cover-image {
    transform: scale(1.05);
}

.cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* Release Timing Badge - Top Left */
.release-timing {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(12px);
    z-index: 10;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.release-timing.out-now {
    background: rgba(76, 175, 80, 0.9);
    border-color: rgba(76, 175, 80, 0.3);
}

.release-timing.today {
    background: rgba(255, 152, 0, 0.9);
    border-color: rgba(255, 152, 0, 0.3);
}

.release-timing.tomorrow {
    background: rgba(255, 193, 7, 0.9);
    border-color: rgba(255, 193, 7, 0.3);
    color: #1a1a1a;
}

.release-timing.days-away {
    background: rgba(33, 150, 243, 0.9);
    border-color: rgba(33, 150, 243, 0.3);
}

.release-timing.coming-soon {
    background: rgba(96, 96, 96, 0.9);
    border-color: rgba(96, 96, 96, 0.3);
    text-transform: none;
}

/* Platform Icons - Bottom of card */
.platform-icons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 6px;
    z-index: 10;
}

.platform-icon {
    width: 32px;
    height: 32px;
    padding: 6px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-icon svg {
    width: 20px;
    height: 20px;
}

.platform-icon .platform-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.platform-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

/* Platform specific colors */
.platform-icon.platform-pc {
    background: rgba(33, 150, 243, 0.85);
    border-color: rgba(33, 150, 243, 0.3);
    color: #fff;
}

.platform-icon.platform-playstation-5,
.platform-icon.platform-playstation-4 {
    background: rgba(0, 55, 145, 0.85);
    border-color: rgba(0, 55, 145, 0.3);
    color: #fff;
}

.platform-icon.platform-xbox-series-x,
.platform-icon.platform-xbox-one {
    background: rgba(16, 124, 16, 0.85);
    border-color: rgba(16, 124, 16, 0.3);
    color: #fff;
}

.platform-icon.platform-nintendo-switch,
.platform-icon.platform-nintendo-switch-2 {
    background: rgba(230, 0, 18, 0.85);
    border-color: rgba(230, 0, 18, 0.3);
    color: #fff;
}

.platform-icon.more {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Info Overlay - Bottom Gradient */
.release-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.8) 40%,
        rgba(0, 0, 0, 0.4) 70%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 180px;
}

.overlay-content {
    flex: 1;
}

.release-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px 0;
    color: #E8E8E8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.release-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.release-card .release-date {
    font-size: 0.9375rem;
    color: #E8E8E8;
    font-weight: 500;
    display: inline-block;
    background: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    flex-direction: row !important;
    text-align: left !important;
}

.release-developer {
    font-size: 0.8125rem;
    color: #B3B3B3;
}

.release-genres {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.genre-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #B3B3B3;
    backdrop-filter: blur(8px);
}

/* Actions - Initially Hidden */
.release-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    margin-top: 12px;
}

.release-card:hover .release-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
    color: #E8E8E8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.action-button svg {
    width: 20px;
    height: 20px;
}

/* List View */
.releases-list .release-list-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.releases-list .release-list-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.release-list-cover {
    flex-shrink: 0;
    width: 100px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
}

.release-list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-list-cover .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.release-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.release-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.release-list-header .release-title {
    font-size: 1.25rem;
    margin: 0;
}

.release-list-header .release-date {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--accent-color);
}

.release-list-header .countdown {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--text-muted);
}

.release-list-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.release-description {
    color: var(--text-muted);
    line-height: 1.6;
}

.release-list-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.release-list-footer .release-platforms {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.release-list-footer .platform-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.release-list-footer .platform-tag.platform-pc,
.release-list-footer .platform-tag.platform-pc-microsoft-windows { 
    background: rgba(33, 150, 243, 0.15);
    color: #64B5F6;
}

.release-list-footer .platform-tag.platform-playstation-5,
.release-list-footer .platform-tag.platform-playstation-4 { 
    background: rgba(0, 112, 209, 0.15);
    color: #42A5F5;
}

.release-list-footer .platform-tag.platform-xbox-series-xs,
.release-list-footer .platform-tag.platform-xbox-one { 
    background: rgba(16, 124, 16, 0.15);
    color: #66BB6A;
}

.release-list-footer .platform-tag.platform-nintendo-switch,
.release-list-footer .platform-tag.platform-nintendo-switch-2 { 
    background: rgba(230, 0, 18, 0.15);
    color: #EF5350;
}

.release-genres {
    display: flex;
    gap: 0.5rem;
}

.genre-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Calendar View */
.releases-calendar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-month {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.calendar-day {
    min-height: 100px;
    padding: 0.5rem;
    background: var(--dark-bg);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.05);
}

.calendar-day.empty {
    background: rgba(255, 255, 255, 0.02);
}

.calendar-day.today {
    border-color: var(--accent-color);
}

.calendar-day.has-releases {
    background: rgba(255, 255, 255, 0.03);
}

.day-number {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.day-releases {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.calendar-release {
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.calendar-platform-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    line-height: 1;
}

.calendar-more {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 500;
}

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

.calendar-legend h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.legend-releases {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-release {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.875rem;
}

.legend-release .platforms {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Pagination */
.releases-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.releases-pagination a,
.releases-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.releases-pagination a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.releases-pagination .current {
    background: var(--accent-color);
    color: var(--dark-bg);
}

/* No Results */
.no-releases {
    text-align: center;
    padding: 4rem 2rem;
}

.no-releases svg {
    margin-bottom: 1rem;
}

.no-releases h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-releases p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.no-releases .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-releases .button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    /* Widget */
    .release-item {
        flex-direction: column;
    }
    
    .release-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Page Template */
    .releases-title {
        font-size: 2rem;
    }
    
    .filters-form {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .view-switcher {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .releases-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .release-list-item {
        flex-direction: column;
    }
    
    .release-list-header {
        flex-direction: column;
    }
    
    .calendar-grid {
        font-size: 0.875rem;
    }
    
    .calendar-day {
        min-height: 80px;
    }
    
    .calendar-release {
        font-size: 0.625rem;
    }
}

@media (max-width: 480px) {
    .releases-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-day-header {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .day-number {
        font-size: 0.875rem;
    }
}