/* assets/css/public.css */
.bookmakers-container {
    --primary-color: var(--bookmakers-primary-color, #1a237e);
    --secondary-color: var(--bookmakers-secondary-color, #e53935);
    --hover-color: var(--bookmakers-hover-color, #f5f5f5);
    --border-color: var(--bookmakers-border-color, #e0e0e0);
    --text-primary: var(--bookmakers-text-primary, #333333);
    --text-secondary: var(--bookmakers-text-secondary, #666666);
    --card-shadow: var(--bookmakers-card-shadow, 0 2px 4px rgba(0, 0, 0, 0.1));
    
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Desktop Table Styles */
.bookmakers-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.bookmakers-table th {
    background: var(--primary-color);
    color: white;
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.bookmakers-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.bookmaker-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bookmaker-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.bookmaker-name {
    font-weight: 600;
    color: var(--text-primary);
}

.bookmaker-year {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Mobile Card Styles */
.bookmaker-card {
    display: none;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-content {
    padding: 1rem;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.card-row:last-child {
    border-bottom: none;
}

.card-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.card-value {
    color: var(--text-primary);
}

/* Game Tags */
.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.game-tag {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-slot { background: #e3f2fd; color: #1565c0; }
.tag-sport { background: #e8f5e9; color: #2e7d32; }
.tag-live { background: #f3e5f5; color: #7b1fa2; }

/* Bonus Styling */
.bonus-amount {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.bonus-extra {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Visit Button */
.visit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

.visit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bookmaker-card {
    animation: fadeIn 0.3s ease-out;
}

.bonus-amount {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .bookmakers-table {
        display: none;
    }

    .bookmaker-card {
        display: block;
    }

    .bookmakers-container {
        padding: 0.5rem;
    }

    .game-tags {
        margin-top: 0.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .bookmaker-card,
    .bonus-amount,
    .visit-button {
        animation: none;
        transition: none;
    }
}