/**
 * Radium Sync Frontend Styles
 */

/* Casino Grid */
.radium-casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.radium-casino-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.radium-casino-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.radium-casino-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 16px;
}

.radium-casino-name {
    font-size: 18px;
    margin: 12px 0;
}

.radium-casino-name a {
    color: #1f2937;
    text-decoration: none;
}

.radium-casino-name a:hover {
    color: #3b82f6;
}

/* Casino List View */
.radium-casinos-list .radium-casino-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
}

.radium-casinos-list .radium-casino-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    border: none;
}

.radium-casinos-list .radium-casino-logo {
    flex-shrink: 0;
}

.radium-casinos-list .radium-casino-logo img {
    max-width: 120px;
    margin: 0;
}

.radium-casinos-list .radium-casino-content {
    flex: 1;
    text-align: left;
}

/* Casino Single Page */
.radium-casino-single {
    max-width: 1200px;
    margin: 0 auto;
}

.radium-casino-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.radium-casino-logo-large img {
    max-width: 200px;
    height: auto;
}

.radium-casino-title h1 {
    margin: 0 0 16px 0;
    font-size: 32px;
}

.radium-casino-screenshot {
    max-width: 600px;
    margin: 0 auto 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.radium-casino-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections */
.radium-section {
    margin-bottom: 48px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.radium-section h2 {
    margin: 0 0 24px 0;
    font-size: 24px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 12px;
}

/* Bonuses */
.radium-bonuses-list {
    display: grid;
    gap: 16px;
}

.radium-bonus-item {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.radium-bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.radium-bonus-header h3 {
    margin: 0;
    font-size: 18px;
}

.radium-bonus-type {
    display: inline-block;
    padding: 4px 12px;
    background: #3b82f6;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
}

.radium-bonus-code {
    padding: 8px 12px;
    background: #fef3c7;
    border: 1px dashed #f59e0b;
    border-radius: 4px;
    margin-bottom: 12px;
}

/* Software & Banks */
.radium-software-list,
.radium-banks-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.radium-software-item,
.radium-bank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    text-align: center;
}

.radium-software-item img,
.radium-bank-item img {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
}

/* Games Grid */
.radium-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.radium-game-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.radium-game-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.radium-game-image img {
    width: 100%;
    height: auto;
    display: block;
}

.radium-game-content {
    padding: 12px;
}

.radium-game-name {
    font-size: 16px;
    margin: 0 0 8px 0;
}

.radium-game-name a {
    color: #1f2937;
    text-decoration: none;
}

.radium-game-name a:hover {
    color: #3b82f6;
}

/* Buttons */
.radium-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.radium-button-primary {
    background: #3b82f6;
    color: #fff;
    border: 2px solid #3b82f6;
}

.radium-button-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.radium-button-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Utilities */
.radium-no-results,
.radium-error {
    padding: 24px;
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

/* Review Styles */
.radium-review {
    margin: 32px 0;
}

.radium-review-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1f2937;
}

.radium-review-content {
    line-height: 1.8;
    color: #374151;
}

.radium-review-content h2 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.radium-review-content h3 {
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.radium-review-content p {
    margin-bottom: 16px;
}

.radium-review-meta {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
}

/* FAQ Styles */
.radium-faq {
    margin: 32px 0;
}

.radium-faq-title {
    font-size: 28px;
    margin-bottom: 24px;
    color: #1f2937;
}

.radium-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.radium-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.radium-faq-question {
    margin: 0;
}

.radium-faq-toggle {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
}

.radium-faq-toggle:hover {
    background: #f3f4f6;
}

.radium-faq-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.radium-faq-icon::before,
.radium-faq-icon::after {
    content: '';
    position: absolute;
    background: #3b82f6;
    transition: transform 0.3s ease;
}

.radium-faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.radium-faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.radium-faq-toggle[aria-expanded="true"] .radium-faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.radium-faq-answer {
    padding: 20px;
    color: #374151;
    line-height: 1.7;
}

.radium-faq-answer p {
    margin-bottom: 12px;
}

.radium-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Simple FAQ (no accordion) */
.radium-faq-simple .radium-faq-question h3 {
    font-size: 18px;
    margin: 0 0 12px 0;
    padding: 16px 20px;
    background: #f9fafb;
    color: #1f2937;
}

.radium-faq-simple .radium-faq-answer {
    display: block !important;
}

/* Pros/Cons Styles */
.radium-pros-cons {
    margin: 32px 0;
}

.radium-pros-cons-title {
    font-size: 28px;
    margin-bottom: 24px;
    color: #1f2937;
}

/* Columns Layout */
.radium-pros-cons-columns .radium-pros-cons-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Stacked Layout */
.radium-pros-cons-stacked .radium-pros-cons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.radium-pros-section,
.radium-cons-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.radium-pros-heading,
.radium-cons-heading {
    font-size: 20px;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.radium-pros-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.radium-cons-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.radium-pros-list,
.radium-cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radium-pro-item,
.radium-con-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    line-height: 1.6;
}

.radium-pro-item::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d1fae5;
    color: #10b981;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.radium-con-item::before {
    content: '✗';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Screenshot Carousel */
.radium-game-gallery {
    margin: 32px 0;
}

.radium-gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.radium-carousel-track-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.radium-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.radium-carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radium-carousel-slide.active {
    opacity: 1;
}

.radium-carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 300px;
    display: block;
    object-fit: contain;
}

.radium-carousel-prev,
.radium-carousel-next {
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radium-carousel-prev:hover,
.radium-carousel-next:hover {
    background: rgba(37, 99, 235, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.radium-carousel-prev:active,
.radium-carousel-next:active {
    transform: scale(0.95);
}

.radium-carousel-prev:focus,
.radium-carousel-next:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.radium-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}

.radium-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #f3f4f6;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.radium-carousel-indicator:hover {
    border-color: #9ca3af;
    background: #e5e7eb;
    transform: scale(1.2);
}

.radium-carousel-indicator.active {
    border-color: #3b82f6;
    background: #3b82f6;
    transform: scale(1.3);
}

.radium-carousel-indicator:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Game Demo Section */
.radium-game-demo-section {
    margin: 32px 0;
}

.radium-game-demo-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1f2937;
}

/* Game Details Table */
.radium-game-details {
    margin: 32px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.radium-game-details h2 {
    font-size: 24px;
    margin: 0 0 24px 0;
    color: #1f2937;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 12px;
}

.radium-details-table {
    width: 100%;
    border-collapse: collapse;
}

.radium-details-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.radium-details-table tbody tr:last-child {
    border-bottom: none;
}

.radium-details-table th {
    text-align: left;
    padding: 16px 24px 16px 0;
    font-weight: 600;
    color: #374151;
    width: 40%;
    vertical-align: top;
}

.radium-details-table td {
    padding: 16px 0;
    color: #1f2937;
    font-weight: 500;
}

.radium-details-table tr:hover {
    background: #f9fafb;
}

/* Responsive table */
@media (max-width: 640px) {
    .radium-details-table th {
        width: 45%;
        padding: 12px 16px 12px 0;
        font-size: 14px;
    }

    .radium-details-table td {
        padding: 12px 0;
        font-size: 14px;
    }
}

/* Page Content Wrapper - Fix Theme Width Issue */
.radium-page-content {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 20px;
}

/* Game Single Page */
.radium-game-single {
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.radium-game-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.radium-game-image-large img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}

.radium-game-title h1 {
    margin: 0 0 16px 0;
    font-size: 32px;
}

.radium-game-provider {
    color: #6b7280;
    font-size: 16px;
}

.radium-game-actions {
    margin-top: 12px;
}

.radium-demo-button {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.radium-demo-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .radium-game-single {
        max-width: 100%;
    }

    .radium-game-header {
        flex-direction: column;
        text-align: center;
    }

    .radium-casino-header {
        flex-direction: column;
        text-align: center;
    }

    .radium-casinos-grid {
        grid-template-columns: 1fr;
    }

    .radium-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .radium-pros-cons-columns .radium-pros-cons-wrapper {
        grid-template-columns: 1fr;
    }

    /* Carousel Mobile */
    .radium-gallery-carousel {
        gap: 8px;
    }

    .radium-carousel-prev,
    .radium-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .radium-carousel-indicators {
        gap: 6px;
    }

    .radium-carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

/* ============================================
   Related Content Shortcodes
   ============================================ */

.radium-related-games,
.radium-related-casinos {
    margin: 32px 0;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.radium-related-games h3,
.radium-related-casinos h3 {
    margin: 0 0 24px 0;
    font-size: 24px;
    color: #1f2937;
}

/* Related Games Grid */
.radium-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.radium-game-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.radium-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.radium-game-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #e5e7eb;
}

.radium-game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.radium-game-info {
    padding: 16px;
}

.radium-game-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.radium-game-info h4 a {
    color: #1f2937;
    text-decoration: none;
}

.radium-game-info h4 a:hover {
    color: #3b82f6;
}

.radium-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.radium-demo-link:hover {
    color: #2563eb;
}

/* Related Casinos List */
.radium-casinos-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.radium-casino-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

.radium-casino-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.radium-casino-logo {
    flex-shrink: 0;
    width: 100px;
}

.radium-casino-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.radium-casino-details {
    flex: 1;
}

.radium-casino-details h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.radium-casino-details h4 a {
    color: #1f2937;
    text-decoration: none;
}

.radium-casino-details h4 a:hover {
    color: #3b82f6;
}

.radium-casino-bonus {
    font-size: 14px;
    color: #059669;
    font-weight: 500;
}

.radium-casino-actions {
    flex-shrink: 0;
}

.radium-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.radium-btn-primary {
    background: #3b82f6;
    color: #fff;
}

.radium-btn-primary:hover {
    background: #2563eb;
}

/* Show More Button */
.radium-show-more {
    text-align: center;
    margin-top: 20px;
}

.radium-load-more-games,
.radium-load-more-casinos {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.radium-load-more-games:hover,
.radium-load-more-casinos:hover {
    background: #2563eb;
}

.radium-load-more-games:disabled,
.radium-load-more-casinos:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* ============================================
   Software Single Page
   ============================================ */

.radium-software-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.radium-software-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.radium-software-logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
}

.radium-software-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.radium-software-title h1 {
    margin: 0 0 12px 0;
    font-size: 36px;
    color: #1f2937;
}

.radium-software-stats {
    display: flex;
    gap: 24px;
}

.radium-stat {
    font-size: 16px;
    color: #6b7280;
}

.radium-stat strong {
    color: #3b82f6;
    font-size: 20px;
}

.radium-software-description {
    margin-bottom: 32px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.radium-software-section {
    margin-bottom: 48px;
}

.radium-section-header {
    margin-bottom: 24px;
}

.radium-section-header h2 {
    margin: 0;
    font-size: 28px;
    color: #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
    .radium-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .radium-casino-item {
        flex-direction: column;
        text-align: center;
    }

    .radium-software-header {
        flex-direction: column;
        text-align: center;
    }

    .radium-software-title h1 {
        font-size: 28px;
    }

    .radium-software-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .radium-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Software Directory/List
   ============================================ */

.radium-software-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.radium-software-directory-header {
    margin-bottom: 32px;
    text-align: center;
}

.radium-software-directory-header h1 {
    margin: 0 0 8px 0;
    font-size: 36px;
    color: #1f2937;
}

.radium-directory-count {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

.radium-software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.radium-software-grid.list {
    grid-template-columns: 1fr;
}

.radium-software-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.radium-software-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.radium-software-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.radium-software-card-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px;
}

.radium-software-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.radium-software-card-title {
    flex: 1;
}

.radium-software-card-title h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.radium-software-card-title h3 a {
    color: #1f2937;
    text-decoration: none;
}

.radium-software-card-title h3 a:hover {
    color: #3b82f6;
}

.radium-software-card-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #6b7280;
}

.radium-stat-games strong,
.radium-stat-casinos strong {
    color: #3b82f6;
    font-size: 16px;
}

.radium-software-card-preview {
    margin-bottom: 20px;
    flex: 1;
}

.radium-preview-games {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.radium-preview-game {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    border-radius: 6px;
    background: #e5e7eb;
}

.radium-preview-game img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.radium-preview-game a:hover img {
    transform: scale(1.05);
}

.radium-software-card-footer {
    text-align: center;
    margin-top: auto;
}

.radium-software-card-footer .radium-btn {
    width: 100%;
}

/* List Layout Adjustments */
.radium-software-grid.list .radium-software-card {
    flex-direction: row;
    align-items: center;
}

.radium-software-grid.list .radium-software-card-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    flex: 0 0 300px;
}

.radium-software-grid.list .radium-software-card-preview {
    flex: 1;
    margin-bottom: 0;
    margin-right: 20px;
}

.radium-software-grid.list .radium-software-card-footer {
    flex: 0 0 200px;
}

.radium-software-grid.list .radium-software-card-footer .radium-btn {
    width: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .radium-software-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .radium-software-grid {
        grid-template-columns: 1fr;
    }

    .radium-software-grid.list .radium-software-card {
        flex-direction: column;
    }

    .radium-software-grid.list .radium-software-card-header {
        flex: 1;
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .radium-software-grid.list .radium-software-card-preview {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .radium-software-grid.list .radium-software-card-footer {
        flex: 1;
        width: 100%;
    }

    .radium-software-grid.list .radium-software-card-footer .radium-btn {
        width: 100%;
    }

    .radium-preview-games {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .radium-software-directory-header h1 {
        font-size: 28px;
    }

    .radium-software-card-header {
        flex-direction: column;
        text-align: center;
    }

    .radium-software-card-stats {
        justify-content: center;
    }
}

/* Load More Button */
.radium-load-more-container {
    text-align: center;
    margin: 40px 0;
    padding: 20px 0;
}

.radium-load-more-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.radium-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.radium-load-more-btn:active {
    transform: translateY(0);
}

.radium-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.radium-loading {
    display: inline-block;
    padding: 14px 32px;
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
}

.radium-loading::after {
    content: '...';
    display: inline-block;
    width: 30px;
    text-align: left;
    animation: radium-loading-dots 1.4s infinite;
}

@keyframes radium-loading-dots {
    0%, 20% {
        opacity: 0.2;
    }
    40% {
        opacity: 0.5;
    }
    60% {
        opacity: 0.8;
    }
    80%, 100% {
        opacity: 1;
    }
}